Env soundscape proxy: Difference between revisions
Jump to navigation
Jump to search

Important:This is a preserved entity in 






.
If the game has round restart mechanics this entity may not behave as expected:
(-added class hierarchy) |
(-entity template) |
||
Line 1: | Line 1: | ||
{{lang|Env soundscape proxy}} | {{lang|Env soundscape proxy}} | ||
{{CD|CEnvSoundscapeProxy|file1=soundscape.cpp}} | {{CD|CEnvSoundscapeProxy|file1=soundscape.cpp}} | ||
{{ | {{entity|type=e0|env_soundscape_proxy|sprite=env_soundscape.png}} It plays a [[soundscape]] with the properties set by an {{ent|env_soundscape}} or {{ent|env_soundscape_triggerable}}. This is convenient for soundscapes that can be triggered through many possible entrances/exits as it prevents the mapper from having to synchronize settings for many individual entities. | ||
{{PreservedEnt}} | {{PreservedEnt}} |
Revision as of 17:31, 27 August 2023


![]() |
---|
CEnvSoundscapeProxy |
![]() |
Template:Entity It plays a soundscape with the properties set by an env_soundscape or env_soundscape_triggerable. This is convenient for soundscapes that can be triggered through many possible entrances/exits as it prevents the mapper from having to synchronize settings for many individual entities.









If the game has round restart mechanics this entity may not behave as expected:
|
Keyvalues
- Soundscape entity (MainSoundscapeName) <targetname>
- The soundscape entity to become a copy of.
- Radius (radius) <float>
- Defines the entity's sphere of influence. Players must also have LOS to the entity for it to trigger. -1 means infinite range. A note inside the FGD file says this does not work, but it does.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
- ToggleEnabled
- Toggle the soundscape on/off.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnPlay
- Fired when this soundscape becomes the active one.