Template:KV CBasePlatTrain sounds: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Actual Soundscript names for hls sound options)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{KV|Move Sound|intn=movesnd|choices|The sound played whenever the platform starts moving. {{Expand|title=Choices|margin_left=2em|
{{KV|Movement Sound|intn=noise1|sound|The sound to play when the train moves.}}
:*0: No Sound
{{KV|Stop Sound|intn=noise2|sound|The sound to play when the train stops moving.}}
:*1: big elev 1
{{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.}}
:*2: big elev 2
:{{Expand|title=Choices|
:*3: tech elev 1
*0: Plat.DefaultMoving
:*4: tech elev 2
*1: Plat.BigElev1
:*5: tech elev 3
*2: Plat.BigElev2
:*6: freight elev 1
*3: Plat.TechElev1
:*7: freight elev 2
*4: Plat.TechElev2
:*8: heavy elev
*5: Plat.TechElev3
:*9: rack elev
*6: Plat.FreightElev1
:*10: rail elev
*7: Plat.FreightElev2
:*11: squeek elev
*8: Plat.HeavyElev
:*12: odd elev 1
*9: Plat.RackElev
:*13: odd elev 2
*10: Plat.RailElev
}}}}
*11: Plat.SqueakElev
 
*12: Plat.OddElev1
{{KV|Stop Sound|intn=stopsnd|choices|The sound played when the platform stops moving. {{Expand|title=Choices|margin_left=2em|
*13: Plat.OddElev2
:*0: No Sound
}}
:*1: big elev stop1
{{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.}}
:*2: big elev stop2
:{{Expand|title=Choices|
:*3: freight elev stop
*0: Plat.DefaultArrive
:*4: heavy elev stop
*1: Plat.BigElevStop1
:*5: rack stop
*2: Plat.BigElevStop2
:*6: rail stop
*3: Plat.FreightElevStop
:*7: squeek stop
*4: Plat.HeavyElevStop
:*8: quick stop
*5: Plat.RackStop
}}}}
*6: Plat.RailStop
 
*7: Plat.SqueakStop
*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