Page 1 of 1

:? Fred2 Objectives :?

Posted: Thu Nov 24, 2005 4:43 am
by jhiakajhing
how exactly do you go about adding objectives on Fred2... the help thing doesnt really... help. Here's what i want to do... i want it to make it so that your objective is to have a ship survive... give me the steps in the Obj. and whatever else you need. And then explain everything else you know about Fred2 that i dont get like the Directives, and the breifing/debreifing and other stuff that is advanced stuff if you would, cause this is kinda confusin me. thnx

Posted: Thu Nov 24, 2005 4:53 pm
by karajorma
If you've understood events and SEXPs you really shouldn't be having that much of a problem with objectives. Like arrival cues for ships and wings, objectives are just a slightly different kind of event.

To make an objective you simply go to the objectives editor. You choose the kind of goal you want (primary, secondary or bonus) and then you make an event that comes true when the goal is achieved.

For instance if you wanted to have an event come true when a ship survives you would do something like this

when
-or
--is-event-true-delay
---all enemies dead
---0
--has-departed-delay
---Ship
---0

The above event makes the objective come true when an event in the events editor called "all enemies dead" becomes true or when the ship has jumped out.

If the ship is destroyed by the enemy, neither of those things can happen and the objective will immediately fail.

Debriefs are handled is basically the same way. Each stage will only be played if the trigger SEXP next to it is true.

The best way to get a handle on this is to actually do the walkthrough that should have come with FRED2. Simply reading it isn't enough for most people. Actually do it. If you're serious about making your own missions the hour or 2 you'll spend on the walkthrough will pay for itself compared with the hours of head scratching you'll do otherwise.

If for some reason you don't have the walkthrough follow the link in my sig and download a copy from my FAQ. Here's a link to the online version so you can check if you actually have it.

Posted: Fri Nov 25, 2005 7:51 pm
by jhiakajhing
ok, thnx... what about the breifings and the directives?

Posted: Sun Nov 27, 2005 4:37 am
by karajorma
The walkthrough should cover them. If you've done it and still have a specific question feel free to ask it.

Posted: Sun Nov 27, 2005 8:33 am
by Taristin
http://www.woodentoyandgift.com/forums/ ... y.php?f=32 If you don't wanna root through your folders >..>

Posted: Sun Nov 27, 2005 5:43 pm
by jhiakajhing
Alright, thank you... one other Q... i have all of my directives in there, and they all show up, and they all work, but they all come up at the same time. How do i get them to come up at a certain time? If u could like give an example of how u'd do it for a wing that jumps in that'd be appreciated. thnx

Posted: Sun Nov 27, 2005 8:33 pm
by jhiakajhing
nevermind on that last one, all i had to do was change it to percent ships destroyed to is destroyed delay