Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

Dovahklon CollinMacleod

Uploaded by

Dovahklon

Virus scan

Safe to use

About this mod

Have you ever wonder why the NPCs mostly just stay at the same floor, even though the cell has multiple floors?

This little tweak will encourage NPCs to climb stairs around them and explore their surroundings more.

Requirements
Permissions and credits



Have you ever wonder why the NPCs mostly just stay at the same floor, even though the cell (regardless where at) has multiple floors?

Do you have a nice custom home that has multiple floors in the same cell (i.e. no loading doors), and you want your NPCs to move up- and downstairs more?

This little tweak should address that need.

What does sandboxing mean?
Sandboxing is just a term describing NPCs' auto behavior in a given location, like walking around, sitting down, drinking, eating, etc. Keep in mind that NPCs cannot roam outside of this location.

Why don't NPCs go up and down the floors in a cell (a single loaded area) with multiple floors?
In Skyrim, NPC's sandboxing behaviors are defined to a specific location in 3d (a spherical shape). The global game settings GMST fSandboxCylinderTop and fSandboxCylinderBottom restricts that location to a more flat shape (imagine chopping the top and bottom of an orange off, so it's flat on top and bottom).
The default value for fSandboxCylinderTop is 150 and fSandboxCylinderBottom -100, which is too flat for the NPC to notice things the floor above or below (a floor is 288 unit tall).

What this does:
This is a little tweak to change the global game settings GMST fSandboxCylinderTop from 150 to 576, and fSandboxCylinderBottom from -100 to -576. As a result, the NPC can detect things (markers for various actions) roughly 2 floors above and below during their sandboxing behavior within their sandbox radius, so they will go up or down the floors to use those things (furnitures, markers, etc.).

P.S. I hope many of you will find the information helpful, but I also hope I have demonstrated in the little way that I can what my ideal modding community should be, one that shares files, knowledge, skills, and methods openly and selflessly with the sole intention of improving modding as a hobby without violating anyone's intellectual properties.

Requirements:
None, just Skyrim the base game.

Compatibility:
Should be compatible to everything.

How to Install:
NMM: simply download with NMM and install it with NMM

Manual Install: simply extract sandboxcylinderheight.esp to Skyrim\Data

Load order doesn't matter. You can place it anywhere within your mod list, as I have yet know of any mods that make the same changes.

This plugin only makes small changes to the game setting. So it is entirely safe to add or remove this plugin at any point of the game. Disabling this plugin will not corrupt your playthroughs or saves.

This plugin will NOT impact game performance negatively.


Links to other forums' threads for this little plugin:
Bethsoft Forums
S.T.E.P. Forums
Dark Creations Forums

Other Notes:

Bashed Patch offers this setting as one of its tweak settings. You can change the NPC vertical object detection multiplier, where 1x = default values (150 and -100). 3x-4x roughly gives you the same coverage as 2 floors above and 2 floors below.

If you want to check if the changes from this tweak is in place (just in case if there's another mod out there that changes the same thing; I don't know of any at the moment):

Open up console, and type:
GetGS fSandboxCylinderTop
GetGS fSandboxCylinderBottom


The console should tell you 576 and -576, respectively.

For those of you who are versed in papyrus and console commands, this also implies that you can achieve the same effect without downloading this little plugin:
SetGS fSandboxCylinderTop 576
SetGS fSandboxCylinderBottom -576


You can even change them to other values as you pleased. Changes made in the console will be reset when the game is started next time. It would be best to have the commands save to a text file, and run it as bat every time you start the game if you choose to not use the plugin.

Another way to implement this is editing Skyrim.in:

Within the [General] section, added the following:
fSandboxCylinderTop=576
fSandboxCylinderBottom=-576


For example:
[General]
sLanguage=ENGLISH
[...]
fSandboxCylinderTop=576
fSandboxCylinderBottom=-576


Saved the file and launched the game. (Credits to Dukaath, thanks!)


This is a little side thing that came off when brainstorming with the Vilja team to improve companions' sandboxing behavior in custom player homes. So please do check out the wonderful mods the Vilja team offers (they have more, I am only listing out several):
Vilja in Skyrim
The Hairstyler
Spouse Can Live Everywhere

Please let me know if you have any problems, questions, or concerns, but due to real life schedules, I might not be online on Nexus as frequently. You are more likely to catch me at Emma's Elder Scrolls Forum.