Vigilantes > Resolved Bugs
[Resolved] Pathfinder
ushas:
(v17, linux, DowntownPark2)
Issues with pathfinding.
See attached picture. The path is drawn with one more tile to step on than the shortest path needed. The arrows indicate the proper path. The game says "Insufficient AP" and doesn't let me go to the farthest tile. I tried then to undergo the shortest path manually and was able to reach the spot. So highlighted tiles display radius correctly.
ushas:
Practically the same situation with Elena, DowntownGraveyard1 map, see attached picture.
Seems like there is a problem to go diagonally between units.
Edit: Forgot to mention, this is also an issue for shorter paths, so added another image to showcase situation where it will offer you the path withing the blue radius - costing one more AP than needed. Again I've tried to go step-by-step to check.
For the record, it doesn't have problem to draw the path diagonally between units when I click just one tile left.
Daithi:
Yay, pathfinding bugs. :/
ushas:
Is it... difficult to fix?
Daithi:
I think the problem might relate to code I used to smooth the path. The pathfinding system is fairly complex... lot of potential for bugs and harder to work with because haven't touched it in months... will see what can be done with it.
Navigation
[0] Message Index
[#] Next page
Go to full version