Jump to content

About This File

Description

 

This is a compatibility and QOL patch for Backpack Containers by BusinessGoose.

 

I originally made this patch for personal use as I play with a carry weight limited game and wanted a way to access my pack more easily and make the way the pack works more immersive when the player undresses (or is stripped). Since it seems to work well I thought I'd see if anyone else finds it useful.

 

Patch Features

 

For Players

 

  • Holding down the Left Alt key when using the drop backpack key will open the backpack after it is unequipped and equip it again when you close it's container menu. The backpack will not auto open if you are in combat or swimming.
  • When you (or anyone else!) unequips your body armor or clothing your backpack will also be unequipped and placed on the ground beside you. 
  • Integration with  Sexlab Survival - Your equipped backpack will be searched for contraband and items will be stolen from your backpacks if left unattended
  • Equipping a new backpack whilst your old one is on the ground will convert the "old" backpack into a static container
  • Returning to the old backpack and emptying it will place the old backpack item back in your inventory removing it from the world
  • Up to 10 "abandoned" backpacks are supported , if an 11th pack is abandoned the oldest "abandoned" backpack and it's contents will be deleted! 
  • Your equipped backpack will drop to the ground if you enter bleedout - this feature can be toggled off in the MCM

 

For Modders

 

  • Added a lightweight dependency free method to access the items in an equipped backpack.

 

Spoiler

;NB Allow a few seconds on each game load to allow the mod to resync the backpack before running a check. Remember to check the Backpack state by reloading the  StorageUtil FormValue each time you are going to do something with it or you may find your mod interacting with a backpack dumped miles away in the wilderness!

   

    ObjectReference Backpack = StorageUtil.GetFormValue(PlayerRef, "_BC_Backpack_Container") as ObjectReference
    If Backpack
        ;Backpack is equipped and contains items - you can use the Backpack container objectreference as you would any other
    Else
        ;Backpack empty/not equipped or Mod is not installed
    EndIf
 

 

Requirements LE/SE

 

Backpack Containers V1.0 LE  - Compatible with SE   

PapyrusUtil LE V3.3+ / SL V3.9+

 

Recommended for the full limited inventory/backpack experience

 

Realistic Capacity LE / SE

 

Installation/Uninstall

 

Install with your Mod Manager and allow the patch to overwrite the original files. To uninstall just remove the patch and reinstall the original mod. 

 

As the scripts on run on demand it should be safe to install/uninstall on a game in progress.

 

Upgrading

 

It is safe to upgrade from  V1.23+ to V2.10

Edited by Bane Master


What's New in Version 2.10 SE (28/10/22)

Released

  • Rewrote weight checking code to use SE Container Weight function - SE Backpack pickup is now much faster and uses much less script resource
  • Fixed abandoned backpack container alignment & clipping
  • Backpacks will stay in the same position & alignment when abandoned

 

Change Log

Spoiler

Version 2.04

  • The currently equipped backpack will be dropped on the ground if the player enters bleedout  -  can be toggled off in the MCM

 

Version 2.03

  • Improved activation for dropped backpacks
  • Fixed a bug affecting backpack handling during equip/unequips
  • SE version released

 

Version 2

  • Equipping a new Backpack whilst your original pack is on the ground will convert the old pack into a static container
  • Equipping a new pack triggers a warning message pop up asking the player to confirm the pack change -  can be toggled off in the MCM
  • If you go back to your "old" backpack and empty it  the backpack will be removed from the world and added to your inventory 

 



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use