TerrainMistile

版本 v1.1.2·更新於 2026-10-05

Spawns configurable TerrainMistiles from changed terrain. They seek the edit, detonate, and reset player-made height/paint changes while preserving world/location terrain. Tune biome chance, interval,

截圖 共 5 張

模組介紹 作者原文

TerrainMistile

Spawns configurable TerrainMistiles from changed terrain. They seek the edit, detonate, and reset player-made height/paint changes while preserving world/location terrain. Tune biome chance, interval, radius, health, color, and base protection.

TerrainMistiles try to reset changed terrain, but players can stop them by destroying them before impact.

Terrain changes near player bases can be protected from TerrainMistile spawn checks. The base-check radius and required number of unique base prefabs are configurable per biome.

TerrainMistile spawn chance, interval, visual color, health, and reset radius can be configured per biome.

How It Works

  • Changed terrain is grouped into 32m terrain units.
  • Each changed unit rolls on its biome rule interval while at least one player is within playerSearchRadius.
  • TerrainMistiles target changed terrain points, not players.
  • A TerrainMistile reset happens when it reaches terrain impact or uses its self-destruct attack.
  • Killing a TerrainMistile before self-destruct does not reset terrain.
  • Normal TerrainMistiles recheck base protection before resetting; protected targets or targets with nearby base zones still loading are discarded without a reset. Enforcers bypass this check.
  • Successful resets prompt nearby players to check the localized TerrainMistile Compendium entry, at most once every 60 seconds.
  • Reset clears player-style TerrainComp height and paint deltas in resetRadius.
  • Location and world baseline terrain are preserved, so location terrain changes can remain after reset.
  • Expand World Data blueprint terrain snapshots are protected using their loaded bounds and sample spacing, including when the location's exteriorRadius is smaller than its saved terrain.
  • TerrainMistiles use nonblocking colliders so terrain and pieces do not trap them before impact.

TerrainMistileEnforcer

TerrainMistileEnforcer is a same-size companion prefab intended for external spawn systems such as DropNSpawn events. TerrainMistile does not spawn it through its own periodic spawn rolls.

  • It selects the horizontally nearest living player to its spawn point, then targets the horizontally closest eligible changed terrain around that player.
  • Its localized display name uses the separate terrainmistile_enforcer_name token.
  • Its horizontal target search radius is the larger of 128m and the highest enabled biome playerSearchRadius.
  • It ignores only the TerrainMistile playerBaseValue target suppression.
  • The target biome must still have an enabled TerrainMistile rule.
  • Expand World Data/location protected terrain, temporary external terrain exclusions, and existing target reservations remain protected.
  • Its reset radius and visual color come from the current target biome rule; initial health comes from the first acquired target. Biomes without a dedicated rule use defaults.
  • It retries target acquisition for 10 seconds and then despawns without resetting if no eligible changed terrain is found.
  • A targetless Enforcer does not consume the normal TerrainMistile maxSpawn allowance.

DropNSpawn event entries must specify a biome, and insidePlayerBase: true is needed when the native SpawnSystem spawn point itself may be inside a vanilla PlayerBase effect area:

spawns:

  • prefab: TerrainMistileEnforcer

spawnSystem:

biomes: [All]

insidePlayerBase: true

huntPlayer: false

huntPlayer does not affect Enforcer terrain selection or movement; leave it false or omit it.

DropNSpawn event spawns replace that event's entire spawn list, so keep any existing event spawn entries that should remain.

BepInEx Config

  • Enable TerrainMistile: globally enables new TerrainMistile spawns. Existing TerrainMistiles remain active when disabled.
  • Lock Configuration: server admin config lock.

Localization

English and Korean localization are embedded in TerrainMistile.dll, so the mod keeps its built-in translations when only the DLL is installed. TerrainMistile also loads optional flat YAML files named

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
TerrainMistile-1.1.2.zip
檔案大小
315.5 KiB