Forum Thread
  Posts  
Hammer Editor: need help with 'ambient_generic' (Forums : Level Design : Hammer Editor: need help with 'ambient_generic') Locked
Thread Options
Feb 3 2014 Anchor

Greetings! so the thing is that I basically wanna have some background audio for my appreciated CQB facility map, that I have been editing for months with much love by adding target discrimination scenarios, multiple rooms for clearing, shooting drills and much more stuff... but whatever, I guess that's something which wouldn't concern you at all. I already got a brilliant .WAV file containing the combination of a beautiful wind effect and remote weapon firing noises that simulate other operators performing CT training around my hangar between a few more things, but there's a huge problem: if the sound is larger than around four minutes (if I remember well), the game crashes at the start for some strange reason so I got to keep it really short durable; short as I need nearly half hour to finish all the paths of the training and therefore sound stops very early on mid of the game, which is quite disturbing.
The only solution that comes to my mind right now is to play with my 'ambient_generic' options (like 'flags', 'outputs', 'inputs' or however you call these) in order to make the sound unlimitedly repeatable (hopefully that will be possible), but I frankly don't have any clue about how I should manipulate them.

So I'm hoping for a soon and profitable answer; I'm sorry for wall of text by the way. Cheers ;P

Nvm, already found the solution :)

Apr 13 2014 Anchor

I think I understand what you're asking.

If you can edit sound effects (not too hard with Audicity) have one ambient_generic per area, and based on where that area is have altered sound. In other words, if you want distant gunfire because you're getting farther away from the shooting range, in that area have the gunfire on a lower volume, while the wind sound effect is a bit louder- thus giving the impression that the wind is more prevalent than the gunfire.

In another area you could do the opposite, louder gunfire and quieter wind. Only thing you would have to do is set the ambient_generics to "loop" (checkbox in parameters) and have it set to "Play everywhere". Then, create a trigger so when the player enters that area, the specific ambient_generic will play.

I hope I understood you correctly, and this helps, if not feel free to respond/PM me.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.