Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

Author Topic: AI should avoid firing very slow-firing weapons at phased-out ships  (Read 167 times)

Wyvern

  • Admiral
  • *****
  • Posts: 4093
    • View Profile

Observed with a phase-lance-equipped Tempest against a pirate Gremlin (and easily replicated in the simulator); the Tempest will cheerfully fire the phase lance at a half-flux phased-out Gremlin - which, with the nearly-six-second cycle time, means that the phase lance is then not available when its target finally does unphase.

Not a huge deal, overall, but it is a very obvious "the AI did something wrong" type thing, and it's something that could reasonably stand to be improved on.

(Probably the trickiest part of fixing this would be figuring out where the cutoff point is. A phase lance or a tachyon lance should definitely be held until the target exists in normal space. A burst PD or pulse laser definitely shouldn't. At some point in the middle there's going to be a grey zone, and I'm not sure where exactly it is. Perhaps this would be better addressed via a weapon tag, rather than as something the AI tries to work out from the gun's statline?)
Logged
Wyvern is 100% correct about the math.

Phenir

  • Admiral
  • *****
  • Posts: 1522
    • View Profile
Re: AI should avoid firing very slow-firing weapons at phased-out ships
« Reply #1 on: March 29, 2025, 08:33:15 PM »

Cutoff point is probably the cooldown of phase cloak, maybe a little more, and let off restriction if the target is high (90%+) on flux.
Logged