You are viewing a potentially older version of this package. View all versions.
ButteryStancakes-AccurateStaminaDisplay-2.1.4 icon

AccurateStaminaDisplay

Fixes the stamina meter display on the HUD, so it more accurately represents your current stamina percentage.

Date uploaded a month ago
Version 2.1.4
Download link ButteryStancakes-AccurateStaminaDisplay-2.1.4.zip
Downloads 19634
Dependency string ButteryStancakes-AccurateStaminaDisplay-2.1.4

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Accurate Stamina Display

Fixes the stamina meter display on the HUD, so it more accurately represents your current stamina percentage.

In the original game, the meter appears full until you are at about 90% stamina, and it appears empty when you still have about 20% stamina left.

Includes several configurable settings:

  • Keep the "empty at 20%" behavior, since some players are accustomed to using it as an indicator to not release the sprint key.
  • Display the entire meter, but change its color to red when you can't sprint, so you know how much time is left until you can sprint again.
  • Always display the last 20% of the meter in red, a sort of hybrid approach that offers information from both of the above settings.
  • Gradually change the meter's base color to indicate "endurance" from TZP-inhalant. (orange -> yellow -> green -> white)

CHANGELOG

v2.2.0

  • Added a new stamina meter graphic with re-aligned segments (for the exhaustion breakpoint)
    • Thx riveren for the suggestion and the graphic itself!
    • Applies to all settings other than "Empty" (which uses the original graphic)

v2.1.4

  • Fixed ChangeColor setting having inconsistent behavior

v2.1.3

  • Minor performance optimizations

v2.1.2

  • Fixed a couple of cases where AlwaysShow will still draw the red meter even when stamina should be invisible

v2.1.1

  • Retooled fix from v2.0.3 to fix the meter color flickering when dismounting ladders

v2.1.0

  • ExhaustionIndicator setting now supports dropdown with LethalConfig

v2.0.4

  • Previous change now also applies to flying with a jetpack (or tulip snakes)

v2.0.3

  • Movement is no longer considered hindered when climbing a ladder

v2.0.2

  • Fixed an oversight that caused AlwaysShow + InhalantInfo to create some ugly color combinations

v2.0.1

  • Fixed red bar still being visible while critically injured when using AlwaysShow
  • When using ChangeColor or AlwaysShow, the bar will appear red now when you are "hindered" (stuck in spider webs or deep water)

v2.0.0

  • Complete code rewrite
  • Simplified the config
  • Should feel exactly the same in-game, but hopefully a lot cleaner and neater under the hood
  • ShyHUD compatibility

v1.2.0

  • Added "AlwaysShowRedPortion" setting to display the last 20% of the stamina bar as red always
    • Similar to "EmptyEarly", this makes it easy to tell when releasing the sprint key would cause exhaustion
    • This still allows you to measure how long exhaustion will last, as well as how long you can keep sprinting before automatic exhaustion
    • The best of all worlds!
    • "ExhaustedRed" must be enabled and "EmptyEarly" must be disabled or this setting will not take effect

v1.1.2

  • Added "EmptyEarly" setting to restore the vanilla game's behavior of displaying an empty stamina meter for the last 20%
    • This makes it easier to tell when releasing the sprint key would lead to early exhaustion
    • However, this makes it more difficult to tell exactly how much longer exhaustion will last

v1.1.1

  • Adjusted the green used by the inhalant palette

v1.1.0

  • "InhalantInfo" configuration setting added
    • Gradually shifts the color of the meter as you inhale TZP for endurance
    • Light usage = yellow. Heavy usage = green. Overdose = white.
  • Refactored how the player script is referenced

v1.0.2

  • Meter no longer turns red when critically injured (seems this also caused the flickering bug)

v1.0.1

  • "ExhaustedRed" configuration setting is now enabled by default
  • Fixed a bug that caused meter color to erroneously flicker

v1.0.0

  • Initial release