PEAK

Details

Last Updated
3 weeks ago
First Uploaded
3 weeks ago
Downloads
4K
Likes
1
Size
889KB
Dependency string
tony4twenty-Stamina_Panic-1.0.4
Dependants

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

  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
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

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.