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:
No edit summary |
(updates) |
||
Line 1: | Line 1: | ||
{{ | {{lang|Env soundscape proxy}} | ||
{{base point|env_soundscape_proxy|sprite=env_soundscape}} 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}} | |||
{{code class|CEnvSoundscapeProxy|soundscape.cpp}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Soundscape entity|targetname|The | {{KV|Soundscape entity (MainSoundscapeName)|targetname|The soundscape entity to become a copy of.}} | ||
{{KV|Radius|float|Defines the entity's sphere of influence. Players must also | {{KV|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.}} | ||
{{KV BaseEntity}} | |||
{{KV | |||
==Inputs== | ==Inputs== | ||
{{I | {{I BaseEntity}} | ||
==Outputs== | ==Outputs== | ||
{{O | {{O BaseEntity|l4d=1}} | ||
[[Category:Sound System]] | [[Category:Sound System]] |
Revision as of 21:27, 1 October 2018


Template:Base point 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) ([todo internal name (i)]) <targetname>
- The soundscape entity to become a copy of.
- Radius (radius) ([todo internal name (i)]) <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.