tony4twenty-Stamina_Panic icon

Stamina Panic

Stamina too low? No need to panic right!?

Last updated 2 weeks ago
Total downloads 2405
Total rating 1 
Categories Mods Audio Quality Of Life Client Side
Dependency string tony4twenty-Stamina_Panic-1.0.2
Dependants 0 other packages depend on this package

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

Stamina Panic

Sound the alarm when your stamina gets too low.

This mod plays a customizable looping audio cue when your stamina drops below a defined threshold โ€” perfect for keeping you alert during long climbs or dangerous sprints.


๐ŸŽฎ Features

  • ๐Ÿ”Š Looping Audio Alert: A sound plays continuously when your stamina drops too low.
  • โš™๏ธ Configurable Volume: Adjust volume between 0โ€“100% in real time using ModConfig.
  • ๐ŸŒบ Custom Threshold: Set your desired stamina warning threshold.
  • ๐ŸŽต Custom Audio Support: Drop your own .ogg or .wav sound file into the mod folder.
  • โŒ No Lobby Noise: Audio only plays during actual gameplay scenes.
  • โฑ๏ธ Startup Delay: A 30-second grace period after starting a run avoids false alerts while stamina fills up.
  • โž• LOOPABLE audio files come with the download but add your own if youd like!

๐Ÿ”ง Installation

  1. Download the mod
  2. Extract and Drop into the BepInEx plugins folder
  3. Launch Game to generate the config file ๐Ÿ”ฅor use Thunderstore Mod Manager!๐Ÿ”ฅ

Drop your custom audio file in:

BepInEx/plugins/tony4twentys-Stamina_Panic/audio/

Accepted formats: .ogg or .wav


๐Ÿ› ๏ธ Configuration

The config file is located at:

BepInEx/config/tony4twentys.Stamina_Panic.cfg

Or configure live in-game using ModConfig.

Options:

Setting Description Default
StaminaThreshold Stamina value that triggers alert (0.0 โ€“ 1.0) 0.2
CueVolume Volume level for the sound (0 โ€“ 100) 100
SoundFolderPath Location of audio file (auto-detects first .ogg/.wav) Set automatically
FadeOutTime Time in seconds to fade out the audio when stamina recovers 1.5

๐Ÿง  How It Works

  • The mod waits 30 seconds after gameplay begins.

  • It then checks your TotalStamina value every second.

  • If your stamina is below the configured threshold:

    • It starts playing your custom sound.
    • The sound loops until stamina goes back up.
  • Volume updates dynamically during playback based on config.


๐Ÿ“ Example Folder Structure

BepInEx/
โ”œโ”€โ”€ config/
โ”‚   โ””โ”€โ”€ tony4twentys.Stamina_Panic.cfg
โ”œโ”€โ”€ plugins/
โ”‚   โ””โ”€โ”€ tony4twentys-Stamina_Panic/
โ”‚       โ””โ”€โ”€ audio/
โ”‚           โ”œโ”€โ”€ __.ogg
โ”‚           โ””โ”€โ”€ __.wav

๐Ÿ‘จโ€๐Ÿ’ผ Credits