Env soundscape

From Valve Developer Community
Revision as of 00:29, 30 March 2006 by Ts2do (talk | contribs) (→‎Keyvalues: Shortened)
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

Env soundscape.png

An entity to control sound in an area. The active soundscape at any time is the last one that had line-of-sight to the player, and was within the radius.

Keyvalues

<integer> If set to -1, then the player can hear the soundscape as long as he can see it (regardless of distance to it).
  • soundscape
<string> The name of the soundscape to use. Corresponds to an entry in the soundscapes*.txt file in the scripts directory.
  • Nothing
  • Automatic
  • Automatic_Dialog
  • GenericIndoor
  • GenericOutdoor
  • position0-7
<target_destination> Sound positions that will be referenced inside the soundscape text file. Usually used to position a set of sounds within the world.

Inputs

  • ToggleEnabled
Toggle the soundscape enabled state.

Outputs

Fired when this soundscape becomes the active one.

See Also