Racketeer breaks skirmishing AI
In this video, a Rogue on maneuver stops skirmishing against a Racketeer and starts chasing it instead. I suppose that some unit tag or lack of unit tag breaks the skirmishing AI: What unit tag could that be?
https://youtu.be/cWfzF-qQ5s
Impaler also breaks skirmishing unit AI for Rogue, which is funny because then the Rogue might just stand there waiting to be hit.
There aren't tags. Instead, this file defines everything to do with the skirmish AI gadget: https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Configs/tactical_ai_defs.lua
The Rogue edging closer when the Racketeer wiggles around is not technically skirmish AI, it is the engine. Units try to mirror the movement of whatever they are targeting, but they do so imprecisely, which over time makes them tend to get closer.
This is the current idea behind the simplicity of the existing skirmish AI: https://zero-k.info/mediawiki/Cold_Takes/10_-_The_Smartest_Unit_in_Zero-K
There is scope to improve upon the current system. I am much more interested in practical cases where there was a problem, rather than experimental edge cases. Perhaps we could treat artillery as having riot range for the purpose of skirmishers. But then this will cause skirmishers to run away from it, even if the player tells units to move next to it. Perhaps there could be a "maintain current range" type of unit AI that has units stay near the range that they were last sent by the player. This would stop skirmishers running away from things that they were told to stand next to, but would otherwise look like normal skirmish AI.
I'd argue that Racketeer is not an experimental edge case. If you are fighting a shieldball, it is quite likely that Racketeer ends up as the closest unit to your skirmishers which breaks their AI and makes them sitting ducks to Felon, Thugs and other units in the shieldball, which skirmishers like Rogue and Recluse typically counter.
The simple solution is a PR that puts Racketeer in the same skirmiee category as Felon.