Author Topic: Mission objectives struggle... and some more questions.  (Read 3584 times)

0 Members and 1 Guest are viewing this topic.

Offline Adi

  • 24
    • Adi's hamster :)
Mission objectives struggle... and some more questions.
Hi!

I was working on my first FRED mission in few years and I forgot a lot.
Overall plot is that you're on a mission to take down fighter escort of two NTF Aeolus class cruisers (10 Hercules fighters) in order to make room for 3 Erinyes to jump in and disable the cruisers. When they are disabled we have two transport ships coming in to dock to cruisers and board them. Until this moment all is fine except for the Erinyes orders to disable cruisers. They're equipped with correct weapons. But during the mission when I select one of them they have status "No orders"   :banghead: I tried few different ways to make it work: initial orders  :no:, event editor with add ai_goal  :no:
But mostly I'm struggling with mission objectives.
I've got three:
1. Destroy Fighter Escort (this one works fine)
2. Escort Boarding Ships (this one works well)
3. Capture the cruisers (doesn't work - doesn't even show in objectives)

So if someone could just in few sentences remind me how to make mission objectives, step by step, I'd be grateful  :cool:
The Universe is a big place. we know it instinctively... it resonates on a deep level...

Hubble Deep Field on Youtube.com

 
Re: Mission objectives struggle... and some more questions.
I have a few questions:
The 3 Erinyes, what priority does the disable target order have? Do they actually carry out their orders, just it looks like they don't?
What sort of trigger are you using for the Capture the cruisers objective?

 

Offline Adi

  • 24
    • Adi's hamster :)
Re: Mission objectives struggle... and some more questions.
I have a few questions:
The 3 Erinyes, what priority does the disable target order have? Do they actually carry out their orders, just it looks like they don't?
What sort of trigger are you using for the Capture the cruisers objective?
Order has top priority (89), and in the left bottom corner where you can see the targeted ship you also have it's current order listed. So they have "No order".
Regarding the capturing of the cruisers, I switch their iff status (after their engine is destroyed) for friendly. And capture completed should be when transport ships (or boarding ships) dock to the ship they're supposed to. I hope it's clear :P
The Universe is a big place. we know it instinctively... it resonates on a deep level...

Hubble Deep Field on Youtube.com

 
Re: Mission objectives struggle... and some more questions.
Do the Erinyes' actually do the disabling thing though? If your first post, you made it sound like they disabled the Aeoluses, but just didn't say they were doing it.

Regarding the capture: Do you have two separate events, one for each Aeolus? Something like:
Code: [Select]
when
  has-docked-delay
     GTT Elysium 1
     GTC Aeolus 1
     1
     0
  change-iff
    Friendly
    GTC Aeolus 1
And assign a directive to that? Or do you have a separate event just for the directive?

 

Offline Adi

  • 24
    • Adi's hamster :)
Re: Mission objectives struggle... and some more questions.
Do the Erinyes' actually do the disabling thing though? If your first post, you made it sound like they disabled the Aeoluses, but just didn't say they were doing it.
Uhm, no. I had to disable them by myself. Erinyes are  doing nothing  :banghead:

Regarding the capture: Do you have two separate events, one for each Aeolus? Something like:
Code: [Select]
when
  has-docked-delay
     GTT Elysium 1
     GTC Aeolus 1
     1
     0
  change-iff
    Friendly
    GTC Aeolus 1
And assign a directive to that? Or do you have a separate event just for the directive?

Yes, I have two separate events but with different directive. Which is "Guard Elysium 1 and 2". For capture i have a different one. When I get back home I'll post entire code line and order list.
The Universe is a big place. we know it instinctively... it resonates on a deep level...

Hubble Deep Field on Youtube.com

 
Re: Mission objectives struggle... and some more questions.
For the disable orders thing, I have no idea what the deal is. I made a mock-up mission, and it works fine.

For the other thing, I think I confused myself. Are you speaking of Mission Objectives, or directives? I've been talking about directives, but you said objectives at first.

Posting the whole mission, or at least what you're comfortable with posting and strip the rest out, would definitely help solve both problems.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Mission objectives struggle... and some more questions.
If he is indeed talking about Directives instead of Objectives, I suspect I know what's going on even before he posts it.

It's our old friend is-event-true-delay in Directives again. Check the selection on Directives appearing too late for an explanation of what might be going on.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Adi

  • 24
    • Adi's hamster :)
Re: Mission objectives struggle... and some more questions.
Posting the whole mission, or at least what you're comfortable with posting and strip the rest out, would definitely help solve both problems.

Well, it's not a-big-misterious-mission, so here it is :)
To be honest, I can't remember at all how in the hell one makes mission objectives...  :rolleyes:

[attachment removed and sold on the black market]
The Universe is a big place. we know it instinctively... it resonates on a deep level...

Hubble Deep Field on Youtube.com

 

Offline Legate Damar

  • Keeping up with the Cardassians
  • 29
  • Hail Cardassia!
Re: Mission objectives struggle... and some more questions.
Editors -> mission objectives

 

Offline Adi

  • 24
    • Adi's hamster :)
Re: Mission objectives struggle... and some more questions.
Editors -> mission objectives
:ick:
This one I know :) I don't remember the rules of creating them. Can someone upload to FRED2 tutorial that was in retail FS2 edition? I don't have this one.
The Universe is a big place. we know it instinctively... it resonates on a deep level...

Hubble Deep Field on Youtube.com

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Mission objectives struggle... and some more questions.
Why the hell have you marked all your goals invalid and then only validate them once they come true? I'm assuming you've confused an invalid goal and an unachieved one. My FAQ has info on the FRED page on how to use invalid goal correctly.

I keep pimping this version of the FREDdocs as they're much more up to date than the standard ones (also available via my FAQ). I'd advise looking at both.
« Last Edit: August 18, 2012, 05:27:13 am by karajorma »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Legate Damar

  • Keeping up with the Cardassians
  • 29
  • Hail Cardassia!
Re: Mission objectives struggle... and some more questions.
Just use a sexp that becomes true when the objective is satisfied.

For example if your objective is. "destroy whatever" you use is destroyed delay -> whatever and it returns true when whatever is destroyed

 

Offline Adi

  • 24
    • Adi's hamster :)
Re: Mission objectives struggle... and some more questions.
Why the hell have you marked all your goals invalid and then only validate them once they come true? I'm assuming you've confused an invalid goal and an unachieved one.

I keep pimping this version of the FREDdocs as they're much more up to date than the standard ones (also available via my FAQ). I'd advise looking at both.

That's why I said at the beginning, I don't remember how you create those objectives in a proper way. Okay, I'll look at those docs. Thanks anyway.
The Universe is a big place. we know it instinctively... it resonates on a deep level...

Hubble Deep Field on Youtube.com

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Mission objectives struggle... and some more questions.
Basically it's what Damar said. I just explained the less used features. :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  

Offline Adi

  • 24
    • Adi's hamster :)
Re: Mission objectives struggle... and some more questions.
Thanks  :nod:
The Universe is a big place. we know it instinctively... it resonates on a deep level...

Hubble Deep Field on Youtube.com