func_rotating

A func_rotating keeps turning around its origin, set with an origin brush, such as a fan, a wheel or a gear. It can
play a sound while it turns and hurt what touches it.
Attributes
The entity also has these common keys:
- Naming and triggering: Global Entity Name
- Position: Pitch Yaw Roll
- Appearance: Render FX, Render Mode, FX Amount and FX Color
- Compiler keys of brush entities: all of them
targetnameTriggering the entity starts or stops it, and Obey Trigger Mode sets how. See Common keys.
speedSets how fast it turns, in degrees per second, and 0 means it doesn't turn.
0volumeSets how loud its sound is, from 0 for silent up to 10 for full volume.
10fanfrictionWith Spin up with acceleration, sets how fast it speeds up and slows down: every 0.1 seconds, it gains or loses this percent of its Rotation Speed, so 100 is at once and low values take longer. With 0, it is 100.
20soundsPicks the sound it loops while it turns, and the pitch goes up and down as it speeds up and slows down. A sound file in WAV Name replaces it.
- No Sound (0)
- Fast Whine (1)
- Slow Rush (2)
- Medium Rickety (3)
- Fast Beating (4)
- Slow Smooth (5)
No Sound (0)messageSets a sound file that loops while it turns, instead of Fan Sounds. With a spin up, its pitch and volume rise and fall with the speed.
spawnoriginSets a position, as X Y Z, that the entity moves to when the map starts, after the map compiler has lit it where you built it, and 0 0 0 leaves it where it is.
0 0 0dmgSets the damage to anything that blocks it, each time it pushes against it, and 0 deals no damage.
0Flags
1Start ONIt starts to turn about 1.5 seconds after the map starts. Without this flag, it waits for a trigger
2Reverse DirectionIt turns the other way
4X AxisIt turns around the X axis instead of the vertical axis
8Y AxisIt turns around the Y axis instead of the vertical axis
16Spin up with accelerationIt speeds up and slows down step by step when it starts or stops, at the rate that Friction sets, instead of starting and stopping at once
32Fan PainTouching it hurts, with damage of its turning speed divided by 10, and pushes the toucher away
64Not SolidPlayers, monsters and shots pass through it
128Small RadiusPlayers hear its sound up to about 500 units away
256Medium RadiusPlayers hear its sound up to about 800 units away
512Large RadiusPlayers hear its sound up to about 1250 units away. This flag is set by default, and the entity also uses this radius when no radius flag is set
Notes
- If
trigger_changevalueortrigger_copyvaluechanges Rotation Speed while it spins, it spins at the new speed at once, and a speed of 0 stops it and its sound. See Changing keys
See also
func_door_rotating- a door that turnsfunc_pendulum- a brush that swings back and forth- func_rotating on TWHL - the Half-Life entity
Changes since 1.38
- You can use the new key Obey Trigger Mode
- Volume works, where in SBO 1.38 every
func_rotatingplayed at full volume. The game read the key only asVolumewith a capital V, but the editor writesvolume, so the value was never used

