Settlement Position Script
Find in the lower bottom corner of the map or in the Entities filter.
It contains a SettlementPositionScript with buttons to CheckPositions, SavePositions & ComputeAndSaveSettlementDistanceCache. The game relies on caching distances between settlements for AI pathing and decision making. Accordingly, I believe that every worldmap needs such a script entity to work in game. (src)
CheckPositions
Workflow
Crashes when there are no more errors?
- Load last good map
- Press on the CheckPositions
- Crash? All good :), no badly placed settlements, load again and proceed with other tasks. THE END
- Jumps to some settlement? Move the settlement or adjust the Navmesh
- SAVE YOUR MAP! (better to some other location, as 'Backup' for example)
- Press on the CheckPositions
- Crash? GOTO 1.
- No crash? GOTO 4.
Outside Navmesh
Inaccessible terrain
SavePositions
It updates the locations of the settlement's and gate positions of settlements in the settlements.xml if you moved around any of the corresponding entities
This update is done on map save also.
ComputeAndSaveSettlementDistanceCache
Does what it tells with settlements_distance_cache.bin