trigger_sound

From Valve Developer Community
Revision as of 17:27, 19 November 2025 by SirYodaJedi (talk | contribs) (Created page with "{{tabsBar|main=trigger_soundscape}} {{CD|CTriggerSound|base=CBaseDelay|goldsrc=[https://github.com/HLSources/Spirit-of-Half-Life/blob/5ad2e00fe1546cc73e19255c75512a11ee3980c8/dlls/sound.cpp#L1150 sound.cpp]}} {{this is a|brush entity|name=trigger_sound|game=Spirit of Half-Life|game1=Day of Defeat}} A brush entity version of {{ent|env_sound}}. == Keyvalues == {{hl1 kv master}} {{KV|Room Type|intn=roomtype|float choices|Defines what DSP is applied when this entity is...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Edit Tabs
C++ Class hierarchy
CTriggerSound
CBaseDelay
CBaseEntity
C++ sound.cpp

trigger_sound is a brush entity available in Spirit of Half-Life Spirit of Half-Life and Day of Defeat Day of Defeat. A brush entity version of env_sound.

Keyvalues

Master (master) <targetname>
Name of a master entity. If the master hasn't been activated, this entity will not activate.
Room Type (roomtype) <float choices>
Defines what DSP is applied when this entity is triggered.
# Name
0 Normal (off)
1 Generic
2 Metal Small
3 Metal Medium
4 Metal Large
5 Tunnel Small
6 Tunnel Medium
7 Tunnel Large
8 Chamber Small
9 Chamber Medium
10 Chamber Large
11 Bright Small
12 Bright Medium
13 Bright Large
14 Water 1
15 Water 2
16 Water 3
17 Concrete Small
18 Concrete Medium
19 Concrete Large
20 Big 1
21 Big 2
22 Big 3
23 Cavern Small
24 Cavern Medium
25 Cavern Large
26 Weirdo 1
27 Weirdo 2
28 Weirdo 3