PastureLights

版本 v0.1.1·更新於 2026-09-22

Let deer, boars and Darkhorn ignore selected placed torches during fire avoidance and wandering while retaining held-torch fear. Server-controlled settings.

截圖 共 1 張

模組介紹 作者原文

PASTURE LIGHTS

LIGHT THE FENCE. KEEP THE HERD.

A standing torch should not send your next deer running in circles.

Pasture Lights lets selected animals ignore selected placed torches and braziers. Deer, boars and Wizardry Darkhorn are included by default. A torch carried by a character still counts as a frightening fire source.

Compatibility / v0.1.1

Built against Valheim 1.0.15. Requires BepInExPack Valheim 5.4.2350 and ConditionalConfigSync 1.0.9. Install on every client and the dedicated server, with matching helper versions. Server settings control the shared behavior. Every participant must update to 0.1.1 together. Wizardry and CoreWoodExtras are optional.

SUPPORT ME ON KO-FI

If this makes your settlement a little easier to live in, buy me a coffee. Your support helps me spend more time on small improvements and compatibility fixes for modded games. A tip is optional and appreciated. Vercadi

A CALMER PASTURE / WHAT CHANGES

  • Wild deer, boars and Darkhorn (Sheep_TW) ignore the listed placed lights when evaluating fire avoidance and choosing random walking destinations.
  • Defaults cover vanilla standing torches, wall torches and braziers, three GB torch/brazier prefabs, and CoreWoodExtras' horn wall torch and corewood brazier.
  • Held torches remain frightening, including when they overlap a placed light.
  • Other species keep their existing behavior. Campfires and unlisted sources still count as fire.

This changes the fire-source queries in active avoidance and random walking-destination checks. Animals can still fear players, flee from attacks and take fire damage. It does not automatically tame them or make them follow you. Valheim already skips this fire-avoidance path for tamed creatures.

No new item, recipe, world object or save format is added. Existing animals can use the change; a new world is not required.

LIGHT THE WAY / INSTALLATION

  • Close Valheim and stop the dedicated server normally.
  • Install PastureLights and its dependencies in every player's active profile and on the server.
  • Start the server and clients. Test with a wild deer or boar near a standing wood torch, keeping your distance so fear of you does not hide the result.

Manual installation: copy plugins/PastureLights from this ZIP into BepInEx/plugins. Do not install a second copy through another manager.

Coming from the local test package? Remove the locally imported entry with the game closed, then install the published package. Keep one PastureLights.dll per installation and retain your config.

Removal: close the game and server, remove this helper from all installations, then restart. Original fire avoidance resumes. No world conversion is needed.

YOUR SETTINGS

The first launch creates BepInEx/config/vercadi.PastureLights.cfg.

[General]

Enabled = true

Lock server settings = true

Animal prefabs = Deer,Boar,Sheep_TW

Placed light prefabs = piece_groundtorch_wood,piece_groundtorch,piece_groundtorch_green,piece_groundtorch_blue,piece_walltorch,piece_brazierfloor01,piece_brazierfloor02,piece_brazierceiling01,GB_Standing_Torch,GB_Wall_Torch,GB_Standing_Brazier,mm_horn_walltorch,mm_corewood_brazier

Optional [Diagnostics] → Debug logging = true logs filtered queries on that machine only. It is off by default, limited to one line every two seconds and 60 lines per launch. Each line shows the species, whether this is an avoidance or walking-destination check, and an ignored/retained source. It does not report all possible causes of fleeing.

Lists use exact, case-sensitive prefab names, separated by commas. Names for absent mods do nothing. Held sources remain protected even if their name is listed. Edit the server config while stopped, then restart; clients receive the shared settings on connection.

FIELD NOTES / TROUBLESHOOTING

Look for ACTIVE: placed-light fire-avoidance and walking-destination filters registered in BepInEx/LogOutput.log. This confirms patch registration, not an animal behavior test. INACTIVE means the expected game meth

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheimshudnal-ConditionalConfigSync

檔案與校驗

檔案名稱
PastureLights-0.1.1.zip
檔案大小
21.8 KiB