物质世界v42026年12月5日 更新

Outward 模组项目模板

用于快速开始制作 Outward 模组的项目模板。建议使用 Visual Studio 或 Visual Studio Code;模板附带 VS Code 构建和测试任务。启用模组需要先用 Partiality Launcher 为游戏打补丁;若要制作带键位绑定的模组,请改用 Custom Keybindings Project Template。

Outward 模组项目模板

用于快速开始制作 Outward 模组的简单项目模板。

  • 建议使用 Visual Studio 或 Visual Studio Code。
  • 模板附带 .vscode/tasks.json,可在 Visual Studio Code 中构建和测试。
  • 启用模组前需要使用 Partiality Launcher 为 Outward 打补丁。
  • 若计划在模组中加入键位绑定,请使用 Custom Keybindings Project Template。

欢迎在帖子(Posts)版块提出使用模板时遇到的问题,作者表示会整理常见问题解答。

可加入 Outward 官方 Discord 的模组制作频道:https://discord.gg/aueWpwR

作者提供 Patreon 支持页面:https://www.patreon.com/stianhoiland

使用项目模板

开始构建前,请确保文件路径与本机环境一致。

在 MyPartialityMod.csproj 中,以下引用路径需要按你的系统调整:

<Reference Include="UnityEngine">
  <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Outward\Outward_Data\Managed\UnityEngine.dll</HintPath>
</Reference>

<Reference Include="Assembly-CSharp">
  <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Outward\Outward_Data\Managed\Assembly-CSharp.dll</HintPath>
</Reference>

<Reference Include="HOOKS-Assembly-CSharp">
  <HintPath>C:\Program Files (x86)\Steam\steamapps\common\Outward\Outward_Data\Managed\HOOKS-Assembly-CSharp.dll</HintPath>
</Reference>

若使用 Visual Studio Code 的任务,还需要在 .vscode/tasks.json 中将部署目标路径改为本机 Outward 的 Mods 文件夹。模板示例中的部署命令会将生成的 DLL 复制到该目录。

使用 Partiality Launcher

安装并启用模组需要 Partiality Launcher:

  1. 下载 Partiality Launcher。
  2. 解压 PartialityLauncher.zip,运行 PartialityLauncher.bat。
  3. 在 Partiality Launcher 中选择 File > Open Game,找到 Outward.exe。通常位于 C:\Program Files (x86)\Steam\steamapps\common\Outward。
  4. 此时,Outward.exe 所在目录中会出现 Mods 文件夹。
  5. (可选)如果 APPID of the game 为空,填入 Outward 的 Steam AppID:794260。
  6. 将模组的 .dll 文件放入 Mods 文件夹。
  7. 在 Partiality Launcher 中点击 Refresh Mod List,勾选该 DLL,再点击 Apply Mods。

之后新增 Mods 文件夹中的模组时,需再次使用 Partiality Launcher。若遇到异常,也可以尝试 Refresh Mod List、Clear Mod Metadata 和 Apply Mods。

**署名:**Stian。

来源与文件

  • 原作者:Stian
  • 原项目:Outward Mod Project Template
  • 文件:Outward Mod Project Template v4(ID:94)
  • 来源上传者:kongenav

文件说明

See changelog for details

来源列出的依赖与关系

  • 作者列出的前置:Partiality Launcher — To enable your mod you have to patch Outward with Partiality

前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。

<!-- aoe-mods-source:nexusmods:outward:20 -->

下载模块

共 1 个来源
立即下载推荐来源
前往下载