NPC 角色资源
约 426 字大约 1 分钟
基础字段:
GUID:参阅 GUID。Type:NPC。IDuint16:必须唯一。PlayerKnowsNameFlagIDuint16:非 0 时,在指定 Bool Flag 变为 true 前,NPC Name 显示为???。例如填 20,则直到 ID=20 的Flag_BoolReward 设为 true 才显示真实姓名。
Clothing
以下字段接受 Item Legacy ID 或 GUID:
ShirtPantsHatBackpackVestMaskGlasses
Holiday Outfit
NPC 可以在指定 Seasonal Event 使用独立 Outfit。
Halloween
设置 Has_Halloween_Outfit Flag 后,可使用:
Halloween_ShirtHalloween_PantsHalloween_HatHalloween_BackpackHalloween_VestHalloween_MaskHalloween_Glasses
Christmas / Festive
设置 Has_Christmas_Outfit Flag 后,可使用:
Christmas_ShirtChristmas_PantsChristmas_HatChristmas_BackpackChristmas_VestChristmas_MaskChristmas_Glasses
全部 Holiday Clothing 字段都接受 Legacy ID 或 GUID。
Appearance
在游戏 Appearance Menu 中,Mod 作者可以按 Page Down 把当前玩家外观复制到剪贴板。
Faceint:Face Image Index。Hairint:Hair Mesh Index。Beardint:Beard Mesh Index。Color_Skin:6 位 RGB Hex。Color_Hair:6 位 RGB Hex。BackwardFlag:角色为左撇子。
Pose / 装备
PrimaryLegacy ID / GUID:背在背后、与脊柱平行的 Weapon。SecondaryLegacy ID / GUID:挂在胯侧、与脊柱垂直的 Weapon。TertiaryLegacy ID / GUID:携带的非 Weapon Item。Equippedenum(Primary、Secondary、Tertiary):指定哪个 Slot 的 Item 拿在手中,而不是挂在身上。DialogueLegacy ID / GUID:交互时打开的 Dialogue Asset。Poseenum:Asleep、Crouch、Passive、Prone、Rest、Sit、Stand、Surrender、Under_Arrest。Pose_Head_Offsetfloat:Head 相对 Body 的前后偏移(米);正数向前,负数向后,默认 0.1。Pose_Leanfloat:[-1,1]。正数向 NPC 左侧倾斜,负数向右,默认 0。Pose_Pitchfloat:前后倾角(度)。>90 向前,<90 向后,默认 90。
Conditions
NPC Character 可以绑定条件,只在玩家满足条件时出现。
本地化
Namestring:Level Editor 中的 Object Name。Characterstring:交互界面显示的 Character Name。
上游原文:npcs/npc-asset.rst
更新日志
2026/10/7 16:27
查看所有更新日志
ec4d3-进一步同步文档内容于
