BetterFallDamage
Makes fall damage make more sense, as well as highly customizable.
模組介紹 作者原文
Better Fall Damage
Overhauls how fall damage is calculated while improving quality of life.
Features
- Smoother fall damage calculations
- Includes carry-weight in fall damage calculations
- More challenging defaults
- Customizable to every skill level
- Light-weight networking allowing players to receive settings from the host player
Added Settings
DisableServerSideConfig:
Stops you from receiving the settings your host player is using.
Useful if you want to essentially run the game at a higher/lower difficulty than them.
DisableFallDamage:
Prevents you from taking any fall damage.
FallTimeDamage:
How long the player needs to be falling for before fall damage starts racking up.
I wouldn't recommend setting this to 0.
FallTimeInstaKill:
How long the player needs to be falling for before they instantly die on impact.
You probably shouldn't set this to 0 either.
FallTimeDamageExponent:
Changes the rate that fall damage accumulates while falling.
Some useful defaults:
- 1.0 - Linear build up
- 1.7 - Natural-feeling build up (Default)
- 0.5 - Punishing, front-heavy build up
DisableWeightScaling:
Stops weight from affecting your fall damage
WeightScalingFactor:
How much weight it takes to halve FallTimeDamage and FallTimeInstaKill
The lower this number is, the harder your games will be
The Math
The base game currently deals fall damage in tiers based on how long you have been falling:
- 1s - 30 dmg
- 1.05s - 50 dmg
- 1.18s - 80 dmg
- 1.28s - 100 dmg
Better Fall Damage calculates the damage by smoothly increasing the final damage as you fall.
If you have weight-scaling enabled, this is how I calculate the damage you take when you hit the ground:
WeightScale = (PlayerCarryWeight / WeightScalingFactor) + 1
WSFallTimeDamage = FallTimeDamage / WeightScale
WSFallTimeInstaKill = FallTimeInstaKill / WeightScale
WSTranslatedFallTimeInstaKill = WSFallTimeInstaKill - WSFallTimeDamage
WSDistanceAlongDamageRamp = (CurrentFallTime - WSFallTimeDamage) / (WSTranslatedFallTimeInstaKill)
DamageAmount = (WSDistanceAlongDamageRamp^fallTimeDamageExponent) * 100
If you do not have weight-scaling enabled, this is how I calculate the damage you take when you hit the ground:
TranslatedFallTimeInstaKill = FallTimeInstaKill - FallTimeDamage
DistanceAlongDamageRamp = (CurrentFallTime - FallTimeDamage) / (TranslatedFallTimeInstaKill)
DamageAmount = (DistanceAlongDamageRamp^FallTimeDamageExponent) * 100
If you would like to play around with the numbers to get settings you like, you can mess around with This Desmos Page
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: