Delta Force Barracks Forums

wavs in game

michaelvoodoo - 7-9-2005 at 02:09 AM

this is regarding jo and dfx, is it possible to create a wac file with a wav in it?

ie in dfx i make dm maps and would like a wav voice saying "man down" everytime a man is shot dead.

can this be done? if so how would i go about it please?

TIA

Jonathan - 7-9-2005 at 10:02 AM

Try this in your DFx WAC file:


// play wav "Man down"
if ssndead(XYZ) and wavready() and never() then
wave("alph183.wav", 150)
endif

where XYZ = SSN of dead person

ref thread http://www.dfbarracks.com/forums/viewthread.php?tid=35341

If you want this to occur for JO, you'll need to find the WAV list and see what command is used for "Man Down".

Jonathan

michaelvoodoo - 7-9-2005 at 06:52 PM

cheers m8, your a star