func_rotating

keyvalues

• targetname (string) - name

• renderfx (integer) - render fx

• rendermode (integer) - render mode (0 - 5)

• renderamt (integer) - fx amount (1 - 255)

• rendercolor (color255) - fx color (rgb value)

• speed (integer) - rotation speed

• volume (integer) - volume (10 = loudest)

• fanfriction (integer) - friction (0 - 100%)

• sounds (integer) - fan sounds

0 = no sound

1 = fast whine

2 = slow rush

3 = medium rickety

4 = fast beating

5 = slow smooth

• message (string) - path/filename.wav of WAV file. set this if you want a custom sound assigned to the rotating object. this sound should be looped (something from the 'ambiance' directory). the pitch of the sound will match the speed of the rotating object

• _minlight (integer) - minimum light level

• angles (string) - pitch yaw roll (y z x)

• spawnorigin (string) - x y z - move here after lighting

• dmg (integer) - damage inflicted when blocked

flags

• start on (1)

• reverse direction (2)

• x axis (4)

• y axis (8)

• acc/dcc (16) - set this flag to have the rotating object accelerate or decelerate when activated/deactivated

• fan pain (32)

• not solid (64)

• small radius (128)

• medium radius (256)

• large radius (512)

notes

• Friction (fanfriction) modulates the spin-up/spin-down rate of any brush that uses acc/dcc flag.

related topics

func_door_rotating

func_platrot

func_rot_button

Overview of func_ entities

Entity Guide Overview