
减少冲刺耐力消耗并减缓恢复速度
冲刺体力消耗和体力回复随负重变化:越重越费、回得越慢;轻装冲刺只花约 1/9,满载 1/3。 Sprint drain and stamina regen scale with your carried weight: cheaper sprinting when light, slower regen when heavy.
查看大图更少的冲刺体力消耗和体力回复
Reduced Sprint Stamina Drain & Slower Regeneration
这个 mod 做什么 / What this mod does
冲刺体力消耗和体力回复,会跟着你身上背了多少东西走。
Sprint stamina drain and stamina regeneration now scale with how much you are carrying.
越重,冲刺越费体力、体力回得越慢;轻装时冲刺几乎不花体力。
The heavier you are, the more sprinting costs and the slower your stamina comes back. When light, sprinting is almost free.
不改任何游戏数据、不改 pak,只在运行时对体力值做加减。
No game data and no paks are touched - the values are adjusted at runtime only.
数值 / The numbers
负重比例 = 当前负重 ÷ 负重上限(就是背包界面上那个数字)。
Weight ratio = current weight / weight limit (exactly the number shown in your inventory).
默认手感 / Default values:
- 40% 及以下(轻装 / light):冲刺消耗 0.111x | 体力回复 1.00x
- 50%:冲刺消耗 0.148x | 体力回复 0.93x
- 70%:冲刺消耗 0.222x | 体力回复 0.80x
- 85%:冲刺消耗 0.278x | 体力回复 0.75x
- 100%(满载 / fully loaded):冲刺消耗 0.333x | 体力回复 0.70x
- 超过负重上限 / over the limit:体力被压到 0,跑不动 / stamina pinned to 0, you cannot sprint
也就是说:轻装冲刺只花原版约 1/9 的体力,满载也只花 1/3。
In short: sprinting costs about 1/9 of vanilla when light, and only 1/3 when fully loaded.
体力回复永远不会比原版快,只会在你背得越多时越慢。
Stamina regeneration is never faster than vanilla - it only gets slower as you carry more.
需要什么 / Requirements
- UE4SS(Lua 模组加载器)/ UE4SS (the Lua mod loader)
- 本模组自带 enabled.txt,会被自动加载,不需要改 mods.txt / Ships its own enabled.txt and is auto-loaded - mods.txt is not touched
安装 / Installation
- 手动:把包里的 Stalker2 文件夹合到游戏根目录,最终落到 *<游戏>\Stalker2\Binaries\Win64\ue4ss\Mods\WeightedStamina*
- Manual: merge the included Stalker2 folder into your game root so it ends up in *<game>\Stalker2\Binaries\Win64\ue4ss\Mods\WeightedStamina*
- MO2:直接"从压缩包安装",或把 Stalker2 文件夹放进 *<mods><任意名字>*
- MO2: install the archive directly, or drop the Stalker2 folder into *<mods><any name>*
用法 / Usage
- 载入存档后,打开一次背包(打开就行,不用停留)/ After loading your save, open your inventory once (a quick open is enough)
- 之后整局都会自动跟着实际负重走,捡东西、丢东西之后不用再开背包 / It then tracks your real weight for the whole session, no extra inventory visits needed
- 整局都没打开过背包的话,会先用兜底比例(默认 0.5)顶着 / If you never open it, a fallback ratio (0.5 by default) is used instead
为什么必须开一次背包:游戏的"当前负重"只在背包界面上算出来,平时并不存在这个值。
Why once: the game only computes your current weight while the inventory UI is on screen.
日志 / Log
写到 <游戏>\Stalker2\Binaries\Win64\ue4ss\WeightedStamina.log,读到负重时会记一行:
Written to <game>\Stalker2\Binaries\Win64\ue4ss\WeightedStamina.log; when it reads your weight it logs:
★★ 负重读到:105.39 / 184.00 kg = 比例 0.573
不想要日志:把 config.lua 里的 Log 改成 false。
To turn logging off, set Log = false in config.lua.
想自己调手感 / Tuning
改 config.lua,无需重新打包:
Edit config.lua - no repacking needed:
- DrainScale / RegenScale:整条曲线的总倍率 / overall multipliers for both curves
- FreeRatio:多少比例以内不额外收税(默认 0.40)/ free-load threshold (0.40)
- LowLoadMultiplier、FullMultiplier:消耗曲线两端(默认 1/3 → 1.0)/ drain curve endpoints (1/3 -> 1.0)
- MidRatio、RegenAtMid、RegenAtFull:回复曲线(默认 0.70 → 0.80 → 0.70)/ regen curve (0.70 -> 0.80 -> 0.70)
- OverCapacityStamina:超重时把体力压到多少(默认 0)/ stamina when over capacity (0)
- FallbackRatio:读不到负重时的兜底比例(默认 0.5)/ fallback ratio (0.5)
兼容性 / Compatibility
- 不改游戏数据、不改 pak,与背包类模组不冲突 / No game data or paks changed; compatible with inventory mods
- 与同样在运行时改写体力的模组(别的体力 mod)会互相顶,只能留一个 / Conflicts with other mods that rewrite stamina at runtime - keep only one
- 负重上限从游戏里读,不是写死的,换更大的背包也能跟上 / The weight limit is read from the game, so a bigger backpack works too
[spoiler]技术细节(排查问题时看)/ Technical notes (for troubleshooting)[/spoiler]
本模组读的不是某个"内部字段",而是背包界面上显示的那串数字:
The mod does not read some internal field - it reads the very number the inventory UI shows:
- 控件 / widgets: W_Inventory_C → InventoryWidget(W_PlayerGrid_C)→ WeightBar(W_WeightBar_C)
- 属性 / properties: CurrentWeightText、MaxWeightText、CurrentWeightTextPosition
- 每个 30 秒复查一次;控件随背包销毁时会自动重新抓取 / Re-read every 30 seconds; if the widget is destroyed it re-acquires it
日志里出现 链路断在... 说明读不到控件(通常是有别的模组替换了背包界面),此时会回落到 FallbackRatio。
If the log shows 链路断在... the widget could not be reached (usually another mod replaced the inventory UI) and the fallback ratio is used.
制作说明 / Credits
本 mod 的创意与需求由我个人提出;代码由 DeepSeek V4.1 Flash 全程制作。
The concept and requirements are mine; the mod itself (its code) was built end-to-end by DeepSeek V4.1 Flash.
封面与宣传图由 AI 生成(页面已按 N 网要求标注 AI Media)。
Cover and promotional art are AI-generated (the page is tagged AI Media as required by Nexus Mods).
作者 / Author:wyjzp | 版本 / Version:1.0.0 | 2026-09-30
正在加载版本记录…
正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。