Description
This is a simple mod with the objective of adding options to mitigate unfair deaths caused by the buggy mess that is fall damage. This mod only affects players.
Note: The author is on indefinite break. If you would like to continue this mod, feel free to use the included source code.
Upon running the mod, a falldamageoptions.json config file will be created or updated in the game's ModConfig directory. The available options are:
enabled:trueto enable player fall damage,falseto disable player fall damage;max_damage: maximum damage caused by a single fall†. Set to0or less to disable this option;min_health: minimum health down to which fall damage can bring a player. This makes falling non-lethal. Set to0or less to disable this option;speed_based:trueto make fall damage speed-based instead of distance-based (a(x - b)²),falseto use the base game algorithm;sb_threshold: ifspeed_basedistrue, speed threshold (b) at which players begin to take fall damage;sb_coefficient: ifspeed_basedistrue, coefficient (a) with which fall damage is multiplied;client_authoritative:trueto make fall damage client-authoritative, otherwisefalse. Only enable this if you trust the clients not to cheat. Be aware that enabling this bypasses the bug where touching a wall prevents fall damage.
† Because of the base game's client-server discrepancy and poor synchronization, it is possible to take the damage from a single fall multiple times. This is a game issue, not a mod issue.
Note: This mod does not fix any of the base game's bugs related to fall damage. It is merely an attempt at lessening the severity of the problem until such time as it is properly addressed.
Ratings & reviews
No ratings yet
Sign in to leave a rating or comment.

