The limited arc moving code is flawed
Moderator: Moderators
The limited arc moving code is flawed
When a unit has a limited arc of fire it is supposed to turn that arc towards th enemy. Unfortunately it uses a move command towards the enemy location and full path finding to do that which means that if the enemy is behind an unpassable obstacle (that doesn't block shots) the unit will often turn AWAY from the target because the pathfinding says it has to go around the obstacle. The 8-way movement also gets annoying, a unit might not turn its arc until it's on one of the 8 cardinal directions when the pathfinding says "okay, turn here". All of this will often result in artillery units running way too close to the enemy instead of simply turning towards them.
Interesting. In Kernel Panic 0.7 (original version, not KDR Edit) pointers often move around obstacles they could shoot over if their arc doesn't include the enemy (if their path ever turns them randomly towards the enemy they'll stop and shoot, of course), when I manually tell them to move towards the obstacle they can fire with no problem.
