Chojun wrote:
...
Warzone has a problem when there are many units on the battlefield. Raising the unit cap beyond 100 surely has significantly compounded this problem. >:(
Warzone will only process a certain amount of pathfinding-related instructions per "frame". If a unit is stuck in the air or doesn't move for a long time, it is because there are too many units on the field and Warzone can't keep up with the new orders/waypoints being issued.
It also appears that upping the limit has caused other issues, like units delaying their orders.
With the current MP code, it only handles a handful of units at a time.
The issue of trucks spinning around in circles only occurs when the truck is near damaged structures (requiring you to baby-sit them). I believe this is related to truck-specific AI and has nothing to do with pathfinding. VTOLs circling around the landing pad is also a VTOL-specific issue.
I don't think that is the only situation, since in a game I recently played, the closest building was around 3 tiles away, and it was one of the 'default' buildings. It started spinning around when I told it to build a structure close to that building, but it wasn't even close to the area I wanted the structure when it decided to show me how many 360s it could do before I would nuke the unit.
For the VTOLs, I couldn't replicate them circling around the landing pads. I know it has been mentioned a few times in the past, and I think the 'fix' was to slow down the unit or something like that. I tried 25 VTOLs, and 2 pads, and all they would do is wait their turn.
Here are a few things you can do:
If you ever encounter stuck (frozen) units then try doing the "get off my land" cheat or use the debug mapping to kill all enemy units. This should fix the issue. If it does, please post here.
Using that cheat will advance you to either the next level, or you win the skirmish game. While that will 'fix' it, I am not sure most people want that drastic of a 'fix'.
If a truck is spinning around, get another truck to repair the damaged buildings nearby. The truck should stop spinning.
Next time I run into that situation, I will try it, and see what it does, but I wonder if when you notice this, if the unit's orders are the same, or have they changed?
[Of course, you need the patch from the tracker to actively see the units orders, since it isn't in the code base yet. ::)]