OpenRA / OpenRA

Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
https://www.openra.net
GNU General Public License v3.0
14.75k stars 2.69k forks source link

Pathfinding remembers where units were even after moving #11437

Open anjew175 opened 8 years ago

anjew175 commented 8 years ago

eg. If an APC is given an order to move and its path crosses another unit, even if that unit is moved the APC will attempt to avoid running over the tile it occupied at the time of giving the order.

This is the same for all units and technically gives two possible places for units to be which could account for a lot of the pathfinding blockages in chokes. Replay enclosed Pathfinding.zip Notice how the MCV moves out of the way of the infantry despite being moved and the same happens for the infantry and the humvee

PunkPun commented 2 years ago

Is this still relevant?

abcdefg30 commented 1 year ago

Probably not.

abcdefg30 commented 1 year ago

Re-opening as discussed on Discord. (This is still an issue.)

anvilvapre commented 1 year ago

Similary when you chronoshift a unit and after plan a path for the unit it will still go there even after chronoshift period ended and the unit is transported back to its original position. So likely chronoshift should cancel all active paths.