A requested mod for user kden. Honestly, I'm just surprised this didn't exist until now.
This mod creates a stamina circle inside your health bar which reduces as your stamina depletes, and refills as your stamina replenishes.
The bar currently depletes counterclockwise, which is opposite the direction that your armor/health does. This is partially to help distinguish it from the damage absorption stacks circle (which is nearly in the same location) and partially because when I made it, it would flicker the starting position by a pixel every frame or so. It was extremely unpleasant to look at, so I didn't enable it, but you can always go into hudteammate.lua and un-comment it.
Instructions for re-enabling clockwise rotation:
Spoiler!
For those who don't know what a "code comment" is, you just change-- stamina:set_rotation((1 - ratio) * 360)
to
stamina:set_rotation((1 - ratio) * 360)
(It's the same line, without the two hyphens at the beginning. Those hypens will disable the line of code if they're present.)
Upon request, I can make another version which works with custom HUDs, but at the moment this was all that was needed.
For a screenshots of the mod, including one while using the Maniac perk deck, see the Images tab of this page.
Known Issues:
- Incompatible with CustomHUD by Se7en
If you have a suggestion or if you need help with any of my mods, please contact me via Discord. You can also leave feedback in the mod comments!
If you encounter a bug, please report it below, and attach any crash log associated with it. Be descriptive, if you can! I can't fix bugs that I don't know about!
If English is not your first language, just try your best!