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

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Tag: Removed redirect
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ScrollBox|title=BaseTrain|
{{APH|}}
{{KV|First Stop Target|target_destination|The name of the first path_track in the train's path. The train will spawn at this path_track. It will also turn to face direction indicated by the 'Orientation Type' setting.}}
{{KV|Max Speed (units / second)|integer|The maximum speed that this train can move. Any speeds applied to this train, such as by path_tracks or <code>SetSpeed</code> inputs, will be clipped to this maximum value.}}
{{KV|Initial Speed (units / second)|integer|The speed that the train will move at after it spawns, 0 {{=}} stopped.}}
{{KV|Change Velocity|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|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|integer|Used for turning and stopping.}}
:{{tip|Increase the '''Distance Between the Wheels''' keyvalue for smoother turns.}}
{{KV|Height above track|integer|The height above the track that this train moves.}}
{{KV|Bank Angle on Turns|string|The angle at which the train will "bank" or tilt when approaching a turn. Use positive or negative angle numbers close to 0 (ie. between -5 and +5, depending on left or right) to achieve realistic tilt angles.}}
{{KV|Damage on Crush|integer|The amount of damage this train does to entities that block it.}}
{{KV|Minimum Light Level|string|The minimum level of ambient light that hits this brush.}}
{{KV|Move Sound|sound|A sound that is played (and looped) while the train is moving.}}
{{KV|Move Ping Sound|sound|A sound that is played more frequently as the train speeds up.}}
{{KV|Start Sound|sound|A sound played when the train starts moving.}}
{{KV|Stop Sound|sound|A sound played when the train stops moving.}}
{{KV|Volume (10 {{=}} loudest)|integer|Volume of the sound when the train is moving.}}
{{KV|Min pitch (1-255, > 100 {{=}} higher)|integer|The sound pitch value that the train will approach as it comes to a stop.}}
{{KV|Max pitch (1-255, > 100 {{=}} higher)|integer|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|float|Minimum interval at which to play the move ping sound.}}
{{KV|Max move sound interval|float|Maximum interval at which to play the move ping sound.}}
{{KV Targetname}}
{{KV Parentname}}
{{KV Origin}}
{{KV RenderFields}}
{{KV Global}}
{{KV Shadow}}
}}<noinclude>
[[Category:Keyvalue Templates|BaseTrain]]
</noinclude>

Latest revision as of 14:35, 18 August 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.