Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

sevencardz

Uploaded by

sevencardz

Virus scan

Safe to use

About this mod

Dragon corpses will no longer follow you or fall out of the sky.

Requirements
Permissions and credits
Changelogs
This mod fixes the bug where dead dragon corpses follow you around or fall out of the sky, affectionately known as "dragon stalking".



What causes dragon stalking?

Well, you see... when a young male dragon likes a young female dragon, but he's not sure how to approach the female dragon, he might lurk around any locations he knows the female frequents, inevitably causing awkward and embarassing encounters with the female...

From her point of view, it starts out sort of cute. Simply an odd, haphazard fluke! What a weird boy dragon just popping out of nowhere twitching all around not able to contain his excitement. Maybe he would make a nice friend who would do stuff for me since he likes me, she thinks to herself. Just look how trusting he is exposing his underside like a silly puppy dog!



The two part ways and the female dragon heads off to the Whiterun markets, when what do ya know? There he is again! And how sweet, he's bought her some tomatoes. What a thoughtful friend this boy dragon is. But wait... how did he get there so fast? Was he... following her?



But she dwells on it not and so our female dragon moves right along. Next stop is Dragonsreach, which is of course, the only fitting place for a dragon to be in Whiterun. Detesting their outspoken impudence, she promptly ingests Heimskr and Nazeem for bastardizing the spoken word, which she finds to be insulting even when done in a language far inferior to her own. Appetite sated, she proceeds onward.

As she climbs the steps to Dragonsreach, there he is yet again! But... oh... oh my. We're talking full-on George Takei OH MY here ladies and gentlemen. Our poor male dragon seems to have himself in a bit of a snare... tsk, tsk, tsk, boys really will stick that thing anywhere won't they? How embarassing...



What? Oh... right, the bug... well I don't know exactly what causes that. Some problem with the game engine not doing proper housekeeping on dragon corpses which seems to be exacerbated by issues introduced by the Havok physics suite, causing exponential amounts of derp on heavily articulated objects such as dragons. In any case and for whatever reason, when the game tries to reload a dragon corpse that was previously unloaded it may fail to do so correctly and ends up dropping the corpse in a default location as a fail-safe, which is usually somewhere near the player. The corpse then proceeds to reload in whatever default location it can find as the player moves to other areas.

So how did you fix it?

I took the base script for dragons in the game (DragonActorScript) and I implemented the OnLoad and OnUnload events in the deadDisintegrated state, which is the state dragons go to after their soul is absorbed and they've turned to bones. As soon as the dragon is unloaded from the game in this state, it gets dispelled of any active magic effects and then deleted. The same is done if the dragon is reloaded in the deadDisintegrated state from a save game. This method completely erases any dragon corpses that have turned to bones the moment the player leaves the area.

To be clear - this mod will only only delete a dragon once it has died, released its soul, and turned to bones. Also, this mod does not fix the underlying problem which is buried deep in the game engine, rather it imposes a work-around specifically for dragons that have reached a specific state in order to avoid the problem in the first place.

Does it work on an existing save game?

Yes, I just said that.

Does it incorporate fixes from the Unofficial Patches?

You betcha.

Is there a catch? Are you a wizard?

Not really and that's none of your business. Just be sure to loot anything you want from the corpse before you leave the area because the new script will aggressively delete the dragon the moment you leave the area.

Will the fix cause issues?

It shouldn't. This mod simply forces the game to cleanup dragon corpses quickly, rather than relying on the existing framework to do it because we've found that doesn't always work. If the choice is between dragon stalking and aggressive dragon deletion, I choose the latter, at least until a better solution presents itself.

How extensively did you test it?

Pretty extensively. Most of the time I spent on this mod was doing testing. I tested it on named dragons like Mirmulnir and Sahloknir in a normal play-through of the game with no problems. I tested it on dragons at word walls, by killing them once and then waiting for them to respawn after 30 days and got souls each time. I tested it on dragons spawned randomly in the game and through the console and had no issues and no stalking. I tested it on existing saves where dragon stalking was occurring to verify that the fix works retroactively and cleans up any dragon corpses which are currently stalking you on existing saves.

This mod asks if I want to overwrite files from another mod! What do I do?

This mod must overwrite dragonactorscript for the fix to work. If another mod needs to modify dragonactorscript, then that mod can simply incorporate this fix into its version of the script. I give full permission for this fix to be incorporated into any other mod. I simply ask to be credited in some way.

Glowing Testimonials

And you didn't call it Dragon Corpse Restraining Order? 8D - GlassDeviant
10/10 mod and 10/10 description. - DarthDonut117
I'm happier than a breakdancing drunk Gremlin. :) - FallingStar7777
The description puts my own to shame. - ApolloDown
The image of the dragon at Dragonsreach is saying "LET ME LOVE YOU!" - Reokudo
Very description. Such nice. Wow. - cor3zone
I have never actually seen this bug, but it sounds kind of fun. - XunAmarox
But did the male dragon ever find true love? What happened next? - mcshade
But seriously... are you a wizard? - tatwizard
It works! Thank you! - Aelthas
- keithinhanoi

Credits

The Unofficial Patch Project Team for their DragonActorScript.psc modified source code.
Sepherose for his dragon skin textures, which are used in the images: Sepherose Dragon Skins.
The Nexus for hosting the mod and supporting the community.
The Nexus community for testing the mod and suggesting interesting ideas.
Bethesda Game Studios for creating Skyrim.