Author Topic: Suggestion: Elaborating the "defend target" command  (Read 1953 times)

0 Members and 1 Guest are viewing this topic.

Offline Nemesis6

  • 28
  • Tongs
Suggestion: Elaborating the "defend target" command
I've noticed that whenever I set fighters to defend a friendly warship in a battle, they'll interpret this as "Fly over to that giant enemy ship and get torn up by flak and enemy fighters!". So here's my idea: When you select "defend target" in the orders menu, you will reach an additional prompt with these options:

"Defend"
"Defend, 1000 meters"
"Defend, 2000 meters"
"Defend, 3000 meters"
"Defend, prioritize bombers"
"Defend, ignore warships"

Anything beyond the distances above will be ignored, obviously. So what do you say?

  

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Suggestion: Elaborating the "defend target" command
This would need to be set up to be accessible via the SEXP ai goals system as well (since obviously they are shared.)

Also I believe the defend radius is currently based on the size of the ship being defended.

 

Offline Nemesis6

  • 28
  • Tongs
Re: Suggestion: Elaborating the "defend target" command
Well, using the command in, say, the first mission of Vassago's Dirge, telling the AIs to protect the Cretheus, that just has them flying straight into a Ravana with enemy ships picking them off all the whilst!  :wtf:

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Suggestion: Elaborating the "defend target" command
Oh, you literally mean in-game.

 

Offline Sushi

  • Art Critic
  • 211
Re: Suggestion: Elaborating the "defend target" command
Pretty sure we need to make it work via SEXP first, although it would be nice to be able to change the command menu at some point too.

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Suggestion: Elaborating the "defend target" command
I'd recommend you name them 'Defend Close' and 'Defend Far' instead of setting specific ranges. It's more intuitive and flexible.
"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 chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Suggestion: Elaborating the "defend target" command
And then what?  Scale close and far based on the size of the ship?
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Suggestion: Elaborating the "defend target" command
Sure. Close would be appropriate for bomb intercept and point defense, within the ranges of the ship's own turrets. Far would order fighters to attack any enemy that's targeting the escorted ship, wherever they are.
"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 karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Suggestion: Elaborating the "defend target" command
The ranges could be set via ai or ai_profiles tables. Or via objecttypes.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Sushi

  • Art Critic
  • 211
Re: Suggestion: Elaborating the "defend target" command
The ranges could be set via ai or ai_profiles tables. Or via objecttypes.

Or as part of the SEXP if we do it as a SEXP, and as part of whatever table we invent for custom comm menus. :)

 
Re: Suggestion: Elaborating the "defend target" command
I think this is a great idea!  one that I also thought of during game play, but forgot by the time I came back to the forums here.