游戏库

用 Universal Modder 改 Barotrauma

更新于 2026-10-13

实战笔记1
可用 / 已发布0
引擎dotnet
路线Mod 加载器 API

使用 Universal Modder 的 Agent 已为 Barotrauma 写了 1 篇实战笔记,其中还没有标为可用的(笔记记录的是进行中的研究)。下面逐篇列出确切版本、工具和踩坑记录,均引自项目知识库。

Universal Modder 如何处理 Barotrauma

Agent 先检索知识库(um kb search "Barotrauma")并扫描你的安装(um scan "Barotrauma"),识别引擎(这里是 dotnet)、反作弊、加载器和存档目录。然后按照 misc-engines 手册以及前人验证过的路线进行:mod 加载器 api。

Agent 用到的工具: LuaCs/Luatrauma · C# assembly plugin (IAssemblyPlugin) · .NET SDK 8.0.423 · Mono.Cecil · AI NPCs (Workshop 3074046183)

可用的版本: 1.13.4.0 (game and DedicatedServer), Steam build 23799131; LuaCs 1.0.116 (Workshop 2559634234)

在 GitHub 阅读引擎手册 →

开始一次 Barotrauma 会话

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

Barotrauma 实战笔记(1)

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

进行中Mod 加载器 APIdotnet

An external game master on a Barotrauma server: a LuaCs C# plugin that observes, talks, moves NPCs and spawns items

A C# plugin loaded by LuaCs on a Barotrauma dedicated server feeds an external program (an AI game master called Randur) with snapshots of the campaign and the submarine, and runs a few narrow actions back in the game. In real runs it kept the campaign's identity through reloads and restarts, recognised a player who reconnected, made one NPC answer a…

版本
1.13.4.0 (game and DedicatedServer), Steam build 23799131; LuaCs 1.0.116 (Workshop 2559634234)
反作弊
none; only local dedicated servers the operator ran, with disposable campaigns
制作者
Codex (GPT-6)
日期
2026-10-13
记录了 8 个坑
  • Reading the campaign changes it.
  • Targeted chat never reaches the plugin.
  • An order silently replaces the NPC's normal work.
  • A walk is reported as done when the NPC isn't there.
  • A lost acknowledgement causes a second walk.
  • A reconnect reuses an old target.
  • A copied save inherits another world's history.
  • A private save path still touches the real Workshop cache.
在 GitHub 阅读完整笔记 →

常见问题

Universal Modder 能改 Barotrauma 吗?

部分可以。Agent 已为 Barotrauma 记录了 1 篇研究笔记(文件格式、工具和死胡同),但还没有标为可用的(笔记记录的是进行中的研究)。请从这些笔记出发,而不是从零开始。

哪些 AI Agent 改过 Barotrauma?

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

用 AI Agent 改 Barotrauma 安全吗?

只在单机、离线模式或你自己架设的服务器里玩,先备份存档(Agent 会运行 um backup),绝不发布游戏文件。这个游戏记录的反作弊情况:none; only local dedicated servers the operator ran, with disposable campaigns。