» Tue Jan 01, 2013 11:56 am
Ok, I've ran quite a few tests, and I simply don't know what to think anymore. I'll try to explain as best as I can.
Take Vilverin, an introductory dungeon of sorts everyone surely has heard of. The bandits you find in the first level are hand placed, but otherwise they are like regular mobs: their inventory are leveled lists, they are pc level offset, they aren't persistent, and don't respawn. Well, their inventory is set as you would expect depending on the level of the player when he enters the cell. All fine.
Now, I made a mod where I copied one of those bandits into a test cell from that mod. A different reference to the very same bandit. The savegame used was of a test character at level 1 with no other mods. So I set him to level 20 and off we go.
In Vilverin, that bandit appears with elven/mithril gear. But in my test cell? Fur and iron, every single time!
And the same deal with containers, the ones in vilverin yield loot according to your level, but the ones in the test cell always level 1 loot, no matter what you set your level before entering, nor waiting for a full respawn, nor the save being clean or not from the test mod.
EDIT: of course, if I enable the mod and load a savegame clean from it where my char is at level 20, I get level 20 loot, even if I set my PC back to level 1 before entering.
What is different between the references in my mod and the ones from Oblivion.esm? Well, my mod is an .esp, whereas Oblivion.esm...
I turn my mod into an .esm and lo and behold, everything works as expected! Loot yields are correctly set the first time you enter the cell!
And the same happens if instead of NPCs and containers from Oblivion.esm I use new ones added by the mod itself.
So it seems this problem predates esp files of any kind, which icludes the official DLC. I have no idea how this could be fixed, or if it is old news fixed a long time ago somehow. Wrye Bash AFAIK what it does is update the actors' current level, or the level min/max/offset for PC offset ones, if some mod has changed them after you first encountered them.
EDIT: even more tests done. My conclusion is simple:
Any actor or container hand placed by an esp file, no matter where, has its contents determined at the moment the esp file is enabled in the savegame, depending upon the player's level at that point. For respawning references, these will have their inventory recalculated after the cell they are in resets, following the first encounter with the player. Does not affect leveled creature references since these only turn into an actor when the player first visits the cell.