Trigger environmental audio: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
{{KV targetname}}
{{KV targetname}}
{{KV StartHidden}}
{{KV StartHidden}}
{{KV|Start Disabled|intn=StartDisabled|choices|If "Yes" the entity starts disabled.}}
{{KV StartDisabled}}
:{| class=standard-table
!| Value || Description
|-
| 0 || No
|-
| 1 || Yes
|}
{{KV|DSP Room Type|intn=room_type|choices|DSP preset that creates any sound effects like echo, reverb, etc.}}
{{KV|DSP Room Type|intn=room_type|choices|DSP preset that creates any sound effects like echo, reverb, etc.}}
:{| class=standard-table
:{| class=standard-table

Revision as of 12:44, 17 August 2023

Template:Entity A trigger that creates DSP environmental sound effects in it's volume (in HL2 it was using as part of env_soundscape entity).

Key Values

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start Hidden (StartHidden) <boolean>
Don't spawn the entity while the script command didn't sent.[sic]
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
DSP Room Type (room_type) <choices>
DSP preset that creates any sound effects like echo, reverb, etc.
Value Description
0 Normal (Off)
1 Generic (Auto)
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
102 ROOM EMPTY SMALL BRIGHT
103 ROOM EMPTY HUGE DULL
104 ROOM DIFFUSE SMALL BRIGHT
105 ROOM DIFFUSE HUGE DULL
106 DUCT EMPTY SMALL BRIGHT
107 DUCT EMPTY HUGE DULL
108 DUCT DIFFUSE SMALL BRIGHT
109 DUCT DIFFUSE HUGE DULL
110 HALL EMPTY SMALL BRIGHT
111 HALL EMPTY HUGE DULL
112 HALL DIFFUSE SMALL BRIGHT
113 HALL DIFFUSE HUGE DULL
114 TUNNEL EMPTY SMALL BRIGHT
115 TUNNEL EMPTY HUGE DULL
116 TUNNEL DIFFUSE SMALL BRIGHT
117 TUNNEL DIFFUSE HUGE DULL
118 STREET EMPTY SMALL BRIGHT
119 STREET EMPTY HUGE DULL
120 STREET DIFFUSE SMALL BRIGHT
121 STREET DIFFUSE HUGE DULL
122 ALLEY EMPTY SMALL BRIGHT
123 ALLEY EMPTY HUGE DULL
124 ALLEY DIFFUSE SMALL BRIGHT
125 ALLEY DIFFUSE HUGE DULL
126 COURTYARD EMPTY SMALL BRIGHT
127 COURTYARD EMPTY HUGE DULL
128 COURTYARD DIFFUSE SMALL BRIGHT
129 COURTYARD DIFFUSE HUGE DULL
130 OPENSPACE EMPTY SMALL BRIGHT
131 OPENSPACE EMPTY HUGE DULL
132 OPENSPACE DIFFUSE SMALL BRIGHT
133 OPENSPACE DIFFUSE HUGE DULL
134 TUNNEL EMPTY HUGE DULL