From ca6b3f9e934f293c5dc0bbfb26390e97aa75ab79 Mon Sep 17 00:00:00 2001 From: AndreasBrostrom Date: Tue, 31 Oct 2023 09:20:41 +0100 Subject: [PATCH 1/2] Added loadouts --- cScripts/CfgLoadouts.hpp | 1 + cScripts/Loadouts/CfgLoadouts_Special.hpp | 38 +++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 cScripts/Loadouts/CfgLoadouts_Special.hpp diff --git a/cScripts/CfgLoadouts.hpp b/cScripts/CfgLoadouts.hpp index 8fe47ec13..0237ffe2d 100644 --- a/cScripts/CfgLoadouts.hpp +++ b/cScripts/CfgLoadouts.hpp @@ -13,6 +13,7 @@ class CfgLoadouts { #include "Loadouts\CfgLoadouts_Charlie_Weapon.hpp" #include "Loadouts\CfgLoadouts_Training.hpp" + #include "Loadouts\CfgLoadouts_Special.hpp" #include "Loadouts\CfgLoadouts_UserCustom.hpp" }; diff --git a/cScripts/Loadouts/CfgLoadouts_Special.hpp b/cScripts/Loadouts/CfgLoadouts_Special.hpp new file mode 100644 index 000000000..a910d5400 --- /dev/null +++ b/cScripts/Loadouts/CfgLoadouts_Special.hpp @@ -0,0 +1,38 @@ +class S3_Base: Cav_B_Seventh_Cavalry_Base_F { + displayName = "S3 Mission Control"; + category[] = {}; + scope = 2; + loadout = [["rhs_weap_m4a1_blockII_bk","ACE_muzzle_mzls_L","acc_pointer_IR","rhsusf_acc_ACOG_RMR",["ACE_30Rnd_556x45_Stanag_M995_AP_mag",30],[],"rhsusf_acc_rvg_blk"],[],["rhs_weap_M320","","","",["ACE_HuntIR_M203",1],[],""],["USP_G3C_RS2_MC",[["ACE_tourniquet",4],["ItemcTabHCam",1],["ACE_MapTools",1],["ACE_IR_Strobe_Item",2],["ACE_microDAGR",1],["ACE_splint",4],["ACE_Flashlight_XL50",1],["kat_Painkiller",2,10],["SmokeShellPurple",2,1],["Laserbatteries",1,1]]],["rhsusf_plateframe_grenadier",[["ACE_packingBandage",20],["ACE_IR_Strobe_Item",2],["rhs_mag_M664_red_cluster",2,1],["1Rnd_SmokeRed_Grenade_shell",2,1],["1Rnd_SmokeBlue_Grenade_shell",2,1],["ACE_HuntIR_M203",2,1],["ACE_30Rnd_556x45_Stanag_M995_AP_mag",6,30],["ACE_HandFlare_Green",2,1],["SmokeShellBlue",2,1],["SmokeShellRed",2,1]]],["USP_TACTICAL_PACK_CCT7",[["Rev_darter_item",1],["ACE_HuntIR_monitor",1],["ACE_EntrenchingTool",1],["ACE_UAVBattery",1],["Laserbatteries",1,1],[["ACE_Vector","","","",[],[],""],1]]],"rhsusf_opscore_mc_cover_pelt_cam","rhsusf_shemagh2_gogg_grn",["Laserdesignator","","","",["Laserbatteries",1],[],""],["ItemMap","ItemcTab","","ItemCompass","ItemWatch","USP_PVS15"]]; + role = "officer"; + + company = ""; + + insignia = "specialized_s3"; + preLoadout = "this setVariable ["cScripts_Player_Unit", "S3"];"; + postLoadout = ""; +}; + +class S3 : S3_Base { scope = 1; }; + +class S3_1 : S3_Base { scope = 1; }; +class S3_2 : S3_Base { scope = 1; }; +class S3_3 : S3_Base { scope = 1; }; +class S3_4 : S3_Base { scope = 1; }; +class S3_5 : S3_Base { scope = 1; }; +class S3_6 : S3_Base { scope = 1; }; +class S3_7 : S3_Base { scope = 1; }; +class S3_8 : S3_Base { scope = 1; }; + +class S3_1_1 : S3_Base { scope = 1; }; +class S3_2_1 : S3_Base { scope = 1; }; +class S3_3_1 : S3_Base { scope = 1; }; +class S3_4_1 : S3_Base { scope = 1; }; +class S3_5_1 : S3_Base { scope = 1; }; +class S3_6_1 : S3_Base { scope = 1; }; + +class S3_1_2 : S3_Base { scope = 1; }; +class S3_2_2 : S3_Base { scope = 1; }; +class S3_3_2 : S3_Base { scope = 1; }; +class S3_4_2 : S3_Base { scope = 1; }; +class S3_5_2 : S3_Base { scope = 1; }; +class S3_6_2 : S3_Base { scope = 1; }; \ No newline at end of file From 2c5802ce78622b3ea64246326f6e036420cafc31 Mon Sep 17 00:00:00 2001 From: AndreasBrostrom Date: Thu, 2 Nov 2023 09:56:57 +0100 Subject: [PATCH 2/2] fixed quotes --- cScripts/Loadouts/CfgLoadouts_Special.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cScripts/Loadouts/CfgLoadouts_Special.hpp b/cScripts/Loadouts/CfgLoadouts_Special.hpp index a910d5400..071aa7163 100644 --- a/cScripts/Loadouts/CfgLoadouts_Special.hpp +++ b/cScripts/Loadouts/CfgLoadouts_Special.hpp @@ -8,7 +8,7 @@ class S3_Base: Cav_B_Seventh_Cavalry_Base_F { company = ""; insignia = "specialized_s3"; - preLoadout = "this setVariable ["cScripts_Player_Unit", "S3"];"; + preLoadout = "this setVariable ['cScripts_Player_Unit', 'S3'];"; postLoadout = ""; };