Clock

From Custom Map Makers Wiki
Revision as of 06:29, 19 November 2013 by JRandomNoob (talk | contribs) (Woooo, I can upload files!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

File:Clock-prefab.map

This clock is similar to the one found in Swim, composed of three func_rotating entities, but the hands rotate around origin brushes instead which allows you to easily move it to an arbitrary spot on your map. The speed values are exactly the same (specified in degrees per second). UrT has no provisions for a true real-time clock so the hands always start from the same position on every map load or round start.

To use the prefab, import it into Radiant (File -> Import). The hour marks are a single func_group so you can delete them easily. If you need to rotate the clock by 90 or 270 degrees around the Z (vertical) axis, you have to change the rotation plane for each hand: select a hand, press N to open the entity inspector, and untick “y_axis” and tick “x_axis” (alternatively you can set "spawnflags" "4"). Otherwise the hands will start rotating through the clock face;-) If you rotate the clock around the Z axis by 180 or 270 degrees you (also) have to change the direction of rotation for each hand (remove the minus from the speed value), otherwise you’ll get a, well, counter-clock.