BlackMetalBuildables
Adds black metal variants of vanilla Valheim iron building pieces.
模組介紹 作者原文
Black Metal Buildables
Black Metal Buildables is a small Valheim mod that adds black metal variants of vanilla iron building pieces.
The current implementation clones existing Valheim iron build-piece prefabs, changes their gameplay metadata, registers them in the Hammer build menu, and applies a lightweight runtime material tint so they read as black metal without custom meshes, textures, icons, or Unity asset bundles.
Current Pieces
| Piece | New prefab | Source prefab | Cost |
|---|---|---|---:|
| Black Metal Cage Floor 1x1 | blackmetal_floor_1x1 | iron_floor_1x1_v2 | 1x Black Metal |
| Black Metal Cage Floor | blackmetal_floor_2x2 | iron_floor_2x2 | 2x Black Metal |
| Black Metal Gate | blackmetal_gate | iron_grate | 2x Black Metal |
| Black Metal Cage Wall 1x1 | blackmetal_wall_1x1 | iron_wall_1x1 | 1x Black Metal |
| Black Metal Cage Wall 2x2 | blackmetal_wall_2x2 | iron_wall_2x2 | 2x Black Metal |
All pieces are added to:
Piece table: Hammer
Category: HeavyBuild
AI USAGE
How I used AI:
- Used to validate C# syntax
- Used to generate documentation
- Used to verify Jotunn, BepInEx, and Unity API
- Generated icon
- Assisted in using 3D modeling software
a. Knew almost nothing about 3D modeling, so used it to get answers on how to accomplish tasks in the software (blender, unity)
b. With it, I used open source materials and primitive items in blender & unity to create the Black Metal Corewood Reinforced assets from scratch
i. To be ultra clear: I performed the work, with the AI teaching me how to use the software effectively
Build
From the repo root:
dotnet build.\src\BlackMetalBuildables.csproj
Build output:
src\bin\Debug\net472\BlackMetalBuildables.dll
Manual Install For Testing
This repo intentionally does not auto-deploy into a mod profile.
After building, copy:
src\bin\Debug\net472\BlackMetalBuildables.dll
into a BepInEx plugins folder. Then launch Valheim with that profile.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: