func_trackchange
Jump to navigation
Jump to search
Note:As opposed to func_trackautochange, this entity does not have a
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
| CFuncTrackChange |
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.
Trigger input.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
- 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).
- 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
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.