Art of War Central
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/21/2010 12:03 EDT

Time remaining:
We Dontated to PixelEquity
"Mods can significantly outshine and/or continue the success of the original game even when it is dated." 1
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
General Gaming.. Posts: (3) Views: (49) by BigAl444
CoD4 General.. Posts: (92) Views: (115) by Samuel033
CoD4 MP Mapping.. Posts: (1) Views: (20) by Infern4ll
CoDWW MP Mapping.. Posts: (5) Views: (69) by [ZCT]CoDMapper
CoD4 MP Mapping.. Posts: (10) Views: (140) by [IBS]MattY
CoD4 Map + Mod R.. Posts: (32) Views: (226) by sam_fisher3000
L4D2 Mapping.. Posts: (1) Views: (9) by Eladd
Back to Home Page
MODSCON 2010 L4D2 Contest
Dr. Nano Free for the iPhone and iPod Touch
Register/Login to Add a Tutorial
Tutorials
CoD2 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Adding Ambient Sounds to Your Map
Versions: You must be logged in to view history.
The_Caretaker kindly explains how to add ambient sounds to your map
Adding Ambient sound tutorialby The Caretaker

As many of you might have noticed, the ambient sounds are not working when you copy them
from for instance mp_carentan. That's because, in the stock csv files the ambient aliases are limited
to the stock MP maps only.


This tutorial will show you how to add ambient sounds to your map. This tutorial works for SP as wel, just alter the name of the map and put the .gsc and .d3dbsp file in the /maps folder instead.

We'll be using the same soundfile as mp_carentan and the map will be named "mp_mapname", so you'll have to alter
this to your own mapname and the soundfile you prefer.


1) In your mp_mapname.gsc file, located in the maps/mp folder add

ambientPlay("ambient_mp_mapname"); to the main() function

So it should look something like this:

main()
{
maps\mp\_load::main();

// set background ambient noise
ambientPlay("ambient_mp_mapname");

// Soldier settings etc..
//...
}

Save it.

2) Now for the .csv file.

Make a folder called "soundaliases" in your /main folder.
Inside this folder make a new text document.
Open this document and put the following lines in there:


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
ambient_mp_mapname,,ambient/amb_france01b.mp3,0.63,,,,,,,local,streamed,,looping,,mp_mapname


Save it as "mp_mapname.csv"

For your final release (not needed for local testing, as long as you've set pure to no):

3) Place the maps/mp (with the .d3dbsp file ofcourse) and /soundalias file in a .iwd file and you're good to go.


The ambient file used here is amb_france01b.mp3
Stock in CoD2 there are two others used:

ambient/amb_africa01b.mp3, and
ambient/amb_russia01b.mp3.
There are alot more, which can be found in the iw_04.iwd file under sound/ambient.

This tutorial works for SP as well, just alter the name of the map and put the .gsc and .d3dbsp file in the /maps folder instead.