Ambient_generic

Avatar
Haggis
158 Posts
Posted Jun 20, 2011
Replied 10 minutes later
The soundfile and trigger are named
Advertisement
Registered users don’t see ads! Register now!
Avatar
Haggis
158 Posts
Posted Jun 21, 2011
Replied 1 day later
Please, please, please, can someone make me .vmf with a trigger that plays a piece of music, just so i can see how it is done, this is driving me mad, cheers.
Avatar
watanukikun
16 Posts
Posted Jun 23, 2011
Replied 1 day later
I got this problems too! Please help!
Avatar
GODFATHER
26 Posts
Posted Aug 23, 2011
Replied 2 months later
Happening for me too!!

I can play other sounds but not music, tried all things suggested in this thread.

Any help would be appreciated. Been googling with no luck.

Avatar
Vordwann
767 Posts
Posted Aug 23, 2011
Replied 16 minutes later
are you using music from the RAW directory in the sound browser. Won't work if it's not from there, i'm pretty sure...
Avatar
GODFATHER
26 Posts
Posted Aug 23, 2011
Replied 8 minutes later
Yes. Plays in preview ok, just not in game. Tried a button and a trigger, naming all the entities.
Avatar
Random
171 Posts
Posted Aug 23, 2011
Replied 3 minutes later
I've never had any problems with Game Sounds vs Raw, if I understand what you're talking about.

Looking over the thread, why are people saying to disable looping for music? Since it is meant to be looped, forgetting to uncheck "do not loop" almost always broke the ambient generic when I use it for anything but normal sounds. In fact, I think the only flag that needs to be checked is "start silent."

I believe zoo_mechanics includes a simple music triggered by button press, if anyone wants to check that out.

Avatar
GODFATHER
26 Posts
Posted Aug 23, 2011
Replied 6 minutes later
Thanks Random, I will check that out tomorrow. Getting late here in the UK :smile:
Avatar
Skotty
671 Posts
Posted Aug 24, 2011
Replied 14 hours later

Marise wrote:
This seems like a good thread to ask this... Does anyone know a way to make the tick-tock sound effect loop? Or would I have to alter the raw .wav file?

Sounds are just able to loop if there exists a CUE in the .wav file. Thats some part of the wave that loops everytime. If the tick-tock has no CUE in it's .wav you can't use any loop flag. Use logic_timer.

Avatar
hyperion1is
33 Posts
Posted Aug 24, 2011
Replied 7 minutes later
Maybe your problem is you sound cache. You are using from raw? Write snd_updateaudiocache into the game console. I had to do this when I included a custom audio file in my map, also using ambient_generic.
Try this and if it work, is ok. If not please check the console for error messages.
Advertisement
Registered users don’t see ads! Register now!
Avatar
GODFATHER
26 Posts
Posted Aug 24, 2011
Replied 3 hours later
OK. Having checked zoomechanics it does indeed play music although I got nothing, cache wasn't the issue either. So could only deduce it was a game wide issue. Reinstalled Portal 2 and ......

I now have music!!!! :smile: :smile: :smile:

No idea what got messed up but reinstall did the trick.

Thanks to those that commented.