| Author |
Topic: Jukebox in MP |
| Futtbucker |
 |
General Member Since: Jun 23, 2006 Posts: 96 Last: Jul 21, 2007 [view latest posts] |
|
|
|
|
| playername |
 |
Preferred Member Since: Aug 24, 2006 Posts: 821 Last: Apr 15, 2011 [view latest posts] |
|
|
 |
 |
|
|
| Futtbucker |
 |
General Member Since: Jun 23, 2006 Posts: 96 Last: Jul 21, 2007 [view latest posts] |
|
|
|
|
| playername |
 |
Preferred Member Since: Aug 24, 2006 Posts: 821 Last: Apr 15, 2011 [view latest posts] |
|
|
 |
 |
|
|
| Futtbucker |
 |
General Member Since: Jun 23, 2006 Posts: 96 Last: Jul 21, 2007 [view latest posts] |
|
|
|
|
| TexasRebel |
General Member Since: May 1, 2006 Posts: 373 Last: Aug 20, 2013 [view latest posts] |
|
|
|
Category: CoD2 Scripting Posted: Tuesday, Jul. 3, 2007 04:45 am |
 |
I was just reading through that Tutorial you were talking about. Could there be a problem with the tutorial using a soundalias of sound4 and then him trying to use the same alias.
Open you CSV and just give you sound a different alias like jukebox.
Code: 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
jukebox,,misc/sound4.wav,1,,,,,150,300,auto,,,nonlooping,,,,,,,,,,
Then in you GSC you will also need to change the name of sound4 to jukebox.
Code: main()
{
maps\mp\_load::main();
thread sound4();
}
sound4()
{
yellsoundtrig = getent ("sound4_trigger","targetname");
yellsoundtrig waittill ("trigger");
alert = getent ("sound4source", "targetname");
alert playsound("jukebox");
}
I think that will do it, or you could just remove that sound_tut from your directory, either one. |
 |
|
|
| Futtbucker |
 |
General Member Since: Jun 23, 2006 Posts: 96 Last: Jul 21, 2007 [view latest posts] |
|
|
|
|
| TexasRebel |
General Member Since: May 1, 2006 Posts: 373 Last: Aug 20, 2013 [view latest posts] |
|
|
|
Category: CoD2 Scripting Posted: Tuesday, Jul. 3, 2007 11:38 am |
 |
1.) I'm pretty sure you didnt need to compile it again. This has to do with something outside the editor.
2.)The .wav sound file does not go in the main directory for Cod2. Its suppose to be in the iwd you made in a main folder called sound, and then stick it in a sub folder inside there called misc.
3.)Your iwd for basics should contain:
maps <----- d3dbsp, bsp go in here
maps>mp <----- arena file goes in here
soundaliass <----- csv goes in here
sound>misc <----- custom sound goes in here
4.) Check out this map to see how everything is setup. Its pretty big but I think if you study it, you will see what to do.
http://www.modsonline.com/Downloads-full-3714.html |
 |
|
|
| Futtbucker |
 |
General Member Since: Jun 23, 2006 Posts: 96 Last: Jul 21, 2007 [view latest posts] |
|
|
|
|
| Futtbucker |
 |
General Member Since: Jun 23, 2006 Posts: 96 Last: Jul 21, 2007 [view latest posts] |
|
|
|
Category: CoD2 Scripting Posted: Tuesday, Jul. 3, 2007 02:43 pm |
 |
I have reïnstalled CoD2 and CoD2 Mod Tools ( since it was full with to much mods ) and now I tried it all over again, and I didn't use parts from the sound_tut.iwd (except for "yellsoundtrig"). I'm gonna show everything what I have because it still doesn't work and I don't get it!
My GSC file (mp_begin.gsc) :
Code: main()
{
maps\mp\_load::main();
thread sound();
}
sound()
{
yellsoundtrig = getent ("soundtrigger","targetname");
yellsoundtrig waittill ("trigger");
alert = getent ("soundsource", "targetname");
alert playsound("sound");
}
My CSV file (mp_begin.csv) :
Code: 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
sound,,misc/sound.wav,1,,,,,150,300,auto,,,nonlooping,,,,,,,,,,
In radient:
TRIGGER
SOUND THINGIE
* My sound in C:\Program Files\Activision\Call of Duty 2\main\sound is named "sound.wav"
Does it have to do something with the CSV file ? Because it has like thousands of comma's... ![[ohwell]](images/BBCode/smilies/ohwell.gif)
I hope you guys can help me with all this information cause I spent much much time on this and can't get it to work
|
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|