View Single Post
  #20  
Old 12-14-2009, 10:49 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 Spinney View Post
See your point. Perhaps that's the problem. Anyway, here is the bloody thing in it's entirety. If anyone can see anything wrong please, I'm all ears ... er, eyes. By the way, it's a BHD mission but, as I said before it's happened on all the games before:

;=============================================
; OPENING DIALOGUE
;=============================================
if past(2) and waveready() and never() then
wave("10MB400.wav",100)//victor 3 this vic 2 on way to lz
grouphp(12,900)
endif

if chain(9) and never() then
wave("10mt516.wav",100)//shooter on hill tops
text("Enemy right!")
endif

if chain(3) and waveready() and never() then
wave("dltb417.wav",100)//rpg rpg
text("Careful of RPGs!")
endif

if chain(16) and waveready() and never() then
wave("TCnvB003.wav",100)//more hstiles right
text("Enemy right!")
endif

if chain(6) and waveready() and never() then
wave("TDltA128.wav",100)//rpg on the right
text("RPGs in that ruined building to the right! Bottom floor!")
endif

if chain(5) and never() then
consol("Keep out of the way of your teammates!")
endif

if chain(2) and never() then
consol("Let them get to the bottom floor unhindered!")
endif

;=============================================
; first SAS meet
;=============================================
if ssndead(1074) and waveready() and never() then
ssnwave(291, "TsasA013.wav",100)//glad you blokes could make it
endif

if chain(1) and waveready() and never() then
wave("Tplsg011.wav",100)//tight schedule
consol("Get over to the other SAS team and help out!")
endif

if chain(1) and waveready() and never() then
wave("Tplay119.wav",100)//support sas
endif

if chain(1) and waveready() and never() then
wave("dlta031.wav",100)//guns coming here
consol("Repel the attack!")
endif

if chain(1) and waveready() and never() then
wave("Play246.wav",100)//hol this position
consol("Don't let them overrun your position!")
endif

if chain(8) and waveready() and never() then
wave("Tplsg020.wav",100)//hold it together
consol("Don't loose your team When leaving the building.")
consol("Make sure they are all with you.")
endif


;=============================================
; TANK SHOOTS
;=============================================
if area(3) then
if random 6 then
ammo2tgt(ammo_Mk19NADE,2)
ammo2tgt(ammo_LARGELANDMINE,1)
endif
endif

if chain(2) and waveready() and never() then
wave("gotatank.wav",100)//got a tank
consol("You must get in close to destroy the tank!")
endif

if chain(2) and never() then
consol("Destroy the oil drum on the back to take it out!")
endif


;=============================================
; SAS man down
;=============================================
if ssndead(289) and waveready() and never() then
wave("dltb087a.wav",100)//man down
endif

if chain(1) and waveready() and never() then
wave("dltd027c.wav",100)//man down medivac now
consol("Repel any attack while the medivac evacuates the Brit!")
endif

if chain(2) and waveready() and never() then
wave("cmda404.wav",100)//understood medivac on way to get sagent remains
endif

if chain(29) and never() then
consol("Go into the ruined house and meet with the SAS inside!")
endif

;=============================================
; second SAS meet
;=============================================
if event(15) and waveready() and never() then
ssnwave(294, "TsasC003.wav",100)//bloody brilliant
endif

if chain(1) and waveready() and never() then
wave("10mc544.wav",100)//come on coach team should have landed
consol("Provide cover while the SAS regroup outside!")
endif

if chain(4) and waveready() and never() then
wave("Tplsg011.wav",100)//move tight schedule
consol("The SAS squad will now join you on the mission!")
endif

if chain(7) and waveready() and never() then
wave("airdef.wav",100)//other team cant land take out air defences
consol("The other team needs help with anti-air emplacements!")
endif

;=============================================
; leader says well done
;=============================================
if ssndead(2209) and waveready() and never() then
ssnradio(179, "TDltD005.wav")//nice work
consol("Mission success!")
endif

;=============================================
; counter attack defeated
;=============================================
if groupdead(34) and waveready() and never() then
wave("cmdd639a.wav",200)//weve taken the base
endif

if chain(2) and waveready() and never() then
wave("Pltb024b.wav",200)//30 seconds
endif

;=============================================
; counter attack
;=============================================
if ssndead(1400) and waveready() and never() then
wave("10mt515.wav",200)//more hostiles incoming
endif

if chain(2) and waveready() and never() then
wave("Tplay319.wav",200)//gonna get ugly
endif

;=============================================
; DIALOG FOR hostages coming out
;=============================================
if ssndead(2161) and ssnarea(10000,17) and waveready() and never() then
wave("Tplay351.wav",100)//hostages here
endif

if chain(1) and waveready() and never() then
wave("Tplay352.wav",200)//do you speaka de inglish
consol("They are free!")
endif

if chain(1) and waveready() and never() then
wave("TiowA002.wav",200)//yes Ispeaka de inglish
consol("Proceed upstairs!")
endif


;=============================================
; more text for air defence
;=============================================
if event(49) and never() then
consol("2 down 2 to go!")
endif

;=============================================
; text for air defence
;=============================================
if event(48) and never() then
consol("1 down 3 to go!")
endif

;=============================================
; up on the roof boys stay put
;=============================================
if ssnarea(10000,20) and waveready() and never() then
wave("Tplay362.wav",200)//i find way go to roof
consol("Get up there and sort out the tripple a!")
endif

;=============================================
; explosion in tunnel in embassy
;=============================================
if event(42) and never() then
ss2ssn(ss_explo_artillery,10000)
quake(30)
endif

if chain(1) and groupdead(26) and waveready() and never() then
wave("TDltC118.wav",200)//grenades
consol("They boobytrapped the tunnel!")
endif

if chain(1) and waveready() and never() then
wave("Play527.wav",200)//command do you know where the tunnel ends
endif

if chain(1) and waveready() and never() then
wave("TCmdD219.wav",200)//are you OK
endif

if chain(1) and waveready() and never() then
wave("TDltB126.wav",200)//cant see anything with the smoke
endif

;=============================================
; freed the hostage in embassy
;=============================================
if ssnarea(10000,14) and groupdead(26) and waveready() and never() then
wave("Tplay355.wav",200)//follow me out of here
endif

if chain(1) and waveready() and never() then
wave("dlta096b.wav",200)//hostages ar secure
consol("Get him to the exit!")
endif

if chain(1) and waveready() and never() then
wave("cmda036.wav",200)//copy victor three
consol("When you get to the ladder get out of his way!")
endif

;=============================================
; found the pow
;=============================================
if groupdead(24) and waveready() and never() then
wave("TDltD001.wav",100)// don't shoot
endif

if chain() and waveready() and never() then
SSNradio(10000, "Tplay383.wav")
endif

if chain() and waveready() and never() then
wave("TDltD002.wav", 100)
endif

if chain() and waveready() and never() then
SSNradio(10000, "Tplay384.wav")
endif

if chain() and waveready() and never() then
SSNradio(10000, "TCmdD227.wav")
endif

if chain() and waveready() and never() then
SSNradio(10000, "Tplay385.wav")
consol("Find the other pilot and then destroy the anti-air emplacements!")
endif


;=============================================
; let them lead in the tunnel
;=============================================
if event(37) and waveready() and never() then
wave("Play447.wav",200)//doorway clear
consol("Let them lead and don't get in their way!")
endif

;=============================================
; door problem
;=============================================
if area(11) and waveready() and never() then
wave("dlta566.wav",200)//how we gonna get throught the door
consol("We need to blow that door to get inside.")
endif

if chain(2) and waveready() and never() then
wave("fuse.wav",200)//copy command
consol("Shoot the end of the fuse and stand back, Numbnuts!")
endif

;=============================================
; resistance chit chat
;=============================================
if ssndead(1808) and waveready() and never() then
ssnwave(1183,"res1.wav",200)//boy in basement
consol("Take a team into the basement and get the airman out!")
endif

if chain(1) and waveready() and never() then
wave("dltc601b.wav",200)//going in
endif

if chain(1) and waveready() and never() then
wave("Info519.wav",200)//down ladder in basement
endif

;=============================================
; attract resistance attention text
;=============================================
if ssnarea(10000,8) and never() then
wave("dlta531.wav",200)//over here lets go
consol("Meet resistance leader!")
endif

;=============================================
; take cover
;=============================================
if event(33) and waveready() and never() then
wave("dlta038.wav",200)//tsake cover
endif

;=============================================
; arial bombardment
;=============================================
if ssndead(1452) and never then
ammoarea(ammo_AI_mortar, 13)
endif

if chain(3) and never() then
ammoarea(ammo_AI_mortar, 13)
endif

if chain(3) and never() then
ammoarea(ammo_AI_mortar, 13)
endif

if chain(3) and never() then
ammoarea(ammo_AI_mortar, 13)
endif

if chain(3) and never() then
ammoarea(ammo_AI_mortar, 13)
endif

if chain(3) and never() then
ammoarea(ammo_AI_mortar, 10)
endif

if chain(3) and never() then
ammoarea(ammo_AI_mortar, 10)
endif

if chain(3) and never() then
ammoarea(ammo_AI_mortar, 10)
endif

;=============================================
; enemy convoy is dead new orders
;=============================================
if groupdead(16) and waveready() and never() then
wave("10MB502.wav",100)//woo thats an explosion
endif

if chain(6) and waveready() and never() then
wave("gotores.wav",100)//link up with local resistance
consol("Meet up with local resistance at next WP!")
endif

if chain(1) and waveready() and never() then
wave("10mt023a.wav",200)//copy command
consol("Watch your back on the way there!")
endif

if chain(9) and waveready() and never() then
wave("bomber.wav",200)//copy command
consol("Bombing raid on the way! Get into cover ASAP!")
endif

;=============================================
; littlebird blows stuff up
;=============================================
if eq(v1,1) and never() then
endif

if chain(1) then
ammo2tgt(ammo_LARGELANDMINE,14)
endif

if chain(2) then
ammo2tgt(ammo_LARGELANDMINE,15)
endif

if chain(2) then
ammo2tgt(ammo_LARGELANDMINE,16)
endif

if chain(2) then
ammo2tgt(ammo_LARGELANDMINE,17)
endif

;=============================================
; here comes the enemy convoy
;=============================================
if event(27) and waveready() and never() then
wave("Plta501.wav",200)//incoming vehicles to your position
endif

if chain(2) and waveready() and never() then
wave("Rnga512.wav",200)//convoy in sight
consol("Get to cover. There's too many!")
endif

if chain(2) and waveready() and never() then
wave("cmdd052.wav",200)//stop and hold your position
endif

if chain(1) and waveready() and never() then
wave("Tplay135.wav",200)//air support
endif

if chain(1) and waveready() and never() then
wave("TCmdD205.wav",200)//help on way
endif

if chain(9) and waveready() and never() then
wave("Pltb550.wav",200)//starting a strafing run
consol("Stay under cover while the littlebird takes them out!")
endif

;=============================================
; vbl dead new orders
;=============================================
if ssndead(1098) and waveready() and never() then
wave("10mt505d.wav",100)//boom baby
endif

if chain(1) and waveready() and never() then
wave("cmda007.wav",100)//vic 3 what's your status
endif

if chain(1) and waveready() and never() then
wave("TDltB114.wav",100)//all clear area secure
endif

if chain(1) and waveready() and never() then
wave("Pltb062b.wav",100)//proceed on mission we pick up wounded
endif

if chain(1) and waveready() and never() then
wave("Tplay301.wav",100)//copy that team stay sharp
consol("Make your way to the crossroads and assess the situation!")
endif

if chain(9) and waveready() and never() then
wave("cmda006.wav",100)//lost contact launching seesaw
consol("The other team are in trouble and can't land!")
endif

;=============================================
; VBL comes out
;=============================================
if event(18) and waveready() and never() then
wave("TDltA133.wav",200)//incoming vbls
endif

if chain(1) and waveready() and never() then
wave("10MC540b.wav",200)//take cover
consol("Take out the VBL from cover!")
endif

;=============================================
; TANK ****ED UP
;=============================================
if ssndead(488) and waveready() and never() then
wave("tankdestroyed.wav",100)//tank ****ed
endif

ok if a WAC script works at the top and not the bottom then for sure it's an error in one of the scripts. I don't see any errors just by giving it a quick look over. but I do see lots of No no's with your comments.


remove all of the below from your WAC.

;=============================================
; first SAS meet
;=============================================




and all of these...........


//weve taken the base

and I'll be it will work........ keep in mind, when using "//weve taken the base", always make sure that it is spaced once between the ("Wave.wav",0) and the "//". and ALWAYS make sure that the comments end in a period or exclamation point or something. believe me, I've had the same probs you're having and I just spaced them and ended them with periods and it worked. I don't know, why but it worked. lol

but just as an experiment. save a backup of the WAC and remove all of the comments and all unneeded junk.
__________________
Reply With Quote