Skip to content

Commit

Permalink
Added role for stryker crew and fixed Charlie DMR loadout (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
pool011 authored Apr 22, 2024
2 parents 4946272 + 622e73e commit f78c4b1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
3 changes: 3 additions & 0 deletions cScripts/Loadouts/CfgLoadouts_Bravo_Viking.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,20 +122,23 @@ class Cav_B_B_Crew_F: Cav_B_B_Scout_Base_F {
category[] += {"cScripts_Loadout_Cat_Bravo_Viking_Squad"};
loadout = [["rhs_weap_mk18_grip2_KAC","rhsusf_acc_SF3P556","rhsusf_acc_anpeq15","rhsusf_acc_T1_high",["rhs_mag_30Rnd_556x45_Mk262_PMAG",30],[],"rhsusf_acc_grip2"],[],[],["USP_G3C_RS_KP_OR_MC",[["ACE_packingBandage",10],["ACE_quikclot",10],["ACE_tourniquet",4],["ACE_microDAGR",1],["ACE_Flashlight_XL50",1],["ACE_MapTools",1],["ACE_splint",1]]],["rhsusf_iotv_ocp_Repair",[["HandGrenade",2,1],["SmokeShellPurple",1,1],["SmokeShell",4,1],["ACE_IR_Strobe_Item",2],["ACE_Chemlight_IR",2,1],["rhs_mag_30Rnd_556x45_M855A1_PMAG",4,30]]],["USP_TACTICAL_PACK",[["ToolKit",1],["ACE_tourniquet",8],["ACE_quikclot",10],["ACE_packingBandage",10]]],"rhsusf_cvc_green_helmet","USP_BALACLAVA_ADV_SMC1_RGR2",["ACE_Vector","","","",[],[],""],["ItemMap","ItemAndroid","","ItemCompass","ItemWatch","USP_PVS15"]];
abilityEngineer = 1;
role = "strykercrew";
};
class Cav_B_B_Ifv_Driver_F: Cav_B_B_Scout_Base_F {
displayName = "Stryker Driver";
scope = 2;
category[] += {"cScripts_Loadout_Cat_Bravo_Viking_Squad"};
loadout = [["rhs_weap_mk18_grip2_KAC","rhsusf_acc_SF3P556","rhsusf_acc_anpeq15","rhsusf_acc_T1_high",["rhs_mag_30Rnd_556x45_Mk262_PMAG",30],[],"rhsusf_acc_grip2"],[],[],["USP_G3C_RS_KP_OR_MC",[["ACE_packingBandage",10],["ACE_quikclot",10],["ACE_tourniquet",4],["kat_chestSeal",2],["kat_guedel",1],["ACE_microDAGR",1],["ACE_Flashlight_XL50",1],["ACE_MapTools",1],["ACE_splint",1]]],["rhsusf_iotv_ocp_Repair",[["HandGrenade",2,1],["SmokeShellPurple",1,1],["SmokeShell",4,1],["ACE_IR_Strobe_Item",2],["ACE_Chemlight_IR",2,1],["30Rnd_556x45_Stanag_red",4,30]]],["USP_TACTICAL_PACK",[["ToolKit",1],["ACE_tourniquet",8],["ACE_quikclot",10],["ACE_packingBandage",10]]],"rhsusf_cvc_green_helmet","USP_BALACLAVA_ADV_SMC1_RGR2",["ACE_Vector","","","",[],[],""],["ItemMap","ItemAndroid","","ItemCompass","ItemWatch","USP_PVS15"]];
abilityEngineer = 1;
role = "strykercrew";
};
class Cav_B_B_Ifv_Commander_F: Cav_B_B_Scout_Base_F {
displayName = "Stryker Vehicle Commander";
scope = 2;
category[] += {"cScripts_Loadout_Cat_Bravo_Viking_Squad"};
loadout = [["rhs_weap_mk18_grip2_KAC","rhsusf_acc_SF3P556","rhsusf_acc_anpeq15","rhsusf_acc_T1_high",["rhs_mag_30Rnd_556x45_Mk262_PMAG",30],[],"rhsusf_acc_grip2"],[],[],["USP_G3C_RS_KP_OR_MC",[["ACE_packingBandage",10],["ACE_quikclot",10],["ACE_tourniquet",4],["kat_chestSeal",2],["kat_guedel",1],["ACE_microDAGR",1],["ACE_Flashlight_XL50",1],["ACE_MapTools",1],["ACE_splint",1]]],["USP_CRYE_CPC_MEDIC_MC",[["HandGrenade",2,1],["SmokeShellPurple",1,1],["SmokeShell",4,1],["ACE_IR_Strobe_Item",2],["ACE_Chemlight_IR",2,1],["30Rnd_556x45_Stanag_red",4,30]]],["USP_TACTICAL_PACK",[["ToolKit",1],["ACE_tourniquet",8],["ACE_quikclot",10],["ACE_packingBandage",10]]],"rhsusf_cvc_green_helmet","USP_BALACLAVA_ADV_SMC1_RGR2",["ACE_Vector","","","",[],[],""],["ItemMap","ItemAndroid","","ItemCompass","ItemWatch","USP_PVS15"]];
abilityEngineer = 1;
role = "strykercrew";
};

// Named
Expand Down
15 changes: 6 additions & 9 deletions cScripts/Loadouts/CfgLoadouts_Charlie_Squad.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ class Cav_B_C_RiflemanLAT_F: Cav_B_Charlie_base_F {
loadout = [["rhs_weap_m4a1_blockII_KAC","rhsusf_acc_SF3P556","rhsusf_acc_anpeq15","rhsusf_acc_ACOG_RMR_3d",["rhs_mag_30Rnd_556x45_M855A1_PMAG_Tan",30],[],""],["rhs_weap_M136_hedp","","","",[],[],""],[],["USP_G3C_RS_CU_KP_OR_MC",[["ACE_tourniquet",4],["ACE_Flashlight_XL50",1],["ACE_MapTools",1],["ACE_microDAGR",1],["ACE_packingBandage",14],["kat_chestSeal",2],["kat_guedel",1],["ACE_splint",2],["kat_Painkiller",2,10]]],["USP_CRYE_JPC_ASLTB",[["SmokeShell",4,1],["rhs_mag_30Rnd_556x45_M855A1_PMAG_Tan",9,30],["HandGrenade",2,1]]],["USP_ZIPON_PACK_CPC_BC_MC",[["USP_PVS15",1],["ACE_EntrenchingTool",1]]],"USP_OPSCORE_FASTMTC_CGSW","",[],["ItemMap","","","ItemCompass","ACE_Altimeter",""]];
icon = "iconManAT";
};
class Cav_B_C_Marksman_F_Local: Cav_B_Charlie_base_F {
displayName = "Designated Marksman";
scope = 2;
category[] += {"cScripts_Loadout_Cat_Charlie_Squad"};
loadout = [["rhs_weap_sr25_ec","","rhsusf_acc_anpeq15side_bk","optic_AMS",["rhsusf_20Rnd_762x51_SR25_m118_special_Mag",20],[],"rhsusf_acc_harris_bipod"],[],[],["USP_G3C_RS_KP_OR_MC",[["ACE_packingBandage",10],["ACE_quikclot",10],["kat_chestSeal",2],["kat_guedel",1],["ACE_tourniquet",4],["ACE_microDAGR",1],["ACE_MapTools",1],["ACE_Chemlight_Shield",1],["ACE_Chemlight_White",1,1]]],["USP_CRYE_JPC_DMB",[["HandGrenade",2,1],["SmokeShell",4,1],["SmokeShellPurple",1,1],["rhsusf_20Rnd_762x51_SR25_m118_special_Mag",9,20]]],["USP_ZIPON_PACK_CPC_MC",[["USP_PVS15",1],["ACE_wirecutter",1],["ACE_EntrenchingTool",1],["ACE_splint",4],["kat_Painkiller",2,10]]],"USP_OPSCORE_FASTMTC_GSW","",["ACE_Vector","","","",[],[],""],["ItemMap","ItemAndroid","","ItemCompass","ACE_Altimeter",""]];
};
class Cav_B_C_CombatLifeSaver_F: Cav_B_Charlie_base_F {
displayName = "$STR_Cav_Charlie_Characters_C_CombatLifeSaver";
scope = 2;
Expand All @@ -80,15 +86,6 @@ class Cav_B_C_CombatLifeSaver_F: Cav_B_Charlie_base_F {
role = "cls";
icon = "iconManMedic";
};
class Cav_B_C_Marksman_F_Local: Cav_B_Charlie_base_F {
displayName = "Designated Marksman";
scope = 2;
category[] += {"cScripts_Loadout_Cat_Charlie_Squad"};
loadout = [["rhs_weap_sr25_ec","","rhsusf_acc_anpeq15side_bk","optic_AMS",["rhsusf_20Rnd_762x51_SR25_m118_special_Mag",20],[],"rhsusf_acc_harris_bipod"],[],[],["USP_G3C_RS_KP_OR_MC",[["ACE_packingBandage",10],["ACE_quikclot",10],["kat_chestSeal",2],["kat_guedel",1],["ACE_tourniquet",4],["ACE_microDAGR",1],["ACE_MapTools",1],["ACE_Chemlight_Shield",1],["ACE_Chemlight_White",1,1]]],["USP_CRYE_JPC_DMB",[["HandGrenade",2,1],["SmokeShell",4,1],["SmokeShellPurple",1,1],["rhsusf_20Rnd_762x51_SR25_m118_special_Mag",9,20]]],["USP_ZIPON_PACK_CPC_MC",[["USP_PVS15",1],["ACE_wirecutter",1],["ACE_EntrenchingTool",1],["ACE_splint",4],["kat_Painkiller",2,10]]],"USP_OPSCORE_FASTMTC_GSW","",["ACE_Vector","","","",[],[],""],["ItemMap","ItemAndroid","","ItemCompass","ACE_Altimeter",""]];
insignia = "cav_insignia_specialized_cls";
abilityMedic = 0;
icon = "iconManMedic";
};
// Named
class Cav_B_C_SquadLeader_Bandit_1_F: Cav_B_C_SquadLeader_F {
scope = 1;
Expand Down
12 changes: 12 additions & 0 deletions cScripts/functions/init/fn_init_logistics.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -1805,6 +1805,18 @@ private _dataArray = [
["ACE_splint",0]
//--------------------------
]],
["arsenal_role_strykercrew",[
//Backpack
["USP_TACTICAL_PACK_CCT", 0],
["USP_TACTICAL_PACK_CCT2", 0],
["USP_TACTICAL_PACK_CCT3", 0],
["USP_TACTICAL_PACK_CCT4", 0],
["USP_TACTICAL_PACK_CCT5", 0],
["USP_TACTICAL_PACK_CCT6", 0],
["USP_TACTICAL_PACK_CCT7", 0],
["USP_TACTICAL_PACK_CCT8", 0],
["UK3CB_US_B_B_RIF_OCP_Radio", 0]
]],

// Weapons
["arsenal_weap_ugl", [
Expand Down
1 change: 1 addition & 0 deletions cScripts/functions/systems/fn_getArsenalWhitelist.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ private _roleSpecific = switch ([player] call EFUNC(gear,getLoadoutRole)) do {
case "squadleader": {GET_CONTAINER_KEYS("arsenal_role_squadleader");};
case "fireteamleader": {GET_CONTAINER_KEYS("arsenal_role_fireteamleader");};
case "weapons": {GET_CONTAINER_KEYS("arsenal_role_weapons");};
case "strykercrew": {GET_CONTAINER_KEYS("arsenal_role_strykercrew");};
case "pilot";
case "rotarypilot": {GET_CONTAINER_KEYS("arsenal_role_rotarypilot");};
case "rotarycrew": {GET_CONTAINER_KEYS("arsenal_role_pilotcrew");};
Expand Down

0 comments on commit f78c4b1

Please sign in to comment.