env_soundscape_proxy
This article needs more links to other articles to help integrate it into the encyclopedia. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
January 2024
...
class hierarchy |
---|
CEnvSoundscapeProxy defined in soundscape.cpp
|
env_soundscape_proxy
is a point entity available in all Source games. 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.
Note:This is a preserved entity in .
- On a new round, its properties including its position will intentionally not reset. You can use logic_auto to emulate resetting it.
- Killing it removes it forever, as it is not respawned on a new round.
- It cannot be spawned with a point_template.
- Parenting this with non preserved entities may have undesirable effects.
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- 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.
EnableDisable:
- 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.