Db audiere sound: Difference between revisions
Jump to navigation
Jump to search
Craziestdan (talk | contribs) m (.) |
Craziestdan (talk | contribs) |
||
Line 2: | Line 2: | ||
==Entity Description== | ==Entity Description== | ||
[[Image:db_audiere_sound.png|left]]Plays a sound like the [[ambient_generic]] but with a different sound library: [http://audiere.sourceforge.net/ Audiere]. This is useful for looping map music and playing sounds that play through the map exit, such as victory sounds.{{clr}} | [[Image:db_audiere_sound.png|left]]Plays a sound like the [[ambient_generic]] but with a different sound library: [http://audiere.sourceforge.net/ 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.{{clr}} | ||
==Keyvalues== | ==Keyvalues== |
Revision as of 10:48, 16 July 2009
Entity Description
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)