Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Scalpel dodge AI is broken

Open Godde opened this issue 1 year ago • 3 comments

Scalpel dodges too slowly and will run into enemies if unchecked. If a Ronin is infront of Reavers and Knights for example, the Scalpel will try to try dodge projectiles instead of kiting the enemy resulting in that the Scalpel happily drives into range of Knights and Reavers.

Godde avatar Dec 26 '24 13:12 Godde

Gif of the behaviour: https://i.imgur.com/9dyDqvU.gif

Godde avatar Sep 10 '26 22:09 Godde

I think a solution could be to use the turnrate of the unit being controlled by automskirmishing in the widget/gadget/code. The problem for the Scalpel is that it gets a new command on the opposite side too fast for it to be able to turn and it ends up going mostly just straight forward instead. If the next command given by the widget would be delayed until the unit had enough time to turn 90-180 degrees, this issue wouldn't be as bad I think.

Godde avatar Sep 10 '26 22:09 Godde

Perhaps. There is also a parameter that increases the period of the direction change. I'd try that first.

GoogleFrog avatar Sep 11 '26 03:09 GoogleFrog