func_platrot
Jump to navigation
Jump to search
| CFuncPlatRot |
func_platrot is a brush entity available in all
Source games. It moves vertically, and can rotate while doing so.
KeyValues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Movement Sound (noise1) <sound>
- The sound to play when the train moves.
- Stop Sound (noise2) <sound>
- The sound to play when the train stops moving.
- Move Sound index (movesnd) <integer choices> (only in

) - The sound to play when the train moves. Overrides
noise1, even if absent.
Choices - 0: Plat.DefaultMoving
- 1: Plat.BigElev1
- 2: Plat.BigElev2
- 3: Plat.TechElev1
- 4: Plat.TechElev2
- 5: Plat.TechElev3
- 6: Plat.FreightElev1
- 7: Plat.FreightElev2
- 8: Plat.HeavyElev
- 9: Plat.RackElev
- 10: Plat.RailElev
- 11: Plat.SqueakElev
- 12: Plat.OddElev1
- 13: Plat.OddElev2
- Stop Sound index (movesnd) <integer choices> (only in

) - The sound to play when the train stops moving. Overrides
noise2, even if absent.
Choices - 0: Plat.DefaultArrive
- 1: Plat.BigElevStop1
- 2: Plat.BigElevStop2
- 3: Plat.FreightElevStop
- 4: Plat.HeavyElevStop
- 5: Plat.RackStop
- 6: Plat.RailStop
- 7: Plat.SqueakStop
- 8: Plat.QuickStop
- Sound Volume 0.0 - 1.0 (volume) <string>
- Sound volume
- Speed of Rotation (speed) <integer>
- Speed at which the brush rotates, in degrees per second.
- Travel Altitude (height) <integer>
- The vertical distance from the starting position that this platform moves. If negative, the platform will lower.
- Spin amount (rotation) <integer>
- The amount this platform should rotate as it moves, in degrees.
Flags
- Toggle : [1]
- X Axis : [64]
- Y Axis : [128]
Inputs
BasePlat:
- Toggle
- Toggles the platform's state.
- GoUp
- Tells the platform to go up.
- GoDown
- Tells the platform to go down.