A field that overrides the range field in controlling when the AI fires a weapon would be nice, especially on weapons that heavily use fragments. The new field, which I'm going to call [fireRange], would not have an impact on the actual range of the weapon.
Cannon has 0 range and frags into a 4 pointed star. Normally, the AI would never use it, because of the initial 0 range(doesn't matter if the fragments continue to over 1000 units away).
If, however, it had a fireRange field, it would use that instead of the 0 range to fire., allowing the AI to use the weapon effectively.
A fireVelocity field(for the angle calculations and whatnot) probably isn't necessary; fragments can control speeds fairly easily, but it would be nice to have.
duplicate of https://feathub.com/Akaito/reassembly-ai-mod-example/+56
Join the discussion!