Need help making background music loop
Posted: June 21st, 2007, 6:45 pm
by Coontang
Hiya, im following the modsonline tutorial to creating ambient sounds looped. Im wanting something simila to that in carentan. I just arent a very good scripter so could someone tell me what i need to do?
Thanks :p
Posted: June 22nd, 2007, 4:00 pm
by Drofder2004
The background ambient?
ambientPlay("ambient_mp_carentan");
Posted: June 22nd, 2007, 4:52 pm
by Coontang
is that it , just pop it into the gsc? or do i need to put it in a specific place in the gsc?
Posted: June 22nd, 2007, 4:58 pm
by Luke
Put it in your mapname.gsc, somewhere below main(){
You also need a csv file, create a folder called soundaliases and put the csv in there, then put the folder into your iwd. The .csv should contain something like this:
name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage
#Ambiance,,,,,,,,,,,,,,,,,,,,,,,
amb_yourmapname,,ambient/amb_france03_ext.mp3,0.63,,,,,,,local,streamed,,looping,,yourmapname,,,,,,,,