StaminaCostTweaks
Client-side stamina cost/regen tweaks: climb/sprint/glider %, regen delay, extreme low-stamina mode, free-stamina hotkey. 體力消耗/回體/極限攀爬可調(僅客機).
模組介紹 作者原文
StaminaCostTweaks / 體力消耗倍率
Client-side stamina drain & regen tweaks for PEAK.
PEAK 體力消耗與恢復調整模組(僅客機 / Client Side)。
Author / 作者: youxia173
Chinese alias / 中文名: 體力消耗倍率
Version / 版本: 1.0.11
Features / 功能
English
- Scale stamina cost for sprint, climb, climb-jump, vine idle, and glider (open + continuous)
- Scale natural stamina regen rate (food / morale extra stamina unaffected)
- Scale regen delay after spending stamina (vanilla ~1s / ~2s when empty)
- Extreme climb mode: when you are nearly out of main or bonus stamina, climb / vine / rope / glider costs drop to a lower % (default 30%)
- Optional free stamina hotkey (default top-row 6); set to None to disable the toggle
- Only affects your local character; teammates need their own copy
中文
- 可分別調整:衝刺 / 攀爬 / 攀爬跳 / 藤蔓空閒 / 滑翔傘 的體力消耗比例
- 可調整自然回體速度(不影響食物、士氣等額外體力)
- 可調整耗體後開始回體的等待時間(原版約有體力 1 秒 / 空條 2 秒)
- 極限攀爬:主體力或額外體力見底時,攀爬 / 藤蔓 / 繩子 / 滑翔傘消耗降爲更低比例(默認原版的 30%)
- 可選免費體力快捷鍵(默認大鍵盤 6);設爲 None 則無法開啓
- 僅對本機角色生效;隊友需各自安裝
Install / 安裝
- Install BepInExPack PEAK
先安裝 BepInExPack PEAK
- Install this mod with a mod manager, or copy youxia173.StaminaCostTweaks.dll into BepInEx/plugins/
用管理器安裝,或把 DLL 放到 BepInEx/plugins/
Recommended categories / 建議分類: Client Side · Quality Of Life · Mods
How to edit config / 如何改配置
- Launch the game once with the mod installed (creates the config file).
裝好模組後先啓動一次遊戲(會生成配置文件)。
- Close the game, then edit:
關閉遊戲後編輯:
BepInEx/config/youxia173.StaminaCostTweaks.cfg
- Change values, save, restart the game.
改完保存,再進遊戲生效。
Percent rule / 百分比規則:
100 = vanilla / 原版 · 80 = 80% of vanilla / 原版的八成 · 0 = none / 不耗或不回(視具體項而定)
Range for most cost/regen options: 0–500.
Config options / 配置項一覽
[StaminaCost] — costs & regen / 消耗與回體
| Key | Default | English | 中文 |
|-----|---------|---------|------|
| SprintCostPercent | 80 | Sprint stamina cost % | 衝刺消耗百分比 |
| ClimbCostPercent | 80 | Continuous climb cost % | 攀爬(持續)消耗百分比 |
| ClimbJumpCostPercent | 80 | Climb-jump cost % | 攀爬跳躍消耗百分比 |
| VineIdleCostPercent | 80 | Vine idle (almost still) cost % | 藤蔓空閒消耗百分比 |
| GliderCostPercent | 80 | Glider open + continuous cost % | 滑翔傘(開傘+持續)消耗百分比 |
| StaminaRegenPercent | 120 | Natural regen speed % (~0.2/s vanilla). Does not affect food/morale bonus stamina | 自然回體速度 %(原版約 0.2/秒)。不影響食物/士氣額外體力 |
| StaminaRegenDelayPercent | 50 | Delay before regen after spending. Vanilla ~1s (stamina>0) / ~2s (empty). 50 = half delay | 耗體後開始回體的等待 %。原版約 1 秒 / 空條 2 秒。50 = 延遲減半 |
| ExtremeClimbEnabled | true | Enable extreme low-stamina mode | 是否啓用極限攀爬 |
| ExtremeClimbCostPercent | 30 | Cost % while extreme mode is active (vs vanilla). Overrides climb/vine/glider percents | 極限狀態下的消耗 %(相對原版)。會覆蓋攀爬/藤蔓/滑翔傘等分項 |
| ExtremeClimbBelowPercent | 10 | Threshold %. Triggers when: (bonus≈0 and current<N%) or (current≈0 and bonus<N%) | 閾值 %。觸發條件:額外≈0 且當前<N,或 當前≈0 且額外<N |
[Hotkeys] — free stamina / 免費體力
| Key | Default | English | 中文 |
|-----|---------|---------|------|
| ToggleFreeStaminaKey | Alpha6 | Toggle free stamina (skips all local UseStamina). Use Keypad6 for numpad. Set None to disable the hotkey (feature stays off) | 切換免費體力(跳過本機所有扣體)。小鍵盤用 Keypad6。設爲 None 關閉快捷鍵(無法開啓免費體力) |
Free stamina starts OFF every launch. Only works while free stamina is OFF for the percent options above.
免費體力每次開局默認關閉。上方百分比僅在免費體力關閉時生效。
Examples / 示例
[StaminaCost]
SprintCostPercent = 80
ClimbCostPercent = 80
GliderCostPercent = 80
StaminaRegenPercent = 120
StaminaRegenDelayPercent = 50
ExtremeClimbEnabled = true
ExtremeClimbCostPercent = 30
ExtremeClimbBelowPercent = 10
[Hotkeys]
ToggleFreeStaminaKey = None
- Want vanilla costs but faster regen: set cost keys to 100, keep StaminaRegenPercent = 120.
只要原版消耗、更快回體:消耗項改 100,回體保持 120。
- Want no free-stamina cheat key: ToggleFreeStaminaKey = None.
不要免費體力鍵:設爲 None。
Notes / 說明
- Client-side only — does not force effects on other players.
僅客機,不會強迫隊友生效。
- Applied around the game’s own difficulty stamina multipliers.
在遊戲難度體力系數附近生效(與難度係數疊加)。
- Compatible with PEAK + B
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: