Func trackchange: Difference between revisions
Jump to navigation
Jump to search
m (func_trackchange(GoldSrc) available) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{tabs|func_trackchange|goldsrc=1|source=1|main=source}} | {{tabs|func_trackchange|goldsrc=1|source=1|main=source}} | ||
{{this is a| | {{this is a|brush entity|name=func_trackchange}} | ||
{{code class|CFuncTrackChange|trains.cpp}} | {{code class|CFuncTrackChange|trains.cpp}} | ||
Revision as of 17:01, 17 May 2024
func_trackchange
is a brush entity available in all Source games.
Entity description
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.
As opposed to func_trackautochange, this entity does not have a Trigger
input.
KeyValues
- Minimum Light Level (_minlight) <string>
- The minimum level of ambient light that hits this brush.
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.