新内观模式配置文件(cfg_avatar.json)

原文件:新内观模式配置文件(cfg_avatar.json).docx 更新时间:2026-04-10 11:56:04 大小:25.0 KB 图片:0 作者:Administrator

新内观模式配置文件(cfg_avatar.json)

  • 需开启新内观模式。cfg_global.json里配置"30011"
  • 新内观模式是用外观编号来配置和调用内观素材
  • 新内观模式特效素材均调用F4中的4.特效,打包时选普通特效。
  • 配置文件:dev\data_config\cfg_avatar.json

格式:

{
  "Weapon": { --武器、衣服等的底图图片,素材路径为`\res\player_show`,特效素材调用F4中的4.特效,打包时选普通特效。
    "外观编号*10+性别": { --比如外观编号253的武器,男、女配置分别为2531、2532
      "backsfx": { "icon": 底图图片, "x": -31, "y": 45, "blend": 0 },
      "avatar": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 },
      "upsfx": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 }
    }
  },
   "Cloth": {
    "外观编号*10+性别": {
      "backsfx": { "icon": 底图图片, "x": -31, "y": 45, "blend": 0 },
      "avatar": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 },
      "upsfx": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 }
    }
  },
  "Shield": {
    "外观编号*10+性别": {
      "backsfx": { "icon": 底图图片, "x": -31, "y": 45, "blend": 0 },
      "avatar": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 },
      "upsfx": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 }
    }
  },
  "Wing": {
    "外观编号*10": { --翅膀的底图图片,素材路径为`\res\player_show`,特效素材调用F4中的4.特效,打包时选普通特效。
      "backsfx": { "icon": 底图图片, "x": -31, "y": 45, "blend": 0 },
      "avatar": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 },
      "upsfx": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 }
    }
  },
  "Dragon": { --龙魂的底图图片,素材路径为`\res\player_show`,特效素材调用F4中的4.特效,打包时选普通特效。
    "外观编号*10": {
      "backsfx": { "icon": 底图图片, "x": -31, "y": 45, "blend": 0 },
      "avatar": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 },
      "upsfx": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 }
    }
  },
  "Helmet": { --面具、头盔特效只能配置upsfx、backsfx,特效素材调用F4中的4.特效,打包时选普通特效
    "looks*10+性别": {
      "backsfx": { "sfxid": 特效编号, "x": -31, "y": 45, "blend": 0 },
      "upsfx": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 }
    }
  },
  "Veil": {
    "looks*10+性别": {
      "backsfx": { "sfxid": 特效编号, "x": -31, "y": 45, "blend": 0 },
      "upsfx": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 }
    }
  },
  "Item": { --素材路径为`\res\item`,特效素材调用F4中的4.特效,打包时选普通特效。
    "LOOKS": {"upsfx": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 }}
  },
  "Item2": { --素材路径为`\res\item2`,特效素材调用F4中的4.特效,打包时选普通特效。
    "LOOKS": {"upsfx": { "sfxid": 特效编号, "x": 0, "y": 0, "blend": 0 }}
  }
}

示例:

{
  "Weapon": {
    "2531": {
      "avatar": { "icon": 25403, "x": -31, "y": 48, "blend": 0 },
      "upsfx": { "sfxid": 41875, "x": -156, "y": 98, "blend": 0 }
    },
    "2532": {
      "avatar": { "icon": 25403, "x": -31, "y": 48, "blend": 0 },
      "upsfx": { "sfxid": 41875, "x": -156, "y": 98, "blend": 0 }
    }
  },
  "Cloth": {
    "161": {
      "backsfx": { "icon": 885, "x": -31, "y": 45, "blend": 0 },
      "avatar": { "icon": 353, "x": -107, "y": 68, "blend": 0 }
    },
    "162": {
      "backsfx": { "icon": 886, "x": -31, "y": 45, "blend": 0 },
      "avatar": { "icon": 354, "x": -107, "y": 68, "blend": 0 }
    },
    "1951": {
      "backsfx": { "icon": 41805, "x": -43, "y": -20, "blend": 0 },
      "avatar": { "icon": 26995, "x": -31, "y": 45, "blend": 0 },
      "upsfx": { "sfxid": 41807, "x": -155, "y": 68.5, "blend": 1 }
    },
    "1952": {
      "backsfx": { "icon": 41808, "x": -43, "y": -20, "blend": 0 },
      "avatar": { "icon": 26996, "x": -31, "y": 45, "blend": 0 },
      "upsfx": { "sfxid": 41810, "x": -156.5, "y": 91.5, "blend": 1 }
    }
  },
  "Item": {
    "11236": { "upsfx": { "sfxid": 11236, "x": 95, "y": -118, "blend": 1 } },
    "25747": { "upsfx": { "sfxid": 25740, "x": 95, "y": -118, "blend": 1 } },
    "26927": { "upsfx": { "sfxid": 25742, "x": 95, "y": -118, "blend": 0 } }
  }
}

1000705-011 新增 Item类增加根据道具名称的配置特效

{
  "Item": {
    "测试戒指": {
      "upsfx": { "sfxid": 42890, "x": 95, "y": -118, "blend": 2 }
    }
  }
}

1000705-011 新增 多特效配置

{
  "Shield": {
    "831": {
      "upsfx": [
        { "sfxid": 1604, "x": -120, "y": 120, "blend": 2 },
        { "sfxid": 1604, "x": 0, "y": 0, "blend": 2 }
      ]
    },
    "832": {
      "upsfx": [
        { "sfxid": 1604, "x": -120, "y": 120, "blend": 2 },
        { "sfxid": 1604, "x": 0, "y": 0, "blend": 2 }
      ]
    }
  }
}

1000705-011 新增 link参数

{
  "Item": {
    "25403": {
      "upsfx": [{ "sfxid": 25403, "x": 87, "y": -110, "blend": 0, "link": "方框" }]
    },
    "方框": { "upsfx": { "sfxid": 65000, "x": 94, "y": -117, "blend": 0 } }
  }
}

1000705-012 调整 item、Helmet、Veil可以配置icon,且可以调整偏移

1000802-014 新增 节点 Item2,格式与Item相同


本页面由服务器脚本从原始 DOCX 自动生成。排版如与 Word 略有差异,请以原始 DOCX 为准。