Hytale:NPC 自定义类别的创作指南!

  • 购买游戏时,在支付界面使用创作者代码 HytaleCN 以表示对中文社区的支持,这对我们来说十分重要,感谢您的支持!(点击查看示意图
原文链接
https://x.com/Hytale/status/2030313039430373442
作者
Hytale
译者
ETW_Zero
转载许可
允许规范转载。转载须注明原文链接、作者、译者、所属平台(HytaleCN)。
我们再来看看 Hytale 新世界模组制作大赛的另一个类别!

🤖 非玩家角色(NPCs) 🤖


为 Hytale 注入生机!

创建或更新 NPC——小动物、敌人或 Boss 战——赋予它们让玩家难忘的行为。将资产配置系统发挥到极致。

就像我们的世界生成 V2 技术一样,不需要编程知识!

举个有趣的例子,你可以使用我们的战斗行动评估器(Combat Action Evaluator),打造一支由 NPC 冒险者组成的队伍,让他们展现出类似玩家的团队协作(比如有治疗、输出、坦克等角色)。

非常期待看到大家用这些工具创造出怎样的作品!

NPC 编辑器、活动详情及资源均在以下内容中 🧵 #Hytale #HytaleModding



NPC 编辑器


这是一个独立的 NPC 模板编辑器。无需直接处理原始的 JSON 描述符,你将获得一个结构化的用户界面,用于构建和修改 NPC 行为——包括状态、转换、传感器、动作以及构成 NPC 模板的所有其他内容。

它可以打开并编辑当前所有的 NPC 模板,并且能显著简化创建新模板和变体、处理兼容性问题以及其他常见的 NPC 相关任务。

NPC 技术概述


官方 HYTALE DISCORD 服务器


如何参与 / 模组制作比赛详情


了解更多关于提交作品、比赛详情、类别指南、常见问题解答等信息,请访问:
https://hytale.curseforge.com/newworldscontest


注意:你需要一个 NPC 描述符文件才能正常使用 NPC 编辑器(否则下拉菜单中将没有任何内容)。

如何在当前"正式版"中生成 NPC 描述符


  1. 进入你某个世界的用户存档文件夹。
  2. /mods/ 文件夹下,新建一个名为 Hytale_NPC 的文件夹。
  3. Hytale_NPC 文件夹内创建一个名为 NPCModule.json 的文件,并写入以下内容:
    {
    "Descriptors": true,
    "DescriptorsFile": true
    }
  4. 启动游戏,并进入你添加了该文件的存档世界。
  5. 此时,在你的存档文件夹根目录下应该会生成 npc_descriptors.json 文件。

如何在当前预发布版中生成 NPC 描述符


启动预发布版游戏 > 进入游戏后,输入命令 /npc descriptors,系统便会生成该文件并告知你文件所在的位置。



原文:
Let's go over another category in the Hytale New Worlds Modding Contest!

🤖 NPCs 🤖
Bring life to Hytale!
Create or update NPCs - critters, enemies, or boss fights - with behaviors players will remember. Push the asset configuration system to its limits.

Just like our WorldGen V2 tech, no coding knowledge is required!

As a fun example, you could use our Combat Action Evaluator to build an NPC party of adventurers that can show teamwork similar to players (with a healer, DPS, tank, etc.).

It's going to be amazing to see what everyone creates with these tools!

NPC Editor, event details + resources in the replies 🧵 #Hytale #HytaleModding



THE NPC EDITOR
This is a standalone NPC template editor. Instead of working directly with raw JSON descriptors, you get a structured UI for building and modifying NPC behavior - states, transitions, sensors, actions, and everything else that makes up an NPC template.
It can open and edit all current NPC templates and makes creating new templates and variants, working with compatibility, and other common NPC tasks significantly easier.
- Download at:
(Windows-only for the time being)
- More information found via @HytaleModding 's post:
- HytaleModding Community Discord Server:

NPC TECHNICAL RUNDOWN
- Current state of the NPC tech talked about in our latest blog post:

OFFICIAL HYTALE DISCORD SERVER
- Keep up with announcements, engage with the community, and more:

HOW TO JOIN / MODDING CONTEST DETAILS
Learn more about submissions, the contest details, category guidelines, FAQ, and more at:



**NOTE: You need an NPC descriptors file to properly use the NPC Editor (otherwise nothing will show up in the dropdowns)

HOW TO GENERATE NPC DESCRIPTORS ON CURRENT 'RELEASE'
Navigate to the user save for one of your worlds.
Under the /mods/ folder, add a new folder called Hytale_NPC.
Add a file called NPCModule.json inside Hytale_NPC with the following contents:

{
"Descriptors": true,
"DescriptorsFile": true
}

Launch the game and start the world you added the file to.
The npc_descriptors.json file should be generated in the root of your save folder.

HOW TO GENERATE NPC DESCRIPTORS ON CURRENT 'PRE-RELEASE'
Launch the game on Pre-release > once you are in-game, type /npc descriptors and it'll provide the file and tell you where it is located