Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

doodlum

Uploaded by

doodlum

Virus scan

Safe to use

About this mod

Updated NPC AI Process Position Fix adding support for SE, AE, and VR in one DLL.

Requirements
Permissions and credits
Buy Maxsu a Coffee

OVERVIEW

Updated NPC AI Process Position Fix adding support for SE, AE, and VR in one DLL thanks to commonlibsse-ng.

Skyrim's engine has a limitation where it could only update an NPC’s AI process position for one hour at most if that NPC is loaded in current loaded cells (a high AI Process one).

Therefore, you probably meet the issue that when you are waiting or sleeping in an inn all night, the NPCs won't go home, instead they still stay at the inn until the next morning.

That may even cause the NPCs to block the door when they leave the inn if you have installed an AI overhaul mod. Because such mods will cause many NPCs to visit the inn at night.

Additionally, the loaded NPCs in the fast travel destination will not update their daily life schedule positions due to the same reason.


FEATURES

The plugin will detect every waiting, sleeping, and fast travel event, and calculate the time difference.

If the time difference is longer than the Minimum Trigger Hours (2 hours by default, can modify in the INI file ), the updating position function will trigger and all the humanoid character NPCs who matches the conditions will be updated the position by the mod's functions, sending them to the correct place in the correct time.




LIMITATIONS

  • NPCs may have a visible “fade in” effect for a second when their positions get updated by the mod. 
  • Some NPCs may teleport in front of you by coincidence.
  • Mod only works and runs for humanoid NPCs.
  • Sometime the position updates of several NPCs may be fail, this may happen when you have too many NPCs loaded in a cell or the game is under high-load.
  • Does not work for NPCs in a scene (e.g. during dialogue). 
  • Does not work for NPCs who have quest alias AI packages. 
  • Does not work for NPCs in combat.


REQUIREMENTS

SE/AE
Address Library for SKSE Plugins


VR
VR Address Library for SKSEVR


COMPATIBILITY

  • For mods with AI Packages added by "Quest Alias" they should be patched for full functionality.
  • A patch for AI Overhaul or Immersive Citizens is already included.


SOURCE

doodlum/MaxsuAIProcessFix-ng


CREDITS

Maxsu for the original mod


ORIGINAL CREDITS

  • kassent for helping me find out the address of two pivotal function and show me have to use them.