Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Goofy ah ah missile tags  (Read 360 times)

Lortus

  • Commander
  • ***
  • Posts: 109
    • View Profile
Goofy ah ah missile tags
« on: January 30, 2023, 08:26:41 AM »

Recently it has come to my (and some others on discord's) attention that some of the tagging on missiles are a bit questionable.

Sabots have the GUIDED_POOR tag, which seems odd as they are perfectly fine to be fired off bore.

Squalls have USE_VS_FRIGATES which seems a bit odd because that is usually the worst target for squalls (I could be misunderstanding the tag). It also has missile spread which I am not sure what the purpose of is either, but doesn't make much sense just from it's name.

Finally, the best for last, the one that inspired me to make this post, Breaches. Breaches have both the DO_NOT_AIM and DIRECT_AIM tag, which directly contradict each other. Some folks have tested it out and it seems that removing the DIRECT_AIM tag allows the ship to actually use breaches. There was also some debate whether the CONSERVE_ALL tag was necessary when it already has CONSERVE_FOR_ANTI_ARMOR but I suppose it is there to make the AI use breaches more carefully.

Even with fixed breach missile AI, it would still be barely usable, but at least the AI would actually use it now.

P.S. The AI is still pretty bad at breaches because it can't figure out how to use it against armor only.
Logged

Grievous69

  • Admiral
  • *****
  • Posts: 2993
    • View Profile
Re: Goofy ah ah missile tags
« Reply #1 on: January 30, 2023, 08:40:17 AM »

I also saw that talk on Discord but it didn't make much sense to me (like come on, someone else would figure it out by now if if was such a fatal mistake), so here's some info on Breaches I asked Alex about on Twitter:
Spoiler
[close]

Use vs frigates probably means it's ok to shoot at them, not to prioritize them as targets.

I'm no coder but at least I'm not brave enough to make assumptions.
Logged
Please don't take me too seriously.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24125
    • View Profile
Re: Goofy ah ah missile tags
« Reply #2 on: January 30, 2023, 08:43:16 AM »

*cracks knuckles*

Sabots have the GUIDED_POOR tag, which seems odd as they are perfectly fine to be fired off bore.

They can be fired off-bore, but it reduces their effective range by quite a bit. All in all I think it does better with the tag.


Squalls have USE_VS_FRIGATES which seems a bit odd because that is usually the worst target for squalls (I could be misunderstanding the tag).

This one's left over from when the Squall had the STRIKE tag, I believe - it just means the weapon is *allowed* to be fired vs frigates in normal (i.e. non-panic-fire) circumstances. Without the STRIKE tag, this tag actually does nothing.

It also has missile spread which I am not sure what the purpose of is either, but doesn't make much sense just from it's name.

It's a setting that affects the behavior of the individual missiles.

Finally, the best for last, the one that inspired me to make this post, Breaches. Breaches have both the DO_NOT_AIM and DIRECT_AIM tag, which directly contradict each other. Some folks have tested it out and it seems that removing the DIRECT_AIM tag allows the ship to actually use breaches. There was also some debate whether the CONSERVE_ALL tag was necessary when it already has CONSERVE_FOR_ANTI_ARMOR but I suppose it is there to make the AI use breaches more carefully.

Ah! DIRECT_AIM has no effect whatsoever on the decision to fire or not fire the missiles. It's a setting the AI of the missile uses, and it tells it not to weave while approaching the target. Any observed effect on firing behavior is 100% confirmation bias.

P.S. The AI is still pretty bad at breaches because it can't figure out how to use it against armor only.

Yep - I've made some changes to this in the dev build, a while back. It should be better, though it's still a bit tricky, especially because of its short range, so the AI may have trouble working it into the rotation. I've got a note to have another quick look at it.

Edit: partially ninja'ed, but meh.
Logged

Lortus

  • Commander
  • ***
  • Posts: 109
    • View Profile
Re: Goofy ah ah missile tags
« Reply #3 on: January 30, 2023, 08:46:34 AM »

I see!
Thanks a lot.
I feel perhaps the GUIDED_POOR could have more degrees of poorness. It certainly isn't as bad when fired off bore as an atropos.
Logged