balrond WeaponCrate
Let you build armors and weapons without item stands
模組介紹 作者原文
⚔️ BalrondWeaponCrate - Mod Documentation
Overview
BalrondWeaponCrate introduces a new build mechanic to Valheim that allows players to place weapons and armor as decorative build pieces.
Using a special item called the Weapon Crate, players can browse and place supported equipment directly in the world.
The system behaves similarly to the vanilla Serving Tray, turning items into placeable objects without modifying the original items themselves.
This makes it easy to create:
- ⚔️ Weapon racks
- 🛡 Armor displays
- 🏰 Decorative armories
- 🗡 Trophy halls
⚠️ The mod is requireds to be both present on Server and all Clients to ensure proper visuals and building functionality.
✨ Key Features
- 🧰 Weapon Crate tool that unlocks weapon and armor placement
- ⚔️ Automatically converts weapons into build pieces
- 🛡 Automatically converts armor pieces into build pieces
- ✨ visual effects of item drop are refactored to behave same as food items
- 🔧 Automatically filters invalid items such as monster gear or internal prefabs
- 🧠 Smart prefab validation to ensure only usable player equipment is included(WIP)
⚠️ The mod is in early stage some items may create a Nav Mesh Error making monsters bug out if you notice it please destroy said item. if item comes from any other of my mods or vanilla please report it to me so i can fix it. If item is modded but dosen't come from Balrond mods you may need to request help from mod Author and you may notice me of that issue.
📦 Weapon Crate
The Weapon Crate is a special item that works similarly to the Serving Tray.
When equipped and used, it opens a custom build menu category containing all supported weapons and armor pieces.
Prefab ID
WeaponCrate_bal
Behavior
- When holding the Weapon Crate, players gain access to the Weapon Crate build menu
- Items appear as placeable decorative pieces
- Placing an item consumes the item as a building cost
- Destroying the placed object returns the item (depending on configuration)
- Pressing Left CTRL while building rotates object in X axis by 30 degree
- Pressing Left ALT while building rotates object in Z axis by 30 Degree
🧱 Supported Items
The mod automatically detects and supports all vanilla item types
Items are detected directly from the ObjectDB item list, so newly added vanilla items are supported automatically.
🔍 Item Filtering
To avoid including non-player equipment, the mod uses several validation checks.
An item must:
- Have at least one icon
- Have a valid visual mesh
- Be a recognized weapon or armor type
Items are skipped if they are:
- Monster equipment
- Loot-only prefabs
- Internal or unused objects
This ensures the build menu stays clean and relevant.
⚠️ some items still may show up if you find any issue please post info on my discord so i can patch it.
✨ Visual Effects
VFX are handled using a setup copied form food item where Item Sparkles are nested inside item
fx_ItemSparkles
VFX_Root
This ensures compatibility with Valheim's internal visual systems and dosent create an item drop visual when item is placed using the tool.
🧠 How the System Works
- The mod scans ObjectDB for all item prefabs
- It filters the list to find valid player weapons and armor
- Each item prefab is converted into a Piece build object
- A PieceTable is attached to the Weapon Crate
- The crate exposes the generated build pieces in the build menu
All logic runs automatically when the ObjectDB initializes.
🏗 Example Uses
Players can now build:
- 🏰 Armory display walls
- ⚔️ Weapon racks
- 🛡 Knight armor stands
- 🗡 Treasure rooms
- 🏹 Archery displays
- 🏺 Decorative museums
This greatly expands decorative building possibilities in Valheim.
📌 Compatibility Notes
- ✔ Works in singleplayer
- ✔ Works in multiplayer
- ✔ Compatible with wards / guard stones
- ✔ Uses vanilla prefabs
- ✔ Compatible with moded weapons and armors
The mod dynamically builds the placement list at runtime, making it highly compatible with updates.
📂 Installation
Install using yo
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。