Content Patcher Animations 封面

Content Patcher Animations

星露谷物语模组工具

使用 Content Patcher 的 "EditImage" 操作来为贴图制作动画。

前置 Mod

详情

Content Patcher Animations 让你可以通过 Content Patcher 的 EditImage 操作来为贴图制作动画。

安装

  1. 安装最新版本的 SMAPI 和 Content Patcher。
  2. 将 mod 文件夹解压到 Stardew Valley/Mods。
  3. 使用 SMAPI 运行游戏。

使用

对于玩家

只需安装该 mod,它就会自动对使用它的内容包生效。

对于 mod 作者

  1. 为 Content Patcher 创建一个内容包。
  2. 为你想制作动画的图片添加一个 EditImage 补丁。
  3. 为该补丁设置一个唯一的 LogName 值。
  4. 为你的补丁添加以下两个字段:
    • AnimationFrameTime 是每一帧之间的 tick 数(以游戏 tick 计,1 tick 为 1/60 秒);
    • AnimationFrameCount 是帧数。

所有帧必须在同一个 FromFile 图片中水平相邻排列。

请查看可选文件以获取示例内容包。

兼容性

兼容 Linux/macOS/Windows 上的 Stardew Valley 1.5.5+,单人和多人游戏均可使用。

另请参阅