SpawnSuppressionVisualizer

版本 v1.1.0·更新於 2026-09-13

Draws the enemy spawn suppression radius of workbenches, fires, wards and other base pieces in the world.

模組介紹 作者原文

Spawn Suppression Visualizer for Valheim

A small BepInEx mod that draws the enemy spawn

suppression radius of your structures directly in the world, so you can see exactly

where creatures can and cannot spawn around your base.

How spawn suppression works in Valheim

Valheim's SpawnSystem picks random points around players and runs each one through

IsSpawnPointGood. One of those checks rejects any point that lies inside an

EffectArea of type PlayerBase. Workbenches, forges, fires, wards and similar

"base" pieces carry a PlayerBase area (typically a 20 m sphere). Anywhere those

spheres cover, the natural spawner will not place a creature.

This mod does not guess or hard-code radii. It reads the live list of effect areas from

the game (EffectArea.GetAllAreas()), takes the radius from each area's collider, and

draws a ring on the ground for every area near you. Whatever the game uses, you see.

It can also draw NoMonsters areas (monster AI refuses to path into them) in a second

colour.

Features

  • Ground fill around you: green where creatures cannot spawn, red where they can. Gaps in

your coverage show up instantly as red patches between the green.

  • Terrain-hugging rings for every PlayerBase (green) and NoMonsters (blue) area in range.
  • Optional centre post per area so you can tell which structure a ring belongs to.
  • Toggle with a hotkey (default F7) or the console command spawnsupp [on|off|toggle].
  • On-screen label with the number of areas currently drawn.
  • Everything configurable through BepInEx config (colours, width, segments, height mode,

max distance, refresh rate, enabled on start).

  • Client-side only. Safe on a dedicated server (does nothing there) and does not touch

gameplay: no spawn logic is modified.

Installation

  • Install BepInExPack Valheim.
  • Copy ValheimSpawnSupp.dll into /BepInEx/plugins/ValheimSpawnSupp.
  • Start the game once. The config file appears at

/BepInEx/config/f1shar.ValheimSpawnSupp.cfg.

Usage

  • Press F7 (configurable) in a world to toggle the overlay.
  • Or open the console (F5) and type spawnsupp, spawnsupp on, or spawnsupp off.
  • Walk around your base: the overlay refreshes once a second by default, so freshly placed

or destroyed pieces show up almost immediately.

  • Red ground means a creature can spawn there. Place a workbench, campfire or ward so the

green discs overlap until no red is left inside your walls.

Configuration

| Section | Key | Default | Meaning |

| --- | --- | --- | --- |

| General | ToggleKey | F7 | Hotkey to toggle the overlay. |

| General | EnabledOnStart | false | Show the overlay as soon as you enter a world. |

| Areas | ShowPlayerBase | true | Draw PlayerBase areas (the actual spawn suppression radius). |

| Areas | ShowNoMonsters | true | Draw NoMonsters areas. |

| Areas | PlayerBaseColor | green | Ring colour for PlayerBase areas. |

| Areas | NoMonstersColor | blue | Ring colour for NoMonsters areas. |

| Appearance | LineWidth | 0.2 | Ring width in metres. |

| Appearance | Segments | 72 | Vertices per ring. |

| Appearance | HeightOffset | 0.3 | Metres above the ground the ring floats. |

| Appearance | HeightMode | Terrain | Terrain, Solid (follow floors and rocks) or Flat. |

| Appearance | ShowCenterMarker | true | Draw a short post at each area's centre. |

| Ground fill | FillMode | Both | Both, Covered (green only), Uncovered (red only) or None. |

| Ground fill | CoveredFillColor | green | Tint where spawns are blocked. |

| Ground fill | UncoveredFillColor | red | Tint where spawns are possible. |

| Ground fill | FillOpacity | 0.3 | Strength of the tint, 0 to 1. |

| Ground fill | FillRadius | 80 | Metres around the player that get shaded. |

| Ground fill | FillCellSize | 2 | Grid spacing of the fill mesh in metres. |

| Ground fill | FillHeightOffset | 0.35 | Metres above the ground the fill floats. |

| Performance | MaxDistance | 250 | Only draw areas within this distance of the player. 0 = unlimited. |

| Performance | RefreshInterval | 1 | Seconds between

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
SpawnSuppressionVisualizer-1.1.0.zip
檔案大小
41.2 KiB