[BUG] Pathfinding error with embarking/debarking

Zelig

Beep Boop
Joined
Jul 8, 2002
Messages
17,419
Location
Canada
Pathfinding doesn't always work correctly, here are some screenshots from the improvement tutorial:

This is fine:
path1x.jpg


This is bugged, it should take 2 turns to get here, instead of being unreachable:
path2.jpg


This is fine:
path3.jpg


This is bugged, it should take 4 turns to get there, with a couple different paths available, instead it takes the 26 turn route that is available without embarking/debarking:
path4.jpg
 
Yeah, generally the pathfinding algorithm sucks in Civ5. It's extremely slow and has problems with embarking/disembarking as you've shown.
 
Put differently, pathfinding cannot deal with different movement speeds based on land/water
 
Units don't calculate embarking properly when path finding. If I try it move a unit where it has to go over water it thinks it can only move one space at a time over water so the automated path finding will almost never choose to embark unless absolutely necessary. But if you start path finding while on the water it calculates the movements correctly.
 
Units don't calculate embarking properly when path finding. If I try it move a unit where it has to go over water it thinks it can only move one space at a time over water so the automated path finding will almost never choose to embark unless absolutely necessary. But if you start path finding while on the water it calculates the movements correctly.

For the water, yes.. but if it has to deembark again it calculated the number of turns it will take to reach the inland-area wrongly (based on the water movement points)
 
Back
Top Bottom