0 of 0

File information

Last updated

Original upload

Created by

Yahim0

Uploaded by

Yahim0

Virus scan

Safe to use

About this mod

This mod enables stamina regeneration while sprinting. Kind of like in Oblivion.
Formula.: newStamina = oldStamina - sprintCost + staminaRegen.

Requirements
Permissions and credits
Changelogs
Donations
This mod aims to balance combat, immersion, survival and convenience, all in one swoop in two different ways.

First Mode (Default)
In this mode recovering stamina while sprinting is possible. Stamina regen rate will be taken into account when you sprint, and if your stamina regen rate is higher than the cost, you
will recover stamina while sprinting.
Formula.: newStamina = oldStamina - sprintCost + staminaRegen


Second Mode
Same as the first one, but you will not recover stamina while sprinting, and will only mitigate the costs until it stops spending stamina completely.
Formula.: newStamina = oldStamina + min(0, -sprintCost + staminaRegen)
To use this mode you must set staminaRegenWhileSprint to false on the ini file; otherwise the first mode will take effect.

Note: In vanilla, stamina regenerates faster when your stamina pool is fuller. I haven't changed this behavior since I think it is more interesting gameplay wise.

Note: This will apply to all actors with stamina including horses.

Config: regenMultiplier in the ini file will multiply by your stamina regen rate while you sprint. So you can start halting sprint costs sooner or later in your game.

Install: Use a mod manager of choice or drop it into your Data folder.

Incompatibilities: None known so far.
I have manually added compatibility with a few race and combat mods.
In upcoming version 2.0 I won't have to manually add compatibility to those mods because of a cleaner implementation.

How to check if it's working: If you don't regenerate stamina while sprinting, it may be because your staminaRate is too low or your sprinting costs are too high, use "player.setav staminarate 15" to set your stamina regen to 15, or maybe some other value, and watch results.



Special thanks to Fenix31415 for teaching me RE and Epinter for helping me navigate his AE template mod.

Source code