are you looking for ambient background (as in stock ) or custom sound to insert as needed intot he map where you want it(recommended)
hi thanx for your help so far what i really want to do in my latest map is to be able to put my own background custom ambience sound into it but there doesn't seem to be a step by step idiots guide on how to do it if someone could help out i would be vey grateful. cod 4
are you looking for ambient background (as in stock ) or custom sound to insert as needed intot he map where you want it(recommended)
yes sorry i would like to put a custom background ambience sound to replace the stock ones if thats possible to play in the map while you run around thanks for the reply.
Asuming your have these files already in your zone_source :
-------------------------------------------
sound,common,mp_mapname,!all_mp
sound,generic,mp_mapname,!all_mp
sound,voiceovers,mp_mapname,!all_mp
sound,multiplayer,mp_mapname,!all_mp
sound,mp_mapname,mp_mapname,!all_mp
-------------------------------------------
In your raw/maps/mp/mapname.gsc, add the following :
ambientPlay("whateveryoulike");
In most cases there already is a ambientPlay, delete the old ambientPlay.
In your raw/soundaliases/mp_mapname.csv, add the following :
whateveryoulike,,ambient/ambient_whateveryoulike.wav,.2,,ambience,,,,,ambient,streamed,,looping,,mp_mapname,,,,,,,0.2,,,,,1
Small explanation :
whateveryoulike = name of the ambientPlay
ambient = folder in raw/sound
ambient_whateveryoulike.wav = filename of your wave file that you like to be played, placed inside ambient folder.You can also use a mp3 file *
mp_mapname = change this to your mapname
* If you use a mp3 file, don't forget to add the mp3 file to the mp_mapname.iwd.
Winners never quit, quitters never win.
-----------------------
Codutility Moderator
Mapping Tech.
i dont have a .csv file created in raw soundaliases folder so what do i need twrite in their is it just what you adviced or should there be more in there and how do you set up a file like this in your iwd file if it is an mp3 file as i have never done this before it seems i need all the steps to do this successfully thanx for the help and patience.
Here is a tut I did for COD5.
http://www.codutility.com/vb/showthr...nd-to-your-map
Hopefully it will make sense when you apply it DaWizz's mini tut above. Remember the header in my tut is from cod5, you'll need to make sure you sue one from cod4/MW1( at the top of the soundalias files,check a stock file if your not sure)
If not post and we can go from there. Good luck Harry.
BTW, try to look at the WaW tuts, a lot will apply to the cod4/MW1 mapping process, they are the same engine, with minor differences.
Last edited by MelVin; April 25th, 2012 at 08:54.
Sorry for not replying to this thread.I forgot to subscribe it
Anyway, if you still need help on this, just post and i should receive an email since now I subscribed to this thread![]()
Winners never quit, quitters never win.
-----------------------
Codutility Moderator
Mapping Tech.
yes i just need a tut for cod4 custom sound ambience for the background music that works. I have had people giving me clues and breadcrumbs but this is no good i need a bullet proof tut. There are to many things that need to be done, I have my mp3 and I have tried the csv file and zone file and everything else. I just need as i say a bullet proof one that works i hope this makes my query more clearer.
Last edited by privateparts; April 26th, 2012 at 04:23. Reason: mistype
OK give me the name of your map and the name of the mp3 file you like to use.
I wil go from there.
Winners never quit, quitters never win.
-----------------------
Codutility Moderator
Mapping Tech.