Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: WS-Thunder on April 05, 2002, 02:31:45 pm

Title: Problems with mission objectives.
Post by: WS-Thunder on April 05, 2002, 02:31:45 pm
I've been spending very long ammounts of time trying to figure out what is wrong with this stupid level!!!


What happens is that you are supposed to wait for a group of poseidons carrying some cargo. When they appear along with Gamma wing, the objective to scan the cargo is supposed to show up, then the objective to scan Gamma wing is supposed to show up as well. I set up a goal where a SEXP tells it to make the statement true when is-cargo-known-delay and then I listed the ships I wanted to scan. Then I told it that the objective is invalid. Then in the events list, I put:

Scan Posiedons
and
has arrived delay
1
name of ship
name of ship
name of ship
is-cargo-known-delay
name of ship
name of ship
name of ship
validate goal
scan poseidons

What happens is that the goal doesn't show up until you enter the mission in the goal box but it doesn't wait for the ships to enter the level. On top of this, all my other goals seem to be screwed as well. My other problem is this:

"This is in the mission objectives"
Scan Gamma
Is-cargo-known-delay
1
Gamma 1
Gamma 2
Gamma 3
Gamma 4

"This is in the events"
Validate Scan Gamma
and
has arrived delay
1
Gamma
is-cargo-known-delay
1
Gamma 1
Gamma 2
Gamma 3
Gamma 4
Validate Goal
Scan Gamma

I have also tried other variable roughts but none of them seem to work. Can anyone please help me on this?

One last question is this:
How do I set it up so that the white brackets surround asteriods that will collide with another ship?


You can contact me on ICQ if you wish at 109559293. I am working on an alpha (test version only) at the moment but I need to get all the bugs that I can out.
Title: Problems with mission objectives.
Post by: vadar_1 on April 05, 2002, 03:29:46 pm
I probably shouldn't be helping you after your insulting outbreak in a previous post... but to start off, if you have an active astroid field, astroids on a collision course are automatically marked with a white targeting bracket.

About your mission obj problem... I dont quite understand your problem...
Title: Problems with mission objectives.
Post by: LtNarol on April 05, 2002, 03:57:08 pm
These are pretty basic and simple problems you're having.  Usually people ask that ask questions like this have yet to do the tutorial for Fred2.  Go and do that first, if you have already, use the index and look for answers there.  If you still need help, go to a more appropriate forum (Fred2 forum at FreespaceWatch).  The FS Modding forum definitely isnt the right place to ask such things.

If none of these method bear fruit, pm me and i'll explain the answers there.
Title: Problems with mission objectives.
Post by: WS-Thunder on April 05, 2002, 03:57:38 pm
Sorry about the outbreak Vader but I thought that the comic was directed toward me, as in referring to me as being stupid. I'm used to being critisized due to the DBB. Every time I post any ideas on there, insults fly toward me automaticly.

These ships are Poseidons by the way but for some reason the targeting brackets don't seem to show up at all when it travels through the asteriod feild.

I don't exactly understand the other problem as well. That's why I need help with it :P
Title: Problems with mission objectives.
Post by: WS-Thunder on April 05, 2002, 04:00:16 pm
I am having trouble getting onto Volitions website for some reason by the way. I have done the Fred tutorial but I still don't get it. The other 10 missions in my campaign work perfectly fine.
Title: Problems with mission objectives.
Post by: LtNarol on April 05, 2002, 04:01:23 pm
Quote
Originally posted by WS-Thunder
I am having trouble getting onto Volitions website for some reason by the way. I have done the Fred tutorial but I still don't get it. The other 10 missions in my campaign work perfectly fine.
use the tutorial's index, all of these are very simple problems and the tutorial answers them very well.  Its there for a reason, use it. :D
Title: Problems with mission objectives.
Post by: Sesquipedalian on April 05, 2002, 06:39:44 pm
For the mission goal that you are having problems with, try validating them once the ships arrive, but before they have actualy been completed (i.e. before the ships have been scanned).

In the events editor, two events:

-when
--has-arrived-delay
---
--validate-goal
---

-when (with a directive attached)
--is-cargo-known
---
--do-nothing (or send-message, or whatever)

In the mission objectives editor:

-when
--is-cargo-known
---
Title: Problems with mission objectives.
Post by: Galemp on April 05, 2002, 11:03:59 pm
In active asteroid fields, asteroids throw themselves at ESCORT ships. <-- Important fact.

As for the orders being at the start of the mission- make an event that reads

has-arrived-delay
Poseidon
0
do-nothing


Then chain your directive to that. Now the directive will show up once the Poseidons arrive. Note that the directive sexp should be what the resolution is, for example, if it's
has-departed-delay
Poseidon
0
do-nothing


then the directive will be fulfilled when Poseidon has departed.