Jump to content

Skyrim Modding Diary - 08 March 2022


gregaaz

388 views

Hi everyone, welcome back. Today is going to be another relatively light day as far as modding work goes, but let's see what we can knock out as we work towards launching the next playthrough.

 

We're starting the day with 1,451 mods installed, 1,480 plugins active, and a final load order index of EB.

 

Patches, Lights, and Animations

Spoiler

I've been really impressed recently with the rash of new ENB particle lighting mods - even though they're trickling out, the cumulative effect is excellent. You can see some of this in action on yesterday's blog with the Blackreach ENB screenshots - all those various glowing plants, minerals, and other things the product of half a dozen different mods all working together. Today we've got two more of those lighting upgrades, along with a couple of other patches and a new DAR module. Specifically:

 

 

I wasn't expecting any big surprises here, but you know what they say about Murphy's Law... 

 

image.png.e8f892bff52f7e0278257c84c293de94.png

 

So we need to look at these two scripts. We'll open both source codes up in Notepad ++ and compare them side by side.

 

image.png.6d2f1e4cc289b78b4e2adefa5d77ee38.png

 

XPO makes the edit at line 133, which adds a logical test to see if the player character is in an XPO prison scene. All the other changes are from Sensible Sleepwalking. So what we're going to do is patch the XPO code into sensible sleepwalking's script source and recompile it. 

 

image.png.9103b8e5159867b1ba557deca77a88b8.png

 

We'll put this recompiled script in our holding folder for script patches. This is seated low in my load order to ensure these files win conflicts.

 

image.png.dd477457c9eb9f679814a531ea225988.png

 

Fortunately, all the mods were nice and clean - even the patches didn't have conflicts in them (except for where they amend their masters), so once we got the new script deployed, we were all done!

 

Patches and More, Redux!

Spoiler

After getting the new mods above installed, I did a quick review of what their authors had produced in the past, and I found a few more patches that I want for my game:

 

 

These supplemental items are generally pretty clean installs - there's a script conflict in Thugs, not Assassins, but the author provided a patch for it so I didn't have to recompile any of it. The Dragon Bridge does have a conflict with other Dragon Bridge mods that we need to examine to make sure it isn't creating an eyesore.

 

image.png.33ea3c2263d8616b3a6e94fd8cb89ab6.png

 

The other mods were generally clean, though Four Skull needed navmesh edge link cleaning. Thugs, not Assassins needed script property and alias patching to avoid errors - this is in part because it needs to read a global value from Timing is Everything, a mod which I compacted for ESL flagging and thereby changed the form ID for the global. You can see the corrected form ID below, which we'll patch into the script.

 

image.png.cea70be2debc4dd07534e0c867e487c0.png

 

With the xEdit work done, let's see how that bridge looks in game. Either way, we'll be back to do some ESL flagging.

 

image.png.710e8c046eb359ff300dab6662887b90.png

 

ScreenShot1509.png.6d799b81365b54df19a5cc749bd2eba7.pngScreenShot1508.png.2e7f817dbd6ff53897e2d88e50e69c3e.png

 

Looks good!

 

Why Did The Bandit Cross The Road?

Spoiler

To get to the crucified.

 

Hydragorgon Slave Girls adds a number of incarcerated bandits in different forms of restraint. Unfortunately, the way the mod implemented this is a little janky and more often then not, the bandits just stand around rather than showing their tied up poses. What we're going to do today is to take some of these actors and change them over to use a different technical approach that should display their animations with much greater consistency.

 

These "vignette" AI packages you can see below are at the root of the issue. For whatever reason they just don't do what they're supposed to. The workaround is to use an actual furniture item rather than an AI based idle animation. We'll go ahead and copy these (for reference) to a working file and then start building our replacement strategy.

 

image.png.548c91344296729bfeb2e91fd0425aac.png

 

We'll start with the Darkwater Crossing package. It only applies to a single NPC, so it's a good place to begin. First, we want to copy the idle marker and the NPC to our working file.

 

image.png.ef808cc74e50460c34254a3f8aa0e395.png

 

We're also going to grab a reference from Ambient Slaves, which implements the furniture the way I want it to be implemented. Here's the essential differences:

 

image.png.0b4f1977ec137638a22167b130747509.png

 

Hydragorgon drops an idle marker and then uses AI to make the NPC animate. AS puts a furniture item and uses a linked reference on the actor to get them to use the furniture. So let's tweak this idle spot.

 

In the time since Hydra's AI was written, a number of different crucifix variants have made their way into the ZAZ animation pack. Let's visit the ZAZ test cell and look at our options.

 

image.png.b63bc1f79102b4fc5cdb7a0d84253409.png

 

These are the nailed/roped crosses with the "pose X" interact text. One thing I'm aiming to do is to not keep reusing the "cross with horn" furniture item that Horrified Female Prisoners seems to prefer, so these variants that have other poses are relevant to my interests. 

 

ScreenShot1510.png.55765bccac66c2a96e3d90634a14d2bf.png

 

Pose 1 appears to be the classic "Jesus Pose" which works but isn't my first choice.

 

ScreenShot1511.png.0377bdedcea3bd26033cc983b31c0cfc.png

 

Poses 2 and 3 are similar to each other, and are both workable, but again - nothing super special. I've seen other variants that look better.

 

ScreenShot1513.png.4eebdf4a12c3e4faca789b307a6b6ef4.png

ScreenShot1512.png.c26d72e7e2e8aa40308ceac2930d8bd8.png

 

There are some other variants that also don't have the metal horn. The actual poses are quite similar to the ones we saw before (the one below is pose 2)

 

ScreenShot1514.png.214feecad9b55e189d4074fc1ff6b669.png

 

These are the "bulb" crosses - not really to my taste.

 

ScreenShot1515.png.c93631af728a98d8caa597836a51940b.png

 

There are a couple more execution items - notably WCN Cross and WCN Impale. The cross is hard to assess because it breaks the camera when the player uses it, but the impale version seems like it has potential

 

ScreenShot1516.png.76787f1a1747203aa045b1398451aaa3.png

 

We have some gallows, but the open eyes/actively struggling captive would quickly stop making sense if you see the same victim every time you walk past, but these "struggle rope" posts, where the victim's feet are on the ground, might work better.

 

ScreenShot1518.png.91162611584365c3291770cedcf02f2c.png

 

So it looks like we're just going to be picking randomly from the crucifixes and maybe throw in a few impaling poles here and there. We'll also throw in some of the struggle poles, but those have enough of a footprint that we need to place them more carefully.

 

We'll start by changing the baseform on the reference to list a crucifix (I'll use the WCN one so we can see its animation). Next, we need to add the furniture as a linked reference to the actor's ACHR record:

 

image.png.e5bfc8c09f5b09fbfd66a0007af389f3.png

 

image.png.102d00df431be85cb89f4e0125d51bf3.png

 

Lastly, we'll remove the package from the NPC record.

 

image.png.a27bf6a14791d4ec9d8173743b44f001.png

 

Now let's see how it looks in game.

 

ScreenShot1519.png.e370eaa0a2d0cf1eb4b29def8dc8fc78.png

 

It looks good for a moment, then the prisoner dismounted. However, I saw this behavior in the test cell also with the player, so I suspect what we're seeing here is a defect with the cross and not the game instructions. Let's try again with a different piece of furniture.

 

ScreenShot1520.png.70bfeb06653af0a1401e2c4ef2819dd7.png

 

That's better!

 

So anyway, that's the procedure for retrofitting these Hydragorgon furniture items. It'll take a while to work through them all, but between now and the start of the next adventure I plan to do the whole bunch and probably also share the file with the edits so others can also benefit from this work.

 

That's it for tonight. I'll be back tomorrow to keep moving forward with these projects - see you then!

 

We ended the night with 1,467 mods installed, 1,489 plugins active, and a final load order index of EC (since I haven't compacted the Hydragorgon working file yet).

 

 

Edited by gregaaz

4 Comments


Recommended Comments

How do you deal with random crashes?

 

When I get a new mod and I figure out it's causing crashes, but I really want to keep it.  But I don't know what specifically in the mod that's causing it,  or how to fix it. 

 

I'm talking about Enemy Encounter but it could be anything. 

Link to comment
6 hours ago, EnragedBard said:

How do you deal with random crashes?

 

When I get a new mod and I figure out it's causing crashes, but I really want to keep it.  But I don't know what specifically in the mod that's causing it,  or how to fix it. 

 

I'm talking about Enemy Encounter but it could be anything. 

 

I use Net Script Framework to get a crash log, then try and nail down the root cause. I don't have a 100% success rate and sometimes I have to dig deeper, but most of the time NSF points to the problem. If you can get a crash log I'd be happy to help you analyze it.

Link to comment

Getting a crash log has been a problem so far.

 

I added the:

fPostLoadUpdateTimeMS=500.0
bEnableLogging=1
bEnableTrace=1
bEnableProfiling=1
bLoadDebugInformation=1 

 

To my ini, and no logs appear.  

 

Then I downloaded a mod that supposedly makes a crash log for you.  But instead of crashing it makes Skyrim give me an infinite load screen.  And then I googled and a lot of sites say the Papyrus crash log doesn't help you.  

 

Eventually I just gave up.  Just started chucking mods that give me CTD or suffering through those parts and saving often.  Then again, earlier on I didn't even know what mods were causing it.  

Luckily Skygerfall is very stable.  I just wanted to inject more enemy encounters in it because the world is very sparse (thus, the mod named Enemy Encounters).  And it worked some of the time, but then the last time I used it it gave me a CTD.

 

Edit:  Also realized I don't have .NET Script Framework.  And that DLL Plugin Loader.  Going to do that.  Should I really rename those files....?

Edited by EnragedBard
Link to comment
2 hours ago, EnragedBard said:

Getting a crash log has been a problem so far.

 

I added the:

fPostLoadUpdateTimeMS=500.0
bEnableLogging=1
bEnableTrace=1
bEnableProfiling=1
bLoadDebugInformation=1 

 

To my ini, and no logs appear.  

 

Then I downloaded a mod that supposedly makes a crash log for you.  But instead of crashing it makes Skyrim give me an infinite load screen.  And then I googled and a lot of sites say the Papyrus crash log doesn't help you.  

 

Eventually I just gave up.  Just started chucking mods that give me CTD or suffering through those parts and saving often.  Then again, earlier on I didn't even know what mods were causing it.  

Luckily Skygerfall is very stable.  I just wanted to inject more enemy encounters in it because the world is very sparse (thus, the mod named Enemy Encounters).  And it worked some of the time, but then the last time I used it it gave me a CTD.

 

Edit:  Also realized I don't have .NET Script Framework.  And that DLL Plugin Loader.  Going to do that.  Should I really rename those files....?

 

Which files are you considering renaming? The Bink DLL? You absolutely must do that or you'll break your game. 

Link to comment

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use