About this mod
Fixes a weird settler AI problem unique to extra large settlements.
- Permissions and credits
- Changelogs
- Did you know there's a problem with settler AI packages that can make settlers behave super oddly? As in "stand in a circle in the center of your settlement all night?" levels of weird? No? That's good - it probably means your settlements aren't too big. This is for people (and mod authors) with settlements whose girth cannot be ignored.
FEATURES
- Addresses a bug involving the "Travel" procedure in the settler AI package that runs from midnight to eight AM.
- This fix restores normal behavior for settlers in abnormally large settlements, during those hours.
- Flagged as a light plugin (esl-flagged esp) for minimal impact on load order.
FAQ
- How do I start using this mod?
- Just install it! No configuration or special steps necessary.
- Absolutely, yes.
- Right, okay. So settlers have a bunch of different AI packages that can run depending on the time of day and what their assignments are. Several of these packages involve a "Travel" procedure that tells the settler to make sure they are inside your settlement's area before they try to do whatever they are trying to do. In theory, this is a good idea.
In practice, this procedure can fail to end properly if the destination (specifically, the settlement's "sandbox" build volume) is too big. This results in them getting stuck "traveling" to that settlement, where they will then stand as close to the center of the settlement as they can get. And they will stay there until another AI package comes into effect. I added a simple check that cancels the Travel procedure within a set distance of the destination.
- The sleep package template was the only one I could safely edit without doing a ton of testing. There are half a dozen other package templates that likely suffer from the same problem, but they are used by literally thousands of things in the game and so I do not feel comfortable sharing changes to those until they have received enough testing for me to be confident they won't break your game.
- Unfortunately, the midnight cult bug isn't the only thing that can prevent settlers from moving. It is also easy to break the navmeshing in settlements, which results in them standing in place at semi-random locations in your settlement. It is also possible that another AI package is currently being used, and that package has the same or a similar bug. And it's entirely possible that other bugs I am not aware of are also happening, because the settlement system is extremely big and difficult to fully debug.