

Stamina Panic
Stamina too low? No need to panic right!?Details
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.
MOD COMES WITH 2 AUDIO FILES
YOU WILL NEED TO CREATE A FOLDER FOR EXTRA FILES THAT YOU DO NOT WANT PLAYED. So pick the one youd DO NOT WANT to have looped, then create a folder within the mods folder and move that audio file into it so it is ignored by the plugin.
๐ฎ 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 mods 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! YOU WILL NEED TO CREATE A FOLDER FOR EXTRA FILES THAT YOU DO NOT WANT PLAYED.
๐ง Installation
- Download the mod
- Extract and Drop into the BepInEx plugins folder
- 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 |
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 above threshold.
-
Volume updates dynamically during playback based on config.
๐จโ๐ผ Credits
- Author: tony4twenty
- Check out my other PEAK mods