Profile | Register | Calendar | FAQ | Search | Home 

VWBB : Powered by vBulletin version 2.2.6 VWBB > FreeSpace Watch > The Babylon Project > [Question] Mission Design - Directives
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
WyattMax
I'm New! Laugh At Me!

Registered: Feb 2003
Location:
Posts: 55

[Question] Mission Design - Directives

Hiho,

i am having some small difficulty with directives.

I want a directive to shop up when a certain event happens.

Ship A arrives, directive "Destroy ship A" appears on your hud.

SEXP looks like this :

when -> has arrived delay -> ship a ,0
-> validate goal -> destroy ship a

If i enter the directive with this event , it shows up at the beginning of the mission, wich would spoil the surprise

Someone explain how to do this

Cheers,

Wyatt

Report this post to a moderator | IP: Logged

Old Post 05-13-2003 03:57 PM
WyattMax is offline Click Here to See the Profile for WyattMax Click here to Send WyattMax a Private Message Find more posts by WyattMax Add WyattMax to your buddy list Edit/Delete Message Reply w/Quote
karajorma
Murdock

Registered: Jul 2001
Location:
Posts: 1234

hmmmm. Confusing. You say you want to have directives work yet you use the validate goal SEXP which relates to objectives. What are you after?

Objectives (Appear at the end of the mission briefing and usually play a tune when completed)

Directives (Appear in mission in a box on the middle left of the display).

EDIT. On re-reading your post I'm guessing you want to make a directive appear on the HUD after the ship appears in the game (and not before that).
I know that FS2 automatically takes care of some directives (eg. destroy <Wingname> doesn't show up until that wing appears.)

If FS2 isn't taking care of it automatically you handle it by using two events. The first one triggers when the ship appears. You then chain the second event to the first one.

__________________
Questions about FS3? Questions about Fred? Questions about missions? Questions about adding new ships to your games?

[URL=http://homepage.ntlworld.com/karajorma/freespace/intro.html]Karajorma's Freespace FAQ [/URL] (now with added GE goodness)

Supreme Overlord of The Mercury Affair Campaign.

FREDder, Modder, Story design and general busybody for [URL=http://www.3dap.com/hlp/hosted/mindgames/Background.html] Mind Games[/URL]

Last edited by karajorma on 05-13-2003 at 04:24 PM

Report this post to a moderator | IP: Logged

Old Post 05-13-2003 04:19 PM
karajorma is offline Click Here to See the Profile for karajorma Click here to Send karajorma a Private Message Find more posts by karajorma Add karajorma to your buddy list Edit/Delete Message Reply w/Quote
WyattMax
I'm New! Laugh At Me!

Registered: Feb 2003
Location:
Posts: 55

Correct.

Oddly enough the directive shows up BEFORE the ship is even there wich kinda ruins the surpise.

Last edited by WyattMax on 05-13-2003 at 04:37 PM

Report this post to a moderator | IP: Logged

Old Post 05-13-2003 04:25 PM
WyattMax is offline Click Here to See the Profile for WyattMax Click here to Send WyattMax a Private Message Find more posts by WyattMax Add WyattMax to your buddy list Edit/Delete Message Reply w/Quote
Lady Rose
Mr. T

Registered: Nov 2001
Location: Command deck of EAS Janus
Posts: 1755

Two events:


Event Name
-when
--has-arrived-delay
---ship a
---0
-valide-goal
--destroy ship a

Event two (chained)
-when
--true
-is-ship-destroyed-delay
--ship a
--0

And then you write directives on chained event and tadaa!

__________________
"Losing your temper is sign of worries or panic"
-Shogun Tokugawa

Aku. Soku. Zan.
-The wolves of Mibu, Shinsen gumi

Creator of [URL=http://www.hot.ee/miburo1]Tale of EAS Janus[/URL] campaign
Also leader of [URL=http://www.hot.ee/honorofomega/]Honor of Omega[/URL] campaign
FREDer and general errant boy of mighty [URL=http://http://www.3dactionplanet.com/hlp/hosted/mindgames/]Mind Games[/URL], which power no-one can escape. There is always a first time.

Report this post to a moderator | IP: Logged

Old Post 05-13-2003 04:33 PM
Lady Rose is offline Click Here to See the Profile for Lady Rose Click here to Send Lady Rose a Private Message Visit Lady Rose's homepage! Find more posts by Lady Rose Add Lady Rose to your buddy list Edit/Delete Message Reply w/Quote
Prophet
Murdock

Registered: Feb 2001
Location: Joutsa, Finland
Posts: 564

Here is a rough example how directives work. (I think they work like this)

Event1: arrival of some ship for example...
Event2: destruction of the ship... This one has the directive text "Kill evil ship".

The events are chained. So when event1 happens the event2 "activates", thus making the directive text "Kill evil shp" to appear on hud.
After the ship is destroyed, thus making the event2 complete, the system also assumes the directive connected to it is complete.

The validate-goal event makes mission goals to appear in the mission goals screen accessable trought the F4 key. Nothing to do with directives...

Edit: I see Rose was a bit faster... But I did it better!

__________________
"I'm not saying anything. I didn't say anything then, and I'm not saying anything now." -Dukath

FREDer for [url=http://www.hot.ee/honorofomega/index.htm]Honour of Omega[/url]
Creator of Movements in the Mist campaign

Oh ****! Those idiots did it.

Last edited by Prophet on 05-13-2003 at 04:41 PM

Report this post to a moderator | IP: Logged

Old Post 05-13-2003 04:39 PM
Prophet is offline Click Here to See the Profile for Prophet Click here to Send Prophet a Private Message Find more posts by Prophet Add Prophet to your buddy list Edit/Delete Message Reply w/Quote
Lady Rose
Mr. T

Registered: Nov 2001
Location: Command deck of EAS Janus
Posts: 1755

quote:
Originally posted by Prophet
Edit: I see Rose was a bit faster... But I did it better!


Might be, but fast eats slow ones. So no babbeling on my stomach

__________________
"Losing your temper is sign of worries or panic"
-Shogun Tokugawa

Aku. Soku. Zan.
-The wolves of Mibu, Shinsen gumi

Creator of [URL=http://www.hot.ee/miburo1]Tale of EAS Janus[/URL] campaign
Also leader of [URL=http://www.hot.ee/honorofomega/]Honor of Omega[/URL] campaign
FREDer and general errant boy of mighty [URL=http://http://www.3dactionplanet.com/hlp/hosted/mindgames/]Mind Games[/URL], which power no-one can escape. There is always a first time.

Last edited by Lady Rose on 05-13-2003 at 05:19 PM

Report this post to a moderator | IP: Logged

Old Post 05-13-2003 05:16 PM
Lady Rose is offline Click Here to See the Profile for Lady Rose Click here to Send Lady Rose a Private Message Visit Lady Rose's homepage! Find more posts by Lady Rose Add Lady Rose to your buddy list Edit/Delete Message Reply w/Quote
WyattMax
I'm New! Laugh At Me!

Registered: Feb 2003
Location:
Posts: 55

Yep, that explains it all

Thanks to both of you.

Report this post to a moderator | IP: Logged

Old Post 05-13-2003 06:13 PM
WyattMax is offline Click Here to See the Profile for WyattMax Click here to Send WyattMax a Private Message Find more posts by WyattMax Add WyattMax to your buddy list Edit/Delete Message Reply w/Quote
All times are EST. The time now is 05:22 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Subscribe to this Thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 
Contact Us - Volition Watch >
Powered by: vBulletin Version 2.2.6 - Copyright ©2000-2002, Jelsoft Enterprises Limited.