func_trackchange
Jump to navigation
Jump to search
Class hierarchy |
---|
CFuncTrackChange |
trains.cpp |
func_trackchange
is a brush entity available in all Source games.
It works as a rotating/moving platform that will carry a func_tracktrain to a new track. It must be larger in X-Y planar area than the train, since it must contain the train within these dimensions in order to operate when the train is near it.
Note:As opposed to func_trackautochange, this entity does not have a
Trigger
input.KeyValues
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Travel Altitude (height) <integer>
- The vertical height above the track that the train moves. Negative values move the train below the track.
- Spin amount (rotation) <integer>
- The amount this platform should rotate as it moves, in degrees.
- Train to Switch (train) <targetname>
- Name of the func_tracktrain this platform will transport to the top/bottom track.
- Top Track (toptrack) <targetname>
- Name of last path_track of the top path. If the Start at Bottom flag is selected, this is the name of the first path_track at the top path.
- Bottom Track (bottomtrack) <targetname>
- Name of first path_track of the top path. If the Start at Bottom flag is selected, this is the name of the last path_track at the bottom path.
- Move/Rotate Speed (speed) <integer>
- Speed at which the entity travels the whole way up/down (units per second).
- Move Sound (movesnd) <choices>
- The sound played whenever the platform starts moving.
|
- Stop Sound (stopsnd) <choices>
- The sound played when the platform stops moving.
|
- Sound Volume 0.0 - 1.0 (volume) <string>
- Sound volume
Flags
Auto Activate train : [1]
Relink track : [2]
Start at Bottom : [8]
- Platform starts at the bottom track instead of the top one.
Rotate Only : [16]
X Axis : [64]
- Train rotates around the X-axis instead of the Z-axis. Can be combined with Y Axis.
Y Axis : [128]
- Train rotates around the Y-axis instead of the Z-axis. Can be combined with X Axis.