-
Notifications
You must be signed in to change notification settings - Fork 35
Additional Superweapon AI targeting methods for support powers like repair & heal
This specification proposes an extension to the already existing SW.AITargeting flag available for all Superweapons, that controls how the AI will use such superweapon.
Currently the specification contains idead for four new AI targeting type values, listed below with their proposed effects.
- heal_infantry - Fires the superweapon at the largest group of owner's InfantryTypes with their current strength farthest from the maximum.
- repair_units - Fires the superweapon at the largest group of owner's VehicleTypes with their current strength farthest from the maximum.
- repair_buildings - Fires the superweapon at the largest group of owner's BuildingTypes with their current strength farthest from the maximum.
All of them should obey RequiresTargets/House. Another possible idea is to use SW.Range for determining how large is the area that can be considered a single group of units. This way using very low values for SW.Range would make AI usually just target a single object. Core idea is there, implementation is up in the air.
Because currently, AI can't really make use of any sorts of repair & heal powers. Additionally, some of these could also be used to make AI shield units/buildings with low health using Iron Curtain superweapon.