TWIG Defenders
Experimental base defenders with eight biome-material tiers, 30m spear throws, melee, and hammer repair. Required on all peers. Real Steam and dedicated-server multiplayer testing is still pending.
模組介紹 作者原文
T.W.I.G. Defenders
Build a line of stationary wooden defenders that turn toward hostile creatures, throw spears, and fight at close range. Eight separately buildable tiers use materials from Meadows through Deep North. The normal training dummy keeps its vanilla behavior.
v0.4.0 is an experimental playtest build. Tested on Windows with Steam Valheim 1.0.12 (build 25253764). Real Steam multiplayer, dedicated servers, rendered presentation, and raid balance still need player testing. Start in a new disposable world and back up any existing saves before trying the mod there. A separate mod-manager profile does not isolate your world saves.
Features
- Build under Hammer → Misc, starting with T.W.I.G. Defender (Wood).
- Thirty-metre engagement range, spears at 35 m/s, and a minimum four-second interval between ranged attack starts. No ammunition is consumed.
- Native close-range melee when enemies get near. Spears deal 75% of each tier's melee base damage as pierce.
- Defenders stay anchored, turn toward enemies, and require line of sight. Walls stop attacks.
- They ignore players, tamed creatures, passive animals, and other defenders. Neutral Dvergr are excluded unless aggravated.
- Hammer repair restores health near the tier's station, with normal tool/stamina costs and ward restrictions. No repair materials are required.
- Player-built defenders return their recipe when dismantled or destroyed.
These are separate pieces, not automatic raid scaling or an in-place upgrade system. All tiers currently share the vanilla model and icon. This release adds spear attacks, not bows or new equipment models.
Installation
Mod manager (recommended)
- Close Valheim. Mod Manager or r2modman, select Valheim and create a fresh test profile.
- Install TWIG Defenders and its declared dependencies: BepInExPack Valheim 5.4.2350 and Jotunn 2.30.0. The manager handles dependency installation; verify the actual versions in the profile.
- Start Valheim through the manager's modded launch option.
- Create a disposable test world. Obtain a hammer, discover a Workbench and Wood, and build a Wood defender near the Workbench for 10 Wood.
You do not need Unity, a.NET SDK, the source project, or the developer test plugin to play. The package follows 's BepInEx layout; a clean mod-manager installation still needs acceptance testing.
Manual installation
- Close the game/server. Install the two dependencies above using their own instructions.
- Copy this ZIP's BepInEx/plugins/TwigDefenders folder into your Valheim installation's BepInEx/plugins folder. The final DLL location is:
/BepInEx/plugins/TwigDefenders/TwigDefenders.dll
- Keep only one active copy of TwigDefenders.dll. Do not leave an older copy in another plugins subfolder or combine duplicate manual/profile installations.
- Launch the modded game and use a test world first.
Multiplayer
Install the same mod version on the host/server and every player, along with BepInEx and Jotunn. This is not a server-only mod. Version matching is required. Dedicated-server deployment and Steam/PlayFab sessions are still test targets, not confirmed supported configurations.
Biome tiers
Damage below is base damage before native difficulty, skill, and resistance modifiers. Costs and stats are provisional.
| Tier / biome | Health | Melee blunt | Spear pierce | Materials | Station |
| --- | ---: | ---: | ---: | --- | --- |
| Wood / Meadows | 300 | 20 | 15 | Wood ×10 | Workbench |
| Bronze / Black Forest | 600 | 40 | 30 | Corewood ×20, Bronze ×10, Deer Hide ×4 | Forge |
| Iron / Swamp | 1,000 | 65 | 48.75 | Ancient Bark ×20, Iron ×15, Chain ×2 | Forge |
| Silver / Mountains | 1,400 | 90 | 67.5 | Finewood ×20, Silver ×15, Wolf Pelt ×6 | Forge |
| Black Metal / Plains | 1,900 | 120 | 90 | Finewood ×20, Black Metal ×20, Linen Thread ×10 | Forge |
| Carapace / Mistlands | 2,500 | 160 | 120 | Yggdrasil Wood ×20, Carapace ×20, Refined Eitr ×5 | Black Forge |
| Flametal / Ashlands | 3
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: