BetterFallDamage
Makes fall damage make more sense, as well as highly customizable.
About this mod Author’s original text
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
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: