Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 103 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty: World at War
Category: CoDWW MP Mapping
CoD: World at War Multiplayer mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Flyby sound
arachnofang
General Member
Since: Nov 16, 2008
Posts: 505
Last: Sep 9, 2012
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Wednesday, May. 13, 2009 04:02 pm
Hi guys!

Can anyone help me with this please?

I can't get this.........

Code:
main() 
{ 

	level thread planes(); 
} 

planes() 
{ 
level.PlaneSpeed = 9.5; 

bomber01 = getent ("bomber01","targetname"); 
bomber02 = getent ("bomber02","targetname"); 
bomber03 = getent ("bomber03","targetname"); 

temp = getent (bomber01.target,"targetname"); 
bomber01.dest = temp.origin; 
bomber01.start = bomber01.origin; 
bomber01 hide(); 
temp = getent (bomber02.target,"targetname"); 
bomber02.dest = temp.origin; 
bomber02.start = bomber02.origin; 
bomber02 hide(); 
temp = getent (bomber03.target,"targetname"); 
bomber03.dest = temp.origin; 
bomber03.start = bomber03.origin; 
bomber03 hide(); 

wait 2; 

while (1) 
{ 
bomber01 thread plane_flyby("squadron_flyby"); 
wait .15; 
bomber02 thread plane_flyby("squadron_flyby"); 
wait .15; 
bomber03 thread plane_flyby("squadron_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; 
}


To play this...........

Code:
name,sequence,file,platform,vol_min,vol_max,pitch_min,pitch_max,dist_min,dist_max,dist_reverb_max,limit_count,limit_type,entity_limit_count,entity_limit_type,bus,spatialized,type,probability,loop,masterslave,loadspec,reverb_falloff_curve,subtitle,compression,randomize_type,secondaryaliasname,chainaliasname,volumefalloffcurve,startdelay,speakermap,reverb_send,lfe percentage,center percentage,platform,envelop_min,envelop_max,envelop percentage,occlusion_level,real_delay,distance_lpf,move_type,move_time,min_priority,max_priority,min_priority_threshold,max_priority_threshold,doppler

#Tank sounds,,,,,,,,,,,,,,, 

squadron_flyby,,SFX\jungle\squadron.wav,wii,1,1,0.8,1.1,200,1600,2000,,,,,explosion,3d,,,,,all_mp,,,,,,,curve4,,,0.6,,,,,,,0.3,,no,,,100,100,0.25,1


It compiles fine with no errors, it just won't play the sound in-game, i have tried loads of different ways and its driving me nuts, any help would be greatly appreciated.

Thanx Ian.
Share |
dundy
General Member
Since: Dec 14, 2004
Posts: 768
Last: Nov 1, 2020
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoDWW MP Mapping
Posted: Wednesday, May. 13, 2009 05:26 pm
all i can say read this post

http://www.modsonline.com/Forums-top-100959-60.html%23668793

it,s 7 pages but the way Faffer xplaint it works....
Share |
FAFFER
General Member
Since: May 1, 2005
Posts: 647
Last: Sep 17, 2011
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Wednesday, May. 13, 2009 05:43 pm
without knowing which soundalias header your using....

firts thing i would change is SFX\jungle\squadron.wav to use backslashes instead.

also the "all_mp" strikes me as strange
Share |
arachnofang
General Member
Since: Nov 16, 2008
Posts: 505
Last: Sep 9, 2012
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Wednesday, May. 13, 2009 06:52 pm
Thanx guys!

I read the posts like ya said dundy, and it was FAFFER's header and code i needed, what a dumb ass, i've lost count of how many times i read those posts [banghead] .

Thanx FAFFER! Without your posts i wouldn't have managed it [thumbs_up]

Just the timing to sort out smilie=biggrin] won't take me long to do that,

Once again, Thanx guys! much appreciated.

Ian.
Share |
DadofAzz
General Member
Since: May 24, 2005
Posts: 1233
Last: Oct 17, 2009
[view latest posts]
Level 8
MODSCON
Category: CoDWW MP Mapping
Posted: Wednesday, May. 13, 2009 07:08 pm
rofl, you guys are coming on in leaps and bounds and leaving this old duffer in your dust lol..

I still cant even get a blasted tank to work.

[lol]

doa
Share |
dundy
General Member
Since: Dec 14, 2004
Posts: 768
Last: Nov 1, 2020
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoDWW MP Mapping
Posted: Wednesday, May. 13, 2009 08:43 pm
DadofAzz writes...
Quote:
rofl, you guys are coming on in leaps and bounds and leaving this old duffer in your dust lol..

I still cant even get a blasted tank to work.

[lol]

doa


lol [biggrin]m8te

best pm zeroy about that.. m8te
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty: World at War : CoDWW MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»