Just had a peek at the weapon_data.csv to check the "hints" column (which is where you apply tags that tell the AI how to use a weapon)
(also iirc, the "tags" column doesn't change how the AI uses a weapon, but only how autofit rates the weapon.)I find that ships with Hurricanes like to use them freely until they go down to 5 shots/launcher, then they conserve them more.
Hurricanes are set to "CONSERVE_5" so they'll fire freely until they have 5 ammo, then be more careful, explaining this behavior.
Ships shouldn't launch Squall at frigates from max range :/
For some reason Squalls have "CONSERVE_3, STRIKE, USE_VS_FRIGATES" so they're tagged to be careful with the last 3 salvos, and to treat the weapon as a "strike" weapon (this is normally allocated to torpedoes, so i'm not sure if it's really the best idea for this weapon?) but the "USE_VS_FRIGATES" means that the AI will consider frigates a perfectly viable target for this weapon, even though frigates can evade squall fire like 90% of the time.
Further on the CONSERVE behavior:
- Small Annhiliators have CONSERVE_1, so they should fire freely (if they are in range and pointed at an enemy) until the last burst of 5.
- Pilums are also told to CONSERVE_1, so again, just their last burst (i think this is so they only fire when they have a *full* burst regenerated, rather than just 1 missile at a time.)
- Swarmer/Locust are tagged "DO_NOT_CONSERVE" so will fire if there is anything in range, but are also set to prioritize fighters, given how much ammo these two have, it's fine (imo) to have them just fire about as often as possible.
- Breach SRMs are told to "CONSERVE_FOR_ANTI_ARMOR" which as is already known by alex, might not be working properly and is under review. (iirc)
No other missile has any form of CONSERVE tag, there could have been an update to how the AI looks at missiles and ammo, and the lack of a conserve tag could could explain why they don't fire at rates that we'd like?
I do know that there is also meant to be a "panic" subroutine for the AI, that makes it fire missiles as fast as possible, and some ships are meant to have this constantly active, possibly this subroutine is not triggering correctly?