Author Topic: FRED - Do you have to constantly tell to protect?  (Read 3304 times)

0 Members and 1 Guest are viewing this topic.

Offline J3Vr6

  • 28
FRED - Do you have to constantly tell to protect?
I'm not home right now, so I can't see the actual wording (and plus it's been a while since I've fredded) but when you have a cap ship w/ fighter's supposed to be protecting it, do you have to set the sexp to protect that cap ship over and over again?

The problem I have is this:  An Orion jumps in and dumps it's fighters so it can defend it from bombers and other cap ships.  I set the fighter wings to protect the Orion.  Everything seems ok for the first assault against the Orion.  But later on in the mission new enemies arrive that try to take out the Orion.  For some reason, those fighters who were there to protect it just now float around not doing anything and letting the Orion get pummeled.

Or they'll protect the Orion for a while then just float around for a few minutes, then they protect again.

Am I supposed to set up the "protect Orion" sexp as a loop or something?

Keep in mind, I'm not sure it's "protect" but you get the idea.
"I wanna drink til I'm drunk, and smoke til I'm senseless..."
-Tricky

"Hey barkeep, who's leg do I have to hump to get a dry martini around here?"
-Brian, Family Guy

 

Offline Hippo

  • Darth water-horse
  • 211
  • Grazing.
    • All Hands to War
FRED - Do you have to constantly tell to protect?
shouldn't have to... fsModding or general fs would be a better place for his, even though it says fred in the formn description...
VBB Survivor -- 387 Posts -- July 3 2001 - April 12 2002
VWBB Survivor -- 100 Posts -- July 10 2002 - July 10 2004

AHTW

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
FRED - Do you have to constantly tell to protect?
I don't know hippo, this place is sort of a haven for fredding questions if I understand it correctly.  At least that's what the mods seem to be encouraging.

To reiterate Hippo's answer, you shouldn't have to do anything.  but make sure you aren't clearing the AI goals and make sure that the protect order has a high priority.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline J3Vr6

  • 28
FRED - Do you have to constantly tell to protect?
Yeah, I put it hear after seeing all the debates on where fredding questions should go.

I'll double check to see about the priorities or any goal clearing, but I'm pretty sure it's correct.

I do have one wing where they're originally ordered to defend the Orion, but once a specific enemy capship arrives I ordered them to attack it.  Maybe I went overboard with the sexp and have them all doing it.  Don't think so though, cuz then they wouldn't just be floating around.

How about this question:  When a capship fires their beams at other ships, does it register as "attacking" that ship?  Maybe the fighters don't see the beams as attacking and so float around waiting for a fighter/bomber to attack.
"I wanna drink til I'm drunk, and smoke til I'm senseless..."
-Tricky

"Hey barkeep, who's leg do I have to hump to get a dry martini around here?"
-Brian, Family Guy

 

Offline Hippo

  • Darth water-horse
  • 211
  • Grazing.
    • All Hands to War
FRED - Do you have to constantly tell to protect?
hm... make sure you AREN'T using the 'Initial orders" box in the ship editor, as those do NOT go in order of priority...
VBB Survivor -- 387 Posts -- July 3 2001 - April 12 2002
VWBB Survivor -- 100 Posts -- July 10 2002 - July 10 2004

AHTW

 

Offline Cetanu

  • 27
    • http://165thbdhr.com/
FRED - Do you have to constantly tell to protect?
protect orders should work constantly by default - unless you give them different orders somewhere during the mission

- high priority helps (89 is max)
- raising the AI level helps too
Work is the curse of the drinking class
Keeper of BDHR's Holy Grail of Beer

Valid PXO/F2NETD multiplayer missions - mirrors: 1,2
Additional valid F2NETD multiplayer missions - mirrors: 1,2
Voicefiles for these missions - mirrors: 1,2

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
FRED - Do you have to constantly tell to protect?
Make sure you don't order that wing to do anything else.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline J3Vr6

  • 28
FRED - Do you have to constantly tell to protect?
I'll work on it this weekend and let you know what comes out.

Still haven't answered my other question on how the game handles cap ships and beams.  If a cap ship is firing it's beams at several ships, does the game "see" that cap ship targetting all those different ships?  If I set a fighter to protect cap ship A and cap ship B starts to open up against all enemies and hitscap ship A with a beam, does the fighter see it as a threat and engage cap ship A?

And if it does, does the fighter target cap ship A or the turret that fired upon cap ship B?
"I wanna drink til I'm drunk, and smoke til I'm senseless..."
-Tricky

"Hey barkeep, who's leg do I have to hump to get a dry martini around here?"
-Brian, Family Guy

  
FRED - Do you have to constantly tell to protect?
No, fighters will only seem to acquire targets based on their range to the ship being escorted by them. If you want them to respond to beams then you should script it with fire-beam events.