Func trackchange: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=func_trackchange}}
{{base brush|func_trackchange}} It 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.  
{{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.  
 
See also [[func_trackautochange]].
 
{{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}}


==Keyvalues==
==Keyvalues==
*{{KV TrackChange}}
{{KV|Minimum Light Level|string|The minimum level of ambient light that hits this brush.}}
*'''_minlight'''
{{KV Trackchange}}
:<string> The minimum level of ambient light that hits this brush.


==Flags==
==Flags==
*{{Fl Trackchange}}
{{Fl Trackchange}}


==Inputs==
==Inputs==
*{{I TrackChange}}
{{I TrackChange}}


==Outputs==
==Outputs==
*{{O TrackChange}}
{{O TrackChange}}
 
== See also ==
* [[func_trackautochange]]

Revision as of 10:55, 25 July 2011

Template:Base brush It 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:In code

Keyvalues

Minimum Light Level ([todo internal name (i)]) <string>
The minimum level of ambient light that hits this brush.

Template:KV Trackchange

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

Template:I TrackChange

Outputs

Template:O TrackChange

See also