fs2open.github.com
fs2open.github.com copied to clipboard
FR: AI Attack Wing
This would have AI choose an AoE weapon such as a cluster bomb and attack multiple targets at the same time instead of picking them off one by one. General idea is to use the AoE weapon to its full potential, which is to create as much damage to as many targets as it can.
This would be a multi-staged selection of possible impact targets, using weighted averages of predicted target positions at its core.
- Weights will be HP of the targets, rank (wing leaders, combat rank), and possibly others
- Distance from the centroid of the formation would then be a negative weight, making that target's predicted position less attractive.
- This weighting is based on the weapon's explosion damage radius calculations (which may be constant, linear, exponential, etc.)
This may be able to use parts of multilock.
Just a quick note. I believe that this is probably a lot more reasonable to do with @BMagnu's LUA AI feature. It would be hard to come up with hard-coded weights for which ship for each player to destroy.