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.)
(Actual Soundscript names for hls sound options)
 
(2 intermediate revisions by the same user not shown)
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: Plat.DefaultMoving
*1: big elev 1
*1: Plat.BigElev1
*2: big elev 2
*2: Plat.BigElev2
*3: tech elev 1
*3: Plat.TechElev1
*4: tech elev 2
*4: Plat.TechElev2
*5: tech elev 3
*5: Plat.TechElev3
*6: freight elev 1
*6: Plat.FreightElev1
*7: freight elev 2
*7: Plat.FreightElev2
*8: heavy elev
*8: Plat.HeavyElev
*9: rack elev
*9: Plat.RackElev
*10: rail elev
*10: Plat.RailElev
*11: squeek elev
*11: Plat.SqueakElev
*12: odd elev 1
*12: Plat.OddElev1
*13: odd elev 2
*13: Plat.OddElev2
}}}}
}}
 
{{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: Plat.DefaultArrive
*1: big elev stop1
*1: Plat.BigElevStop1
*2: big elev stop2
*2: Plat.BigElevStop2
*3: freight elev stop
*3: Plat.FreightElevStop
*4: heavy elev stop
*4: Plat.HeavyElevStop
*5: rack stop
*5: Plat.RackStop
*6: rail stop
*6: Plat.RailStop
*7: squeek stop
*7: Plat.SqueakStop
*8: quick stop
*8: Plat.QuickStop
}}}}
}}
 
{{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>

Latest revision as of 08:02, 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: Plat.DefaultMoving
  • 1: Plat.BigElev1
  • 2: Plat.BigElev2
  • 3: Plat.TechElev1
  • 4: Plat.TechElev2
  • 5: Plat.TechElev3
  • 6: Plat.FreightElev1
  • 7: Plat.FreightElev2
  • 8: Plat.HeavyElev
  • 9: Plat.RackElev
  • 10: Plat.RailElev
  • 11: Plat.SqueakElev
  • 12: Plat.OddElev1
  • 13: Plat.OddElev2
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: Plat.DefaultArrive
  • 1: Plat.BigElevStop1
  • 2: Plat.BigElevStop2
  • 3: Plat.FreightElevStop
  • 4: Plat.HeavyElevStop
  • 5: Plat.RackStop
  • 6: Plat.RailStop
  • 7: Plat.SqueakStop
  • 8: Plat.QuickStop
Sound Volume 0.0 - 1.0 (volume) <string>
Sound volume