Stay Put REDUX V1.0

Stay Put REDUX

New and improved version of my Stay Put mod that keeps clutter from flying all over the place.

Stay Put added a script to base objects to disable havok, but this meant that any updates or bug fixes would get lost if I didn’t continually update the mod. Then I modified it to add the script to the references instead of base objects, which was better to some extent, but then that meant overriding over 108,000 records. Even though those records were less likely to cause issues than modifying base objects, it was still not ideal.

With a bit of trial and error (OK, a LOT of trial and error), I was able to disable havok on references with NO VANILLA OVERRIDES using quests, spells, magic effects, etc.

The old Stay Put mod can be safely removed at any time if you wish to replace it with this REDUX version.

FEATURES
Detects Zero G – Items will not have havok disabled if they are in a Zero G environment.
No Conflicts – There are NO VANILLA OVERRIDES so there should be no conflicts whatsoever.
Version Independent – Since there are no vanilla overrides, when Starfield is updated it should not affect this mod.

LIMITATIONS
Items on cell boarders may still scatter when hit – Since the mod detects cell changes, items on cell boarders may be missed as the quest resets and the alias is refilled.
Items cannot be grabbed – If you wish to move an item, pick it up then drop it from your inventory. I will keep looking into it to see if I can get the script to allow grabbing items.
Some items will still move if you hit them – This is simply due to the possibility of hitting the item before havok is disabled. It’s not something you’ll probably really notice though unless you are purposefully running around on tables, etc trying to knock things off.

HOW IT WORKS
Several form lists include items like chems, aid, food, drinks, misc and moveable statics. All the stuff that tends to go flying everywhere. This makes it easy to update if I missed anything.
A Quest is set up with a Reference Collection Alias that uses the form lists to dynamically add loaded references to the alias.
A script is attached to the alias that disables havok when the alias is initialized. The script checks if the item is in Zero G or in a container and if so, havok will not be disabled.
The script attached to the alias also moves items back to their original position so if you see stuff moving that is why.
Some custom scripts, a magic effect, perk and spell are attached to the player that tracks when the player changes cells and then resets the quest with the Reference Collection Alias. This ensures that the Alias is refilled with nearby objects to disable havok on them. It will also reset the quest on loading a save. There is a failsafe added to ensure that the script is finished before the quest is reset to keep from having suspended scripts. See Detect Player Cell Change (Without Polling) for a performance friendly way to tracking player cell changes.
There are no vanilla forms overridden which means no conflicts, no needing updates when Starfield is updated, and no patches for bug fix mods like Starfield Community Patch (SFCP) or Unofficial Starfield Patch – USFP.

Credits:

Aurelianis

Download mod

File File size
7z Stay Put REDUX-1-0 9 KB
7z Stay Put REDUX - Shattered Space-1-0 3 KB
Share mod:

Leave a Reply

Your email address will not be published. Required fields are marked *