Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Delta Force (https://novahq.net/forum/forumdisplay.php?f=101)
-   -   need help with med (dfbhd-ts) (https://novahq.net/forum/showthread.php?t=44885)

Quizkid 03-27-2010 04:34 PM

need help with med (dfbhd-ts)
 
i need to know how to insert dialog into a mission for the player to hear, thanks.

dave61 03-27-2010 06:07 PM

That's done using a .WAC script.

The Wave script would look something like this:

If event (2) and never then
wave("your wav file here.wav")
endif

or

If ssnarea(10000,1) and never then
wave("your wave here.wav")
endif

For consol or text , the script would look something like this :

if never() then // initial instructions
text("Type message here")
text("and it will show up at the")
text("upper center of the screen")
consol("Insert your message here")
consol("and it will show up at")
consol("the start of your mission.")
endif

or

if never() then // initial instructions
text("Type message here")
text("and it will show up at the")
text("upper center of the screen")
endif

or

if never() then // initial instructions
consol("Insert your message here")
consol("and it will show up at")
consol("the start of your mission.")
endif

There are different types of triggers that you can use.

If you need any assistance with using triggers, just ask !

Quizkid 03-27-2010 06:15 PM

thank you sooooo much im new to mission editing. i've made a sort of mission it needs work though... any way thanks for the advice.

dave61 03-27-2010 06:35 PM

I just realized DF:BHD may not have a .WAC tool.

If you need a blank .WAC to start out with ... I added one just for you on my website.

http://home.comcast.net/~dthomas1188...WAC%20file.zip

Quizkid 03-27-2010 06:45 PM

thanks i wuz havin a little trouble i tried copying and editing some script out of chalk courtyard.wac for test. maybe this'll help.

Quizkid 03-27-2010 07:04 PM

do i hav to do anything in the med? (ver. 2.05c)

dave61 03-27-2010 07:17 PM

No the .wac will see the your map and will respond by itself. There is nothing to change within the MED for the WAC to work. The WAC "sees" all your event triggers and actions.

However, at some point in time when you get more comfortable with using the WAC , I can show you how to comunicate more from the MED to the WAC and back again (using variables).

Right now, just work on scripts that your WAC can see from your map.


For more on .WAC scripts check out my WAC script webpage.

http://home.comcast.net/~dthomas1188...%20scripts.htm

Quizkid 03-27-2010 07:30 PM

i see what ur talking about. if u select "output text" from the then statements it asks "var num?".

dave61 03-27-2010 07:39 PM

Quote:

Originally Posted by Quizkid (Post 363274)
i see what ur talking about. if u select "output text" from the then statements it asks "var num?".

Not needed.

Just write the script in the WAC and the WAC alone will see your map and it's actions.

The (examples only triggers)
"If event (2) and never then"
or the
"if ssnarea(10000,1) and never then"
or the
"if ssndead(1) and never then"
type triggers will work without using any output from the MED.

You .wac should respond without using any "output text" commands.

The variables are used when triggering other events in the MED or when you really just have to use a variable to trigger a .WAC event.

Quizkid 03-27-2010 08:04 PM

for some reason my wac wont do anything (mission name: My mission.mis;My mission.bms. wac name: My mission.wac) i could email u the file if u want.

dave61 03-27-2010 08:07 PM

Yeah, just send me your .WAC and your maps .mis file to
deltadave61@hotmail.com

Quizkid 03-27-2010 08:26 PM

done

Quizkid 03-27-2010 08:50 PM

u get it?

Quizkid 03-27-2010 09:04 PM

oh yea wat about attaching ais to fast ropes?


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

Powered by vBulletin®