Template:Archived Page History/Template:KV BaseTrain: Difference between revisions
Jump to navigation
Jump to search
Note:Archived page history
Important:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
m (Add internal names) |
Kestrelguy (talk | contribs) m (now calls KV VisibleBrush and can be told not to scroll.) |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=BaseTrain| | {{lang|{{FULLPAGENAME}}}}[[Category:Keyvalue Templates|BaseTrain]] | ||
{{KV|First Stop Target|intn=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 | {{param|noscroll}} exists, as do {{param|base}}, {{param|l4d2}}, and {{param|csgo}}. | ||
{{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 | <onlyinclude>{{ScrollBox|title=BaseTrain|noscroll={{{noscroll|}}}| | ||
{{KV|Initial Speed (units / second)|intn=speed|integer|The speed that the train will move at after it spawns, 0 {{=}} stopped.}} | {{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.}} | ||
{{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.}} | {{KV|Change Velocity|intn=velocitytype|choices|The method through which this train changes its velocity as it moves along the path.}} | ||
:* 0 : Instantaneously | :* 0 : Instantaneously | ||
Line 14: | Line 16: | ||
{{KV|Distance Between the Wheels|intn=wheels|integer|Used for turning and stopping.}} | {{KV|Distance Between the Wheels|intn=wheels|integer|Used for turning and stopping.}} | ||
:{{tip|Increase the value for smoother turns.}} | :{{tip|Increase the value for smoother turns.}} | ||
{{KV|Height above track|intn=height| | {{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 ( | {{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| | {{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|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 Sound|intn=MoveSound|sound|A sound that is played (and looped) while the train is moving.}} | ||
Line 23: | Line 25: | ||
{{KV|Stop Sound|intn=StopSound|sound|A sound played when the train stops 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|Volume (10 {{=}} loudest)|intn=volume|integer|Volume of the sound when the train is moving.}} | ||
{{KV|Min pitch (1-255, | {{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, | {{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|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|Max move sound interval|intn=MoveSoundMaxTime|float|Maximum interval at which to play the move ping sound.}} | ||
{{KV | {{KV BaseEntity|brush=1|noscroll=1|base={{{base|}}}|l4d2={{{l4d2|}}}|csgo={{{csgo|}}}}} | ||
{{ | {{KV visiblebrush|noscroll=1|b4l4d={{{base|}}}|prep2={{{base|}}}{{{l4d2|}}}}}}}</onlyinclude> | ||
{{ | |||
{{KV | |||
{{ | |||
{{ | |||
}} | |||
</ |
Revision as of 12:10, 24 May 2022
{{{noscroll}}} exists, as do {{{base}}}, {{{l4d2}}}, and {{{csgo}}}.
BaseTrain:
- First Stop Target (target) <targetname>
- The name of the first
path_track
in the train's path. The train will spawn at thispath_track
. It will also turn to face the direction indicated by the "Orientation Type" setting.
- Max Speed (units/second) (startspeed) <integer>
- The maximum speed that this train can move. Any speeds applied to this train, such as by
path_track
s orSetSpeed
inputs, will be clipped to this maximum value.
- Initial Speed (units/second) (speed) <integer>
- The speed that the train will move at after it spawns, 0 = stopped.
- Change Velocity (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
- Change angles (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
- Distance Between the Wheels (wheels) <integer>
- Used for turning and stopping.
Tip:Increase the value for smoother turns.
- Height above track (height) <integer>
- The height above the track that this train moves.
- Bank Angle on Turns (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.
- Damage on Crush (dmg) <integer>
- The amount of damage this train does to entities that block it.
- Minimum Light Level (_minlight) <string>
- The minimum level of ambient light that hits this brush.
- Move Sound (MoveSound) <sound>
- A sound that is played (and looped) while the train is moving.
- Move Ping Sound (MovePingSound) <sound>
- A sound that is played more frequently as the train speeds up.
- Start Sound (StartSound) <sound>
- A sound played when the train starts moving.
- Stop Sound (StopSound) <sound>
- A sound played when the train stops moving.
- Volume (10 = loudest) (volume) <integer>
- Volume of the sound when the train is moving.
- Min pitch (1-255, 100 = normal) (MoveSoundMinPitch) <integer>
- The sound pitch value that the train will approach as it comes to a stop.
- Max pitch (1-255, 100 = normal) (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).
- Min move sound interval (MoveSoundMinTime) <float>
- Minimum interval at which to play the move ping sound.
- Max move sound interval (MoveSoundMaxTime) <float>
- Maximum interval at which to play the move ping sound.

This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

