商人资源(Vendor Asset)
约 379 字大约 1 分钟
GUID:参阅 GUID。Type:Vendor。IDuint16:必须唯一。
Buying:Vendor 向玩家收购物品
Buying Entry 可以绑定 Conditions,字段以 Buying_#_ 开头,例如 Buying_0_Conditions 1。
Buyingbyte:Vendor 收购多少种 Item。Buying_#_IDGUID / uint16:要从玩家处购买的 Item。Buying_#_Costuint32:支付给玩家多少 Currency。若未设置Currency,默认使用 Experience。
Selling:Vendor 向玩家出售
Selling Entry 同样支持 Conditions,字段以 Selling_#_ 开头,例如 Selling_0_Conditions 1。
Sellingbyte:出售的 Item/Vehicle 总数。Selling_#_Typeenum(Item、Vehicle):出售 Asset 类型。Selling_#_IDGUID / uint16:出售的 Item/Vehicle。Selling_#_Costuint32:玩家要支付多少 Currency。未配置Currency时使用 Experience。Selling_#_Spawnpointstring:购买 Vehicle 后生成位置,对应 Level Editor Spawnpoint Node ID,例如Liberator_Jet。没填则生成在 NPC 上方。Selling_#_PaintColorColor:覆盖购买 Vehicle 的颜色;同时绕过 Vehicle Redirector 的SpawnPaintColor和 Vehicle Asset 的DefaultPaintColors。Selling_#_Ammobyte:覆盖出售 Item 内 Ammo 数量。Selling_#_Barreluint16:覆盖 Barrel Attachment。Selling_#_Gripuint16:覆盖 Grip Attachment。Selling_#_Magazineuint16:覆盖 Magazine。Selling_#_Sightuint16:覆盖 Sight。Selling_#_Tacticaluint16:覆盖 Tactical Attachment。
其他字段
Disable_SortingFlag:关闭 Vendor Sorting。CurrencyGUID:使用哪个 Currency Asset 替代 Experience。FaceOverridebyte:打开 Vendor 时可选 Face Image Index。未设置或打开新 Message 时恢复 Character 默认 Face。
本地化
Namestring:UI 中 Vendor Name。DescriptionRich Text:Vendor Description。Buying_#_DescriptionRich Text:覆盖 Vendor Menu 中 Item 的描述,即“Vendor 如何描述物品”。Selling_#_DescriptionRich Text:同 Buying Description。
更新日志
2026/10/7 16:27
查看所有更新日志
ec4d3-进一步同步文档内容于
