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

From Valve Developer Community
Jump to navigation Jump to search
m (updated template usage. also added some keyvalues based off of TeamSpen's FGDs.)
No edit summary
Line 1: Line 1:
{{lang|{{FULLPAGENAME}}}}[[Category:Keyvalue Templates|Trackchange]]
[[Category:Keyvalue Templates|Trackchange]]
<onlyinclude>{{scrollBox|title=Trackchange|
<onlyinclude>{{minititle|Trackchange}}
{{KV|Travel Altitude|intn=height|integer|The vertical height above the track that the train moves. Negative values move the train below the track.}}
{{KV|Travel Altitude|intn=height|integer|The vertical height above the track that the train moves. Negative values move the train below the track.}}
{{KV|Spin amount|intn=rotation|integer|The amount this platform should rotate as it moves, in degrees.}}
{{KV|Spin amount|intn=rotation|integer|The amount this platform should rotate as it moves, in degrees.}}
Line 7: Line 7:
{{KV|Bottom Track|intn=bottomtrack|target_destination|Name of first {{ent|path_track}} of the top path. If the Start at Bottom flag is selected, this is the name of the last <tt>path_track</tt> at the bottom path.}}
{{KV|Bottom Track|intn=bottomtrack|target_destination|Name of first {{ent|path_track}} of the top path. If the Start at Bottom flag is selected, this is the name of the last <tt>path_track</tt> at the bottom path.}}
{{KV|Move/Rotate Speed|intn=speed|integer|Speed at which the entity travels the whole way up/down (units per second).}}
{{KV|Move/Rotate Speed|intn=speed|integer|Speed at which the entity travels the whole way up/down (units per second).}}
{{KV PlatSounds}}
{{KV PlatSounds}}</onlyinclude>
{{KV BaseEntity|noscroll=1}}
{{KV visiblebrush|noscroll=1}} }}</onlyinclude>

Revision as of 01:23, 3 September 2024

Trackchange:

Travel Altitude (height) <integer>
The vertical height above the track that the train moves. Negative values move the train below the track.
Spin amount (rotation) <integer>
The amount this platform should rotate as it moves, in degrees.
Train to Switch (train) <targetname>
Name of the func_tracktrain this platform will transport to the top/bottom track.
Top Track (toptrack) <targetname>
Name of last path_track of the top path. If the Start at Bottom flag is selected, this is the name of the first path_track at the top path.
Bottom Track (bottomtrack) <targetname>
Name of first path_track of the top path. If the Start at Bottom flag is selected, this is the name of the last path_track at the bottom path.
Move/Rotate Speed (speed) <integer>
Speed at which the entity travels the whole way up/down (units per second).
Move Sound (movesnd) <choices>
The sound played whenever the platform starts moving.
Choices
  • 0: No Sound
  • 1: big elev 1
  • 2: big elev 2
  • 3: tech elev 1
  • 4: tech elev 2
  • 5: tech elev 3
  • 6: freight elev 1
  • 7: freight elev 2
  • 8: heavy elev
  • 9: rack elev
  • 10: rail elev
  • 11: squeek elev
  • 12: odd elev 1
  • 13: odd elev 2


Stop Sound (stopsnd) <choices>
The sound played when the platform stops moving.
Choices
  • 0: No Sound
  • 1: big elev stop1
  • 2: big elev stop2
  • 3: freight elev stop
  • 4: heavy elev stop
  • 5: rack stop
  • 6: rail stop
  • 7: squeek stop
  • 8: quick stop


Sound Volume 0.0 - 1.0 (volume) <string>
Sound volume