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

From Valve Developer Community
Jump to navigation Jump to search
(bot-assisted)
 
(fixed some errors)
Line 6: Line 6:
*{{kv shadow}}
*{{kv shadow}}
*'''target'''
*'''target'''
:<target_destination> The name of the first path_track in the train's path. The train.
:<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.
*'''"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.
startspeed'''
*'''speed'''
:<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.
:<integer> The speed that the train will move at after it spawns, 0 = stopped.
*'''velocitytype'''
*'''velocitytype'''

Revision as of 21:13, 18 October 2005

Template:Kv targetname

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