Yes I found the way but I failed to make as mod because I don't know how to Codding.
1. Edit the Main_Map scene using the Mount and Blade Bannerlord mod tools, note that it will crash often and for seemingly no reason.
2. (Optional) You can also change the Main map to add navmeshs for your new settlements, villages use a simple collider, while towns/castles use a navmesh that you have to build on the world map. but when i editing navmesh always crash when i save the file
3. Now that you have a new Main_Map File (Scene and nav_mesh), make your own Settlements.xml for your mod you can see this video for you 23:30
4. Heres a tricky bit, you now need to append your custom settlements back over the settlements file in Sandbox/settlements.xml, then run the Settlement script to generate a new Settlement distance cache, if you dont have a distance cache for your custom settlements, the game will crash on start.
this will be found
When you have the main map open, on the right search for the "settlement_scripts" entity
Then, assuming you've copied over your settlements.xml into the sandbox/settlements.xml, click the button that says "ComputeAndSaveSettlementDistanceCache"
(Check the Entity properties for the "Scripts" button)
This creates a new settlements_distance_cache.bin in Sandbox/ModuleData
5. then you have to make .dll
i don't know how to codding so i can't tell you about it
i hope it can help you
i can't english well if you unable to understand it tell me
hi i'm trying to add settlement to my world. I see many modding tutorial and tried a lot of ways, but it didn't work out.
Could you tell me in detail how to add a settlement?
i'm sorry i can't english well