Author Topic: Getting the AI to rearm from things that aren't support ships.  (Read 1348 times)

0 Members and 1 Guest are viewing this topic.

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Getting the AI to rearm from things that aren't support ships.
I know that the player can be rearmed from a non-support ship, and not docked, using various jiggery methods, particularly since it's been done. But how practical is it to try and have the AI using the same method?
« Last Edit: March 24, 2011, 09:26:52 pm by NGTM-1R »
"Load sabot. Target Zaku, direct front!"

A Feddie Story

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: Getting the AI to rearm from things that aren't support ships.
Shouldn't be too hard.

Decide when there's an appropriate lull in the action- give the "support" ship orders to dock with the AI- give the AI orders to play dead when it's close enough- wait a second, then rearm the AI using a SEXP- tell the "support" to undock- remove the "play dead" order. This is, of course, assuming that FRED doesn't have some insane quirk that stops some of this from working.

You could even do this with an actual support ship if you referenced it as "support #" using arguments or if you set a certain ship as the support ship

 

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Re: Getting the AI to rearm from things that aren't support ships.
Whoops. I wasn't specific enough here I think.
"Load sabot. Target Zaku, direct front!"

A Feddie Story

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: Getting the AI to rearm from things that aren't support ships.
well...

You can set primary and secondary ammo for the AI using a SEXP (like I mentioned previously). Beyond that it's all smoke and mirrors to make it look like the AI is being rearmed, however you want to do that (docking or no docking).

  

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Re: Getting the AI to rearm from things that aren't support ships.
Figures.  I was expecting I'd have to get jiggery with waypoints.
"Load sabot. Target Zaku, direct front!"

A Feddie Story