Members Online»
0 Active | 51 Guests
Online:
|
LATEST FORUM THREADS»
by supersword
Posts: 2 / 90 The Future of MODSonline
In The News by KAZAM3766
Posts: 1 / 480 CoD: Battle Royale
CoD+UO Map + Mod Releases by morgawr
Posts: 1 / 2553 Damaged .pk3's
CoD Mapping by lazygit
Posts: 1 / 3071 heli to attack ai
CoD4 SP Mapping by DrBiggzz
Posts: 11 / 980 New Cod UO Rifle Mod.
CoD Mapping |
Polls»
|
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
Latest Syndicated News»
Comments: 5
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which... Comments: 5
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ... Comments: 5
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead?
... Comments: 5
Codutility.com up and runn...
It seems to me the like the site is completely dead? Comments: 5
Codutility.com up and runn...
Yeeaahhhh.........
|
Latest Downloads»
OHMY Don Quixote
Call of Duty 2: Maps: Multiplayer (5.76Mb) OHMY Neuburg
Call of Duty 2: Maps: Multiplayer (6.84Mb) OHMY Tebessa
Call of Duty 2: Maps: Multiplayer (7.36Mb) OHMY POW Camp
Call of Duty 2: Maps: Multiplayer (2.15Mb) OHMY Valley
Call of Duty 2: Maps: Multiplayer (5.7Mb) |
Partners & Friends»
|
Site Links and Information
|
Partners
|
Friends
|
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware