Boats should prefer routes a few pixels away from territories where applicable
Justification
Boats are (and will always be) larger than one pixel, so rendering them directly next too a landmass can look confusing. We want to avoid auch clipping where possible
Proposed Solution
The data needed to give paths along territory is already fully calculated ("distance" in territory manager), so it is enough to increase expansion cost in the pathfinding algorithms accordingly. This increase should be minor (e.g. from 1 10+ tiles from territory, to ~2 max).
We currently achieve a similar effect by giving "free-water" areas lower costs. This bonus could be removed if it provides better results
Summary
Boats should prefer routes a few pixels away from territories where applicable
Justification
Boats are (and will always be) larger than one pixel, so rendering them directly next too a landmass can look confusing. We want to avoid auch clipping where possible
Proposed Solution
The data needed to give paths along territory is already fully calculated ("distance" in territory manager), so it is enough to increase expansion cost in the pathfinding algorithms accordingly. This increase should be minor (e.g. from 1 10+ tiles from territory, to ~2 max).
We currently achieve a similar effect by giving "free-water" areas lower costs. This bonus could be removed if it provides better results