LeveledActor changes do not persist after game boot

Post » Thu Oct 13, 2016 1:06 pm

The wiki page for http://www.creationkit.com/index.php?title=LeveledItem_Script states that





while the wiki page for http://www.creationkit.com/index.php?title=LeveledActor_Script does not mention this.



Testing confirms that any script-based changes to LeveledActors will be reset when booting Skyrim (but not after a save&load without reboot), in contrast to LeveledItem.



In my DDC2 mod, this creates lots of room for error since hundreds of entries need to be added every time the game boots. On some PCs this can take several minutes and on others it seems to hang indefinitely. This greatly increases the chance of bugs.



But I know that Skyrim Immersive Creatures also allows LeveledActors to be adjusted through the MCM script, and as far as I've seen this mod is stable. Unfortunately SIC does not include source code.



Does anyone know how to achieve stable LeveledActor edits via script? And/or does anyone know where I can find source code of a mod that does this?

User avatar
benjamin corsini
 
Posts: 3411
Joined: Tue Jul 31, 2007 11:32 pm

Post » Thu Oct 13, 2016 9:10 pm

Umm never tried this myself but if you want to see how it's done in SIC you might want to use http://www.nexusmods.com/skyrim/mods/35307/? to decompile its scripts. Just make sure you don't share those anywhere :P
User avatar
Mrs Pooh
 
Posts: 3340
Joined: Wed Oct 24, 2007 7:30 pm

Post » Thu Oct 13, 2016 5:59 pm

Thanks, that's a useful tool! It looks like he actually doesn't used LeveledActor lists at all. I'm thinking he must spawn all of his creatures directly from script. So I guess that's a dead end. :(

User avatar
Jah Allen
 
Posts: 3444
Joined: Wed Jan 24, 2007 2:09 am


Return to V - Skyrim