You are viewing a potentially older version of this package. View all versions.
MM94-MonsterFallDamage-1.0.5 icon

MonsterFallDamage

Monsters and players take fall damage with a shared configurable formula. Set fall height threshold, damage per interval, and damage cap freely.

By MM94
Date uploaded 3 weeks ago
Version 1.0.5
Download link MM94-MonsterFallDamage-1.0.5.zip
Downloads 231
Dependency string MM94-MonsterFallDamage-1.0.5

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

MonsterFallDamage

MonsterFallDamage

Monsters — and optionally the player — now take fall damage with a fully configurable formula.
By default the settings match Valheim's vanilla player values, but you can freely tune or remove the damage cap.


Features

  • All monsters take fall damage on landing
  • Player fall damage now uses the same configurable formula (toggle via Apply To Player)
  • Same formula as vanilla player by default
  • Dead monsters are safely ignored
  • Multiplayer-safe (only the network owner calculates damage)
  • Compatible with BepInEx Configuration Manager for in-game adjustments

Configuration

Located at: BepInEx/config/com.mods.monsterfallDamage.cfg

Setting Default Description
Apply To Player true Apply this formula to the player as well (overrides Valheim default)
Min Fall Height (m) 4 Falls below this height deal no damage
Damage Interval (m) 16 Damage added for every X meters fallen above the minimum
Damage Per Interval 100 Damage dealt per interval
Max Damage (0 for unlimited) 100 Cap on fall damage. 0 means no limit

Default formula (same as player):

damage = (fallHeight - 4) / 16 × 100, capped at 100

Example — harsher setting (100 dmg per 6.5m, no cap):

Min Fall Height: 4 / Damage Interval: 6.5 / Damage Per Interval: 100 / Max Damage: 0


Installation

  1. Install BepInExPack Valheim
  2. Drop MonsterFallDamagePlugin.dll into BepInEx/plugins/
  3. Launch the game — config file is auto-generated on first run

Compatibility

  • Valheim (latest)
  • Works alongside other mods that add custom monsters
  • No known conflicts

Changelog

1.0.5

  • New: Apply To Player config option (default: true) — the player now uses the same configurable fall damage formula instead of the hardcoded Valheim default. Set to false to restore vanilla player behavior.

1.0.4

  • Bug Fix: The plugin was completely non-functional since release. The config key Max Damage (0 = unlimited) contained an illegal character (=), which caused BepInEx to throw an ArgumentException on startup and abort plugin initialization. As a result, no fall damage was ever applied to monsters. Fixed by renaming the key to Max Damage (0 for unlimited).

1.0.1

  • Config descriptions changed to English
  • Manifest description updated to English
  • Package structure improved (plugin subfolder)

1.0.0

  • Initial release