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

From Valve Developer Community
Jump to navigation Jump to search
(bot-assisted)
 
Tag: Removed redirect
 
(23 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{kv targetname}}
{{APH|}}
*{{kv parentname}}
*{{kv origin}}
*{{kv renderfields}}
*{{kv global}}
*{{kv shadow}}
*'''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."
startspeed'''
:<integer> The maximum speed that this train can move.
*'''"Any speeds applied to this train, such as by path_tracks or SetSpeed inputs, will be clipped to this maximum value."
speed'''
:<integer> The speed that the train will move at after it spawns, 0 = stopped.
*'''velocitytype'''
:<choices> Change Velocity.
:{|
! Literal value || Description
|-
| 0 || Instantaneously
|-
| 1 || Linear blend
|-
| 2 || Ease in/ease out
|}
*'''orientationtype'''
:<choices> Change angles.
:{|
! Literal value || Description
|-
| 0 || Never (fixed orientation)
|-
| 1 || Near path_tracks
|-
| 2 || Linear blend
|-
| 3 || Ease in/ease out
|}
*'''wheels'''
:<integer> Used for turning and stopping.
*'''height'''
:<integer> The height above the track that this train moves.
*'''bank'''
:<string> Bank Angle on Turns.
*'''dmg'''
:<integer> The amount of damage this train does to entities that block it.
*'''_minlight'''
:<string> The minimum level of ambient light that hits this brush.
*'''MoveSound'''
:<sound> A sound that is played (and looped) while the train is moving.
*'''MovePingSound'''
:<sound> A sound that is played more frequently as the train speeds up.
*'''StartSound'''
:<sound> A sound played when the train starts moving.
*'''StopSound'''
:<sound> A sound played when the train stops moving.
*'''volume'''
:<integer> Volume (10 = loudest).
*'''MoveSoundMinPitch'''
:<integer> The sound pitch value that the train will approach as it comes to a stop.
*'''MoveSoundMaxPitch'''
:<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> Minimum interval at which to play the move ping sound.
*'''MoveSoundMaxTime'''
:<float> Maximum interval at which to play the move ping sound.

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.