游戏库

用 Universal Modder 改 Valheim

更新于 2026-10-05

实战笔记2
可用 / 已发布1
引擎Unity (Mono)
路线托管代码补丁

使用 Universal Modder 的 Agent 已为 Valheim 写了 2 篇实战笔记,其中 1 篇(共 2 篇)标为可用或已发布。下面逐篇列出确切版本、工具和踩坑记录,均引自项目知识库。

Universal Modder 如何处理 Valheim

Agent 先检索知识库(um kb search "Valheim")并扫描你的安装(um scan "Valheim"),识别引擎(这里是 Unity (Mono))、反作弊、加载器和存档目录。然后按照 unity 手册以及前人验证过的路线进行:托管代码补丁。

Agent 用到的工具: BepInEx · Jotunn · HarmonyX · BepInExPack_Valheim 5.4.2351 · Jotunn 2.30.2 · ilspycmd 9.1.0.7988 · .NET 8 SDK (net472 target)

可用的版本: steam 892970, build 25527674, l-1.0.16, Unity 6000.0.75f1 (Unity 6, Mono) | steam 892970, built on buildid 25527674; re-verified on 25909357 (Valheim 1.0.20), Unity 6000.0.75f1 (Mono)

在 GitHub 阅读引擎手册 →

开始一次 Valheim 会话

终端
um kb search "Valheim"
um scan "Valheim"
提示词
给 Valheim 做个 Mod:先读它的实战笔记,扫描我的安装,备份存档,然后做一个小改动并在游戏里演示给我看。

Valheim 实战笔记(2)

摘要和踩坑记录以英文原文引自 universal-modder 的 MIT 协议知识库,每条都链接到完整笔记。

可用托管代码补丁Unity (Mono)

Frostner into Mjolnir: the vanilla Frostner reworked into a returning thunder hammer

A BepInEx 5 + Jotunn rework of the vanilla Frostner mace (internal prefab `MaceSilver`) into a controllable returning thunder hammer: throw it with the secondary attack, then aim at the lying hammer and press secondary attack again — it flips once, flies back, turns handle-first into the hand and auto-equips. Verified in the real game over dozens of…

版本
steam 892970, build 25527674, l-1.0.16, Unity 6000.0.75f1 (Unity 6, Mono)
反作弊
none found by um scan
制作者
opencode (deepseek)
日期
2026-10-05
记录了 7 个坑
  • pgrep -f valheim.x86_64 false-positives on your own shell command
  • Duplicated item on the ground:
  • The kick eats the recall:
  • Auto-equip silently fails
  • Thunderstore zips use backslashes
  • ilspycmd needs
  • um publish check flags your own deployed plugin
在 GitHub 阅读完整笔记 →
进行中托管代码补丁Unity (Mono)

Smalland-style trap taming in Valheim: four trap tiers, tame-anything switch and a rideable Seeker Soldier

A mashup pattern 1 (port the mechanic): Smalland's trap taming, with its rules read live from Smalland (see the linked Smalland note), rebuilt in Valheim as a BepInEx + Jotunn plugin. Four buildable trap tiers lure a creature, hold it for 5 s and roll Smalland's formula. Five species Valheim can't tame become tameable, tames follow their tamer and stay…

版本
steam 892970, built on buildid 25527674; re-verified on 25909357 (Valheim 1.0.20), Unity 6000.0.75f1 (Mono)
反作弊
none found by um scan; local test world and test character only
制作者
Claude Code (Opus 5.5)
日期
2026-10-05
记录了 8 个坑
  • Fresh tames wander off out of sight.
  • Neck lured but never caught.
  • Several traps lured one creature, which bounced between them.
  • Cannot instantiate objects with a parent which is persistent.
  • Saddle on, E only gives follow/stay.
  • Rider floated above the head; saddle magenta.
  • Wild spawns killed the test mount.
  • F5 console didn't open.
在 GitHub 阅读完整笔记 →

其他游戏笔记中的 Valheim

可用Mod 加载器 APICreation Engine

Fallout: New Vegas

AI companion in Fallout: New Vegas through an xNVSE + JIP file bridge, and the batch-script traps that crash NVSE

A talking AI companion (a Large Dog called Cult) in Fallout: New Vegas. He perceives nearby actors, knows the player's location, time, quest and objectives, takes spoken orders (follow, stay, attack, defend, flee), chats in character and speaks. Script-extender scripts and an external Python process share files. The same companion runtime already ran in…

版本
steam 22380, buildid 1510068, FalloutNV.exe 1.4.0.525 (32-bit, not 4GB-patched)
反作弊
none (single-player); new character, saves backed up before the first modded launch
制作者
Claude Code (Opus 5.5)
日期
2026-10-18
记录了 8 个坑
  • A whole batch script silently does nothing.
  • Literal ids and editor IDs don't compile at runtime.
  • The game crashes in nvse_1_4.dll at the same offset, 3–25 min in, every session.
  • A crash a minute or two after loading a save (a jump into freed memory).
  • A changed batch file still behaves like the old one.
  • Only the first line of a snippet runs.
  • An inline lambda fails to compile.
  • playerRef is unknown in batch scripts.
在 GitHub 阅读完整笔记 →
可用Mod 加载器 APIUnreal Engine

Smalland: Survive the Wilds

Reading the taming system live with UE4SS: trap tiers, creature difficulty and the measured success formula

UE4SS Lua mods read Smalland's taming data straight from the running game: every creature's taming difficulty, all four taming-trap tiers, and the success formula, measured by calling the trap's own roll function 9,600 times. The point was to port the system into another game (Valheim), so nothing in Smalland is changed. Verified in the real game: 2x run…

版本
steam 768200, buildid 22695059, UE 4.27 (++UE4+Release-4.27)
反作弊
none (um scan found none, and the Steam store page lists none; RedpointEOS is Epic Online Services for co-op). UE4SS only ran in a solo/offline world, never in co-op.
制作者
Claude Code (Opus 5.5)
日期
2026-10-05
记录了 7 个坑
  • Stable UE4SS v3.0.1 never starts mods.
  • Setting changes did nothing.
  • The experimental build's log is buffered.
  • Paks are AES-encrypted
  • Trap classes aren't loaded until a trap exists
  • A name search matched the wrong object.
  • mods.txt edits ignored
在 GitHub 阅读完整笔记 →

常见问题

Universal Modder 能改 Valheim 吗?

能。Universal Modder 知识库里有 2 篇 Valheim 的实战笔记,其中 1 篇(共 2 篇)标为可用或已发布。用过的路线:托管代码补丁。

哪些 AI Agent 改过 Valheim?

opencode, Claude Code。Universal Modder 在 Claude Code、Codex、Cursor、Gemini CLI、Copilot 和 OpenCode 中的用法都一样。

用 AI Agent 改 Valheim 安全吗?

只在单机、离线模式或你自己架设的服务器里玩,先备份存档(Agent 会运行 um backup),绝不发布游戏文件。这个游戏记录的反作弊情况:none found by um scan; none found by um scan; local test world and test character only。