• If you are reporting a bug, please head over to our Technical Support section for Bannerlord.
  • If you are posting SP feedback without an actual suggestion, please head over to The Keep - Singleplayer section.
  • Please note that we've updated the Mount & Blade II: Bannerlord save file system which requires you to take certain steps in order for your save files to be compatible with e1.7.1 and any later updates. You can find the instructions here.

This game urgently needs an improved campaign map pathfinding algorithm

Users who are viewing this thread

MadVader

Duhpressed
Duke
M&BWB
8479dd0c117f1ec30270292f1326b807.png
Try also this, it might help manage the problem.
 

NPC99

Baron
M&BWBWF&SVC
The pathfinding in the campaign map is just awful. I have uploaded this scenario to imgur to explain:
Does anyone know how the pathfinding is implemented in bannerlord?
Pathfinding focuses on the shortest distance as you illustrated. The scene editor allows movement costs to be added to terrain navmesh faces, but TW have not used this on their worldmap (mainly used by them in mission scenes to make certain routes less preferred). I presume it isn't used on the campaign map navmesh as TW have coded varying movement speed through forests for different factions. Movement penalties can be modded into the campaign map as additional navmesh movement costs, but I don't know how much of a performance impact this may have on low end pcs.
The movement costs added are in game metres. The shortest route algorithm just factors those additional metres into its distance calculation.
 

Bitbyte

Recruit
Pathfinding focuses on the shortest distance as you illustrated. The scene editor allows movement costs to be added to terrain navmesh faces, but TW have not used this on their worldmap (mainly used by them in mission scenes to make certain routes less preferred). I presume it isn't used on the campaign map navmesh as TW have coded varying movement speed through forests for different factions. Movement penalties can be modded into the campaign map as additional navmesh movement costs, but I don't know how much of a performance impact this may have on low end pcs.
The movement costs added are in game metres. The shortest route algorithm just factors those additional metres into its distance calculation.
Where do I find the scene editor? I'm brand new to modding bannerlord. Are there any solid guides for it out there?
 
Top Bottom