ambient_generic help Created 16 years ago2007-05-08 19:53:07 UTC by ip ip

Created 16 years ago2007-05-08 19:53:07 UTC by ip ip

Posted 16 years ago2007-05-08 19:53:07 UTC Post #221452
Just a few questions about using ambient_generic.

I'm using a jungle music/background type of thing for my map. I have it set up right (based on the tutorial), but I'm a little confused about the trigger part.

My map: http://twhl.co.za/mapvault_map.php?id=4588, is open, and I want the music to start as soon as they enter the map (start by itself?). I'm also having it loop so it doesn't need to be triggered again.

Do I need to trigger this? If yes:...
How do I trigger this?
Posted 16 years ago2007-05-08 21:24:17 UTC Post #221455
Nope, you should be fine. No need for a trigger, just check the correct flag so it starts when your map does. This is assuming your WAV has cue points in the correct positions.
Posted 16 years ago2007-05-08 21:31:04 UTC Post #221456
Thank you, I was wondering if that was the problem because it wouldn't play on start up. I found out that the sound file was .wmp (or whatever the Windows Media Player file is), instead of .wav, so it wasn't locating the file, hehe.
Posted 16 years ago2007-05-08 21:55:59 UTC Post #221457
http://twhl.co.za/tutorial.php?id=99

I write these nice tutorials... and... nothing..........
Posted 16 years ago2007-05-08 23:05:16 UTC Post #221459
No I read the tutorial and got most of it, I just didnt know if music needed to be triggered or not. :P

And now a new problem

I want the music to loop, and I have the flag box "Is NOT Looped" unchecked. I run the map and the music doesn't loop. So then I check the box and run the map, trying to see if maybe it was an error or something and checking it will make it loop, and It doesn't even play.??? :furious: :confused:

Edit: Console error reads (when I check "Is NOT Looped"): WARNING! aim_riverbank/forest/aim_riverbank_forest01.wav is causing runtime sample conversion!

Any help would be EXTREMLY appriciated.
Posted 16 years ago2007-05-08 23:18:55 UTC Post #221460
Do you have the cue points in place?
Posted 16 years ago2007-05-08 23:22:44 UTC Post #221461
Im sorry what are "cue points"? lol :

EDIT: Just a guess... do I need a trigger_ to loop it?
Posted 16 years ago2007-05-08 23:49:52 UTC Post #221462
No, you don't. Cue points are little things in the WAV file itself. They define when it should start and stop looping. Looky here.

I'm not sure why these are needed exactly (why can't the sound just automatically loop once it reaches the end?) but... they are.
Posted 16 years ago2007-05-08 23:52:00 UTC Post #221463
Ah, I see, I'm going to look more into it tomorrow, until then I have to go. I'll be able to respond late tomorrow, thank you! :)

EDIT: Thank you it now works! :)
You must be logged in to post a response.