WeaponSelectionCombinationConfig = WeaponSelectionCombinationConfig or {} WeaponSelectionCombinationConfig.ECombinationType = { Combination1 = 1; -- 进攻方武器 Combination2 = 2; -- 防守方武器 } WeaponSelectionCombinationConfig.WeaponCombinationList = { [WeaponSelectionCombinationConfig.ECombinationType.Combination1] = { Weapon = {{102005, 101004}, {103003, 102001}, {103006, 102002}, {101004, 104005}, {101007, 107008}}, OtherParts = { --[[ItemID = 108004, Count = 1}, {ItemID = 502002, Count = 1}, {ItemID = 503002, Count = 1},]] {ItemID = 602004, Count = 1}, {ItemID = 602001, Count = 1}, --[[背包 {ItemID = 501003, Count = 1}]] -- 各种倍镜 -- {ItemID = 203001, Count = 1}, {ItemID = 203002, Count = 1}, {ItemID = 203003, Count = 1}, {ItemID = 203004, Count = 1}, {ItemID = 203005, Count = 1}, {ItemID = 203014, Count = 1}, {ItemID = 203015, Count = 1}, }, }; [WeaponSelectionCombinationConfig.ECombinationType.Combination2] = { Weapon = {{102003, }, {103003, 106008}, {103006, }, {101003, }, {104003, 106008}, {105001, 106008}}, OtherParts = {--[[{ItemID = 502003, Count = 1}, {ItemID = 503003, Count = 1},]] {ItemID = 602004, Count = 1}, --[[背包 {ItemID = 501003, Count = 1}]]}, }; } -- 玩家可自定义搭配的武器 WeaponSelectionCombinationConfig.PlayerCustomWeapon = { { TypeName = "自动枪"; WeaponIDs = {101001, 101002, 101003, 101004, 101007, 101012, 102001, 102002, 102003, 102004, 102005, 105002,}; }, { TypeName = "狙击"; WeaponIDs = {103003, 103001, 103004, 103005, 103006}; }, { TypeName = "霰弹枪"; WeaponIDs = {104005, 104100, 104001, 104002, 104003, 104004, }; }, { TypeName = "特殊枪械"; WeaponIDs = {107001, 107008}; } }