Last updated at 23:10, 9 Aug 2017 Uploaded at 1:28, 2 Nov 2016
A small mod that makes citizens in a village or city run indoors during a random vampire attack. This includes eclipse attacks as well.
This was born out of frustration at seeing the citizens all trying to be a hero and rushing headlong to their doom attacking master vampires. Instead, the citizens will run to safety like smart people should when faced with the horrors of the undead. NPCs who live in the attack location who own a home there will retreat to it. If the attack location has an inn, NPCs who don't live there will flee to the inn, along with any NPCs who live outdoors. If no inn is present the game picks a random interior from the surrounding area and those NPCs will flee there instead.
This should work for any NPCs added by mods as well, up to a limit of 150 in the area. After that, they're on their own. The NPCs chosen are first come, first serve by the game engine.
Guards, members of The Companions, Vigilants of Stendaar, the Dawnguard, and the player's followers/teammates will not run, they will stand and fight. Farm animals will not run either, because they're stupid. That includes your horse.
Skyrim Special Edition 126.96.36.199.8 or greater.
Debug & Status MCM requires SKSE 1.7.1 (or higher) and SkyUI 4.1 (or higher) in order to use them.
These menus are not necessary for the mod to run if you don't have SKSE and SkyUI.
DO NOT extract the contents of the BSA file into your Data folder as loose files, or let your mod manager peform an equivalent function on the contents of the file. Doing so will cause things to load in the wrong order and break the game. Skyrim is intended to load a BSA alongside it's ESM/ESP file. Circumventing this causes issues which I will not provide support for. If you insist on going against this advice, you will receive no support for the problems you generate as a result of this.
Other Complementary Mods
Run For Your Lives - Handles dragon attacks on populated areas.
Wet and Cold - NPCs will seek shelter from bad weather.
Installation - Wrye Bash BAIN
Drop the archive into your Skyrim Mods\Bash Installers folder, then install as usual.
Make sure the mod is active in the Wrye Bash mods tab.
Installation - Nexus Mod Manager
Use the "Download with Manager" button on the When Vampires Attack page at Skyrim Nexus. The installer should take care of things from there.
Then simply make sure NMM has the mod activated.
Installation - Manual
Drop the When Vampires Attack.esp and When Vampires Attack.bsa files into your Data folder.
Activate the mod using whatever management tool suits you.
Due to the nature of Skyrim mods, especially those adding scripts, it is strongly discouraged to attempt uninstalling a mod from your active game. Any mod that is more than pure mesh or texture replacements has the possibility to leave behind permanent changes to your save that you may not want. This is not something modders can correct for. It is how the game was designed by Bethesda. No support will be provided for anyone who uninstalls this mod from an active game and continues on with that save.
To remove the mod: Delete the .esp and .bsa from your Data folder. Then reload your game as usual.
A bad navmesh in an attack location can severely impact the ability of NPCs to clear the area. If you see any getting stuck and acting like they can't move, this is probably why. If the area is modified, you'll need to take this up with the author(s) of the mod(s) affecting the area. If the area is NOT modified (ie: totally vanilla) then please report such events so that I can pass them along to the USSEP tracker to investigate.
If an attack location has more than 150 NPCs to protect, only the first 150 will fill the quest aliases. After that, any leftovers are on their own and can still be killed! 150 NPC slots is enough to protect all of Solitude running Open Cities Skyrim with 60 slots left open. That ought to be more than enough. If it's not, there's nothing more I can do. Too many aliases in a quest leads to severe degradation in performance. I had to strike a balance somewhere.
The alias fill casts a very wide net, do not be surprised if you see Khajiit from the caravans come in to seek shelter from an attack, or other NPCs who commonly live outside of a major city.
Fully compatible with the Unofficial Skyrim Legendary Edition Patch.
Tested and confirmed to work with Open Cities Skyrim.
Tested and confirmed to work with Immersive Citizens - AI Overhaul.
Mods for Dawnguard which edit the following scripts will not be compatible unless patched:
A Note About Immersive Citizens - AI Overhaul
Several people have asked over the last few months if this mod is still needed if they are using ICAO. The answer to that question is YES.
ICAO sets up its aliases at the moment it is installed into your game. If you later install more mods that add NPCs to population areas, like Interesting NPC, Inconsequential NPCs, Cutting Room Floor, or other similar mods, then ICAO will not protect those NPCs. The only way it's at all possible to account for doing so on a consistent basis is if the protection for the NPCs is triggered on demand at the time of the event. That is what When Vampires Attack does.
If someone advises you to uninstall WVA because you're using ICAO - don't listen to them. The advice is uninformed at best.