Dune-II---The-Maker icon indicating copy to clipboard operation
Dune-II---The-Maker copied to clipboard

Improve pathfinder

Open stefanhendriks opened this issue 2 years ago • 1 comments

Pathfinding not always finding a path, even though there is one.

Ie, played Skirmish mission (Cliffs of Rene), AI was at top right. Refinery was at top right (next to map border). Harvester was unable to find path.

In short, need to test this more, iron out any bugs.

stefanhendriks avatar Aug 06 '21 13:08 stefanhendriks

Get some inspiration from: https://github.com/SFTtech/openage/blob/master/libopenage/pathfinding/a_star.cpp

stefanhendriks avatar Apr 25 '22 20:04 stefanhendriks