Func trackchange: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
==Entity Description==
==Entity Description==
A [[brush entity]] that works as a rotating/moving platform that will carry a train 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.  
A [[brush entity]] that works as a rotating/moving platform that will carry a train 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.  
{{brushmodel}}


{{in code|class=class_c_func_track_change.html CFuncTrackChange|file=trains_8cpp-source.html trains.cpp}}
{{in code|class=class_c_func_track_change.html CFuncTrackChange|file=trains_8cpp-source.html trains.cpp}}

Revision as of 17:20, 10 May 2008

Template:Wrongtitle Template:Base brush

Entity Description

A brush entity that works as a rotating/moving platform that will carry a train 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.

Template:Brushmodel

Template:In code

Keyvalues

<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.

Inputs

Outputs