Func platrot: Difference between revisions
Jump to navigation
Jump to search
Craziestdan (talk | contribs) (removed dead links) |
m (Robot: fixing template case.) |
||
Line 38: | Line 38: | ||
*{{i targetname}} | *{{i targetname}} | ||
*{{i parentname}} | *{{i parentname}} | ||
*{{ | *{{I BasePlat}} | ||
*{{i shadow}} | *{{i shadow}} | ||
==Outputs== | ==Outputs== | ||
*{{o targetname}} | *{{o targetname}} |
Revision as of 19:27, 19 January 2009
Template:Wrongtitle Template:Base brush
Entity Description
A brush entity that moves vertically, and can rotate while doing so. Template:Brushmodel
Availability
Template:In game Template:Game-base In code it is represented by class CFuncPlatRot, defined in trains.cpp.
Keyvalues
- Template:Kv targetname
- Template:Kv parentname
- Template:Kv origin
- Template:Kv angles
- Template:Kv renderfields
- Template:Kv shadow
- noise1
- <sound> The sound to play when the brush moves.
- noise2
- <sound> The sound to play when the brush stops moving.
- speed
- <integer> Speed at which the brush rotates, in degrees per second.
- height
- <integer> The vertical distance from the starting position that this platform moves. If negative, the platform will lower.
- rotation
- <integer> The amount this platform should rotate as it moves, in degrees.
- _minlight
- <string> The minimum level of ambient light that hits this brush.
Flags
- 1 : Toggle
- 64 : X Axis
- 128 : Y Axis
Inputs
- Template:I targetname
- Template:I parentname
- BasePlat:
- Toggle
- Toggles the platform's state.
- GoUp
- Tells the platform to go up.
- GoDown
- Tells the platform to go down.