Db audiere sound: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=db_audiere_sound}}
{{DISPLAYTITLE:db_audiere_sound}}


==Entity Description==
==Entity Description==

Revision as of 00:17, 5 December 2011


Entity Description

Db audiere sound.png

Plays a sound like the ambient_generic but with a different sound library: Audiere. This is useful for looping map music and playing sounds that play through the map exit, such as victory sounds. All sounds will play everywhere.

Keyvalues

  • Name
The name that other entities refer to this entity by.
  • Sound File
Path to sound file. Supported types: OGG, MP3, WAVE and FLAC. Note when you browse and select a sound it will look like for example: 'FX/ball_fx1.wav'. You must add a 'sound/' prefix to the file path, like so: 'sound/FX/ball_fx1.wav'. Also note for OGG and FLAC files you must manually type the file path in the Sound File field as the Hammer Sound Browser only shows MP3 and WAVE.
  • Volume
Volume (set between 0 and 1.0)

Inputs

  • PlaySound
Starts the sound.
  • StopSound
Stops the sound.

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.

Flags

  • 1 - Start Active
  • 2 - Loop Sound
  • 4 - Stop sound on map exit (otherwise sound will still play through the menu)

See also