Template:KV CBasePlatTrain sounds: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Fixed broken Expand which didn't start on a new line. Indented Expand and removed its margin_left.)
No edit summary
Line 1: Line 1:
{{KV|Move Sound|intn=movesnd|choices|The sound played whenever the platform starts moving.
{{KV|Movement Sound|intn=noise1|sound|The sound to play when the train moves.}}
{{KV|Stop Sound|intn=noise2|sound|The sound to play when the train stops moving.}}
{{KV|Move Sound index|intn=movesnd|integer choices|only={{hls}}{{hldms}}|The sound to play when the train moves. Overrides {{code|noise1}}, even if absent.}}
:{{Expand|title=Choices|
:{{Expand|title=Choices|
*0: No Sound
*0: No Sound
Line 15: Line 17:
*12: odd elev 1
*12: odd elev 1
*13: odd elev 2
*13: odd elev 2
}}}}
}}
 
{{KV|Stop Sound index|intn=movesnd|integer choices|only={{hls}}{{hldms}}|The sound to play when the train stops moving. Overrides {{code|noise2}}, even if absent.}}
{{KV|Stop Sound|intn=stopsnd|choices|The sound played when the platform stops moving.
:{{Expand|title=Choices|
:{{Expand|title=Choices|
*0: No Sound
*0: No Sound
Line 28: Line 29:
*7: squeek stop
*7: squeek stop
*8: quick stop
*8: quick stop
}}}}
}}
 
{{KV|Sound Volume 0.0 - 1.0|intn=volume|string|Sound volume}}<noinclude>
{{KV|Sound Volume 0.0 - 1.0|intn=volume|string|Sound volume}}<noinclude>


[[Category:Keyvalue Templates|PlatSounds]]
[[Category:Keyvalue Templates|PlatSounds]]
</noinclude>
</noinclude>

Revision as of 07:50, 8 December 2025

Movement Sound (noise1) <sound>
The sound to play when the train moves.
Stop Sound (noise2) <sound>
The sound to play when the train stops moving.
Move Sound index (movesnd) <integer choices> (only in Half-Life: SourceHalf-Life Deathmatch: Source)
The sound to play when the train moves. Overrides noise1, even if absent.
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 index (movesnd) <integer choices> (only in Half-Life: SourceHalf-Life Deathmatch: Source)
The sound to play when the train stops moving. Overrides noise2, even if absent.
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