Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

comfortzone

Uploaded by

comfortzone

Virus scan

Safe to use

Tags for this mod

About this mod

A simple power that lets you temporarily boost your carry weight at the cost of lowering your max stamina.

Permissions and credits
Changelogs
Overview
This mod adds Fortify carry weight with stamina power. If you activate it while over encumbered, it will boost your carry weight so that you will no longer be carrying too much (you can run, fast travel or sprint - if you have any stamina left). The consequence is that it will lower you max stamina pool by the same amount it boosted your carry weight. It's supposed to be a temporary help when you're over encumbered and you want to get fast to your house/ to the nearest city to store all that stuff or to sell it.

I didn't really care about balancing this mod, so I'm putting it in the cheats category, just in case. It's basically the player.modav carryweight console command with more steps.

This is my first mod containing magic effects. I did my best to thoroughly test it. However, I recommend backing up your save if you decide to try the mod out. There was a lot of cases to cover while writing the scripts. If you find any bugs, let me know in the Bugs tab and I'll do my best to fix it.

Additional options and cases
The power will always try to fortify your carry weight to the level where you're no longer over encumbered. The exception would be a situation when you don't have enough max stamina left.
In that case, you will only get boost equal to your max stamina and while you'll be able to carry more, you'll still be over encumbered (you can turn partial boosts off via global variable).
There is also an unlimited (cheat) mode available: if your max stamina is lower than the boost you'd need, it will simply lower the max stamina to 0 and apply the full boost (you can turn unlimited mode on via global variable).

Reapplying the effect
Reactivating the power when you're already under its influence can cause one of the following:
  • reapply the effect with bigger magnitude - if you got over encumbered again and config allows for such case (you have enough stamina left/ unlimited mode on/ partial boosts on),
  • turn the effect completely off - if your current inventory weight is equal or lower than your initial carry weight,
  • do nothing - in all other cases.

You'll receive notifications of what's going on every time you activate the power (notifications can be turned off via global variable).

Turning the effect completely off
Activate the power while your current inventory weight is equal or lower than you original, unchanged carry weight. If you have notifications on, you'll receive notification Stamina and carry weight are back to normal.

Use case?
The way this mod works may seem weird and I realize it's not going to be everyone's cup of tea, but I made it for myself and I'm sharing it in case anyone would find it useful. I'm playing character who likes to pick up a lot of loot while adventuring (who doesn't). I'm leaving the dungeon heavily over encumbered and I want to quickly get somewhere to unload all of that loot, with no intention of combat along the way. That's when I activate the power and I don't really mind that, temporarily, I don't have any stamina.

I may have overcomplicated the idea a bit, but I wanted the mod to be as flexible as possible. Below are examples of different situations with description of outcomes when activating the power. I'm leaving it in the spoiler tags because it looks really scary and complex for some reason lol
Detailed examples
Spoiler:  
Show

  • inventory weight = 400, carry weight = 300, max stamina = 150: the power will fortify carry weight to 400 and lower max stamina to 50.
  • inventory weight = 600, carry weight = 300, max stamina = 150, unlimited mode = 0, partial boosts = 1: the power will fortify carry weight to 450, lower max stamina to 0.
  • inventory weight = 600, carry weight = 300, max stamina = 150, unlimited mode = 0, partial boosts = 0: the power won't activate any effect.
  • inventory weight = 600, carry weight = 300, max stamina = 150, unlimited mode = 1: the power will fortify carry weight to 600 and lower max stamina to 0.
  • initial carry weight = 300, fortified carry weight = 500, current inventory weight = 400: the power won't do anything.
  • initial carry weight = 300, fortified carry weight = 500, current inventory weight = 300: the power will turn the effect off completely (current carry weight <= initial carry weight).
  • initial carry weight = 300, fortified carry weight = 500, current inventory weight = 600, max stamina left = 130: the power will fortify carry weight to 600 and lower max stamina to 30.
  • initial carry weight = 300, fortified carry weight = 500, current inventory weight = 600, max stamina left = 30, partial boosts = 1: the power will fortify carry weight to 530 and lower max stamina to 0.
  • initial carry weight = 300, fortified carry weight = 500, current inventory weight = 600, max stamina left = 30, unlimited mode = 0, partial boosts = 0: the power won't do anything.
  • initial carry weight = 300, fortified carry weight = 500, current inventory weight = 600, max stamina left = 30, unlimited mode = 1: the power will fortify carry weight to 600 and lower max stamina to 0.


Technical details
The only way I'm touching the actor values is through ModActorValue() method. I'm never overwriting those values, never setting them to anything arbitrary. Only adding or subtracting from them. I'm taking into account only max base stamina, to avoid a potential bug where max stamina could eventually reach values below 0 if some temporary buffs were active when the power was activated.

Important: all needed actor values are remembered in the running quest's properties. Do not stop the quest manually (with console commands for example) while the power is active. (Not sure why you'd do that, but I'm leaving this warning just in case.)

Installation
With your mod manager. Backup your save before, just in case. The power will be added automatically on save load/ game start.

Uninstallation
The scripts fire only when you activate the power. I tested uninstalling and it didn't break anything, but you should be cautious, as with uninstalling any mod that contains scripts.
  • Backup your save, just in case.
  • Make sure the effect from this mod is not running on your character (check the Active Effects tab). To turn the power off, activate it while your inventory weight is equal or less than your initial, original carry weight.
  • Save your game.
  • Deactivate the mod.
  • Load your save, you'll get a notification about a missing esp, that's expected.
  • Make a clean save.
  • Done.

Configuration
Use set <global variable name> to <0/1> console command to configure the mod. Possible variables:
  • STCW_UnlimitedMode - a cheat within a cheat. In this mode the power will fully boost your carry weight even if you don't have enough max stamina left (it will simply leave your max stamina at 0). Default value: 0 (off).
  • STCW_PartialBoosts - allows for fortifying your carry weight even when the boost will still leave you over encumbered (because you don't have enough max stamina for full boost). Ignored when unlimited mode is on. Default value: 1 (on).
  • STCW_Notify - toggles notifications. I recommend to leave it on, at least in the beginning. Default value: 1 (on).