Adding sound to a map Created 10 years ago2013-06-10 12:04:02 UTC by LeFtY LeFtY

Created 10 years ago2013-06-10 12:04:02 UTC by LeFtY LeFtY

Posted 10 years ago2013-06-10 12:04:02 UTC Post #313931
Anyone know how to add sound to a map, I want to add a thunder WAV file that I have, what properties do I use, is it a env_soundscape or can I use something else? :|
Posted 10 years ago2013-06-10 18:51:11 UTC Post #313936
You have to use the ambient_generic entity.

Read more about it here: http://twhl.info/wiki.php?id=122
Posted 10 years ago2013-06-10 20:18:34 UTC Post #313939
If you would like to loop the sound effect using an ambient_generic you must:

Create a logic_timer

Properties of logic_timer:
Refire Interval = The length of your sound effect

Now create an output for the logic_timer

output named = OnTimer
target entities = ambience (name of your ambient_generic)
via this input = PlaySound

Let me know if you have any trouble understanding that
Posted 10 years ago2013-06-11 10:49:47 UTC Post #313951
If you would like to loop the sound effect using an ambient_generic you must:

List of unnecessary crap
Or, uncheck "Is NOT looped" in the flags tab.
Moaby MoabyMk. III
Posted 10 years ago2013-06-11 11:11:37 UTC Post #313952
the way zopha91 said will work if the audio file has no cues in it.
loops won't work without audio cues
Tetsu0 Tetsu0Positive Chaos
Posted 10 years ago2013-06-11 11:38:07 UTC Post #313953
I figured.

That said, having GoldWave (as every mapper should at least have) and creating a start_cue and end_cue is nothing compared to having more entities. Especially as I personally hit the entity limit a lot, even in Source as props are being included in it. Also, having audio cues in multiplayer is essential; equally as much on soundscapes.
Moaby MoabyMk. III
Posted 10 years ago2013-06-11 13:09:28 UTC Post #313955
The good thing about Goldwave (unless they've changed it) is that the trial is usage based, and the counter for it is stored in the registry! Change that and you've got a fresh trial again.

/semi-offtopic
Jessie JessieTrans Rights <3
You must be logged in to post a response.