CoDJumper.com YouTube Channel logo CoDJumper.com Facebook group logo CoDJumper.com Xfire group CoDJumper.com Twitter logo CoDJumper.com Steam group logo

 



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: soundaliases help
PostPosted: March 3rd, 2012, 6:08 pm 
CJ Wannabe
Joined: March 3rd, 2012, 5:46 pm
Posts: 5
X-Fire: dryspoon
Gamertag: o DRYSPOON o
PSN ID: dryspoon
Hi im having some trouble getting a sound file to play ,i wondered if anyone could please help

im making a zombie map 3rd so far :D and i have added planes that fly over which is all well and good but i cannot get the sound working this is the gsc im using and the csv soundaliases i also have the wav file for this
Code:
//// maps\planes::main(); ////add this to main in gsc mapname  below maps\_zombiemode::main() \\\\\\\\\

main()
{

level thread planes();
}

planes()
{
level.PlaneSpeed = 2.5;

stuka1 = getent ("stuka1","targetname");
stuka2 = getent ("stuka2","targetname");
stuka3 = getent ("stuka3","targetname");

temp = getent (stuka1.target,"targetname");
stuka1.dest = temp.origin;
stuka1.start = stuka1.origin;
stuka1 hide();
temp = getent (stuka2.target,"targetname");
stuka2.dest = temp.origin;
stuka2.start = stuka2.origin;
stuka2 hide();
temp = getent (stuka3.target,"targetname");
stuka3.dest = temp.origin;
stuka3.start = stuka3.origin;
stuka3 hide();

wait 2;

while (1)
{
stuka1 thread plane_flyby("stuka_flyby");
wait .15;
stuka2 thread plane_flyby("stuka_flyby");
wait .15;
stuka3 thread plane_flyby("stuka_flyby");

wait 60;
}
}


plane_flyby(sound)
{
// If you specified a sound to play then play it
if (isdefined (sound))
self playsound (sound);

wait 15;

self show();

self moveto(self.dest, level.PlaneSpeed, 0.1, 0.1);

wait level.PlaneSpeed;

self hide();
self.origin = self.start;
}

[code]name,sequence,file,vol_min,vol_max,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle
null,,null.wav,,,,,,,,,,,,,

#Tank sounds,,,,,,,,,,,,,,,
stuka_flyby,,vehicles/stuka_by02.wav,1.25,,,,100000,,,,,,,,


if some one could talk me through the set up of the sounds it would be greatly appreciated ,thanks nukem
heres a little vid of the map in a early stage http://www.youtube.com/watch?v=dHZn3UgjpF8

_________________
nazi_zombie_lagops
nazi_zombie_waterworks
nazi_zombie_airport


Profile  Offline
 
 Post subject: Re: soundaliases help
PostPosted: March 4th, 2012, 12:20 am 
CJ Fan
Joined: April 18th, 2011, 3:48 pm
Posts: 170
X-Fire: miiauu
is there any error?
and what zombie mod is this?


Profile  Offline
 
 Post subject: Re: soundaliases help
PostPosted: March 4th, 2012, 1:42 am 
CJ Wannabe
Joined: March 3rd, 2012, 5:46 pm
Posts: 5
X-Fire: dryspoon
Gamertag: o DRYSPOON o
PSN ID: dryspoon
hi thanks for your reply
i get an error on compile > error sound file 'sound/vehicles/stuka_by02.wav' not found

i have the wav file and have put in root>raw>sound>sfx>vehicles>plane i put a copy of the wav in all the files in vehicles and added a file called stuka but still same error ?

the mod im using is the zct mw mod (zombie chicken taco with modern weapons) as im using this im not building fast files in my mod as im using theres from zct mod

_________________
nazi_zombie_lagops
nazi_zombie_waterworks
nazi_zombie_airport


Profile  Offline
 
 Post subject: Re: soundaliases help
PostPosted: March 4th, 2012, 12:53 pm 
CJ Fan
Joined: April 18th, 2011, 3:48 pm
Posts: 170
X-Fire: miiauu
I didnt realize this was cod waw

Try putting the .wav file exactly in
root>raw>sound>vehicles


Profile  Offline
 
 Post subject: Re: soundaliases help
PostPosted: March 4th, 2012, 3:13 pm 
CJ Wannabe
Joined: March 3rd, 2012, 5:46 pm
Posts: 5
X-Fire: dryspoon
Gamertag: o DRYSPOON o
PSN ID: dryspoon
haha it worked :D the compiler even told me the path it was looking for the file at god im such a noob

thanks for your help very much appreciated

_________________
nazi_zombie_lagops
nazi_zombie_waterworks
nazi_zombie_airport


Profile  Offline
 

Display posts from previous:  Sort by  

Post new topic Reply to topic  [ 5 posts ]   

Index » Mapping & Jump Maps » CoD:WaW Mapping Help

 

 

Who is online

Users browsing this forum: No registered users and 1 guest

Panel

Top You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme by Pedsdude and KillerSam, based on
Melankonia by Ercan K.