diff --git a/cfg_containers.cpp b/cfg_containers.cpp index dcf24f2..82f73ea 100644 --- a/cfg_containers.cpp +++ b/cfg_containers.cpp @@ -1997,18 +1997,3 @@ class cgqc_box_mk2_diving : Box_NATO_Equip_F init = "[_this, 'dive'] call CGQC_fnc_loadMk3Menu"; }; }; -// Mk2 Cargo container -class cgqc_box_mk2_cargo : Land_Cargo10_military_green_F -{ - scope = 2; - author = "silent1"; - _generalMacro = "cgqc_box_mk2_cargo"; - displayName = "CGQC MK2 Cargo Container"; - model = "\cgqc_2022\containers\cgqc_box_cargo.p3d"; - ace_cargo_canLoad = 0; // Enables the object to be loaded (1-yes, 0-no) - ace_cargo_noRename = 1; - class EventHandlers - { - init = "_this execVM '\CGQC_2022\loadouts\cgqc_box_mk2_cargo.sqf'"; - }; -}; \ No newline at end of file diff --git a/cfg_patches.cpp b/cfg_patches.cpp index 0c18d84..42e2bc4 100644 --- a/cfg_patches.cpp +++ b/cfg_patches.cpp @@ -41,8 +41,6 @@ class CfgPatches "cgqc_box_mk2_arsenal_old", "cgqc_box_mk2_parachute", "cgqc_box_mk2_diving", - "cgqc_box_mk2_cargo", - "cgqc_box_mk1_cargo", "cgqc_box_mk2_stash", "CGQC_units_mk1_0_HQ_pack", "CGQC_units_mk1_0_TeamLeader_Carbine_pack", @@ -64,7 +62,7 @@ class CfgPatches "CGQC_units_mk1_4_crew_heli_pack", "cgqc_soldat_moderne", "CGQC_officer_moderne", - "cgqc_officer_1_moderne", + "cgqc_officer_1_moderne", "cgqc_pack_mk1_kitbag", "cgqc_pack_mk1_kitbag_desert", "cgqc_pack_mk1_kitbag_mcam", diff --git a/cfg_units_mk1.cpp b/cfg_units_mk1.cpp index 3ab799c..1b630c5 100644 --- a/cfg_units_mk1.cpp +++ b/cfg_units_mk1.cpp @@ -20,6 +20,26 @@ class CGQC_units_mk1_0_HQ : cgqc_soldat_moderne backpack = "CGQC_units_mk1_0_HQ_pack"; editorPreview = "\CGQC_2022\pics\CGQC_units_mk1_0_HQ.jpg"; }; +class CGQC_units_mk1_0_SL : cgqc_soldat_moderne +{ + faction = "CGQC"; + editorSubcategory = "EdSubcat_cgqc_mk1"; + side = 1; + scope = 2; + scopeCurator = 2; + displayName = "Squad Lea"; + uniformClass = "cgqc_uniform_mk1"; + weapons[] = {"cgqc_gun_mk1_hq_m4a1", "cgqc_gun_glock19_wood", "Laserdesignator_01_khk_F", "Put", "Throw"}; + respawnWeapons[] = {"cgqc_gun_mk1_hq_m4a1", "cgqc_gun_glock19_wood", "Laserdesignator_01_khk_F", "Put", "Throw"}; + items[] = {}; + respawnItems[] = {}; + magazines[] = {}; + respawnMagazines[] = {}; + linkedItems[] = {"ItemMap", "ItemCompass", "ItemWatch", "B_UavTerminal", "JAS_GPNVG18_blk", "Laserdesignator_01_khk_F", "cgqc_helmet_mk1", "cgqc_vest_mk1_tan", "G_mas_can_shemag_gog_l"}; + respawnLinkedItems[] = {"ItemMap", "ItemCompass", "ItemWatch", "B_UavTerminal", "JAS_GPNVG18_blk", "Laserdesignator_01_khk_F", "cgqc_helmet_mk1", "cgqc_vest_mk1_tan", "G_mas_can_shemag_gog_l"}; + backpack = "CGQC_units_mk1_0_HQ_pack"; + editorPreview = "\CGQC_2022\pics\CGQC_units_mk1_0_HQ.jpg"; +}; class CGQC_units_mk1_0_TeamLeader_Carbine : cgqc_soldat_moderne { faction = "CGQC"; @@ -650,25 +670,25 @@ class CGQC_units_mk2_Tank_Crew_ai : cgqc_soldat_moderne class CGQC_units_mk1_5_Diver_TL : CGQC_units_mk1_0_TeamLeader_Carbine { editorSubcategory = "EdSubcat_cgqc_mk1"; - displayName = "Plongeur (TL)"; + displayName = "Diver (TL)"; uniformClass = "cgqc_uniform_mk1"; }; class CGQC_units_mk1_5_Diver_sniper : CGQC_units_mk1_2_Sniper_ebr { editorSubcategory = "EdSubcat_cgqc_mk1"; - displayName = "Plongeur (Sniper)"; + displayName = "Diver (Sniper)"; uniformClass = "cgqc_uniform_mk1"; }; class CGQC_units_mk1_5_Diver_Spotter : CGQC_units_mk1_2_Spotter { editorSubcategory = "EdSubcat_cgqc_mk1"; - displayName = "Plongeur (Spotter)"; + displayName = "Diver (Spotter)"; uniformClass = "cgqc_uniform_mk1"; }; class CGQC_units_mk1_5_Diver_Engineer : CGQC_units_mk1_1_Engineer { editorSubcategory = "EdSubcat_cgqc_mk1"; - displayName = "Plongeur (Saboteur)"; + displayName = "Diver (Saboteur)"; uniformClass = "cgqc_uniform_mk1"; }; diff --git a/factions/init_player.sqf b/factions/init_player.sqf index 7a88aef..062a762 100644 --- a/factions/init_player.sqf +++ b/factions/init_player.sqf @@ -1,4 +1,4 @@ -[] spawn { +[] spawn { // Wait until Core is finished initializing. waitUntil {sleep 1;cgqc_player_rank_found}; @@ -21,115 +21,10 @@ cgqc_mk2_arsenal_4 = []; cgqc_mk2_arsenal_5 = []; cgqc_mk2_arsenal_8 = []; - + // Prep les variables de l'arsenal dynamique #include "\cgqc_2022\loadouts\arsenal\init_arsenal.sqf"; - _unit = typeOf player; - switch (_unit) do { - // == Training ================================================================ - case "cgqc_soldat_moderne"; - case "cgqc_officer_moderne": { - [] spawn CGQC_fnc_initTraining; - }; - // == Command ================================================================ - case "CGQC_units_mk1_0_HQ":{ - ["hq", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_0_TeamLeader_Carbine":{ - ["tl_carb", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_0_TeamLeader_CQB":{ - ["tl_cqb", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_0_TeamLeader_noGL":{ - ["tl_no_gl", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - // == Infantry ================================================================ - case "CGQC_units_mk1_1_Rifleman_CQB":{ - ["rifle_cqb", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_1_Rifleman_Carbine":{ - ["rifle_carb", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_1_Rifleman_full":{ - ["rifle_m16", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_1_Rifleman_grenadier":{ - ["rifle_grenade", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - // == Specialists ================================================================ - case "CGQC_units_mk1_3_AT_MAAWS":{ - ["at_maaws", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_3_AT_Javelin":{ - ["at_jav", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_2_LMG":{ - ["lmg", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_2_HMG":{ - ["hmg", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_1_Engineer":{ - ["eng", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_1_Medic":{ - ["med", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_2_Marksman":{ - ["mrksm", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - // == Recon ================================================================ - case "CGQC_units_mk1_0_Drone_operator":{ - ["drone", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_0_JTAC":{ - ["jtac", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_2_Sniper":{ - ["sniper", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_2_Sniper_ebr":{ - ["sniper_ebr", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_2_Spotter":{ - ["spotter", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - // == Pilots ================================================================ - case "CGQC_units_mk1_4_Pilot_heli":{ - ["heli", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_4_crew_heli":{ - ["heli_crew", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - //case "CGQC_units_mk1_4_Pilot_Jet":{ - // ["", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - //}; - // == Drivers ================================================================ - case "CGQC_units_mk1_4_Tank_Driver":{ - ["driver", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - case "CGQC_units_mk1_4_Tank_Crew":{ - ["tank_crew", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - }; - // == Divers ================================================================ - case "CGQC_units_mk1_5_Diver_TL":{ - ["tl_carb", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - ["diver", true] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf" - }; - case "CGQC_units_mk1_5_Diver_sniper":{ - ["sniper_ebr", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - ["diver", true] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf" - }; - case "CGQC_units_mk1_5_Diver_Spotter":{ - ["spotter", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - ["diver", true] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf" - }; - case "CGQC_units_mk1_5_Diver_Engineer":{ - ["eng", 1, true] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"; - ["diver", true] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf" - }; - }; -}; - + // Check if loadout exists and loads it + [] call CGQC_fnc_checkLoadout; +}; \ No newline at end of file diff --git a/loadouts/cgqc_box_mk2.sqf b/loadouts/cgqc_box_mk2.sqf deleted file mode 100644 index 07e9da2..0000000 --- a/loadouts/cgqc_box_mk2.sqf +++ /dev/null @@ -1,227 +0,0 @@ -// mk2 box -_crate = _this select 0; - -waitUntil {sleep 1; cgqc_mk2_arsenal_init_done}; -if (!isNil "_crate") then { - // Zeus lock toggle --------------------------------------------------------------------------------------------------------- - _action = [ "menu_zeus_lock", "Lock mk2", "", {hint 'Mk2 lock!'; cgqc_mk2_arsenal_locked = true; publicVariable "cgqc_mk2_arsenal_locked"}, {!cgqc_mk2_arsenal_locked && [player] call CGQC_fnc_checkZeus;} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - _action = [ "menu_zeus_unlock", "Unlock mk2", "", {hint 'Mk2 unlocked!'; cgqc_mk2_arsenal_locked = false; publicVariable "cgqc_mk2_arsenal_locked"}, {cgqc_mk2_arsenal_locked && [player] call CGQC_fnc_checkZeus;} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Mk1 Loadout switcher --------------------------------------------------------------------------------------------------------- - _action = [ "menu_mk2", "Loadouts/Rôles MK2", "CGQC_2022\textures\icon_loadouts", {""}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions"], _action ] call ace_interact_menu_fnc_addActionToObject; - - // Spartan 1-2-3-4 ------------------------------------------------------------------------------------------------------------ - #include "\cgqc_2022\loadouts\mk2_loadouts_spartan.sqf"; - - // Recon ------------------------------------------------------------------------------------------------------------ - _action = [ "menu_mk2_recon", "Recon", "", {""}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Sniper m200 - _action = [ "menu_mk2_inf_snipe", "Sniper m200", "", {["sniper", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_recon"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Sniper m14 ebr - _action = [ "menu_mk2_inf_snipe", "Sniper EBR", "", {["sniper_ebr", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_recon"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Spotter - _action = [ "menu_mk2_inf_spotter", "Spotter", "", {["spotter", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_recon"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Drone Operator - _action = [ "menu_mk2_inf_drone", "Drone Operator", "", {["drone", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_recon"], _action ] call ace_interact_menu_fnc_addActionToObject; - // JTAC - _action = [ "menu_mk2_inf_jtac", "FAC/JTAC", "", {["jtac", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_recon"], _action ] call ace_interact_menu_fnc_addActionToObject; - - // Pilotes ------------------------------------------------------------------------------------------------------------ - _action = [ "menu_mk2_pilots", "Griffon", "", {""}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Helicopter pilot - _action = [ "menu_mk2_inf_medic", "Helicopter pilot", "", {["heli", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 4 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_pilots"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Helicopter crew - _action = [ "menu_mk2_helicrew", "Helicopter crew", "", {["heli_crew", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_pilots"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Jet pilot - //_action = [ "menu_mk2_inf_jet", "Jet pilot", "", {["jet_pilot", 0, false, _this] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 4 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - //_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_pilots"], _action ] call ace_interact_menu_fnc_addActionToObject; - - // Drivers ------------------------------------------------------------------------------------------------------------ - _action = [ "menu_mk2_driver", "Centaure", "", {}, {cgqc_player_rank > 1 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Tank Driver - _action = [ "menu_mk2_tank", "Tank driver", "", {["driver", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions", "menu_mk2", "menu_mk2_driver"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Tank Crew - _action = [ "menu_mk2_crew", "Tank Crew", "", {["tank_crew", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions", "menu_mk2", "menu_mk2_driver"], _action ] call ace_interact_menu_fnc_addActionToObject; - - // High Command ------------------------------------------------------------------------------------------------------------ - _action = [ "menu_mk2_highCommand", "High Command", "", {}, {cgqc_player_rank > 5 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2"], _action ] call ace_interact_menu_fnc_addActionToObject; - // HQ - _action = [ "menu_mk2_inf_hq", "HQ", "", {["hq", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_highCommand"], _action ] call ace_interact_menu_fnc_addActionToObject; - // HQ - _action = [ "menu_mk2_inf_sl", "Squad Leader", "", {["sl", 0, false, player] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_highCommand"], _action ] call ace_interact_menu_fnc_addActionToObject; - - - // Mk1 Camo Switcher --------------------------------------------------------------------------------------------------------- - _action = [ "menu_mk2_camo", "Camo/Uniformes", "CGQC_2022\textures\icon_camo", {""}, {!cgqc_perks_ghillie_isOn} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Base/Training uniform - _action = [ "menu_mk2_camo_base", "Training - Vert", "", {["tan", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Desert uniform - _action = [ "menu_mk2_camo_desert", "Desert", "", {["desert", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Multicam uniform - _action = [ "menu_mk2_camo_multicam", "Multicam", "", {["mcam", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Woodland uniform - _action = [ "menu_mk2_camo_woodland", "Cadpat", "", {["cadpat", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Black uniform - _action = [ "menu_mk2_camo_black", "Black", "", {["black", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Winter uniform - _action = [ "menu_mk2_camo_winter", "Winter", "", {["white", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Diving uniform - _action = [ "menu_mk2_camo_diver", "Plongeur", "\CGQC\textures\cgqc_ace_dive", {["diver", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Jumping uniform - _action = [ "menu_mk2_camo_para", "Parachutiste", "\CGQC\textures\cgqc_ace_para", {["para", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - - - // Items -------------------------------------------------------------------------------------------------------------- - _action = [ "menu_items", "Items Rapides", "CGQC_2022\textures\icon_items", {""}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - //Radio1 - _action = [ "menu_items1", "343", "", {["343"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_items"], _action ] call ace_interact_menu_fnc_addActionToObject; - //Radio2 - _action = [ "menu_items2", "152", "", {["152"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_items"], _action ] call ace_interact_menu_fnc_addActionToObject; - //Radio3 - _action = [ "menu_items3", "148", "", {["148"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_items"], _action ] call ace_interact_menu_fnc_addActionToObject; - //Earplugs - _action = [ "menu_items3", "Earplugs", "", {["earplugs"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_items"], _action ] call ace_interact_menu_fnc_addActionToObject; - //Bandages - _action = [ "menu_items4", "Bandages x10", "", {["bandages"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_items"], _action ] call ace_interact_menu_fnc_addActionToObject; - //Painkillers - _action = [ "menu_items5", "Painkillers x5", "", {["painkillers"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_items"], _action ] call ace_interact_menu_fnc_addActionToObject; - //m72a7 - _action = [ "menu_items6", "Jetable: m72a7 LAW", "", {["law"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_items"], _action ] call ace_interact_menu_fnc_addActionToObject; - //m136 - _action = [ "menu_items7", "Jetable: m136", "", {["m136"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_items"], _action ] call ace_interact_menu_fnc_addActionToObject; - //Kidnapping Kit - _action = [ "menu_items8", "Kidnaping Kit", "", {["kidnap"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_items"], _action ] call ace_interact_menu_fnc_addActionToObject; - - - // Skill switcher --------------------------------------------------------------------------------------------------------- - _action = [ "menu_skill", "Skills", "CGQC_2022\textures\icon_skills", {""}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Medic - _action = [ "skill_medic", "Medic", "", {execVM "\CGQC_2022\loadouts\skill_medic.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_skill"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Engineer - _action = [ "skill_eng", "Ingénieur", "", {execVM "\CGQC_2022\loadouts\skill_engineer.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_skill"], _action ] call ace_interact_menu_fnc_addActionToObject; - // EOD - _action = [ "skill_eod", "EOD", "", {execVM "\CGQC_2022\loadouts\skill_EOD.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ,"menu_skill"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Sniper - _action = [ - "skill_sniper", - "Sniper", - "", - {cgqc_perks_recon = true}, - {(cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining) && (isNil "cgqc_perk_ghillie")} - ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ,"menu_skill"], _action ] call ace_interact_menu_fnc_addActionToObject; - - - // Mk2 arsenal --------------------------------------------------------------------------------------------------- - - // Unlocked version - _action = [ - "menu_mk2_unlocked", - "Arsenal: Unlocked", - "CGQC_2022\textures\icon_arsenal", - {[0] execVM "\CGQC_2022\functions\loadMk2.sqf"}, - {!cgqc_mk2_arsenal_locked} - ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - - // Soldier - 1 - _action = [ "menu_mk2_1", "Arsenal: Soldat", "CGQC_2022\textures\icon_arsenal", {[1] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {(cgqc_mk2_arsenal_locked && cgqc_player_rank == 1)} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Caporal - 2 - _action = [ "menu_mk2_2", "Arsenal: Caporal", "CGQC_2022\textures\icon_arsenal", {[2] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_mk2_arsenal_locked && cgqc_player_rank == 2} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // CaporalC - 3 - _action = [ "menu_mk2_3", "Arsenal: Caporal-Chef", "CGQC_2022\textures\icon_arsenal", {[3] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_mk2_arsenal_locked && cgqc_player_rank == 3} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Sergent - 4 - _action = [ "menu_mk2_4", "Arsenal: Sergent", "CGQC_2022\textures\icon_arsenal", {[4] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_mk2_arsenal_locked && cgqc_player_rank == 4} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Adjudent - 5 - _action = [ "menu_mk2_5", "Arsenal: Adjudent", "CGQC_2022\textures\icon_arsenal", {[0] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_mk2_arsenal_locked && cgqc_player_rank == 5} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Sous-Lieutenant - 6 - _action = [ "menu_mk2_6", "Arsenal: Sous-Lieutenant", "CGQC_2022\textures\icon_arsenal", {[0] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_mk2_arsenal_locked && cgqc_player_rank == 6} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Lieutenant - 7 - _action = [ "menu_mk2_7", "Arsenal: Lieutenant", "CGQC_2022\textures\icon_arsenal", {[0] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_mk2_arsenal_locked && cgqc_player_rank == 7} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Capitaine - 8 - _action = [ "menu_mk2_8", "Arsenal: Capitaine", "CGQC_2022\textures\icon_arsenal", {[0] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_mk2_arsenal_locked && cgqc_player_rank == 8} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Major - 9 - _action = [ "menu_mk2_9", "Arsenal: Major", "CGQC_2022\textures\icon_arsenal", {[0] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_mk2_arsenal_locked && cgqc_player_rank == 9} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Lieutenant-Colonel- 10 - _action = [ "menu_mk2_10", "Arsenal: Lieutenant-Colonel", "CGQC_2022\textures\icon_arsenal", {[0] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_mk2_arsenal_locked && cgqc_player_rank == 10} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Colonel - 11 - _action = [ "menu_mk2_11", "Arsenal: Colonel", "CGQC_2022\textures\icon_arsenal", {[0] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_mk2_arsenal_locked && cgqc_player_rank == 11} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Complet - - _action = [ "menu_mk2_5", "Arsenal: Complet", "CGQC_2022\textures\icon_arsenal", {[0] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Zeus - _action = [ "menu_mk2_zeus", "Arsenal: Zeus", "CGQC_2022\textures\icon_arsenal", {[5] execVM "\CGQC_2022\functions\loadMk2.sqf"}, {cgqc_flag_isTraining || [player] call CGQC_fnc_checkZeus;} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - - -//---------------------------------------------------------------------------------------------------------------------------------------------------------------- - // 23rd toggle ---------------------------------------------------------------------------------------------------------------------------------------------------------------- - _action = [ "menu_mk2_23", "23rd CTF Member?", "", {execVM "\CGQC_2022\functions\23rd.sqf"}, {cgqc_player_has23rd && !cgqc_player_23rd} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // 23rd Camos ---------------------------------------------------------------------------------------------------------------------------------------------------------------- - _action = [ "menu_mk2_23_camo", "23rd Uniforms", "", {}, {cgqc_player_has23rd && cgqc_player_23rd && !cgqc_perks_ghillie_isOn} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Mosschip - _action = [ "menu_mk2_23_camo_moss", "Mosschip", "", {["23_moss", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_23_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Multidicc - _action = [ "menu_mk2_23_camo_multi", "Multidicc", "", {["23_multi", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_23_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Frostmoss - _action = [ "menu_mk2_23_camo_frost", "Frostmoss", "", {["23_frost", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_23_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Tardpat - _action = [ "menu_mk2_23_camo_tard", "Tardpat", "", {["23_tard", false] execVM "\CGQC_2022\loadouts\mk1_camo_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2_23_camo"], _action ] call ace_interact_menu_fnc_addActionToObject; -}; \ No newline at end of file diff --git a/loadouts/cgqc_box_mk2_cargo.sqf b/loadouts/cgqc_box_mk2_cargo.sqf deleted file mode 100644 index 9435448..0000000 --- a/loadouts/cgqc_box_mk2_cargo.sqf +++ /dev/null @@ -1,4 +0,0 @@ -//#include "cgqc_box_mk1_plus_plus.sqf" -waitUntil {sleep 1;cgqc_start_postInitClient_done}; -#include "cgqc_box_mk2.sqf" -#include "cgqc_loadouts_mk2_actions_adv.sqf" \ No newline at end of file diff --git a/loadouts/cgqc_loadouts_mk2_actions_adv.sqf b/loadouts/cgqc_loadouts_mk2_actions_adv.sqf deleted file mode 100644 index 6abbbf9..0000000 --- a/loadouts/cgqc_loadouts_mk2_actions_adv.sqf +++ /dev/null @@ -1,27 +0,0 @@ -_crate = _this select 0; -if (!isNil "_crate") then { - // Supplies spawner -------------------------------------------------------------------------------------------------------------- - _action = [ "menu_supplies", "Logistics", "", {""}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" ], _action ] call ace_interact_menu_fnc_addActionToObject; - // Fuel can - _action = [ "menu_supplies_fuel", "Fuel Can", "", {["fuel"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_supplies"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Vehicle ammo can - _action = [ "menu_supplies_vic", "Vehicle Ammo Can", "", {["vic_ammo"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_supplies"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Ammo can - _action = [ "menu_supplies_ammo", "Infantry Ammo Box", "", {["ammo"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_supplies"], _action ] call ace_interact_menu_fnc_addActionToObject; - // 60mm mortar crate - _action = [ "menu_supplies_60", "60mm mortar box", "", {["mort60"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_supplies"], _action ] call ace_interact_menu_fnc_addActionToObject; - // 82mm mortar crate - _action = [ "menu_supplies_82", "82mm mk6 mortar box", "", {["mort82"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_supplies"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Spare wheel - _action = [ "menu_supplies_wheel", "Spare wheel", "", {["wheel"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_supplies"], _action ] call ace_interact_menu_fnc_addActionToObject; - // Spare tracks - _action = [ "menu_supplies_track", "Spare track", "", {["track"] execVM "\CGQC_2022\loadouts\mk1_box_get_items.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; - _adding = [ _crate, 0, ["ACE_MainActions" , "menu_supplies"], _action ] call ace_interact_menu_fnc_addActionToObject; -}; \ No newline at end of file diff --git a/loadouts/mk2/backpack_basic.sqf b/loadouts/mk2/backpack_basic.sqf deleted file mode 100644 index 9b41469..0000000 --- a/loadouts/mk2/backpack_basic.sqf +++ /dev/null @@ -1,14 +0,0 @@ -// Basic backpack loadout (Pretty universal) -// === Meds ================================ -//for "_i" from 1 to 10 do { -// player addItemToBackpack "ACE_fieldDressing"; -//}; -//player addItemToBackpack "ACE_salineIV_500"; -//player addItemToBackpack "ACE_salineIV_500"; - -// === Items ================================ -player addItemToBackpack "ACE_EntrenchingTool"; -player addItemToBackpack "ACE_Canteen"; -// === Throwables ================================ -player addItemToBackpack "rhs_mag_m67"; -player addItemToBackpack "rhs_mag_m67"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_driver.sqf b/loadouts/mk2/backpack_driver.sqf deleted file mode 100644 index aba0db9..0000000 --- a/loadouts/mk2/backpack_driver.sqf +++ /dev/null @@ -1 +0,0 @@ -player addItemToBackpack "rev_darter_item"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_drone.sqf b/loadouts/mk2/backpack_drone.sqf deleted file mode 100644 index 977c7e7..0000000 --- a/loadouts/mk2/backpack_drone.sqf +++ /dev/null @@ -1,8 +0,0 @@ -// === Drone Operator backpack ================================ -player addItemToBackpack "ACE_UAVBattery"; -player addItemToBackpack "rev_darter_item"; -player addItemToBackpack "rhsusf_m112_mag"; -player addItemToBackpack "tsp_stickCharge_auto_mag"; -player addItemToBackpack "tsp_stickCharge_auto_mag"; -player addItemToBackpack "tsp_popperCharge_auto_mag"; -player addItemToBackpack "tsp_popperCharge_auto_mag"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_eng.sqf b/loadouts/mk2/backpack_eng.sqf deleted file mode 100644 index 5cbad64..0000000 --- a/loadouts/mk2/backpack_eng.sqf +++ /dev/null @@ -1,19 +0,0 @@ -// Engineer backapck -// === Items ================================ -player addItemToBackpack "ToolKit"; -player addItemToBackpack "ACE_DefusalKit"; -player addItemToBackpack "ACE_M26_Clacker"; -player addItemToBackpack "ACE_SpraypaintGreen"; -player addItemToBackpack "ACE_SpraypaintRed"; -player addItemToBackpack "ACE_Fortify"; -//player addItemToBackpack "Rev_demine_item"; -// === Explosives ================================ -for "_i" from 1 to 4 do { player addItemToBackpack "rhsusf_m112_mag"}; -player addItemToBackpack "rhsusf_m112x4_mag"; -for "_i" from 1 to 2 do { player addItemToBackpack "SLAMDirectionalMine_Wire_Mag"}; -for "_i" from 1 to 2 do { player addItemToBackpack "ClaymoreDirectionalMine_Remote_Mag"}; -player addItemToBackpack "tsp_frameCharge_mag"; -player addItemToBackpack "tsp_stickCharge_mag"; -player addItemToBackpack "tsp_stickCharge_mag"; -player addItemToBackpack "tsp_popperCharge_mag"; -player addItemToBackpack "tsp_popperCharge_mag"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_eng_saboteur.sqf b/loadouts/mk2/backpack_eng_saboteur.sqf deleted file mode 100644 index 914d1bc..0000000 --- a/loadouts/mk2/backpack_eng_saboteur.sqf +++ /dev/null @@ -1,15 +0,0 @@ -// Saboteur backapck -// === Items ================================ -player addItemToBackpack "ACE_DefusalKit"; -player addItemToBackpack "ACE_M26_Clacker"; -player addItemToBackpack "ACE_Fortify"; -// === Explosives ================================ -for "_i" from 1 to 2 do { player addItemToBackpack "rhsusf_m112_mag"}; -player addItemToBackpack "rhsusf_m112x4_mag"; -for "_i" from 1 to 4 do { player addItemToBackpack "SLAMDirectionalMine_Wire_Mag"}; -for "_i" from 1 to 2 do { player addItemToBackpack "ClaymoreDirectionalMine_Remote_Mag"}; -player addItemToBackpack "tsp_frameCharge_mag"; -player addItemToBackpack "tsp_stickCharge_mag"; -player addItemToBackpack "tsp_stickCharge_mag"; -player addItemToBackpack "tsp_popperCharge_mag"; -player addItemToBackpack "tsp_popperCharge_mag"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_grenadier.sqf b/loadouts/mk2/backpack_grenadier.sqf deleted file mode 100644 index c0aaedb..0000000 --- a/loadouts/mk2/backpack_grenadier.sqf +++ /dev/null @@ -1,8 +0,0 @@ -// Grenadier backpack -for "_i" from 1 to 10 do {player addItemToBackpack "1Rnd_HE_Grenade_shell"}; -for "_i" from 1 to 3 do {player addItemToBackpack "1Rnd_SmokeRed_Grenade_shell"}; -for "_i" from 1 to 3 do {player addItemToBackpack "1Rnd_SmokeBlue_Grenade_shell"}; -for "_i" from 1 to 3 do {player addItemToBackpack "1Rnd_Smoke_Grenade_shell"}; -for "_i" from 1 to 2 do {player addItemToBackpack "ACE_40mm_Flare_white"}; -for "_i" from 1 to 2 do {player addItemToBackpack "UGL_FlareRed_F"}; -for "_i" from 1 to 2 do {player addItemToBackpack "ACE_40mm_Flare_ir"}; \ No newline at end of file diff --git a/loadouts/mk2/backpack_hq.sqf b/loadouts/mk2/backpack_hq.sqf deleted file mode 100644 index d701d0e..0000000 --- a/loadouts/mk2/backpack_hq.sqf +++ /dev/null @@ -1,8 +0,0 @@ -// HQ backpack -// === Drones ================================ -player addItemToBackpack "Rev_darter_item"; -player addItemToBackpack "ACE_UAVBattery"; -// === Comms ================================= -player removeItem "ItemAndroid"; //Switch cellphone for tablet -player addItemToBackpack "ItemcTab"; -player addItemToBackpack "ACRE_VHF30108SPIKE"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_jav.sqf b/loadouts/mk2/backpack_jav.sqf deleted file mode 100644 index 156681a..0000000 --- a/loadouts/mk2/backpack_jav.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// AT Javelin backapck -player addItemToBackpack "jav_AT_mas_can"; -player addItemToBackpack "jav_AT_mas_can"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_jtac.sqf b/loadouts/mk2/backpack_jtac.sqf deleted file mode 100644 index c0b9882..0000000 --- a/loadouts/mk2/backpack_jtac.sqf +++ /dev/null @@ -1,23 +0,0 @@ -// JTAC backpack - -player addItem "ACE_ATragMX"; -player addItem "ACE_Kestrel4500"; -player addItem "ACE_M26_Clacker"; - -// === Stuff ================================ -player addItemToBackpack "Rev_darter_item"; -player addItemToBackpack "ACE_Tripod"; - -// === Explosives ================================ -player addItemToBackpack "ACE_DefusalKit"; -player addItemToBackpack "rhsusf_m112_mag"; -player addItemToBackpack "rhsusf_m112_mag"; -player addItemToBackpack "rhsusf_mine_m14_mag"; -player addItemToBackpack "rhsusf_mine_m14_mag"; - -// === Comms ======================================= -player removeItem "ItemAndroid"; //Remove default cell -player addItemToBackpack "ItemcTab"; -player addItemToBackpack "tsp_stickCharge_auto_mag"; -player addItemToBackpack "tsp_popperCharge_auto_mag"; -player addItemToBackpack "tsp_popperCharge_auto_mag"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_m27.sqf b/loadouts/mk2/backpack_m27.sqf deleted file mode 100644 index 19d07b6..0000000 --- a/loadouts/mk2/backpack_m27.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// AR Backpack -// === Items ================================ -for "_i" from 1 to 2 do {player addItemToBackpack "rhs_mag_100Rnd_556x45_Mk262_cmag"}; \ No newline at end of file diff --git a/loadouts/mk2/backpack_maaws.sqf b/loadouts/mk2/backpack_maaws.sqf deleted file mode 100644 index 9854553..0000000 --- a/loadouts/mk2/backpack_maaws.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// AT MAAWS backapck -player addItemToBackpack "MRAWS_HEAT_F"; -player addItemToBackpack "MRAWS_HEAT_F"; -player addItemToBackpack "MRAWS_HEAT_F"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_med.sqf b/loadouts/mk2/backpack_med.sqf deleted file mode 100644 index 65de004..0000000 --- a/loadouts/mk2/backpack_med.sqf +++ /dev/null @@ -1,15 +0,0 @@ -// Basic basic loadout (Pretty universal) -// === Meds ================================ -for "_i" from 1 to 50 do {player addItemToBackpack "ACE_fieldDressing";}; -for "_i" from 1 to 10 do {player addItemToBackpack "ACE_salineIV";}; -for "_i" from 1 to 10 do {player addItemToBackpack "ACE_salineIV_500";}; -for "_i" from 1 to 20 do {player addItemToBackpack "FF_Painkiller";}; -for "_i" from 1 to 20 do {player addItemToBackpack "ACE_morphine";}; -for "_i" from 1 to 20 do {player addItemToBackpack "ACE_epinephrine";}; -for "_i" from 1 to 2 do {player addItemToBackpack "ACE_adenosine";}; -for "_i" from 1 to 4 do {player addItemToBackpack "ACE_splint";}; -for "_i" from 1 to 4 do {player addItemToBackpack "ACE_tourniquet";}; -player addItemToBackpack "FSGm_ItemMedicBag"; -player addItemToBackpack "ACE_SpraypaintRed"; -player addItemToBackpack "ACE_personalAidKit"; -for "_i" from 1 to 2 do {player addItemToBackpack "ACE_bodyBag"}; \ No newline at end of file diff --git a/loadouts/mk2/backpack_mk46.sqf b/loadouts/mk2/backpack_mk46.sqf deleted file mode 100644 index f297c2e..0000000 --- a/loadouts/mk2/backpack_mk46.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// LMG Backpack -// === Items ================================ -for "_i" from 1 to 2 do {player addItemToBackpack "rhsusf_200Rnd_556x45_mixed_soft_pouch_coyote"}; \ No newline at end of file diff --git a/loadouts/mk2/backpack_mk48.sqf b/loadouts/mk2/backpack_mk48.sqf deleted file mode 100644 index 46ad5b2..0000000 --- a/loadouts/mk2/backpack_mk48.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// HMG Backpack -// === Items ================================ -for "_i" from 1 to 3 do {player addItemToBackpack "rhsusf_100Rnd_762x51_m61_ap"}; \ No newline at end of file diff --git a/loadouts/mk2/backpack_mortar.sqf b/loadouts/mk2/backpack_mortar.sqf deleted file mode 100644 index 3892bce..0000000 --- a/loadouts/mk2/backpack_mortar.sqf +++ /dev/null @@ -1,7 +0,0 @@ -// Mortar backpack -player addItemToBackpack "ACE_Kestrel4500"; -player addItemToBackpack "ACE_artilleryTable"; -for "_i" from 1 to 15 do {player addItemToBackpack "avm224_M_6Rnd_60mm_HE_csw"}; -for "_i" from 1 to 3 do {player addItemToBackpack "avm224_M_6Rnd_60mm_SMOKE_csw"}; -for "_i" from 1 to 3 do {player addItemToBackpack "avm224_M_6Rnd_60mm_ILLUM_csw"}; - diff --git a/loadouts/mk2/backpack_mrksm.sqf b/loadouts/mk2/backpack_mrksm.sqf deleted file mode 100644 index 440693a..0000000 --- a/loadouts/mk2/backpack_mrksm.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// Marksman Backpack -player addItemToBackpack "ACE_Tripod"; -player addItem "ACE_ATragMX"; -player addItem "ACE_Kestrel4500"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_rifleman.sqf b/loadouts/mk2/backpack_rifleman.sqf deleted file mode 100644 index 391226f..0000000 --- a/loadouts/mk2/backpack_rifleman.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// Rifleman backpack -player addItemToBackpack "rhs_mag_m67"; -player addItemToBackpack "rhs_mag_m67"; -player addItemToBackpack "ACE_wirecutter"; \ No newline at end of file diff --git a/loadouts/mk2/backpack_sniper.sqf b/loadouts/mk2/backpack_sniper.sqf deleted file mode 100644 index 078e327..0000000 --- a/loadouts/mk2/backpack_sniper.sqf +++ /dev/null @@ -1,20 +0,0 @@ -// Sniper backpack - -//Add some items to uniform instead -player addItem "ACE_M26_Clacker"; -player addItem "ACE_ATragMX"; -player addItem "ACE_Kestrel4500"; - -player addItemToBackpack "ACE_Tripod"; -player addItemToBackpack "ACE_DefusalKit"; -player addItemToBackpack "rhsusf_m112_mag"; -player addItemToBackpack "rhsusf_mine_m14_mag"; -player addItemToBackpack "rhsusf_mine_m14_mag"; -player addItemToBackpack "tsp_stickCharge_auto_mag"; -player addItemToBackpack "tsp_popperCharge_auto_mag"; -player addItemToBackpack "tsp_popperCharge_auto_mag"; -if (!cgqc_config_sidearm) then { - player addItemToBackpack cgqc_config_sidearm_alternate; - player addItemToBackpack cgqc_config_sidearm_alternate; - player addItemToBackpack cgqc_config_sidearm_alternate; -}; \ No newline at end of file diff --git a/loadouts/mk2/backpack_tl.sqf b/loadouts/mk2/backpack_tl.sqf deleted file mode 100644 index f2b675d..0000000 --- a/loadouts/mk2/backpack_tl.sqf +++ /dev/null @@ -1,11 +0,0 @@ -// TL backpack -for "_i" from 1 to 10 do {player addItemToBackpack "1Rnd_HE_Grenade_shell"}; -for "_i" from 1 to 3 do {player addItemToBackpack "1Rnd_SmokeRed_Grenade_shell"}; -for "_i" from 1 to 3 do {player addItemToBackpack "1Rnd_SmokeBlue_Grenade_shell"}; -for "_i" from 1 to 3 do {player addItemToBackpack "1Rnd_Smoke_Grenade_shell"}; -for "_i" from 1 to 2 do {player addItemToBackpack "ACE_40mm_Flare_white"}; -for "_i" from 1 to 2 do {player addItemToBackpack "UGL_FlareRed_F"}; -for "_i" from 1 to 2 do {player addItemToBackpack "ACE_40mm_Flare_ir"}; -for "_i" from 1 to 2 do {player addItemToBackpack "SmokeShell"}; -for "_i" from 1 to 2 do {player addItemToBackpack "tsp_stickCharge_auto_mag"}; -for "_i" from 1 to 2 do {player addItemToBackpack "tsp_popperCharge_auto_mag"}; \ No newline at end of file diff --git a/loadouts/mk2/backpack_tlnogl.sqf b/loadouts/mk2/backpack_tlnogl.sqf deleted file mode 100644 index dea4ce0..0000000 --- a/loadouts/mk2/backpack_tlnogl.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// TL backpack -for "_i" from 1 to 2 do {player addItemToBackpack "SmokeShell"}; -for "_i" from 1 to 2 do {player addItemToBackpack "tsp_stickCharge_auto_mag"}; -for "_i" from 1 to 2 do {player addItemToBackpack "tsp_popperCharge_auto_mag"}; \ No newline at end of file diff --git a/loadouts/mk2/gun_acre_gren_lpvo.sqf b/loadouts/mk2/gun_acre_gren_lpvo.sqf deleted file mode 100644 index f93dad8..0000000 --- a/loadouts/mk2/gun_acre_gren_lpvo.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["UK3CB_ACR_Carbine_UGL"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_MP7_NGAL_M300C_Black"; -player addPrimaryWeaponItem "Tier1_Razor_Gen2_16_Geissele_Docter"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk262_PMAG"; -player addPrimaryWeaponItem "1Rnd_HE_Grenade_shell"; \ No newline at end of file diff --git a/loadouts/mk2/gun_hk417.sqf b/loadouts/mk2/gun_hk417.sqf deleted file mode 100644 index b4daa37..0000000 --- a/loadouts/mk2/gun_hk417.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["cgqc_gun_mk1_hk417"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_SandmanS_Black"; -player addPrimaryWeaponItem "rhsusf_acc_anpeq15_bk_light"; -player addPrimaryWeaponItem "Tier1_Razor_Gen3_110_Geissele_Docter"; -player addPrimaryWeaponItem "ACE_20Rnd_762x51_M118LR_Mag"; -player addPrimaryWeaponItem "bipod_01_F_blk"; \ No newline at end of file diff --git a/loadouts/mk2/gun_m14EBR.sqf b/loadouts/mk2/gun_m14EBR.sqf deleted file mode 100644 index d8c3f3b..0000000 --- a/loadouts/mk2/gun_m14EBR.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["rhs_weap_m14ebrri"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "rhsusf_acc_aac_762sdn6_silencer"; -player addPrimaryWeaponItem "rhsusf_acc_nxs_3515x50f1_md"; -player addPrimaryWeaponItem "rhsusf_acc_anpeq15side_bk"; -player addPrimaryWeaponItem "rhs_acc_harris_swivel"; -player addPrimaryWeaponItem "ACE_20Rnd_762x51_M118LR_Mag"; \ No newline at end of file diff --git a/loadouts/mk2/gun_m16_shortdot.sqf b/loadouts/mk2/gun_m16_shortdot.sqf deleted file mode 100644 index 2916e4b..0000000 --- a/loadouts/mk2/gun_m16_shortdot.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["rhs_weap_m16a4_imod_grip2"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_Mk18_NGAL_M300C_Black"; -player addPrimaryWeaponItem "Tier1_Shortdot_Geissele_Docter_Black_PIP"; -player addPrimaryWeaponItem "Tier1_Harris_Bipod_Black"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk262_PMAG"; \ No newline at end of file diff --git a/loadouts/mk2/gun_m200.sqf b/loadouts/mk2/gun_m200.sqf deleted file mode 100644 index fd9f26d..0000000 --- a/loadouts/mk2/gun_m200.sqf +++ /dev/null @@ -1,4 +0,0 @@ -["cgqc_gun_mk1_m200"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "optic_lrps"; -player addPrimaryWeaponItem "ace_acc_pointer_green"; -player addPrimaryWeaponItem "7Rnd_mas_can_408_Mag"; \ No newline at end of file diff --git a/loadouts/mk2/gun_m27.sqf b/loadouts/mk2/gun_m27.sqf deleted file mode 100644 index 1b2a187..0000000 --- a/loadouts/mk2/gun_m27.sqf +++ /dev/null @@ -1,8 +0,0 @@ -// M27 for AR -// === Gun ================================ -["rhs_weap_m27iar_grip2"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_SCAR_NGAL_M300C_Black_FL"; -player addPrimaryWeaponItem "optic_Arco_blk_F"; -player addPrimaryWeaponItem "rhsusf_acc_harris_bipod"; -player addPrimaryWeaponItem "rhs_mag_100Rnd_556x45_Mk262_cmag"; \ No newline at end of file diff --git a/loadouts/mk2/gun_m4_dotplus.sqf b/loadouts/mk2/gun_m4_dotplus.sqf deleted file mode 100644 index b832ada..0000000 --- a/loadouts/mk2/gun_m4_dotplus.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["cgqc_gun_mk1_m4a1blkII"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_M4BII_NGAL_M300C_Black"; -player addPrimaryWeaponItem "optic_arco_blk_f"; -player addPrimaryWeaponItem "rhsusf_acc_grip2"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk318_PMAG"; \ No newline at end of file diff --git a/loadouts/mk2/gun_m4_grenM320.sqf b/loadouts/mk2/gun_m4_grenM320.sqf deleted file mode 100644 index 40d266a..0000000 --- a/loadouts/mk2/gun_m4_grenM320.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["rhs_weap_m4_m320"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_Mk18_NGAL_M300C_Black_FL"; -player addPrimaryWeaponItem "optic_arco_blk_f"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk318_PMAG"; -player addPrimaryWeaponItem "1Rnd_HE_Grenade_shell"; \ No newline at end of file diff --git a/loadouts/mk2/gun_m4_gren_lpvo.sqf b/loadouts/mk2/gun_m4_gren_lpvo.sqf deleted file mode 100644 index c41c51f..0000000 --- a/loadouts/mk2/gun_m4_gren_lpvo.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["cgqc_gun_mk1_m4a1blkII_gl"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_M4BII_NGAL_M600V_Black"; -player addPrimaryWeaponItem "Tier1_Razor_Gen2_16_Geissele_Docter"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk262_PMAG"; -player addPrimaryWeaponItem "1Rnd_HE_Grenade_shell"; \ No newline at end of file diff --git a/loadouts/mk2/gun_m4_lpvo.sqf b/loadouts/mk2/gun_m4_lpvo.sqf deleted file mode 100644 index 0d18c1b..0000000 --- a/loadouts/mk2/gun_m4_lpvo.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["cgqc_gun_mk1_m4a1blkII"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_M4BII_NGAL_M600V_Black"; -player addPrimaryWeaponItem "Tier1_Razor_Gen2_16_Geissele_Docter"; -player addPrimaryWeaponItem "rhsusf_acc_grip2"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk262_PMAG"; \ No newline at end of file diff --git a/loadouts/mk2/gun_mk12_razor.sqf b/loadouts/mk2/gun_mk12_razor.sqf deleted file mode 100644 index b1af345..0000000 --- a/loadouts/mk2/gun_mk12_razor.sqf +++ /dev/null @@ -1,7 +0,0 @@ -["cgqc_gun_mk1_mk12"] call CGQC_fnc_getCustomGun; - -player addPrimaryWeaponItem "gtr_acc_AEM"; -player addPrimaryWeaponItem "Tier1_M4BII_NGAL_M603V_FL"; -player addPrimaryWeaponItem "Tier1_Razor_Gen3_110_Geissele_Docter"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk262_PMAG"; -player addPrimaryWeaponItem "rhs_acc_harris_swivel"; \ No newline at end of file diff --git a/loadouts/mk2/gun_mk12_skeetIR.sqf b/loadouts/mk2/gun_mk12_skeetIR.sqf deleted file mode 100644 index 8f3c103..0000000 --- a/loadouts/mk2/gun_mk12_skeetIR.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["cgqc_gun_mk1_mk12"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_M4BII_NGAL_M600V_Black"; -player addPrimaryWeaponItem "NForce_Atcr_RMR_Top_SKeetIR_Down"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk262_PMAG"; -player addPrimaryWeaponItem "Tier1_Harris_Bipod_Black"; \ No newline at end of file diff --git a/loadouts/mk2/gun_mk18_dot.sqf b/loadouts/mk2/gun_mk18_dot.sqf deleted file mode 100644 index dff16fe..0000000 --- a/loadouts/mk2/gun_mk18_dot.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["cgqc_gun_mk1_mk18"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_M4BII_NGAL_M600V_Black"; -player addPrimaryWeaponItem "tier1_exps3_0_black"; -player addPrimaryWeaponItem "rhsusf_acc_grip2"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk318_PMAG"; \ No newline at end of file diff --git a/loadouts/mk2/gun_mk18_gren.sqf b/loadouts/mk2/gun_mk18_gren.sqf deleted file mode 100644 index 9358a1d..0000000 --- a/loadouts/mk2/gun_mk18_gren.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["cgqc_gun_mk1_mk18_gl"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_M4BII_NGAL_M600V_Black"; -player addPrimaryWeaponItem "Tier1_Eotech551_L3_Black_Up"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk318_PMAG"; -player addPrimaryWeaponItem "1Rnd_HE_Grenade_shell"; \ No newline at end of file diff --git a/loadouts/mk2/gun_mk18_tl.sqf b/loadouts/mk2/gun_mk18_tl.sqf deleted file mode 100644 index 7c4e9f7..0000000 --- a/loadouts/mk2/gun_mk18_tl.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["cgqc_gun_mk1_mk18"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_Gemtech_Halo_DE"; -player addPrimaryWeaponItem "Tier1_M4BII_NGAL_M300C_FL"; -player addPrimaryWeaponItem "Tier1_EXPS3_0_Tano"; -player addPrimaryWeaponItem "Tier1_DD_VFG_DE"; -player addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk318_PMAG"; \ No newline at end of file diff --git a/loadouts/mk2/gun_mk46.sqf b/loadouts/mk2/gun_mk46.sqf deleted file mode 100644 index c3a335b..0000000 --- a/loadouts/mk2/gun_mk46.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["cgqc_gun_mk1_mk46"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_KAC_556_QDC_CQB_Black"; -player addPrimaryWeaponItem "Tier1_Mk46Mod1_LA5_M600V_Black"; -player addPrimaryWeaponItem "optic_arco_blk_f"; -player addPrimaryWeaponItem "rhsusf_200Rnd_556x45_mixed_soft_pouch_coyote"; -player addPrimaryWeaponItem "Tier1_SAW_Bipod_DD"; \ No newline at end of file diff --git a/loadouts/mk2/gun_mk48.sqf b/loadouts/mk2/gun_mk48.sqf deleted file mode 100644 index 24544d1..0000000 --- a/loadouts/mk2/gun_mk48.sqf +++ /dev/null @@ -1,6 +0,0 @@ -["cgqc_gun_mk1_mk48"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "Tier1_SOCOM762MG_Black"; -player addPrimaryWeaponItem "Tier1_Mk48Mod0_LA5_M600V_Black"; -player addPrimaryWeaponItem "optic_arco_blk_f"; -player addPrimaryWeaponItem "Tier1_100Rnd_762x51_Belt_M993_AP"; -player addPrimaryWeaponItem "Tier1_SAW_Bipod_2_KAC"; \ No newline at end of file diff --git a/loadouts/mk2/gun_p90.sqf b/loadouts/mk2/gun_p90.sqf deleted file mode 100644 index 807962f..0000000 --- a/loadouts/mk2/gun_p90.sqf +++ /dev/null @@ -1,5 +0,0 @@ -["cgqc_gun_mk1_p90"] call CGQC_fnc_getCustomGun; -player addPrimaryWeaponItem "muzzle_snds_570"; -player addPrimaryWeaponItem "Tier1_NGAL_Side"; -player addPrimaryWeaponItem "optic_ACO_grn"; -player addPrimaryWeaponItem "50Rnd_570x28_SMG_03"; \ No newline at end of file diff --git a/loadouts/mk2/items_advanced.sqf b/loadouts/mk2/items_advanced.sqf deleted file mode 100644 index 857185e..0000000 --- a/loadouts/mk2/items_advanced.sqf +++ /dev/null @@ -1,19 +0,0 @@ -// === Linked Items -player linkItem "ItemMap"; -player linkItem "ItemCompass"; -player linkItem "ItemWatch"; -// === Binos -player addWeapon "Laserdesignator_01_khk_F"; -player addMagazine "Laserbatteries"; -// === Items GPS/UAV -player linkItem "B_UavTerminal"; -// === NVG's - In backpack if daytime -[] call CGQC_fnc_isDaytime; -if (cgqc_mission_daytime) then { - player addItemToBackpack "JAS_GPNVG18_Full_blk_TI"; -}else{ - //Night mission - player linkItem "JAS_GPNVG18_Full_blk_TI"; -}; - - diff --git a/loadouts/mk2/items_basic.sqf b/loadouts/mk2/items_basic.sqf deleted file mode 100644 index b0eba74..0000000 --- a/loadouts/mk2/items_basic.sqf +++ /dev/null @@ -1,16 +0,0 @@ -// === Linked Items -player linkItem "ItemMap"; -player linkItem "ItemCompass"; -player linkItem "ItemWatch"; -// === Binos -player addWeapon "cgqc_item_rangefinder"; -// === Items GPS/UAV/NVG -player linkItem "ItemGPS"; -// === NVG's - In backpack if daytime -[] call CGQC_fnc_isDaytime; -if (cgqc_mission_daytime) then { - player addItemToBackpack "JAS_GPNVG18_blk"; -}else{ - //Night mission - player linkItem "JAS_GPNVG18_blk"; -}; \ No newline at end of file diff --git a/loadouts/mk2/items_minimal.sqf b/loadouts/mk2/items_minimal.sqf deleted file mode 100644 index 92df17f..0000000 --- a/loadouts/mk2/items_minimal.sqf +++ /dev/null @@ -1,8 +0,0 @@ -// === Linked Items -player linkItem "ItemMap"; -player linkItem "ItemCompass"; -player linkItem "ItemWatch"; -// === Binos -player addWeapon "cgqc_item_rangefinder"; -// === Items GPS/UAV/NVG -player linkItem "ItemGPS"; \ No newline at end of file diff --git a/loadouts/mk2/items_recon.sqf b/loadouts/mk2/items_recon.sqf deleted file mode 100644 index b14faca..0000000 --- a/loadouts/mk2/items_recon.sqf +++ /dev/null @@ -1,16 +0,0 @@ -// === Linked Items -player linkItem "ItemMap"; -player linkItem "ItemCompass"; -player linkItem "ItemWatch"; -// === Binos -player addWeapon "ACE_Vector"; -// === Items GPS/UAV/NVG -player linkItem "B_UavTerminal"; - -[] call CGQC_fnc_isDaytime; -if (cgqc_mission_daytime) then { - player addItemToBackpack "JAS_GPNVG18_Full_blk_TI"; -}else{ - //Night mission - player linkItem "JAS_GPNVG18_Full_blk_TI"; -}; \ No newline at end of file diff --git a/loadouts/mk2/radios_2ic.sqf b/loadouts/mk2/radios_2ic.sqf deleted file mode 100644 index 877c6fd..0000000 --- a/loadouts/mk2/radios_2ic.sqf +++ /dev/null @@ -1,7 +0,0 @@ -// === 2iC Radios ================================ -player addItem "ACRE_PRC343"; -player addItem "ACRE_PRC152"; -// Delete event in case it exists -if(!isNil "cgqc_event_148") then { - ["acre_startedSpeaking", cgqc_event_148] call CBA_fnc_removeEventHandler; -}; \ No newline at end of file diff --git a/loadouts/mk2/radios_hq.sqf b/loadouts/mk2/radios_hq.sqf deleted file mode 100644 index f640748..0000000 --- a/loadouts/mk2/radios_hq.sqf +++ /dev/null @@ -1,8 +0,0 @@ -// === HQ Radios ================================ -player addItemToUniform "ACRE_PRC343"; -player addItemToBackpack "ACRE_PRC117F"; -player addItemToBackpack "ACRE_PRC117F"; -// Delete event in case it exists -if(!isNil "cgqc_event_148") then { - ["acre_startedSpeaking", cgqc_event_148] call CBA_fnc_removeEventHandler; -}; \ No newline at end of file diff --git a/loadouts/mk2/radios_inf.sqf b/loadouts/mk2/radios_inf.sqf deleted file mode 100644 index e6b8300..0000000 --- a/loadouts/mk2/radios_inf.sqf +++ /dev/null @@ -1,20 +0,0 @@ -// === Infantry Radios ================================ -player addItem "ACRE_PRC343"; - -/* -player addItem "ACRE_PRC148"; -// Event with notifications if they try to communicate on ch:1 -cgqc_event_148 = ["acre_startedSpeaking", { - params ["_unit", "_onRadio", "_radioId", "_speakingType"]; - if (_onRadio) then { - if(_radioId find "148" > -1) then { - y_channel = [] call acre_api_fnc_getCurrentRadioChannelNumber; - if(y_channel == 1) then { - _channel_txt = parseText( "148:Ch1 = Listen Only!!!" + "
" + "En cas d'urgence: Ch2 pour HQ"); - [ _channel_txt, 0, 1, 3, 1 ] spawn BIS_fnc_dynamicText; - }; - }; - }; -}] call CBA_fnc_addEventHandler; -hint "Radio 148:Ch1-ListenOnly"; -*/ \ No newline at end of file diff --git a/loadouts/mk2/radios_jtac.sqf b/loadouts/mk2/radios_jtac.sqf deleted file mode 100644 index 9c712ba..0000000 --- a/loadouts/mk2/radios_jtac.sqf +++ /dev/null @@ -1,8 +0,0 @@ -// === JTAC Radios ================================ -player addItem "ACRE_PRC343"; -player addItem "ACRE_PRC152"; -player addItem "ACRE_PRC117"; -// Delete event in case it exists -if(!isNil "cgqc_event_148") then { - ["acre_startedSpeaking", cgqc_event_148] call CBA_fnc_removeEventHandler; -}; \ No newline at end of file diff --git a/loadouts/mk2/radios_pilot.sqf b/loadouts/mk2/radios_pilot.sqf deleted file mode 100644 index 44d2324..0000000 --- a/loadouts/mk2/radios_pilot.sqf +++ /dev/null @@ -1,8 +0,0 @@ -// === Pilot Radios ================================ -player addItem "ACRE_PRC152"; -player addItem "ACRE_PRC152"; -// Delete event in case it exists - -if(!isNil "cgqc_event_148") then { - ["acre_startedSpeaking", cgqc_event_148] call CBA_fnc_removeEventHandler; -}; diff --git a/loadouts/mk2/radios_recon.sqf b/loadouts/mk2/radios_recon.sqf deleted file mode 100644 index 72c6f74..0000000 --- a/loadouts/mk2/radios_recon.sqf +++ /dev/null @@ -1,8 +0,0 @@ -// === Recon Radios ================================ -player addItem "ACRE_PRC343"; -player addItem "ACRE_PRC152"; -player addItem "ACRE_PRC152"; -// Delete event in case it exists -if(!isNil "cgqc_event_148") then { - ["acre_startedSpeaking", cgqc_event_148] call CBA_fnc_removeEventHandler; -}; \ No newline at end of file diff --git a/loadouts/mk2/radios_tl.sqf b/loadouts/mk2/radios_tl.sqf deleted file mode 100644 index d507b48..0000000 --- a/loadouts/mk2/radios_tl.sqf +++ /dev/null @@ -1,7 +0,0 @@ -// === TL Radios ================================ -player addItem "ACRE_PRC343"; -player addItem "ACRE_PRC152"; -// Delete event in case it exists -if(!isNil "cgqc_event_148") then { - ["acre_startedSpeaking", cgqc_event_148] call CBA_fnc_removeEventHandler; -}; \ No newline at end of file diff --git a/loadouts/mk2/remove_all.sqf b/loadouts/mk2/remove_all.sqf deleted file mode 100644 index e69de29..0000000 diff --git a/loadouts/mk2/uniform_basic.sqf b/loadouts/mk2/uniform_basic.sqf deleted file mode 100644 index a0bb96c..0000000 --- a/loadouts/mk2/uniform_basic.sqf +++ /dev/null @@ -1,49 +0,0 @@ -// Basic uniform loadout -// === Essentials ================================ -player addItemToUniform "ACE_EarPlugs"; -player addItemToUniform "ItemAndroid"; -player addItemToUniform "ACE_MapTools"; -player addItemToUniform "ACE_CableTie"; -player addItemToUniform "ACE_CableTie"; -player addItemToUniform "acex_intelitems_notepad"; -player addItemToUniform "ACE_RangeCard"; -player addItemToUniform "WBK_HeadLampItem"; -player addItemToUniform "ACE_microDAGR"; -player addItemToUniform "cgqc_items_ifak"; -player addItemToUniform "tsp_lockpick"; -// === Handgun mags =========================== -_mags = cgqc_config_sidearm_mag; -if (cgqc_perks_recon) then { - _mags = cgqc_config_sidearm_alternate; -}; -for "_i" from 1 to 2 do { - if (player canAdd [_mags, 1]) then { - player addItemToUniform _mags; - } else{ - player addItem _mags; - }; -}; -/* -// === Meds ===================================== -player addItemToUniform "FF_Painkiller"; -player addItemToUniform "FF_Painkiller"; -player addItemToUniform "FF_Painkiller"; -player addItemToUniform "FF_Painkiller"; -player addItemToUniform "FF_Painkiller"; -player addItemToUniform "ACE_fieldDressing"; -player addItemToUniform "ACE_fieldDressing"; -player addItemToUniform "ACE_fieldDressing"; -player addItemToUniform "ACE_fieldDressing"; -player addItemToUniform "ACE_fieldDressing"; -player addItemToUniform "ACE_fieldDressing"; -player addItemToUniform "ACE_fieldDressing"; -player addItemToUniform "ACE_fieldDressing"; -player addItemToUniform "ACE_fieldDressing"; -player addItemToUniform "ACE_fieldDressing"; -player addItemToUniform "ACE_epinephrine"; -player addItemToUniform "ACE_morphine"; -player addItemToUniform "ACE_tourniquet"; -player addItemToUniform "ACE_tourniquet"; -player addItemToUniform "ACE_splint"; -*/ -// ============================================= \ No newline at end of file diff --git a/loadouts/mk2/vest_basic.sqf b/loadouts/mk2/vest_basic.sqf deleted file mode 100644 index 3bb72d0..0000000 --- a/loadouts/mk2/vest_basic.sqf +++ /dev/null @@ -1,5 +0,0 @@ -// Basic Vest loadout (Pretty universal) -// === Throwables ================================ -for "_i" from 1 to 2 do {player addItemToVest "rhs_mag_m67"}; -for "_i" from 1 to 3 do {player addItemToVest "ACE_M84"}; -for "_i" from 1 to 3 do {player addItemToVest "SmokeShell"}; \ No newline at end of file diff --git a/loadouts/mk2/vest_grenadier.sqf b/loadouts/mk2/vest_grenadier.sqf deleted file mode 100644 index cf6f879..0000000 --- a/loadouts/mk2/vest_grenadier.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// === Grenadier Vest ======== -// Vest.. for the grenadiers. -for "_i" from 1 to 5 do {player addItemToVest "1Rnd_HE_Grenade_shell"}; -[] call CGQC_fnc_addMags; \ No newline at end of file diff --git a/loadouts/mk2/vest_hk417.sqf b/loadouts/mk2/vest_hk417.sqf deleted file mode 100644 index 69eff2e..0000000 --- a/loadouts/mk2/vest_hk417.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// === Marksman Vest ======== -// - -[] call CGQC_fnc_addMags; \ No newline at end of file diff --git a/loadouts/mk2/vest_infantry.sqf b/loadouts/mk2/vest_infantry.sqf deleted file mode 100644 index 59adb4e..0000000 --- a/loadouts/mk2/vest_infantry.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// === Infantry Vest ======== -// Vest for infantry -[] call CGQC_fnc_addMags; -for "_i" from 1 to 2 do {player addItemToBackpack "rhs_mag_m67"}; \ No newline at end of file diff --git a/loadouts/mk2/vest_m14EBR.sqf b/loadouts/mk2/vest_m14EBR.sqf deleted file mode 100644 index c2178ef..0000000 --- a/loadouts/mk2/vest_m14EBR.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// === M14 Sniper Vest ======== -// - -[] call CGQC_fnc_addMags; \ No newline at end of file diff --git a/loadouts/mk2/vest_m200.sqf b/loadouts/mk2/vest_m200.sqf deleted file mode 100644 index d7baf62..0000000 --- a/loadouts/mk2/vest_m200.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// === Sniper Vest ======== -// - -[] call CGQC_fnc_addMags; \ No newline at end of file diff --git a/loadouts/mk2/vest_mk12.sqf b/loadouts/mk2/vest_mk12.sqf deleted file mode 100644 index 82dc032..0000000 --- a/loadouts/mk2/vest_mk12.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// === Mk12 Spotter Vest ======== -// - -[] call CGQC_fnc_addMags; \ No newline at end of file diff --git a/loadouts/mk2/vest_mk46.sqf b/loadouts/mk2/vest_mk46.sqf deleted file mode 100644 index 77eb2a5..0000000 --- a/loadouts/mk2/vest_mk46.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// === LMG Vest ======== -// - -[] call CGQC_fnc_addMags; \ No newline at end of file diff --git a/loadouts/mk2/vest_mk48.sqf b/loadouts/mk2/vest_mk48.sqf deleted file mode 100644 index 578626f..0000000 --- a/loadouts/mk2/vest_mk48.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// === mk48 HMG Vest ======== -// - -[] call CGQC_fnc_addMags; \ No newline at end of file diff --git a/loadouts/mk2/vest_p90.sqf b/loadouts/mk2/vest_p90.sqf deleted file mode 100644 index 05386f8..0000000 --- a/loadouts/mk2/vest_p90.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// === P90 Vest ======== -// - -[] call CGQC_fnc_addMags; \ No newline at end of file diff --git a/loadouts/mk2/vest_p90_pilot.sqf b/loadouts/mk2/vest_p90_pilot.sqf deleted file mode 100644 index b25bc6b..0000000 --- a/loadouts/mk2/vest_p90_pilot.sqf +++ /dev/null @@ -1,4 +0,0 @@ -// === Pilot Vest ======== -// -for "_i" from 1 to 3 do {player addItemToBackpack "SmokeShell"}; -[] call CGQC_fnc_addMags; diff --git a/loadouts/mk2/vest_rifleman.sqf b/loadouts/mk2/vest_rifleman.sqf deleted file mode 100644 index 8f921fe..0000000 --- a/loadouts/mk2/vest_rifleman.sqf +++ /dev/null @@ -1,5 +0,0 @@ -// === Rifleman Vest ======== -// - -for "_i" from 0 to 1 do {player addItemToVest "rhs_mag_m67"}; -[] call CGQC_fnc_addMags; \ No newline at end of file diff --git a/loadouts/mk2_loadouts_spartan.sqf b/loadouts/mk2_loadouts_spartan.sqf deleted file mode 100644 index 3e9ac64..0000000 --- a/loadouts/mk2_loadouts_spartan.sqf +++ /dev/null @@ -1,241 +0,0 @@ -// ********************************************************************************************************************** -// --- Spartan-1 -------------------------------------------------------------------------------------------------------- -// ********************************************************************************************************************** -_action = [ "menu_mk2_s1", "Spartan", "", {""}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Infanterie --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_inf", "Infanterie", "", {""}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Rifleman mk18 -_action = [ "menu_mk2_inf_RFCQB", "Rifleman CQB mk18", "", {["rifle_cqb", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Rifleman M4 -_action = [ "menu_mk2_inf_RF", "Rifleman Carbine M4blk2", "", {["rifle_carb", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Rifleman M16 -_action = [ "menu_mk2_inf_RF_m16", "Rifleman Rifle M16a4", "", {["rifle_m16", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Grenadier -_action = [ "menu_mk2_inf_Grenadier", "Grenadier", "", {["rifle_grenade", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Specialists --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_spec", "Spécialistes", "", {""}, {cgqc_player_rank > 1 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Medic -_action = [ "menu_mk2_inf_medic", "Medic", "", {["med", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Engineer -_action = [ "menu_mk2_inf_eng", "Engineer", "", {["eng", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// MG (Light) -_action = [ "menu_mk2_inf_LMG", "Light machinegun", "", {["lmg", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// MG (Heavy) -_action = [ "menu_mk2_inf_HMG", "Heavy machinegun", "", {["hmg", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Marksman -_action = [ "menu_mk2_inf_marks", "Marksman", "", {["mrksm", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Anti-Tank (MAAWS) -_action = [ "menu_mk2_inf_maaws", "Anti-Tank (MAAWS)", "", {["at_maaws", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Anti-Tank (Javelin) -_action = [ "menu_mk2_inf_jav", "Anti-Tank (Javelin)", "", {["at_jav", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Mortier léger -_action = [ "menu_mk2_inf_mortar", "Mortier Léger", "", {["mortar", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Lead --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_lead", "Commandement", "", {""}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Team Leader -_action = [ "menu_mk2_inf_TL", "Team Leader", "", {["tl_carb", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_lead"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Team Leader CQB -_action = [ "menu_mk2_inf_TLcqb", "Team Leader CQB", "", {["tl_cqb", 1, false] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s1", "menu_mk2_lead"], _action ] call ace_interact_menu_fnc_addActionToObject; - - - - - - - - - - - - - - - -/* - - - -// ********************************************************************************************************************** -// --- Spartan-2 ------------------------------------------------------------------------------------------------------- -// ********************************************************************************************************************** -_action = [ "menu_mk2_s2", "Spartan-2", "", {""}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Infanterie --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_inf", "Infanterie", "", {""}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Rifleman -_action = [ "menu_mk2_inf_RF", "Rifleman", "", {["rifle_carb", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Rifleman CQB -_action = [ "menu_mk2_inf_RFCQB", "Rifleman CQB", "", {["rifle_cqb", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Grenadier -_action = [ "menu_mk2_inf_Grenadier", "Grenadier", "", {["rifle_grenade", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Specialists --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_spec", "Spécialistes", "", {""}, {cgqc_player_rank > 1 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Medic -_action = [ "menu_mk2_inf_medic", "Medic", "", {["med", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Engineer -_action = [ "menu_mk2_inf_eng", "Engineer", "", {["eng", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// MG (Light) -_action = [ "menu_mk2_inf_LMG", "Light machinegun", "", {["lmg", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// MG (Heavy) -_action = [ "menu_mk2_inf_HMG", "Heavy machinegun", "", {["hmg", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Marksman -_action = [ "menu_mk2_inf_marks", "Marksman", "", {["mrksm", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Anti-Tank (MAAWS) -_action = [ "menu_mk2_inf_maaws", "Anti-Tank (MAAWS)", "", {["at_maaws", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Anti-Tank (Javelin) -_action = [ "menu_mk2_inf_jav", "Anti-Tank (Javelin)", "", {["at_jav", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Mortier léger -_action = [ "menu_mk2_inf_mortar", "Mortier Léger", "", {["mortar", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Lead --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_lead", "Commandement", "", {""}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Team Leader -_action = [ "menu_mk2_inf_TL", "Team Leader", "", {["tl_carb", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_lead"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Team Leader CQB -_action = [ "menu_mk2_inf_TLcqb", "Team Leader CQB", "", {["tl_cqb", 2] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s2", "menu_mk2_lead"], _action ] call ace_interact_menu_fnc_addActionToObject; - - - -// ********************************************************************************************************************** -// ---- Spartan-3 ------------------------------------------------------------------------------------------------------ -// ********************************************************************************************************************** -_action = [ "menu_mk2_s3", "Spartan-3", "", {""}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Infanterie --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_inf", "Infanterie", "", {""}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Rifleman -_action = [ "menu_mk2_inf_RF", "Rifleman", "", {["rifle_carb", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Rifleman CQB -_action = [ "menu_mk2_inf_RFCQB", "Rifleman CQB", "", {["rifle_cqb", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Grenadier -_action = [ "menu_mk2_inf_Grenadier", "Grenadier", "", {["rifle_grenade", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Specialists --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_spec", "Spécialistes", "", {""}, {cgqc_player_rank > 1 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Medic -_action = [ "menu_mk2_inf_medic", "Medic", "", {["med", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Engineer -_action = [ "menu_mk2_inf_eng", "Engineer", "", {["eng", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// MG (Light) -_action = [ "menu_mk2_inf_LMG", "Light machinegun", "", {["lmg", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// MG (Heavy) -_action = [ "menu_mk2_inf_HMG", "Heavy machinegun", "", {["hmg", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Marksman -_action = [ "menu_mk2_inf_marks", "Marksman", "", {["mrksm", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Anti-Tank (MAAWS) -_action = [ "menu_mk2_inf_maaws", "Anti-Tank (MAAWS)", "", {["at_maaws", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Anti-Tank (Javelin) -_action = [ "menu_mk2_inf_jav", "Anti-Tank (Javelin)", "", {["at_jav", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Mortier léger -_action = [ "menu_mk2_inf_mortar", "Mortier Léger", "", {["mortar", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Lead --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_lead", "Commandement", "", {""}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Team Leader -_action = [ "menu_mk2_inf_TL", "Team Leader", "", {["tl_carb", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_lead"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Team Leader CQB -_action = [ "menu_mk2_inf_TLcqb", "Team Leader CQB", "", {["tl_cqb", 3] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s3", "menu_mk2_lead"], _action ] call ace_interact_menu_fnc_addActionToObject; - - -// ********************************************************************************************************************** -// ---- Spartan-4 ------------------------------------------------------------------------------------------------------- -// ********************************************************************************************************************** -_action = [ "menu_mk2_s4", "Spartan-4", "", {""}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Infanterie --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_inf", "Infanterie", "", {""}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Rifleman -_action = [ "menu_mk2_inf_RF", "Rifleman", "", {["rifle_carb", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Rifleman CQB -_action = [ "menu_mk2_inf_RFCQB", "Rifleman CQB", "", {["rifle_cqb", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Grenadier -_action = [ "menu_mk2_inf_Grenadier", "Grenadier", "", {["rifle_grenade", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_inf"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Specialists --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_spec", "Spécialistes", "", {""}, {cgqc_player_rank > 1 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Medic -_action = [ "menu_mk2_inf_medic", "Medic", "", {["med", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Engineer -_action = [ "menu_mk2_inf_eng", "Engineer", "", {["eng", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// MG (Light) -_action = [ "menu_mk2_inf_LMG", "Light machinegun", "", {["lmg", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// MG (Heavy) -_action = [ "menu_mk2_inf_HMG", "Heavy machinegun", "", {["hmg", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Marksman -_action = [ "menu_mk2_inf_marks", "Marksman", "", {["mrksm", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 2 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Anti-Tank (MAAWS) -_action = [ "menu_mk2_inf_maaws", "Anti-Tank (MAAWS)", "", {["at_maaws", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Anti-Tank (Javelin) -_action = [ "menu_mk2_inf_jav", "Anti-Tank (Javelin)", "", {["at_jav", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Mortier léger -_action = [ "menu_mk2_inf_mortar", "Mortier Léger", "", {["mortar", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_spec"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Lead --------------------------------------------------------------------------------------------------------- -_action = [ "menu_mk2_lead", "Commandement", "", {""}, {cgqc_player_rank > 3 || !cgqc_mk2_arsenal_locked || cgqc_flag_isTraining} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Team Leader -_action = [ "menu_mk2_inf_TL", "Team Leader", "", {["tl_carb", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_lead"], _action ] call ace_interact_menu_fnc_addActionToObject; -// Team Leader CQB -_action = [ "menu_mk2_inf_TLcqb", "Team Leader CQB", "", {["tl_cqb", 4] execVM "\CGQC_2022\loadouts\mk2_role_switch.sqf"}, {true} ] call ace_interact_menu_fnc_createAction; -_adding = [ _crate, 0, ["ACE_MainActions" , "menu_mk2", "menu_mk2_s4", "menu_mk2_lead"], _action ] call ace_interact_menu_fnc_addActionToObject; - -*/ \ No newline at end of file diff --git a/loadouts/mk2_role_switch.sqf b/loadouts/mk2_role_switch.sqf deleted file mode 100644 index 4bed163..0000000 --- a/loadouts/mk2_role_switch.sqf +++ /dev/null @@ -1,296 +0,0 @@ -// --- mk2_role_switch ---------------------------------------------------------- -// Start everything player related -params ["_type"]; - diag_log format ["[CGQC_FNC] trainingMortar %1 started", _type]; - -cgqc_roleSwitch_done = false; - -if (hasInterface) then { - disableUserInput true; - _type = _this select 0; - _section = _this select 1; - _auRepos = _this select 2; - - if (cgqc_setting_show_transition) then { - // Fade to black - cutText ["", "BLACK FADED", 999]; - titleText ["", "PLAIN"]; - }; - - // ===== Prep and transition ====================================================== - _perks = ""; - _uniform = ""; - _loadout = ""; - _radios = ""; - cgqc_player_role = ""; - cgqc_player_role_infantry = true; - cgqc_player_role_removed = false; - - // Check if player in chill mode - if (cgqc_player_chill) then { - ["ready", true] call CGQC_fnc_perksBasic; - }; - - // ===== Remove items ====================================================== - removeAllWeapons player; - removeAllItems player; - removeAllAssignedItems player; - removeUniform player; - removeVest player; - removeBackpack player; - removeHeadgear player; - removeGoggles player; - cgqc_player_role_removed = true; - - switch (_type) do { - // Command ======================================================================== - case "hq":{ - _perks = "hq"; - _uniform = "command"; - _loadout = "hq"; - _radios = "sl"; - cgqc_player_role = "HQ"; - }; - case "sl":{ - _perks = "hq"; - _uniform = "command"; - _loadout = "sl"; - _radios = "sl"; - cgqc_player_role = "Squad Leader"; - }; - case "tl_carb":{ - _perks = "tl"; - _uniform = "command"; - _loadout = "tl_carb"; - _radios = "tl"; - cgqc_player_role = "Team Leader"; - }; - case "tl_cqb":{ - _perks = "tl"; - _uniform = "command"; - _loadout = "tl_cqb"; - _radios = "tl"; - cgqc_player_role = "Team Leader"; - }; - case "tl_no_gl":{ - _perks = "tl"; - _uniform = "command"; - _loadout = "tl_no_gl"; - _radios = "tl"; - cgqc_player_role = "Team Leader"; - }; - // Infantry ========================================================================== - case "rifle_cqb":{ - _perks = "inf"; - _uniform = "inf_light"; - _loadout = "rifle_cqb"; - _radios = "inf"; - cgqc_player_role = "Rifleman (Mk18)"; - }; - case "rifle_carb":{ - _perks = "inf"; - _uniform = "inf_light"; - _loadout = "rifle_carb"; - _radios = "inf"; - cgqc_player_role = "Rifleman (m4)"; - }; - case "rifle_m16":{ - _perks = "inf"; - _uniform = "inf_light"; - _loadout = "rifle_m16"; - _radios = "inf"; - cgqc_player_role = "Rifleman (m16)"; - }; - case "rifle_grenade":{ - _perks = "inf"; - _uniform = "inf_medium"; - _loadout = "rifle_gren"; - _radios = "inf"; - cgqc_player_role = "Grenadier"; - }; - // AT ========================================================================== - case "at_jav":{ - _perks = "at"; - _uniform = "inf_heavy"; - _loadout = "at_jav"; - _radios = "inf"; - cgqc_player_role = "Anti-Tank (Javelin)"; - }; - case "at_maaws":{ - _perks = "at"; - _uniform = "inf_heavy"; - _loadout = "at_maaws"; - _radios = "inf"; - cgqc_player_role = "Anti-Tank (MAAWS)"; - }; - // MG ========================================================================== - case "ar":{ - _perks = "mg"; - _uniform = "inf_medium"; - _loadout = "ar"; - _radios = "inf"; - cgqc_player_role = "Auto-Rifleman"; - }; - case "hmg":{ - _perks = "mg"; - _uniform = "inf_medium"; - _loadout = "hmg"; - _radios = "inf"; - cgqc_player_role = "Machinegunner (Heavy)"; - }; - case "lmg":{ - _perks = "mg"; - _uniform = "inf_medium"; - _loadout = "lmg"; - _radios = "inf"; - cgqc_player_role = "Machinegunner (Light)"; - }; - // Specialists ========================================================================== - case "eng":{ - _perks = "eng"; - _uniform = "eng"; - _loadout = "eng"; - _radios = "inf"; - cgqc_player_role = "Engineer"; - }; - case "saboteur": { - _perks = "eng"; - _uniform = "eng"; - _loadout = "saboteur"; - _radios = "inf"; - cgqc_player_role = "Saboteur"; - }; - case "med":{ - _perks = "med"; - _uniform = "med"; - _loadout = "med"; - _radios = "medic"; - cgqc_player_role = "Medic"; - }; - case "mrksm":{ - _perks = "inf"; - _uniform = "inf_light"; - _loadout = "mrksm"; - _radios = "inf"; - cgqc_player_role = "Designated Marksman"; - }; - case "mortar":{ - _perks = "mortar"; - _uniform = "inf_heavy"; - _loadout = "mortar"; - _radios = "recon"; - cgqc_player_role = "Mortier Léger"; - }; - // Recon ========================================================================== - - case "drone":{ - _perks = "recon"; - _uniform = "recon"; - _loadout = "drone"; - _radios = "recon"; - cgqc_player_role = "Drone Operator"; - }; - case "sniper":{ - _perks = "recon"; - _uniform = "recon"; - _loadout = "sniper"; - _radios = "recon"; - cgqc_player_role = "Sniper m200"; - }; - case "sniper_ebr":{ - _perks = "recon"; - _uniform = "recon"; - _loadout = "sniper_ebr"; - _radios = "recon"; - cgqc_player_role = "Sniper m14EBR"; - }; - case "spotter":{ - _perks = "recon"; - _uniform = "recon"; - _loadout = "spotter"; - _radios = "recon"; - cgqc_player_role = "Spotter"; - }; - case "jtac":{ - _perks = "recon"; - _uniform = "jtac"; - _loadout = "jtac"; - _radios = "jtac"; - cgqc_player_role = "JTAC"; - }; - // Pilots and crews =============================================================== - case "heli":{ - _perks = "heli"; - _uniform = "heli"; - _loadout = "heli"; - _radios = "griffon_pieton"; - cgqc_player_role = "Helicopter Pilot"; - cgqc_player_role_infantry = false; - }; - case "heli_crew":{ - _perks = "heli_crew"; - _uniform = "heli_crew"; - _loadout = "heli"; - _radios = "griffon_pieton"; - cgqc_player_role = "Helicopter Crew"; - cgqc_player_role_infantry = false; - }; - case "jet_pilot":{ - _perks = "jet_pilot"; - _uniform = "jet_pilot"; - _loadout = "jet_pilot"; - _radios = "griffon_pieton"; - cgqc_player_role = "Jet Pilot"; - cgqc_player_role_infantry = false; - }; - case "driver":{ - _perks = "driver"; - _uniform = "driver"; - _loadout = "tank"; - _radios = "centaure_pieton"; - cgqc_player_role = "Tank Driver"; - cgqc_player_role_infantry = false; - }; - case "tank_crew":{ - _perks = "tank_crew"; - _uniform = "driver"; - _loadout = "tank"; - _radios = "centaure_pieton"; - cgqc_player_role = "Tank Crew"; - cgqc_player_role_infantry = false; - }; - default { - hintc "mk2_role_switch.sqf fail"; - }; - }; - - mk2_role_switch_perks_done = false; - mk2_role_switch_uniform = false; - mk2_role_switch_loadout = false; - - // Perks and traits setup - [_perks] call cgqc_fnc_switchPerks; - // Add Uniform - [_uniform] execVM "\CGQC_2022\loadouts\mk2_role_switch_uniform.sqf"; - // Add loadout - [_loadout] execVM "\CGQC_2022\loadouts\mk2_role_switch_loadout.sqf"; - - // Get and set radios - [_radios, _section] call CGQC_fnc_getRadioPresets; - - //Set patch back - player setVariable ["BIS_fnc_setUnitInsignia_class", nil]; //Remove patch - [ player, cgqc_player_patch ] call BIS_fnc_setUnitInsignia; - - // Chill mode - //if (_auRepos) then { - // ["chill", true] call CGQC_fnc_perksBasic; - //}; - // Lower gun - player action ['SwitchWeapon', player, player, 250]; - // Start transition - - ["role", true] call CGQC_fnc_showTransition; - cgqc_roleSwitch_done = true; - disableUserInput false; -}; \ No newline at end of file diff --git a/loadouts/mk2_role_switch_loadout.sqf b/loadouts/mk2_role_switch_loadout.sqf deleted file mode 100644 index 5bc5529..0000000 --- a/loadouts/mk2_role_switch_loadout.sqf +++ /dev/null @@ -1,381 +0,0 @@ -_type = _this select 0; - -// Universal stuff on every units -sleep 0.5; -// === Vest basic -#include "\cgqc_2022\loadouts\mk2\vest_basic.sqf" -// === Uniform basic -#include "\cgqc_2022\loadouts\mk2\uniform_basic.sqf" -// === Backpack basic -#include "\cgqc_2022\loadouts\mk2\backpack_basic.sqf" - -// Cloutier thangs -if (cgqc_player_max) then { - _items = (items player); - _mags = magazines player; - if !("murshun_cigs_lighter" in _items) then {player addItem "murshun_cigs_lighter";}; - if !("murshun_cigs_cigpack" in _items) then {player addItem "murshun_cigs_cigpack";}; - if !("immersion_cigs_cigar0_nv" in _items) then {player addItem "immersion_cigs_cigar0_nv";}; - if !("grad_paceCountBeads_functions_paceCountBeads" in _items) then {player addItem "grad_paceCountBeads_functions_paceCountBeads";}; - if !("ACE_MapTools" in _items) then {player addItem "ACE_MapTools";}; - if !("acex_intelitems_notepad" in _mags) then {player addItem "acex_intelitems_notepad";}; -}; - - -switch (_type) do { - case "hq":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_lpvo.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_hq.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_hq.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_advanced.sqf" - }; - case "sl":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_grenM320.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_grenadier.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_hq.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_hq.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_advanced.sqf" - }; - case "tl_carb":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_grenM320.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_grenadier.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_tl.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_tl.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_advanced.sqf" - }; - case "tl_cqb":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_mk18_gren.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_grenadier.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_tl.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_tl.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_advanced.sqf" - }; - case "tl_no_gl":{ - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_mk18_tl.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_tlnogl.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_tl.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_advanced.sqf" - player addItemToBackpack "Tier1_Razor_Gen3_110_ADM_PIP"; - }; - case "heli":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_p90.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_p90_pilot.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_pilot.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_advanced.sqf" - }; - case "jet_pilot":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_p90.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_p90_pilot.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_pilot.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_advanced.sqf" - // Remove superfluous nvgs - player unlinkItem "JAS_GPNVG18_Full_blk_TI"; - }; - case "tank":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_p90.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_p90.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_driver.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_pilot.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - player unlinkItem "ItemGPS"; - player linkItem "B_UavTerminal"; - }; - case "drone":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_lpvo.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_drone.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_recon.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_recon.sqf" - }; - case "sniper":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m200.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_m200.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_sniper.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_recon.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_recon.sqf" - }; - case "sniper_ebr":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m14EBR.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_m14EBR.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_sniper.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_recon.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_recon.sqf" - }; - case "spotter":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_mk12_razor.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_mk12.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_sniper.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_recon.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_recon.sqf" - }; - case "jtac":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_mk12_razor.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_jtac.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_jtac.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_recon.sqf" - }; - case "eng":{ //============================================================================================= - // === Remove pistol and use mine detector instead - player addWeapon "ACE_VMH3"; - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_dotplus.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_eng.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - player unlinkItem "ItemGPS"; - player linkItem "B_UavTerminal"; - }; - case "saboteur":{ //============================================================================================= - // === Remove pistol and use mine detector instead - player addWeapon "ACE_VMH3"; - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_dotplus.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_eng_saboteur.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - player unlinkItem "ItemGPS"; - player linkItem "B_UavTerminal"; - }; - - case "med":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_lpvo.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_med.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_2ic.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - }; - case "at_jav":{ //============================================================================================= - // === Javelin - ["cgqc_gun_mk1_Javelin"] call CGQC_fnc_getCustomGun; - player addSecondaryWeaponItem "jav_AT_mas_can"; - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_lpvo.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_jav.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - }; - case "at_maaws":{ //============================================================================================= - // === MAAWS - ["cgqc_gun_mk1_MAAWS"] call CGQC_fnc_getCustomGun; - player addSecondaryWeaponItem "MRAWS_HEAT_F"; - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_dotplus.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_maaws.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - }; - case "ar":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m27.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_m27.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - }; - case "hmg":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_mk48.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_mk48.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_mk48.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - }; - case "lmg":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_mk46.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_mk46.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_mk46.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - }; - case "mrksm":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_hk417.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_hk417.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_mrksm.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_recon.sqf" - }; - case "mortar":{ //============================================================================================= - // === Portable mortar - player addWeapon "avm224_W_M224_mortar_carry"; - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_lpvo.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_infantry.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_mortar.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_2ic.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_recon.sqf" - }; - case "rifle_cqb":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_mk18_dot.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_rifleman.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_rifleman.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - // Jetable - player addWeapon "rhs_weap_m72a7"; - }; - case "rifle_carb":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_dotplus.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_rifleman.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_rifleman.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - // Jetable - player addWeapon "rhs_weap_m72a7"; - }; - case "rifle_m16":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m16_shortdot.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_rifleman.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_rifleman.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - // Jetable - player addWeapon "rhs_weap_m72a7"; - }; - case "rifle_gren":{ //============================================================================================= - // === Weapons - #include "\cgqc_2022\loadouts\mk2\gun_m4_grenM320.sqf" - // === Vest - #include "\cgqc_2022\loadouts\mk2\vest_grenadier.sqf" - // === Backpack - #include "\cgqc_2022\loadouts\mk2\backpack_grenadier.sqf" - // === Radios - //#include "\cgqc_2022\loadouts\mk2\radios_inf.sqf" - // === Items - #include "\cgqc_2022\loadouts\mk2\items_basic.sqf" - }; - default { - hint "mk2_role_switch_loadout.sqf fail"; - sleep 10; - hintSilent ""; - }; -}; - -mk2_role_switch_loadout = true; \ No newline at end of file diff --git a/loadouts/mk2_role_switch_perks.sqf b/loadouts/mk2_role_switch_perks.sqf deleted file mode 100644 index 470ce04..0000000 --- a/loadouts/mk2_role_switch_perks.sqf +++ /dev/null @@ -1,72 +0,0 @@ -_type = _this select 0; - -// Set all traits to default -player setUnitTrait ["Medic", false]; -player setUnitTrait ["engineer", false]; -player setUnitTrait ["explosiveSpecialist", false]; - -// Remove ghillie up and other perks -cgqc_perks_basic = true; -cgqc_perks_recon = false; -cgqc_perks_pilot = false; -cgqc_perks_driver = false; -cgqc_perks_eng = false; -cgqc_perks_medic = false; -cgqc_perks_doctor = false; - -// Every CplC is a medic -/* -if (cgqc_player_rank > 2) then -{ - player setUnitTrait ["Medic", true]; - cgqc_perks_medic = true; -};*/ - -switch (_type) do { - case "hq":{ - }; - case "tl":{ - }; - case "heli":{ - player setUnitTrait ["engineer", true]; - cgqc_perks_pilot = true; - }; - case "heli_crew":{ - player setUnitTrait ["engineer", true]; - }; - case "jet_pilot":{ - player setUnitTrait ["engineer", true]; - }; - case "driver":{ - player setUnitTrait ["engineer", true]; - cgqc_perks_driver = true; - }; - case "tank_crew":{ - player setUnitTrait ["engineer", true]; - }; - case "recon":{ - cgqc_perks_recon = true; - }; - case "eng":{ - cgqc_perks_eng = true; - player setUnitTrait ["engineer", true]; - player setUnitTrait ["explosiveSpecialist", true]; - }; - case "med":{ - cgqc_perks_medic = true - //cgqc_perks_doctor = true; - player setUnitTrait ["Medic", true]; - }; - case "at":{ - }; - case "mg":{ - }; - case "mortar":{ - }; - case "inf":{ - }; - default { - hintc "mk2_role_switch_perks.sqf fail"; - }; -}; -mk2_role_switch_perks_done = true; \ No newline at end of file diff --git a/loadouts/mk2_role_switch_uniform.sqf b/loadouts/mk2_role_switch_uniform.sqf deleted file mode 100644 index f609728..0000000 --- a/loadouts/mk2_role_switch_uniform.sqf +++ /dev/null @@ -1,131 +0,0 @@ -_type = _this select 0;t = - -// Basic uniform for everyone -player forceAddUniform "cgqc_uniform_mk1"; - -if (cgqc_config_sidearm) then { - // === Custom Sidearm - player addWeapon cgqc_config_sidearm_pistol; - player addHandgunItem cgqc_config_sidearm_mag; - if (cgqc_config_sidearm_acc != "") then { - player addHandgunItem cgqc_config_sidearm_acc; - }; - if (cgqc_config_sidearm_suppress != "") then { - player addHandgunItem cgqc_config_sidearm_suppress; - }; - if (cgqc_config_sidearm_optic != "") then { - player addHandgunItem cgqc_config_sidearm_optic; - }; -}else{ - // === Standard secondary weapon - player addWeapon "cgqc_gun_glock19_wood"; - player addHandgunItem "Tier1_20Rnd_9x19_JHP"; - player addHandgunItem "tier1_dbalpl"; - //player addHandgunItem "Tier1_TiRant9S"; //Silencer on pistol - player addHandgunItem "tier1_sig_romeo1"; //Dot on pistol -}; - -_vest = ""; -_backpack = ""; -_helmet = ""; -_face = "G_mas_can_shemag_gog_l"; - -switch (_type) do { - case "command":{ //============================================================================================= - _vest = "cgqc_vest_mk1_tan"; - if (cgqc_player_hasContact) then { - _backpack = "cgqc_pack_mk1_radiobag"; - }else{ - hintc "Kin, vla ton carryall Fortin!"; - _backpack = "cgqc_pack_mk1_carryall"; - }; - _helmet = "cgqc_helmet_mk1"; - }; - case "heli":{ //============================================================================================= - player forceAddUniform "cgqc_uniform_mk1_helipilot"; - _vest = "cgqc_vest_mk1_pilot_black"; - _backpack = "CGQC_units_mk1_4_Pilot_heli_pack"; - _helmet = "cgqc_helmet_heli_black"; - _face = "G_mas_can_wrap_B"; - }; - case "jet_pilot":{ //============================================================================================= - player forceAddUniform "cgqc_uniform_mk1_jetpilot"; - _vest = "cgqc_vest_mk1_pilot"; - _backpack = "CGQC_units_mk1_4_Pilot_heli_pack"; - _helmet = "cgqc_helmet_mk1_jetpilot"; - _face = "G_mas_can_balaM_T"; - }; - case "heli_crew":{ //============================================================================================= - player forceAddUniform "cgqc_uniform_mk1_helipilot"; - _vest = "cgqc_vest_mk1_pilot_black"; - _backpack = "CGQC_units_mk1_4_Pilot_heli_pack"; - _helmet = "cgqc_helmet_crew_black"; - _face = "G_mas_can_wrap_B"; - }; - case "driver":{ //============================================================================================= - _vest = "cgqc_vest_mk1_driver"; - _backpack = "cgqc_pack_mk1_tank_driver"; - _helmet = "cgqc_helmet_mk1_tank"; - _face = "G_mas_can_wrap_gog_B"; - }; - case "recon":{ //============================================================================================= - _vest = "cgqc_vest_mk1_tan_lr"; - _backpack = "cgqc_pack_mk1_kitbag"; - _helmet = "cgqc_helmet_mk1"; - // Change secondary weapon for SMG - player addWeapon "rhsusf_weap_MP7A2_folded"; - player addHandgunItem "rhsusf_acc_rotex_mp7"; - player addHandgunItem "Tier1_MP7_NGAL_M300C_Black"; - player addHandgunItem "Tier1_MicroT2_Low_Black"; - player addHandgunItem "rhsusf_mag_40Rnd_46x30_AP"; - cgqc_config_sidearm_alternate = "rhsusf_mag_40Rnd_46x30_AP"; - }; - case "jtac":{ //============================================================================================= - _vest = "cgqc_vest_mk1_tan_lr"; - if (cgqc_player_hasContact) then { - _backpack = "cgqc_pack_mk1_radiobag"; - }else{ - _backpack = "cgqc_pack_mk1_carryall"; - }; - _helmet = "cgqc_helmet_mk1"; - cgqc_config_sidearm_alternate = cgqc_config_sidearm_mag; - }; - case "eng":{ //============================================================================================= - _vest = "cgqc_vest_mk1_tan_ar"; - _backpack = "cgqc_pack_mk1_carryall"; - _helmet = "cgqc_helmet_mk1"; - }; - case "med":{ //============================================================================================= - _vest = "cgqc_vest_mk1_tan_rf"; - _backpack = "cgqc_pack_mk1_carryall"; - _helmet = "cgqc_helmet_mk1_medic"; - }; - case "inf_light":{ //============================================================================================= - _vest = "cgqc_vest_mk1_tan"; - _backpack = "cgqc_pack_mk1_assault"; - _helmet = "cgqc_helmet_mk1"; - }; - case "inf_medium":{ //============================================================================================= - _vest = "cgqc_vest_mk1_tan_lr"; - _backpack = "cgqc_pack_mk1_kitbag"; - _helmet = "cgqc_helmet_mk1"; - }; - case "inf_heavy":{ //============================================================================================= - _vest = "cgqc_vest_mk1_tan_lr"; - _backpack = "cgqc_pack_mk1_carryall"; - _helmet = "cgqc_helmet_mk1"; - }; - default { - hint "mk2_role_switch_uniform.sqf fail"; - sleep 10; - hintSilent ""; - }; -}; -sleep 0.5; -// Add stuff to player -player addVest _vest; -player addBackpack _backpack; -[_helmet] call CGQC_fnc_getCustomHelmet; -player addGoggles _face; -sleep 0.5; -mk2_role_switch_uniform = true; \ No newline at end of file diff --git a/scripts/change_music.sqf b/scripts/change_music.sqf deleted file mode 100644 index a217960..0000000 --- a/scripts/change_music.sqf +++ /dev/null @@ -1,20 +0,0 @@ -_arguments = _this select 3; -_style = _arguments select 0; - -switch _style -do{ - case 1: - { - klpq_musicRadio_radioThemes = ["buildup"]; - }; - case 2: - { - klpq_musicRadio_radioThemes = ["funstuff"]; - }; - default - { - klpq_musicRadio_radioThemes = ["relax"]; - }; -}; - - diff --git a/scripts/mk1_action_ghillie.sqf b/scripts/mk1_action_ghillie.sqf deleted file mode 100644 index 4c40bfb..0000000 --- a/scripts/mk1_action_ghillie.sqf +++ /dev/null @@ -1,96 +0,0 @@ -if (hasInterface) then { - _choice = _this select 0; - _ghillie = ""; - _to_ghillie = 0; - //disableUserInput true; - switch (_choice) - do - { - case "arid": - { - _ghillie = "U_B_FullGhillie_ard"; - hintSilent "Ghillie: Arid"; - _to_ghillie = 1; - }; - case "sarid": - { - _ghillie = "U_B_FullGhillie_sard"; - hintSilent "Ghillie: Semi-Arid"; - _to_ghillie = 1; - }; - case "lush": - { - _ghillie = "U_B_FullGhillie_lsh"; - hintSilent "Ghillie: Lush"; - _to_ghillie = 1; - }; - case "jungle": - { - _ghillie = "U_B_T_FullGhillie_tna_F"; - hintSilent "Ghillie: Jungle"; - _to_ghillie = 1; - }; - case "uniform": - { - hintSilent "Ghillie: Back to Uniform"; - _to_ghillie = 2; - }; - default - { - hintSilent "woops"; - _to_ghillie = 0; - }; - }; - //hintSilent format ["ToGhillie = %1", _to_ghillie]; - //sleep 5; - switch (_to_ghillie) - do - { - case 1: // Change to ghillie - { - // Save old uniform - ghillie_uniform = uniform player; - // Save items - _uniform_items = uniformItems player; - // Animation - player playMove "AinvPknlMstpSnonWnonDnon_medic4"; - sleep 6; - // switch to ghillie - player forceAddUniform _ghillie; - // Add items back - { - player addItemToUniform _x - } forEach _uniform_items; - //Lower the camouflage level of unit in ghillie - player setUnitTrait ["camouflageCoef", 0.2]; - ghillie_isOn = 1; - }; - case 2:// Change back to uniform - { - // Save items - _uniform_items = uniformItems player; - // Animation - player playMove "AinvPknlMstpSnonWnonDnon_medic4"; - sleep 6; - // switch to uniform - player forceAddUniform ghillie_uniform; - // Add items back - { - player addItemToUniform _x - } forEach _uniform_items; - //Lower the camouflage level of unit in ghillie - player setUnitTrait ["camouflageCoef", 1.3]; - // Set patch back - player setVariable ["BIS_fnc_setUnitInsignia_class", nil]; //Remove patch - [ player, cgqc_player_patch ] call BIS_fnc_setUnitInsignia; - ghillie_isOn = 0; - }; - default - { - hintSilent "woops"; - }; - }; - - sleep 1; - //disableUserInput false; -}; \ No newline at end of file diff --git a/scripts/mk1_action_ghillie_menu.sqf b/scripts/mk1_action_ghillie_menu.sqf deleted file mode 100644 index 13b5ba5..0000000 --- a/scripts/mk1_action_ghillie_menu.sqf +++ /dev/null @@ -1,26 +0,0 @@ -if (ghillie_menu == 0) then { - if (isNil "menu_self_ghillie") then { - _action = [ "menu_self_ghillie", "Ghillie up", "", {}, {ghillie_isOn == 0} ] call ace_interact_menu_fnc_createAction; - _adding = [ player, 1, ["ACE_SelfActions","menu_self_cgqc"], _action ] call ace_interact_menu_fnc_addActionToObject; - //All types - _action = [ "menu_self_ghillie_arid", "Arid", "", {["arid"] execVM "\cgqc_2022\scripts\mk1_action_ghillie.sqf"}, {ghillie_isOn == 0} ] call ace_interact_menu_fnc_createAction; - _adding = [ player, 1, ["ACE_SelfActions","menu_self_cgqc", "menu_self_ghillie"], _action ] call ace_interact_menu_fnc_addActionToObject; - - _action = [ "menu_self_ghillie_sarid", "Semi-Arid", "", {["sarid"] execVM "\cgqc_2022\scripts\mk1_action_ghillie.sqf"}, {ghillie_isOn == 0} ] call ace_interact_menu_fnc_createAction; - _adding = [ player, 1, ["ACE_SelfActions","menu_self_cgqc", "menu_self_ghillie"], _action ] call ace_interact_menu_fnc_addActionToObject; - - _action = [ "menu_self_ghillie_lush", "Lush", "", {["lush"] execVM "\cgqc_2022\scripts\mk1_action_ghillie.sqf"}, {ghillie_isOn == 0} ] call ace_interact_menu_fnc_createAction; - _adding = [ player, 1, ["ACE_SelfActions","menu_self_cgqc", "menu_self_ghillie"], _action ] call ace_interact_menu_fnc_addActionToObject; - - _action = [ "menu_self_ghillie_jungle", "Jungle", "", {["jungle"] execVM "\cgqc_2022\scripts\mk1_action_ghillie.sqf"}, {ghillie_isOn == 0} ] call ace_interact_menu_fnc_createAction; - _adding = [ player, 1, ["ACE_SelfActions","menu_self_cgqc", "menu_self_ghillie"], _action ] call ace_interact_menu_fnc_addActionToObject; - - // Uniform - _action = [ "menu_self_ghillie_uniform", "Ghillie-> Uniforme", "", {["uniform"] execVM "\cgqc_2022\scripts\mk1_action_ghillie.sqf"}, {ghillie_isOn == 1} ] call ace_interact_menu_fnc_createAction; - _adding = [ player, 1, ["ACE_SelfActions","menu_self_cgqc"], _action ] call ace_interact_menu_fnc_addActionToObject; - - hint "Ghillie menu added"; - // Ghillie menu done booting - ghillie_menu = 1; - }; -}; diff --git a/scripts/set_radios.sqf b/scripts/set_radios.sqf deleted file mode 100644 index 73e2496..0000000 --- a/scripts/set_radios.sqf +++ /dev/null @@ -1,20 +0,0 @@ -//Set the channel names -// 152 -["ACRE_PRC152", "Default", 1, "description", "Spartan/HQ"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC152", "Default", 2, "description", "Griffon/HQ"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC152", "Default", 3, "description", "Centaure/HQ"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC152", "Default", 4, "description", "Inter/Spartan"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC152", "Default", 5, "description", "Inter/Griffon"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC152", "Default", 6, "description", "Inter/Centaure"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC152", "Default", 7, "description", "Inter/Recon"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC152", "Default", 8, "description", "EMERGENCY"] call acre_api_fnc_setPresetChannelField; -// 117f -["ACRE_PRC117f", "Default", 1, "name", "Spartan/HQ"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC117f", "Default", 2, "name", "Griffon/HQ"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC117f", "Default", 3, "name", "Centaure/HQ"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC117f", "Default", 4, "name", "Inter/Spartan"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC117f", "Default", 5, "name", "Inter/Griffon"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC117f", "Default", 6, "name", "Inter/Centaure"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC117f", "Default", 7, "name", "Inter/Recon"] call acre_api_fnc_setPresetChannelField; -["ACRE_PRC117f", "Default", 8, "name", "EMERGENCY"] call acre_api_fnc_setPresetChannelField; - diff --git a/scripts/transition.sqf b/scripts/transition.sqf deleted file mode 100644 index 35b4e2a..0000000 --- a/scripts/transition.sqf +++ /dev/null @@ -1,40 +0,0 @@ -_type = _this select 0; -//hintc format ["TransitionType:%1", _type];sleep 1; -_text = ""; -_text_insert = ""; -if (cgqc_setting_show_transition) then { - // Fade to black - cutText ["", "BLACK FADED", 999]; - titleText ["", "PLAIN"]; - switch (_type) do { - case "role":{ - _text_insert = cgqc_player_role; - _text = ("
" + "
" + "
" +"Role: %1
"); - }; - case "camo":{ - _text_insert = format ["camo %1", _type]; - _text = ("
" + "
" + "
" +"Changement de %1
"); - }; - case "diver":{ - _text_insert = "Plongeur"; - _text = ("
" + "
" + "
" +"Kit: %1
"); - }; - case "para":{ - _text_insert = "Parachutiste"; - _text = ("
" + "
" + "
" +"Kit: %1
"); - }; - }; - //Pop le texte - _text = format [_text, _text_insert]; - [_text, 0, 0, 3, 2] spawn BIS_fnc_dynamicText; - sleep 5; - titleFadeOut 4; - // Wake up with blur - "dynamicBlur" ppEffectEnable true; - "dynamicBlur" ppEffectAdjust [6]; - "dynamicBlur" ppEffectCommit 0; - titleCut ["", "BLACK IN", 4]; - "dynamicBlur" ppEffectAdjust [0.0]; - "dynamicBlur" ppEffectCommit 2; -}; -