You are viewing a potentially older version of this package. View all versions.
TactiKot-StaminaStatsTactikot-1.3.4 icon

StaminaStatsTactikot

Responsive, configurable stamina and affliction numbers for current PEAK builds, with stable rounding and a low-overhead native HUD overlay.

Date uploaded 17 hours ago
Version 1.3.4
Download link TactiKot-StaminaStatsTactikot-1.3.4.zip
Downloads 1780
Dependency string TactiKot-StaminaStatsTactikot-1.3.4

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301

README

StaminaStatsTactikot

Adds clear numeric stamina, bonus stamina, and active affliction values to PEAK's native HUD.

This compatibility fork is based on StaminaStats 1.1.5 by pixx and remains under the MIT License.

Highlights

  • Follows PEAK's HUD scale, opacity, visibility, scene changes, and ultrawide layout.
  • Shows regular stamina, bonus stamina, and each visible affliction independently.
  • Supports balanced, standard, and truncating rounding with zero, one, or two decimal places.
  • Prevents nearby affliction labels from overlapping by using up to three compact rows.
  • Keeps visible stamina and affliction rounding stable while preserving their rounded total. Bonus stamina is shown separately because it is extra capacity.
  • Reuses PEAK's font, text material, and current HUD colors, including colors already adjusted by the game.
  • Updates values at a configurable rate while visibility and position continue to track every frame.

Installation

  1. Remove the original com.StaminaStats.dll if it is installed. The two mods are intentionally incompatible.
  2. Install the Thunderstore package, or copy StaminaStatsTactikot.dll to PEAK/BepInEx/plugins.
  3. Start PEAK.

The config is created at PEAK/BepInEx/config/com.tactikot.StaminaStatsTactikot.cfg. On first launch, compatible display settings are copied automatically from com.StaminaStats.cfg when present.

Settings

All display settings update live:

  • Enable or disable the overlay.
  • Show stamina, bonus stamina, and afflictions independently.
  • Choose balanced, standard, or truncating rounding and show zero, one, or two decimal places.
  • Show % and optionally show values that round to zero.
  • Set stamina and affliction font sizes.
  • Set outline thickness and overall label opacity.
  • Move stamina and affliction labels vertically.
  • Use one to three affliction label rows and adjust their transition duration.
  • Enable high-contrast rendering or follow PEAK's current HUD colors.
  • Choose a value refresh rate from 5 to 60 Hz (20 Hz by default).

Verbose diagnostic logging is available separately under Debug.

Build and test

The game path defaults to the standard Steam location and can be overridden without editing the project:

dotnet test tests\StaminaStatsTactikot.Tests\StaminaStatsTactikot.Tests.csproj -c Release
dotnet build StaminaStatsTactikot.csproj -c Release -p:PeakGameDir="D:\Games\PEAK"

To test, build, validate, and create a Thunderstore ZIP in dist:

.\Build-ThunderstorePackage.ps1

Credits

Original mod by pixx. Compatibility fork by TactiKot.

CHANGELOG

Changelog

1.3.4

  • Kept penalty values on separate stamina-bar rows so an extra stamina penalty cannot push a main-bar value onto a second row.

1.3.3

  • Tightened wrapped affliction label rows so overlapping HP and status values remain close together.

1.3.2

  • Rendered numeric labels above PEAK's native stamina bars and frames so values remain fully visible.

1.3.1

  • Centered status penalty values on their native HUD segments after PEAK's extra-stamina bar changes.
  • Added balanced, standard, and truncating rounding modes with zero, one, or two decimal places.
  • Made balanced rounding direction-aware so values do not jump against unchanged or one-way raw input while the displayed total stays correct.
  • Fixed zero stamina retaining a displayed value of one after decreasing.
  • Added support for PEAK's separate petrification value and future status entries exposed through native HUD segments.
  • Removed the special less-than-one display; rounded zero values now follow the existing zero-visibility setting.

1.2.1

  • Prevented unchanged values from jumping by one while another stamina or affliction value changes.
  • Restored left-edge placement for the main and bonus stamina values.
  • Tightened label row spacing and delayed lane switching until labels nearly touch.
  • Added smooth configurable movement when affliction labels change rows.

1.2.0

  • Rebuilt the overlay inside PEAK's native stamina HUD so it now follows HUD scaling, opacity, scene lifecycle, and visibility correctly.
  • Made regular stamina, bonus stamina, and affliction values independently configurable.
  • Added <1 display for small positive values, optional zero values, opacity, offsets, collision-avoiding label lanes, high contrast, and refresh-rate settings.
  • Reused one shared text material and removed per-frame collections, string allocations, component searches, and redundant Harmony update patches.
  • Stabilized rounding near fractional boundaries while keeping the displayed total correct.
  • Added automatic migration from the original com.StaminaStats.cfg when the new config does not exist yet.
  • Added automated tests and package validation.

1.1.0

  • Values now round together, so their total stays correct.

1.0.0

  • First release of StaminaStatsTactikot.
  • Fixed the missing stamina number on current PEAK versions.
  • Kept regular stamina, bonus stamina, and status values.
  • Kept the original display settings.