Comment 5 for bug 589697

Revision history for this message
Nicolai Hähnle (nha) wrote :

Thank you for the report. As Raul said, if you could attach a replay of these games, that would be great. Judging from the screenshot, part of the problem is that a yellow soldier is still there.

I don't think flat out removing soldiers is the best way to go forward. There are in fact other problems with soldiers, namely that if you start a large attack through relatively narrow passes, the game's performance goes to its knees because it continuously uses relatively inefficient pathfinding strategies (the extent of this problem has been toned down a lot, but it's still there).

I've been idly thinking about a way to solve this properly, which would involve pathfinding soldiers without consideration for blocking soldiers initially; then, when two or more soldiers "touch" in the sense that at least one of them is blocked by at least one other neighboring soldier, they should do some cooperative steering, where friendly soldiers move out of the way for each other, while enemy soldier just start attacking each other in case of blocks.