AI support for SW Targeting settings
Replace all AI targeting modes by custom ones, with the following settings and changes:
- PsyDom and GeneticMutator now ignore cloaked units
- Where applicable, ranges, designators, required targets and houses are checked
Use a different set of tags for acquiring an automatic/AI Super Weapon target:
[SuperWeapon]
Which targets will be considered eligible by AI players or human owned automatically fired super weapons. Human players manually selecting a target must suffice SW.RequiresTarget instead.
Certain targeting modes only target specific target types. If you exclude the types checked and include only the types not checked, the SW will not be able to fire.
[SuperWeapon]
Which houses will be considered eligible by AI players or human owned automatically fired super weapons. Human players manually selecting a target must suffice SW.RequiresHouse instead.
Certain targeting modes only target specific houses, usually only the enemy. If you exclude the houses checked and include only the houses not checked, the SW will not be able to fire.
Whiteboard
15.20.733, didn't notice any issues with them (although some SWs might require changing from default either SW.AIRequiresTa
---
I chose the defaults so they do the same things as the original targeting modes. Which ones do not work correctly? I can provide the current list of defaults, if you need this. -- AlexB
---
I'm not sure, i think it was Speeder saying, just after those tags were introduced, that some SW started to act strangely or something like that. I told him to set the above AI targeting tags to correct ones and didn't hear of any issues since then. I think the defaults will be needed for each targeting type anyway, so you could just tell me once you added it to the documentation.
I don't think it matters much, though, as long as unmodded YR SWs work as they did before. I'll check once i have time. - mevitar
---
I think i found the culprit - SonarPulse SW. Before, its SW.RequiresTarget= defaulted to "water". Now, since it no longer checks for that tag, it will fire according to SW.AITargetingT
---
Thanks, this was an oversight. I changed the SonarPulse SW to also default to water, and this will be documented as well as the original tags. i don't know when this build will be available. Depends on what else comes up. -AlexB