Resolved Scene Editor can't remove original settlements

Users who are viewing this thread

Version number
1.0.2
Branch
Main
Modded/unmodded
Unmodded

cyinhwayong

원래 정착지를 삭제하려고합니다. 그러나 정착지를 삭제하면 충돌이 발생합니다. 이 문제를 해결하기 위해
sandbox / ModuleData에서 'settlements.xml'을 편집합니다. 그러나 아직 해결되지 않았습니다.
도와주세요
 
Last edited:
In this 1.0.2 version, is it possible to play the game by erasing the original settlements using the method from https://moddocs.bannerlord.com/bestpractices/xslt_usage_tutorial/?
If not, how i can remove original settlements?
The tutorial settlements.xslt works by eliminating all the entries in the original Bannerlord settlements.xml. You still need to create your own settlements.xml to go with it. Equally, that settlements.xml must also match the settlements (towns, castles, villages and hideouts) by id and number in the campaign map or you will be unable to run the settlement scripts and calculate a new settlement_distance_cache.bin file which the campaign map ai uses for pathfinding.
So, use the settlements.xslt per documentation, create your own settlements.xml with say one less settlement, delete that settlement in the campaign map scene in the editor and re-run settlement position scripts in the editor.
Currently, a bug updates changes from the settlement position scripts to files in Sandbox\ModuleData rather than your mod’s ModuleData, so, needs you to copy your settlements.xml and settlements_distance_cache.bin to Sandbox\ModuleData, run the three settlements position scripts in order and then copy those updated files from Sandbox\Module data to your own ModuleData. I’m advised the bug has been fixed and will be corrected in a future patch, but it’s currently still there in v1.0.2
 
Back
Top Bottom