Template:Archived Page History/Template:KV BaseTrain: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(cleanup)
(Replaced content with "{{subst:APH/r}}")
Tag: Replaced
Line 1: Line 1:
[[Category:Keyvalue Templates|BaseTrain]]


<onlyinclude>{{minititle|BaseTrain}}
#redirect [[non-existent redirect to prevent Special:ShortPages being filled]]
{{KV|First Stop Target|intn=target|target_destination|The name of the first <code>path_track</code> in the train's path. The train will spawn at this <code>path_track</code>. It will also turn to face the direction indicated by the "Orientation Type" setting.}}
{{APH|}}
{{KV|Max Speed (units/second)|intn=startspeed|integer|The maximum speed that this train can move. Any speeds applied to this train, such as by <code style{{=}}padding:0>path_track</code>s or <code>SetSpeed</code> inputs, will be clipped to this maximum value.}}
{{KV|Initial Speed (units/second)|intn=speed|integer|The speed that the train will move at after it spawns, 0 {{=}} stopped.}}
{{KV|Change Velocity|intn=velocitytype|choices|The method through which this train changes its velocity as it moves along the path.}}
:* 0 : Instantaneously
:* 1 : Linear blend
:* 2 : Ease in/ease out
{{KV|Change angles|intn=orientationtype|choices|The method through which this train changes its orientation as it moves along the path.}}
:* 0 : Never (always fixed orientation)
:* 1 : Near paths
:* 2 : Linear blend
:* 3 : Ease in/ease out
{{KV|Distance Between the Wheels|intn=wheels|integer|Used for turning and stopping.}}
:{{tip|Increase the value for smoother turns.}}
{{KV|Height above track|intn=height|int|The height above the track that this train moves.}}
{{KV|Bank Angle on Turns|intn=bank|string|The angle at which the train will "bank" or tilt when approaching a turn. Use positive or negative angle numbers close to 0 (i.e., between -5 and +5, depending on left or right) to achieve realistic tilt angles.}}
{{KV|Damage on Crush|intn=dmg|int|The amount of damage this train does to entities that block it.}}
{{KV|Minimum Light Level|intn=_minlight|string|The minimum level of ambient light that hits this brush.}}
{{KV|Move Sound|intn=MoveSound|sound|A sound that is played (and looped) while the train is moving.}}
{{KV|Move Ping Sound|intn=MovePingSound|sound|A sound that is played more frequently as the train speeds up.}}
{{KV|Start Sound|intn=StartSound|sound|A sound played when the train starts moving.}}
{{KV|Stop Sound|intn=StopSound|sound|A sound played when the train stops moving.}}
{{KV|Volume (10 {{=}} loudest)|intn=volume|integer|Volume of the sound when the train is moving.}}
{{KV|Min pitch (1-255, 100 {{=}} normal)|intn=MoveSoundMinPitch|int|The sound pitch value that the train will approach as it comes to a stop.}}
{{KV|Max pitch (1-255, 100 {{=}} normal)|intn=MoveSoundMaxPitch|int|The sound pitch value that the train will approach as it approaches its max speed (or 1000 inches/second if the "Use max speed for pitch shifting move sound" flag is not set).}}
{{KV|Min move sound interval|intn=MoveSoundMinTime|float|Minimum interval at which to play the move ping sound.}}
{{KV|Max move sound interval|intn=MoveSoundMaxTime|float|Maximum interval at which to play the move ping sound.}}
{{KV|Manual Train Speed|intn=manualspeedchanges|boolean|Train Speed is controlled through IO, handles accel, decel times.}}
{{KV|Manual Accel Speed|intn=manualaccelspeed|float|Units per second to accelerate to target speed.}}
{{KV|Manual Decel Speed|intn=manualdecelspeed|float|Units per second to decelerate to target speed.}}
{{note|The above three keyvalues are {{Not in FGD}} in Left 4 Dead and later, but appear to still exist in the engine.}}
</onlyinclude>

Revision as of 18:37, 21 July 2024

Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.