Go Back   Novahq.net Forum > Games > Delta Force

Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-01-2009, 11:11 PM
EZK_Cobra is offline EZK_Cobra
Registered User

Join Date: Dec 2008
Location: Michigan
Posts: 9

need some help with my WAC file please

can somebody give me some help with my WAC file please?
all i want is to have 2 wave files play after each event is completed succesfully.

i've tried tried triggering it with groupdead, its a helicopter to be destroyed for the event which is Group 12 in DFXMED

if groupdead(12) and never() then
wave("macr152",200)
endif

if previous() and waveready() and never() then
wave("macr218",200)
endif

didnt work so i tried to do it by SSN

if ssndead(162) and never() then
wave("macr152",200)
endif

if previous() and waveready() and never() then
wave("macr218",200)
endif

still no go so i tried it by event

if event(22) and never() then
wave("macr152",200)
endif

if previous() and waveready() and never() then
wave("macr218",200)
endif

still nothing, the event works and i get the text message that the event was completed succesfully "Enemy Helipcopters Destroyed" but nothing from the WAC file.
the previous commands in the WAC file works just fine but all the other wave files are triggered by the "past" command.
This is the first that is to be triggered by an event and i would like to do this kind of thing after each event is finished.
Any ideas??
Thsnk You!
Reply With Quote
  #2  
Old 01-01-2009, 11:25 PM
Chrispy is offline Chrispy

Join Date: Sep 2005
Location: Peria, New Zealand
Posts: 6,770

Send a message via MSN to Chrispy Send a message via Yahoo to Chrispy
Aren't ".wav" supposed to be after the names?

E.g. like this:

if event(22) and never() then
wave("macr152.wav",200)
endif
__________________
Intel Core Duo E7300 2.66GHz // SuperTalent DDR2 800 2GB // ASUS nVidia GeForce 8400GS 512MB // Western Digital 7200RPM 320GB SATA // LG GH-20LS 20X SATA DVD-RAM // Windows XP Pro 32-bit // Thermaltake XP550 NP 430W // Thermaltake SOPRANO SECC Black
Reply With Quote
  #3  
Old 01-02-2009, 12:26 AM
EZK_Cobra is offline EZK_Cobra
Registered User

Join Date: Dec 2008
Location: Michigan
Posts: 9

EDITED BELOW., GOT IT

wow....you're absolutly right Chrispy....sheeeesh, wish i had spotted that...i think i need to get to bed...lol
Thank you!

ok,, got another one thats probably just as simple to fix but i cant figure it out.

when i add

if grouparea(1,3) and never() then
wave("macr159.wav")
endif

it plays the wave file as soon as i open the map, it doesnt even wait til i'm even in the game, i hear it playing as soon as the map is loading.
isnt it supposed to wait until i am in trigger area 3 ?
thank you again!

NEVER MIND CHRISPY, I GOT IT TO WORK BY USING SSNAREA(10000,3) INSTEAD OF GROUPAREA.
THANK YOU!

Last edited by EZK_Cobra; 01-02-2009 at 12:43 AM.
Reply With Quote
  #4  
Old 01-02-2009, 01:17 AM
Chrispy is offline Chrispy

Join Date: Sep 2005
Location: Peria, New Zealand
Posts: 6,770

Send a message via MSN to Chrispy Send a message via Yahoo to Chrispy
No prob mate.

I've gotten that "wave file plays when loading map" thing too mate. Dunno what's wrong with that - glad you got the 10,000 thing in and it fixed it.
__________________
Intel Core Duo E7300 2.66GHz // SuperTalent DDR2 800 2GB // ASUS nVidia GeForce 8400GS 512MB // Western Digital 7200RPM 320GB SATA // LG GH-20LS 20X SATA DVD-RAM // Windows XP Pro 32-bit // Thermaltake XP550 NP 430W // Thermaltake SOPRANO SECC Black
Reply With Quote
  #5  
Old 01-02-2009, 08:00 AM
skinny killer is offline skinny killer
skinny killer's Avatar
HappyGoLucky

Join Date: Feb 2007
Location: In your pantry
Posts: 2,975

Send a message via Yahoo to skinny killer
Quote:
Originally posted by EZK_Cobra
EDITED BELOW., GOT IT

wow....you're absolutly right Chrispy....sheeeesh, wish i had spotted that...i think i need to get to bed...lol
Thank you!

ok,, got another one thats probably just as simple to fix but i cant figure it out.

when i add

if grouparea(1,3) and never() then
wave("macr159.wav")
endif

it plays the wave file as soon as i open the map, it doesnt even wait til i'm even in the game, i hear it playing as soon as the map is loading.
isnt it supposed to wait until i am in trigger area 3 ?
thank you again!

NEVER MIND CHRISPY, I GOT IT TO WORK BY USING SSNAREA(10000,3) INSTEAD OF GROUPAREA.
THANK YOU!
I don't think "(1, 3) is a valid group number...... but oh well. glad you got it fixed.

Also if you want the waves to trigger after the event has triggered try this.....

if event(# of event) and never() then
wave("macr159.wav")
endif

just put the number of the event where I have "# of event" typed.

Happy mapping bro!
__________________
Reply With Quote
  #6  
Old 01-02-2009, 10:55 AM
EZK_Cobra is offline EZK_Cobra
Registered User

Join Date: Dec 2008
Location: Michigan
Posts: 9

ok, thank you skinny killer, i tried the event one and it worked too.

with the grouparea thing i was trying to use the 1,3 for group 1, (Blue players) and the 3 for area trigger 3 but i think i better stick with the SSN 10000 for blue players.

this is the first WAC file that i have attempted to go along with a new SP/COOP map that i made.

i've been scouring this web site for all the info i can find.. lol

i found the list of goodies that you worked on with dave61 and its been a GREAT help!
it had to take a long time for you all to put together all that info and those wav file descriptions, i'm sure glad you did! so thank you for that!
Reply With Quote
  #7  
Old 01-02-2009, 11:44 AM
skinny killer is offline skinny killer
skinny killer's Avatar
HappyGoLucky

Join Date: Feb 2007
Location: In your pantry
Posts: 2,975

Send a message via Yahoo to skinny killer
Quote:
Originally posted by EZK_Cobra
ok, thank you skinny killer, i tried the event one and it worked too.

with the grouparea thing i was trying to use the 1,3 for group 1, (Blue players) and the 3 for area trigger 3 but i think i better stick with the SSN 10000 for blue players.

this is the first WAC file that i have attempted to go along with a new SP/COOP map that i made.

i've been scouring this web site for all the info i can find.. lol

i found the list of goodies that you worked on with dave61 and its been a GREAT help!
it had to take a long time for you all to put together all that info and those wav file descriptions, i'm sure glad you did! so thank you for that!
No problem bro... I kinda enjoyed doing it LOL. I've always wondered what all the wav files sounded like.

anyhoo, I've never been able to use group 1. it has never worked for me. neather does group 2.

just ask here if you need any more help. We'll be happy to help!

Happy mapping.
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Host Messages via a Wac file. DC_Scout_67 Joint Operations 0 02-24-2009 07:11 AM
Game WAC File J-Factor Joint Operations 5 09-22-2008 10:39 PM
Wac file Sgt Eagle Delta Force 2 06-02-2005 04:38 PM
WAC file breakdown? Genocidal~V*D~ Joint Operations 2 11-15-2004 07:17 PM
.WAC HELP!!! DizAsTeR ! Delta Force 2 07-29-2003 07:02 PM


All times are GMT -5. The time now is 05:18 PM.




Powered by vBulletin®