Skyrim

File information

Last updated

Original upload

Created by

theecatt

Uploaded by

theecatt

Virus scan

Safe to use

About this mod

Adds three new spells to the game that cause NPCs to lie down and fall asleep where they stand.

Requirements
Permissions and credits
Donations
SSE version is now available here.

Update:


02/07/23: Version 1.2 is now available. This version adds a cheat menu with a few much requested features to the Mod Configuration Menu. This menu must be toggled on every time you access the Mod Configuration Menu, to prevent accidental clicks that could mess up gameplay. On the new menu is an option to add the three standard sleep spells to your spell list without the need to go find the books. This is for people who either just can't find them even with all the hints here and in the posts section or for those who don't care and just want the spells now. The is also an option to add new, "super" versions of all the spells. These are the same as the regular spells except they cost zero Magicka and work on everybody they possibly can, regardless of their level, who they are, or what they're doing. These are for people who want to play sandbox style or who don't care about balancing their game and just want to put everyone to sleep. Go wild. There are also options to remove both these sets of spells, for people who want to go back to normal gameplay after playing around or who just want to clean up their spell lists.

Old Updates:
Spoiler:  
Show
03/04/17: Version 1.1 is now available. This version adds a Mod Configuration Menu, so SkyUI is now required. On the menu is a toggle for whether or not to interrupt active scenes. So now you don't need to chose which version you want ahead of time. You can turn it off when you don't want to miss any important scenes and then turn it back on when you've heard enough about Talos and just want Heimskr to shut his yap and go sleep it off. The menu also contains a reset function in case you have a problem with sleep slots not resetting (shouldn't happen now, but you never know) or if you just want to wake everyone up early.


03/02/17: Version 1.03 is now available. This version fixes the issue of NPCs involved in active scenes not being affected by sleep spells. Any scenes currently playing will be stopped when a participant is put to sleep. This mod will attempt to restart the scene when they wake up, but this is not always possible to do. Please be careful when using these spells on people actively participating in quests. If anyone encounters a quest that is actually broken by this (something more than just missing out on a bit of flavor dialog) please let me know in the comments and I can put an exception in for it. I'm leaving v1.02 up in the old versions section for those who just don't want to worry about it.

03/01/17: Version 1.02 of this mod is now available on the files page. This version fixes some bugs, including an issue with the quests this mod uses not restarting properly after the spells are used on NPCs already in scripted scenes. As part of this fix, a one-time cleanup script will run shortly after loading any saved games which used a previous version of this mod. This cleanup will wake up any NPCs that you put to sleep previously. Please allow this cleanup to complete. It should only take a few seconds. Once you get a notification that the cleanup is complete, please save your game so you don't need to run the cleanup again. New games or saves that did not include this mod previously won't be affected.
Description:

Adds three sleep spells to the illusion school of magic. These are structured similarly to other spells of that school:

  • Sleep Ray - A novice-level, single-target ray spell affecting targets level 9 or below
  • Cone of Slumber - An adept-level, multi-target cone in front of the caster affecting targets level 20 or below
  • Mass Somnolence - A master-level, wide-area, player-centered spell affecting targets level 55 or below

These spells will affect anyone that possess a sleep animation in the base game. That would be any of the playable races as well as (with the Master of the Mind perk) vampires, ghosts, and dremora. Affected NPCs will lay down and fall asleep a few seconds after being hit by one of these spells. They will remain asleep for up to 8 in-game hours (24 minutes real-time) or until disturbed by the player or another NPC. Leaving a zone also seems to cause everyone there to wake up.

Note that enemies can still detect you while asleep and will wake up and attack if they do. Being asleep does reduce their ability to detect you, so it is somewhat easier to sneak up on them. It is also useful for keeping patrolling enemies or guards out of your way and for feeding if you are a vampire.

The standard illusion perks work normally on these spells. Hypnotic Gaze affects them as if they were Calm spells. Mass Somnolence is a two-handed, ritual spell like Harmony or Hysteria and as such is not affected by Illusion Dual Casting, but its effective level has been set as if it were (affects level 55 instead of 25). Perks from most other mods that affect vanilla illusions spells should work with these spells as well.

How to find the spells:

The spellbooks for these spells can all be found scattered around Skyrim. Many innkeepers leave copies of Sleep Ray spellbooks in bedrooms for the benefit of guests suffering from insomnia. The Cone of Slumber and Mass Somnolence spellbooks are rarer, but shouldn't be too hard to find for those who've got the aptitude.

For the impatient who don't feel like looking for spellbooks, there is a cheat command to add the spells directly to your spell list in the Mod Configuration Menu.

Requirements:

Version 1.1 and higher requires SkyUI.

Older versions require only the base game.

Compatibility:

Items were added to some locations. This could cause those locations to reset if this mod is loaded after mods which alter them. It is recommended to place this mod early in your load order before any mods which alter vanilla locations.

While this mod does use scripts, none of them are very intensive and should not cause any performance issues. Please let me know in the comments if you find any compatibility issues.

Known Issues:

  • There is currently a limit of 50 NPCs that may be slept at one time. This should be enough to put everyone in most areas to sleep unless you have mods that add a lot of NPCs to the world. Each sleeper needs their own quest and I haven't found any way to generate new quests dynamically, so I tried to strike a balance between having enough and not over-inflating the mod.
  • Sleep Ray and Mass Somnolence are effectively silent, but Cone of Slumber will sometimes wake enemies near where it impacts walls or floors. As long as they are within the area of effect they should go back to sleep right away. I'm still trying to find a way to remove these detection events but they seem to be baked into the cone projectile model.
  • The animation for Cone of Slumber doesn't line up with the area of effect, so distant targets can be affected even if outside the visual effect. This seems to be an issue with Skyrim itself, as vanilla shouts have the same issue. Scaling animations on projectile .nif files appear to be ignored by the game.

Version History:

1.2
  • Added cheat menu
1.1
  • Added Mod Configuration Menu
  • Minor error handling improvements
1.03
  • Fixed issue with targets already involved in a scripted scene not being affected by sleep spells
1.02
  • NPCs already engaged in scripted scenes will no longer get stuck occupying quest slots
  • A one-time cleanup routine will run to remove any stuck NPCs from quest slots
  • Fixed the spell description for Sleep Ray
  • Now USKP and USLEEP compatible
  • Got rid of some papyrus log errors
1.01
  • Fixed issue with mod assets not loading
1.00
  • Initial release