11-07-2006, 09:09 PM
A while back I posted a semi-guide on the skyrim outer-core boards, due to problems whereby when an esm (specifically the SkyrimResourceMaster.esm plugin) is loaded other than oblivion.esm some of the land in tamriel vanishes (especially in cities). however it has become clear that other beyond cyrodiil landmass mods have been having this problem and I was asked to post what I wrote here.
If you can't be bothered to read it, the rough gist of it is: keep your esm's clean of refrences to oblivion.esm, and any reference to the tamriel worldspace in the master will cause dissapearing land problems. simple!
If you can't be bothered to read it, the rough gist of it is: keep your esm's clean of refrences to oblivion.esm, and any reference to the tamriel worldspace in the master will cause dissapearing land problems. simple!
Quote:Originally posted by Alasdair
Basically as you know, when you load the current Skyrim resource master you get something like what is shown below:
Now the problem lies in oblivions use of formID's, basically every object is assigned a formID in the format YYXXXXXX, where YY is the plugin number and XXXXXX is the object number. each esp plugin is given a hexadecimal number from 01 to FF in the YY part of the formID, the XXXXXX object number is pretty self explanatory.
the number 00 is reserved for the oblivion.esm master file, it is always 00 and this allows mods to access it, all the other YY parts of the formIDs are not static and will change depending on the number of mods installed (this is why it immposible for mods to contact one another). When you make a new .esm it also uses 00 for it's YY part of the formID. Problems seemingly occur when one .esm attempts to modify something in the original .esm. take a look at the screen shot below:
Oh dear, looks like our Skyrim resource master is changing Tamriel itself...
The game seems to be smart enough to look for the exterior in oblivion.esm, but when it comes to child world spaces (i.e. cities) it's quite a different story. the game seems to look for Tamriel's land data in Skyrim's resource master first, before it looks in oblivion.esm. unfortunately in our case the game engine finds the (rather flat and non-existent) Tamriel landmass data in SkyrimResourceMaster.esm and proceeds to use it in the cities.
So to fix this rather awkward predicament we just get rid of the Tamriel reference as shown:
And since this is a Resource master we don't need no cells either, so lets get rid of them...
there is also plenty of other garbage in the file that needs removed, but that won't cause too many problems (not serious ones anyway )
And now to see the results of our handiwork!
Voila! now NPC's can be safe in the knowledge that they won't fall 200 feet into water when exiting their own homes!