Stamina Panic

版本 v2.0.0·更新於 2026-09-20

Stamina too low? No need to panic right!? Now includes flashing stamina bars, extra stamina warnings and an affliction only setting!

模組介紹 作者原文

Stamina Panic

Sound the alarm when your stamina gets too low.

Version 2.0.0 — full rebuild. The bar outline flashes when you are in the red, and you can pick separate sounds for stamina and extra stamina. Extra stamina is flash only by default.

Photosensitivity is already respected: if that vanilla option is on, the outline gets a static tint instead of pulsing.

Use ModConfig to tweak it live.

The pack still comes with audio files. Drop extras next to the plugin and pick them in the config.

Find the mod in the Peak Modding Discord under #mod-releases for issues, reports, or thanks.

If you are already a part of the PEAK modding discord then use this link to go directly to the post Stamina Panic

Features

  • Main stamina outline flashes the whole time you are in the red zone
  • Extra-stamina outline flashes while extra stamina is low and being drained
  • Optional warning sounds for each bar, with their own volume, fade, loop, and duration cap
  • Extra-stamina sound is off by default (flash only)
  • Dropdown audio picker in ModConfig — both cues default to Panic.ogg when that file is present
  • Volume follows the vanilla Master Volume slider
  • Optional AfflictionOnly (off by default): only warn when afflictions have eaten the bar, not when you sprint / climb / jump
  • CueLoop off = play once until that bar goes back above the threshold
  • Optional duration cap so a long affliction stretch does not loop forever (off by default; 180 seconds when enabled)
  • Fades out if you pass out or die while a cue is playing
  • Ignores the empty-bar moment on spawn / revive
  • No lobby noise — only during level scenes

Installation

  • Download
  • Place the files in BepInEx/plugins/
  • Launch the game — config is generated on first run

🔥 or use a Mod Manager 🔥

Drop extra.ogg or.wav files next to the plugin DLL (subfolders are fine). Reopen ModConfig if you add files while the menu is already open.

Configuration

Config file:

BepInEx/config/tony4twentys.Stamina_Panic.cfg

Or configure live with ModConfig.

This is a 2.0.0 rebuild, so old Audio / General.StaminaThreshold keys will not carry over. Re-check settings after updating.

General

| Setting | Default | Description |

|---------|---------|-------------|

| Enabled | true | Master toggle |

| EnableLogging | false | Write stamina / extra-stamina debug lines to the BepInEx log |

Stamina

| Setting | Default | Description |

|---------|---------|-------------|

| Threshold | 0.2 | Red-zone threshold (0–1) |

| AfflictionOnly | false | If true, only afflictions eating the bar count (injury, hunger, poison, weight, etc.). Sprinting / climbing / jumping will not trigger it |

| PlayAudio | true | Main warning sound. Off = flash only |

| AudioFile | Panic.ogg | Dropdown of.ogg.wav files next to the plugin |

| CueVolume | 100 | 0–100, also scaled by Master Volume |

| FadeOutTime | 1.5 | Seconds to fade out when it should stop |

| CueLoop | true | Loop while in the red zone. Off = play once until stamina goes back above the threshold |

| LimitCueDuration | false | Stop the sound after the cap even if you stay in the red zone. Flash is not capped |

| CueDurationLimitSeconds | 180 | How long the sound may play per red-zone stretch |

Extra Stamina

| Setting | Default | Description |

|---------|---------|-------------|

| Threshold | 0.2 | Extra bar is low at or below this (0–1) |

| PlayAudio | false | Extra warning sound. Off by default so extra stamina only flashes |

| AudioFile | Panic.ogg | Separate dropdown; same file list as stamina |

| CueVolume | 100 | 0–100, also scaled by Master Volume |

| FadeOutTime | 1.5 | Seconds to fade out |

| CueLoop | false | Loop while extra stamina stays below the threshold. Off = play once until it goes back above |

| LimitCueDuration | false | Cap the extra sound only |

| CueDurationLimitSeconds | 180 | How long the extra sound may play per low stretch |

| FlashColor | #FFB02A | Extra outline flash color (#RRGGBB) |

Visual

| Setting | Default | Descrip

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_PEAK

檔案與校驗

檔案名稱
Stamina_Panic-2.0.0.zip
檔案大小
877.2 KiB