|
Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
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! |
#2
|
||
|
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 |
#3
|
||
|
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. |
#4
|
||
|
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 |
#5
|
|||
|
Quote:
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! |
#6
|
||
|
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! |
#7
|
|||
|
Quote:
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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |