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
"Modding refers to the act of modifying a piece of hardware or software or anything else for that matter, to perform a function not originally conceived or intended by the designer." 4
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
CoD4 MP Mapping.. Posts: (6) Views: (81) by BraX
CoDWW MP Mapping.. Posts: (2) Views: (20) by BraX
CoD4 General.. Posts: (85) Views: (106) by techno2sl
L4D2 Mapping.. Posts: (1) Views: (5) by Eladd
CoD4 MP Mapping.. Posts: (29) Views: (477) by {UST}Hogan
General Gaming.. Posts: (1) Views: (17) by Cerebral_Assassin
General Gaming.. Posts: (1) Views: (14) by Cerebral_Assassin
CoD2 MP Mapping.. Posts: (8) Views: (76) by PanZerReBorN
CoDWW Map + Mod .. Posts: (35) Views: (317) by dundy
CoD2 MP Mapping.. Posts: (4) Views: (55) by liltc64
Back to Home Page
MODSCON 2010 L4D2 Contest
Dr. Nano Free for the iPhone and iPod Touch
Register/Login to Add a Tutorial
Tutorials
CoD4 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Adding Sound Tutorial
Versions: You must be logged in to view history.
This tutorial will teach you how to get your sounds working. This tut should work for MP.

All right, getting sounds to work can never be easier if you know where to place your sound files as well as your soundaliases.

 

First, you need to create a sound folder and a soundaliases folder in your Call of Duty 4 - Modern Warfare/main folder (or wherever your COD4 directory is).

You can do the next step in any order you like. You can place the sound files in the sound folder or you can wait until after your soundalias file is completed. 

 

All right, for soundalias. 

Create a text file called yourmap.csv or mp_yourmap.csv. In there, make sure you have this line.

name,sequence,file,vol_min,vol_max,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability, loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay, speakermap, reverb,lfe percentage,center percentage,platform,envelop_min,envelop_max,envelop percentage

 

Then below it, state your soundalias name that you defined in your script. Example: sound1

After your soundalias name you have fill in the rest of the line. 

 

Example:

sound1,,crash.wav,0.99,0.99,,,360,6000,local,streamed,,,master,hqoutside,,,,,,radio,nowetlevel,,0.1

Check out the tut or forum for other ways of forumulating this line.

Use Microsoft Excel to check if your line is alined with the code above, the name, seqeunce, file, vol_min, etc.

You can change the volume if you like. 

If it alines, you're good to go. You can change streamed to auto or whatever. Use the other tutorial for help on this. Streamed or auto should be fine. Now, you need to have the sound file. If you did place the sound file in the sound folder, you are good to go. Make sure in the soundalias file, the sound file name matches the actual sound file name in the sound folder. 

 

Your sound can be .wav or mp3.

Check out the forum or tut to make sure your .wav is the correct format. I use wavepad to convert my sound. My sound file is .wav but the encoding is mp3 format. You can use this to help.

 

For your zonefile, make sure you have 

example:

sound,hqoutside,hqoutside,!all_sp

 

If it is mp, then do sound,mp_hqoutside,mp_hqoutside,!all_mp, I never tested it but it should work or you can check the other tutorials or forum.

 

Also in your gsc file, you may use a trigger to activate your sound.

Do

sound()

{

trig = getent("sound_activate","targetname"); //calls the trigger

sound1 = getent("sound1","targetname"); //a script origin or an actor

trig waittill ("trigger"); //waittill touched

sound1 playsound("sound1"); //tell the origin or actor to play the sound

//beware as the actor will not play the sound through his on voice! Only whatever sound is from the sound file.

}

 

or

sound()

{

trig = getent("sound_activate","targetname"); //calls the trigger

trig waittill ("trigger"); //waitill touched

musicplay ("sound1"); //play the sound as a music apparently (does work!)

//It's just another way to play sound.

}

 

Hope this will help you with your sound problem.

 

sam_fisher3000