func_rotating
Last edited 11 months ago2024-01-13 11:54:46 UTC
- Wiki
- View Page
-
This entity lets you create a rotating object.
Attributes
- Name (targetname) - Property used to identify entities.
- Render FX (renderfx) - Gives objects special render effects. Think of it as modifying whatever the Render Mode puts out. The options are as follows:
- 0 = Normal
- 1 = Slow Pulse
- 2 = Fast Pulse
- 3 = Slow Wide Pulse
- 4 = Fast Wide Pulse
- 5 = Slow Fade Away
- 6 = Fast Fade Away
- 7 = Slow Become Solid
- 8 = Fast Become Solid
- 9 = Slow Strobe
- 10 = Fast Strobe
- 11 = Faster Strobe
- 12 = Slow Flicker
- 13 = Fast Flicker
- 14 = Constant Glow
- 15 = Distort
- 16 = Hologram (Distort and Fade)
- Render Mode (rendermode) - Controls the type of rendering that is used for an object. Options are:
- 0 = Normal
- 1 = Color
- 2 = Texture
- 3 = Glow
- 4 = Solid
- 5 = Additive
- Pitch Yaw Roll (angles) - Sets the pitch (up / down), yaw (left / right) and roll (bank) respectively. The compass in WorldCraft / Hammer corresponds to Yaw. The settings are not always (or not all) used.
- Global Entity name (globalname)
- FX Amount (renderamt)
- FX Color (rendercolor)
- ZHLT Lightflags (zhlt_lightflags)
- Light Origin Target (light_origin)
- Rotation Speed (speed) - This is the maximum speed the rotating object will achieve, in radians per minute.
- Volume (volume) - Sound volume from 0 to 10 (10 loudest).
- Friction (fanfriction) - (1-100) If the Acc/Dcc flag is enabled, this value determines the time it takes to reach full speed or to stop after being triggered. Higher values means less friction and higher acceleration.
- Fan Sounds (sounds) - The sound to make while moving. Values:
- 0 = no sound (
common/null.wav
)
- 1 = fast whine (
fans/fan1.wav
)
- 2 = slow rush (
fans/fan2.wav
)
- 3 = medium rickety (
fans/fan3.wav
)
- 4 = fast beating (
fans/fan4.wav
)
- 5 = slow smooth (
fans/fan5.wav
)
- WAV Name (message) - The path / filename of a custom movement sound to be played (overrides Fan Sounds).
- _minlight (_minlight) - Minimum light level.
- X Y Z - Move here after lighting (spawnorigin)
- Damage inflicted when blocked (dmg) - If the player blocks the entity's movement, this amount of damage will be dealt.
Flags
- Start On (1)
- Reverse Direction (2) - Set this flag to make the brush turn in the opposite direction.
- X axis (4) - If enabled, the rotation will be in the X axis.
- Y axis (8) - If enabled, the rotation will be in the Y axis.
- Acc/Dcc (16) - If enabled, the entity will accelerate and decelerate from maximum speed based on the Friction property.
- Fan Pain (32) - With this enabled, the player will be hurt when coming into contact with the brush.
- Not Solid (64)
- Small Radius (128) - Sets sound range to low.
- Medium Radius (256) - Sets sound range to medium.
- Large Radius (512) - Sets sound range to high. Default if none is set.
Notes
1 Comment
You must log in to post a comment.
You can login or register a new account.