Code:
weapons = [];
kits = [];
_text = "player addWeapon '%1'; _mags = getArray(configfile >> 'cfgWeapons' >> '%1' >> 'magazines'); _mag = _mags select 0; player addMagazine _mag; player selectWeapon '%1'; reload player;";
weapons =
[
["", true],
["KITS", [2], "#USER:kits", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["G17", [3], "", -5, [["expression", format[_text, "glock17_EP1"]]], "1", "1"],
["M9SD", [4], "", -5, [["expression", format[_text, "M9SD"]]], "1", "1"],
["Lee Enfield", [5], "", -5, [["expression", format[_text, "LeeEnfield"]]], "1", "1"],
["M4A3 CCO", [6], "", -5, [["expression", format[_text, "M4A3_CCO_EP1"]]], "1", "1"],
["L85A2 AWS", [7], "", -5, [["expression", format[_text, "BAF_L85A2_RIS_CWS"]]], "1", "1"],
["SVD Camo", [8], "", -5, [["expression", format[_text, "SVD_CAMO"]]], "1", "1"],
["AS50", [9], "", -5, [["expression", format[_text, "BAF_AS50_scoped"]]], "1", "1"],
["AS50 TWS", [10], "", -5, [["expression", format[_text, "BAF_AS50_TWS"]]], "1", "1"],
["M67 Frag Grenade", [11], "", -5, [["expression", "player addMagazine 'HandGrenade_West';"]], "1", "1"],
["Satchel Charges", [12], "", -5, [["expression", "player addMagazine 'PipeBomb';"]], "1", "1"]
];
kits =
[
["", true],
["KITS", [-1], "", -5, [["expression", ""]], "1", "0"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Main Kit", [2], "", -5, [["expression", "execVM 'Scripts\Action_Scripts\kits\main_kit.sqf';"]], "1", "1"],
["Rifle Kit", [3], "", -5, [["expression", "execVM 'Scripts\Action_Scripts\kits\rifle_kit.sqf';"]], "1", "1"],
["Sniper Kit", [4], "", -5, [["expression", "execVM 'Scripts\Action_Scripts\kits\sniper_kit.sqf';"]], "1", "1"],
["Toolbelt Kit", [5], "", -5, [["expression", "execVM 'Scripts\Action_Scripts\kits\tool_kit.sqf';"]], "1", "1"]
];
showCommandingMenu "#USER:weapons";
This is what it currently is. I want to delete all the "Kits" and change the weapons. Should i just re-write the weapon names? For example: i want to delete the AS50 TWS and replace it with a MK48 Mod 0, what are the changes?