trigger_environmental_audio

From Valve Developer Community
Jump to: navigation, search

trigger_environmental_audio is a brush entity available in Vampire The Masquerade - Bloodlines Vampire The Masquerade - Bloodlines. 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


Targetname:
Name <target_source>
The targetname that other entities refer to this entity by.
Start Hidden (targetname) <choices>
Don't spawn the entity while the script command didn't sent.
Value Description
0 Yes
1 No
Start Disabled (StartDisabled) <choices>
If "Yes" the entity starts disabled.
Value Description
0 No
1 Yes
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

Inputs


Parentname:
SetParent <string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

EnableDisable:

Enable
Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Toggle:
Toggle
Toggle the enabled/disabled status of this entity.
ToggleFlagClient
Toggle client's ability to use this trigger.
ToggleFlagNPC
Toggle NPC's ability to use this trigger.
EnableFlagClient
EnableFlagClient.
EnableFlagNPC
Enable NPC's ability to use this trigger.
DisableFlagClient
Disable client's ability to use this trigger.
DisableFlagNPC
Disable NPC's ability to use this trigger.


ScriptHide
Hide entity by specific python script.
ScriptUnhide
Spawn entity by specific python script if it was hided.

Outputs

OnStartTouch
Fired when a valid entity starts touching this trigger. !activator is whatever touches the trigger.
OnEndTouch
Fired when a valid entity stops touching this trigger.
Warning.pngWarning:This includes entities which are deleted while inside the trigger. In this case !activator will be invalid.