Killer.Pro
3rd September 2012, 14:02
Hey friends,
In this tutorial i'm going to show you how to put a background sound in your custom map.
To start we're going to open the mp_mapname.gsc file.
It should be something like this
main()
{
maps\mp\_load::main();
}
here we're going to set our sound so that when the map will start the sound'll be called from here.
so we need to put some codes in it.
main()
{
maps\mp\_load::main();
ambientPlay("ambient_background_sound");
}
so now we need to make some folders and in those folders we'll put our sound and its settings.
so on your desktop make folder 'sound' and 'soundaliases'
In the sound folder make another folder 'ambient' and put your sound file (the sound you want to be played on your map) in there.
and in soundaliases folder make a text document and name it background_sound.csv (you can rename it to anything)
in the background_sound.csv file all you need is this code
name,sequence,file,vol_min,vol_max,vol_mod,pitch_m in,pitch_max,dist_min,dist_max,channel,type,probab ility,loop,masterslave,loadspec,subtitle,compressi on,secondaryaliasname,volumefalloffcurve,startdela y,speakermap,reverb,lfe percentage
#Ambiance
ambient_background_sound,,ambient/yoursoundname.mp3,0.63,,,,,,,local,streamed,,loopi ng,,mp_yourmapname
sound and soundaliases should be in the iwd file
so guys thats it for the background music
hope it helps..
In this tutorial i'm going to show you how to put a background sound in your custom map.
To start we're going to open the mp_mapname.gsc file.
It should be something like this
main()
{
maps\mp\_load::main();
}
here we're going to set our sound so that when the map will start the sound'll be called from here.
so we need to put some codes in it.
main()
{
maps\mp\_load::main();
ambientPlay("ambient_background_sound");
}
so now we need to make some folders and in those folders we'll put our sound and its settings.
so on your desktop make folder 'sound' and 'soundaliases'
In the sound folder make another folder 'ambient' and put your sound file (the sound you want to be played on your map) in there.
and in soundaliases folder make a text document and name it background_sound.csv (you can rename it to anything)
in the background_sound.csv file all you need is this code
name,sequence,file,vol_min,vol_max,vol_mod,pitch_m in,pitch_max,dist_min,dist_max,channel,type,probab ility,loop,masterslave,loadspec,subtitle,compressi on,secondaryaliasname,volumefalloffcurve,startdela y,speakermap,reverb,lfe percentage
#Ambiance
ambient_background_sound,,ambient/yoursoundname.mp3,0.63,,,,,,,local,streamed,,loopi ng,,mp_yourmapname
sound and soundaliases should be in the iwd file
so guys thats it for the background music
hope it helps..