FlattenheimDigDeeperCompatibility

版本 v1.0.1·更新於 2026-10-06

For Heimlife-Flattenheim 1.0.0 only. Do NOT install alongside SelfFulfillment-Flattenheim, whose re-upload already includes native Dig Deeper compatibility.

模組介紹 作者原文

Flattenheim + Dig Deeper Compatibility

This companion BepInEx plugin changes the two custom terrain operations in Flattenheim 1.0.0:

  • Flattenheim's ApplyFlatten
  • Flattenheim's ApplyRampTerrain

It replaces their fixed -8 m / +8 m delta clamp with the live MaximumDepth and MaximumHeight values from Dig Deeper. The lower delta is -MaximumDepth; the upper delta is MaximumHeight.

The patch does not edit either original mod. It does not patch vanilla terrain tools, Flattenheim's radius settings, or its terrain restoration behavior. It has no separate config or toggle; remove this plugin DLL to disable the compatibility patch.

Requirements

  • BepInExPack Valheim 5.4.2350 or later
  • Dig Deeper 1.3.1
  • Flattenheim 1.0.0

The plugin checks that Flattenheim still has the expected -8 / +8 clamp in each method. If an update changes those methods, the affected method is left unchanged and an error is written to the BepInEx log.

Install

Copy BepInEx/plugins/FlattenheimDigDeeperCompatibility/FlattenheimDigDeeperCompatibility.dll into the matching BepInEx/plugins/FlattenheimDigDeeperCompatibility/ folder in the Valheim profile where both mods are installed. Restart Valheim.

To remove the compatibility, delete that plugin folder. Keep Dig Deeper and Flattenheim installed as usual.

Build

The source is in src/CompatibilityPlugin.cs. On Windows, build it with:.\build.ps1 -ProfileRoot "C:\path\to\Valheim\profile" -ValheimManagedPath "C:\path\to\Valheim\valheim_Data\Managed"

The script uses the profile's BepInEx/core/BepInEx.dll and 0Harmony.dll, plus Valheim's UnityEngine.dll, UnityEngine.CoreModule.dll, and netstandard.dll.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_ValheimCrystal-DigDeeperHeimlife-Flattenheim

檔案與校驗

檔案名稱
FlattenheimDigDeeperCompatibility-1.0.1.zip
檔案大小
18.3 KiB