Skip to content

Commit

Permalink
Merge pull request #7 from PervonHarke/dev
Browse files Browse the repository at this point in the history
v1.0.0
  • Loading branch information
PervonHarke authored Oct 8, 2021
2 parents 85b12e8 + 62d87a0 commit 4fa4dcc
Show file tree
Hide file tree
Showing 56 changed files with 1,243 additions and 37 deletions.
1 change: 1 addition & 0 deletions PvH's EMF Kits/AUT/AUT_2010s_JAGDKOMMANDO_MULTICAM.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
private["_availableUniforms","_availableItems", "_availableFacewear", "_availableVests", "_availableWeapons", "_availableHeadgear", "_availableBackpacks", "_availableMagazines", "_defFacewear", "_defItems", "_defVests", "_defWeapons", "_defGrenades", "_defHeadgear", "_defUniforms", "_defBackpacks", "_defMagazines", "_magazines", "_weapons", "_backpacks", "_items"];
params["_role", "_obj", "_rearmOnly"];
_availableUniforms = []; _availableWeapons = []; _availableMagazines = []; _availableVests = []; _availableItems = []; _availableBackpacks = []; _availableHeadgear = []; _availableFacewear = [];

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
private["_availableUniforms","_availableItems", "_availableFacewear", "_availableVests", "_availableWeapons", "_availableHeadgear", "_availableBackpacks", "_availableMagazines", "_defFacewear", "_defItems", "_defVests", "_defWeapons", "_defGrenades", "_defHeadgear", "_defUniforms", "_defBackpacks", "_defMagazines", "_magazines", "_weapons", "_backpacks", "_items"];
params["_role", "_obj", "_rearmOnly"];
_availableUniforms = []; _availableWeapons = []; _availableMagazines = []; _availableVests = []; _availableItems = []; _availableBackpacks = []; _availableHeadgear = []; _availableFacewear = [];

Expand Down
131 changes: 131 additions & 0 deletions PvH's EMF Kits/FICTIONAL/FRA/FICTIONAL_FRENCHSOF_CCE.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
private["_availableUniforms","_availableItems", "_availableFacewear", "_availableVests", "_availableWeapons", "_availableHeadgear", "_availableBackpacks", "_availableMagazines", "_defFacewear", "_defItems", "_defVests", "_defWeapons", "_defGrenades", "_defHeadgear", "_defUniforms", "_defBackpacks", "_defMagazines", "_magazines", "_weapons", "_backpacks", "_items"];
params["_role", "_obj", "_rearmOnly"];
_availableUniforms = []; _availableWeapons = []; _availableMagazines = []; _availableVests = []; _availableItems = []; _availableBackpacks = []; _availableHeadgear = []; _availableFacewear = [];

// Define default gear
_defItems = ["ACE_CableTie", "ACE_SpraypaintBlack", "ACE_SpraypaintBlue", "ACE_SpraypaintGreen", "ACE_SpraypaintRed", "ACE_wirecutter", "kat_guedel", "ACE_adenosine", "ACE_fieldDressing", "ACE_elasticBandage", "ACE_packingBandage", "ACE_quikclot", "ACE_epinephrine", "ACE_Flashlight_MX991", "ACE_MapTools", "ACE_morphine", "ACE_splint", "ACE_tourniquet", "ItemMap", "ItemCompass", "ItemWatch"];
_defMagazines = ["rhsusf_mag_7x45acp_MHP", "rhs_mag_30Rnd_556x45_M855A1_Stanag_Tracer_Red", "CUP_200Rnd_TE4_Red_Tracer_556x45_M249", "rhs_mag_M433_HEDP", "rhs_mag_M441_HE", "rhs_mag_M583A1_white", "rhs_mag_m662_red", "rhs_mag_m661_green", "rhs_mag_m713_Red"];
_defGrenades = ["rhs_mag_an_m8hc", "rhs_mag_m18_green", "rhs_mag_m18_purple", "rhs_mag_m18_red", "rhs_mag_m18_yellow", "rhs_mag_m67"];
_defUniforms = ["CUP_U_B_HIL_ACU_Kneepad_Gloves_CCE"];
_defWeapons = ["rhsusf_bino_m24", "rhsusf_weap_m1911a1"];
_defVests = ["CUP_V_B_Ciras_Olive", "CUP_V_B_Ciras_Olive2", "CUP_V_B_Ciras_Olive3", "CUP_V_B_Ciras_Olive4"];
_defBackpacks = ["UNS_Ammopack"];
_defHeadgear = ["CUP_H_CZ_Helmet10", "CUP_H_CZ_Helmet09", "CUP_H_Booniehat_CCE"];
_defFacewear = ["UK3CB_G_Neck_Shemag_Tan", "CUP_G_ESS_BLK"];


//
// Loadout made by Per_von_Harke
//

// Rifleman
if (_role == "RFL") then
{
_availableUniforms = [];
_availableWeapons = ["CUP_arifle_Colt727"];
_availableMagazines = [];
_availableVests = [];
_availableItems = ["cup_optic_aimpoint_5000"];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

// Squad Leader
if (_role == "SL") then
{
_availableUniforms = [];
_availableWeapons = ["CUP_arifle_Colt727"];
_availableMagazines = [];
_availableVests = [];
_availableItems = ["cup_optic_aimpoint_5000", "ACE_rope12", "ACE_rope15", "ACE_rope18", "ACE_rope27", "ACE_rope36"];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

// Medic
if (_role == "MED") then
{
[player, "UK3CB_BAF_Insignia_RedCross"] call BIS_fnc_setUnitInsignia;
player setVariable ["ace_medical_medicclass", 2, true];
_availableUniforms = [];
_availableWeapons = ["CUP_arifle_Colt727"];
_availableMagazines = [];
_availableVests = [];
_availableItems = ["ACE_personalAidKit", "ACE_plasmaIV", "ACE_plasmaIV_250", "ACE_plasmaIV_500", "ACE_surgicalKit", "kat_stethoscope", "kat_larynx", "kat_chestSeal", "cup_optic_aimpoint_5000"];
_availableBackpacks = ["UNS_ARMY_MED"];
_availableHeadgear = [];
_availableFacewear = [];
};

// SAW/LMG
if (_role == "AR") then
{
_availableUniforms = [];
_availableWeapons = ["CUP_lmg_m249_para"];
_availableMagazines = [];
_availableVests = [];
_availableItems = [];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

// Grenadier
if (_role == "GRD") then
{
_availableUniforms = [];
_availableWeapons = ["CUP_arifle_Colt727_M203"];
_availableMagazines = [];
_availableVests = [];
_availableItems = ["cup_optic_aimpoint_5000"];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

// LAT
if (_role == "LAT") then
{
_availableUniforms = [];
_availableWeapons = ["CUP_arifle_Colt727", "rhs_weap_m72a7"];
_availableMagazines = [];
_availableVests = [];
_availableItems = ["cup_optic_aimpoint_5000"];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

// Explosive Specialist
if (_role == "ESP") then
{
_availableUniforms = [];
_availableWeapons = ["CUP_arifle_Colt727"];
_availableMagazines = ["rhs_ec200_mag", "rhs_ec400_mag", "CUP_TimeBomb_M", "rhsusf_m112_mag", "rhsusf_m112x4_mag"];
_availableVests = [];
_availableItems = ["cup_optic_aimpoint_5000", "ACE_Clacker"];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

//Populate with predefined items and whatever is already in the crate
_backpacks = (_availableBackpacks + _defBackpacks);
_items = (_availableVests + _availableItems + _availableUniforms + _defUniforms + _defVests + _defItems + _defFacewear + _availableFacewear + _defHeadgear + _availableHeadgear);
_magazines = (_availableMagazines + _defGrenades + _defMagazines);
_weapons = (_availableWeapons + _defWeapons);

if (!_rearmOnly) then {
[_obj, _backpacks] call BIS_fnc_addVirtualBackpackCargo;
[_obj, _items ] call BIS_fnc_addVirtualItemCargo;
[_obj, _magazines] call BIS_fnc_addVirtualMagazineCargo;
[_obj, _weapons ] call BIS_fnc_addVirtualWeaponCargo;
} else {
[_obj, _magazines] call BIS_fnc_addVirtualMagazineCargo;
[_obj, (_availableItems + _defItems)] call BIS_fnc_addVirtualItemCargo;
};


player setVariable ["EMF_KA_permittedGear", [_backpacks, _items, _magazines, _weapons], true];
105 changes: 105 additions & 0 deletions PvH's EMF Kits/FICTIONAL/JSOK/JSOK_2020_PMCcamos.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
private["_availableUniforms","_availableItems", "_availableFacewear", "_availableVests", "_availableWeapons", "_availableHeadgear", "_availableBackpacks", "_availableMagazines", "_defFacewear", "_defItems", "_defVests", "_defWeapons", "_defGrenades", "_defHeadgear", "_defUniforms", "_defBackpacks", "_defMagazines", "_magazines", "_weapons", "_backpacks", "_items"];
params["_role", "_obj", "_rearmOnly"];
_availableUniforms = []; _availableWeapons = []; _availableMagazines = []; _availableVests = []; _availableItems = []; _availableBackpacks = []; _availableHeadgear = []; _availableFacewear = [];

// Define default gear
_defItems = ["ACE_CableTie", "ACE_IR_Strobe_Item", "ACE_SpraypaintBlack", "ACE_SpraypaintBlue", "ACE_SpraypaintGreen", "ACE_SpraypaintRed", "ACE_wirecutter", "ItemcTabHCam", "ACE_rope12", "ACE_rope15", "ACE_rope18", "ACE_rope27", "ACE_rope36", "rhsusf_acc_grip2", "rhsusf_acc_rvg_blk", "rhsusf_acc_rvg_de", "rhsusf_acc_grip3", "cup_acc_anpeq_15_top_flashlight_tan_l", "rhsusf_acc_rotex5_grey", "sma_eotech552", "sma_eotech552_3xdown", "rhsusf_acc_g33_xps3", "rhsusf_acc_eotech_xps3", "rhsusf_acc_su230a_c", "sma_micro_t2", "sma_elcan_specter_tan", "optic_mrd_black", "ACRE_PRC152", "tgc_pvs23_special_p", "tgc_pvs23_special_m", "kat_guedel", "ACE_adenosine", "ACE_fieldDressing", "ACE_elasticBandage", "ACE_packingBandage", "ACE_quikclot", "ACE_epinephrine", "ACE_Flashlight_MX991", "ACE_MapTools", "ACE_morphine", "ACE_splint", "ACE_tourniquet", "ItemMap", "ItemCompass", "ItemWatch"];
_defMagazines = ["CUP_21Rnd_9x19_M17_Black", "rhs_mag_30Rnd_556x45_Mk262_PMAG", "rhs_mag_M397_HET", "rhs_mag_M433_HEDP", "rhs_mag_M441_HE", "rhs_mag_M585_white", "rhs_mag_m661_green", "rhs_mag_m662_red", "rhs_mag_m713_Red", "rhs_mag_m714_White", "rhs_mag_m715_Green", "rhs_mag_m716_yellow"];
_defGrenades = [];
_defUniforms = ["CUP_I_B_PMC_Unit_39", "CUP_I_B_PMC_Unit_42", "CUP_I_B_PMC_Unit_38"];
_defWeapons = ["rhsusf_bino_lrf_Vector21", "CUP_hgun_M17_Black"];
_defVests = [];
_defBackpacks = ["B_AssaultPack_cbr"];
_defHeadgear = ["rhsusf_opscore_mar_ut_pelt"];
_defFacewear = ["AGE_Balaclava_Black", "AGE_Balaclava_MCam"];


//
// Loadout made by Per_von_Harke
//

// Rifleman
if (_role == "RFL") then
{
_availableUniforms = [];
_availableWeapons = ["rhs_weap_mk18_KAC"];
_availableMagazines = [];
_availableVests = ["CUP_V_JPC_communicationsbelt_mc"];
_availableItems = [];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

// Squad Leader
if (_role == "SL") then
{
_availableUniforms = [];
_availableWeapons = ["rhs_weap_mk18_KAC"];
_availableMagazines = [];
_availableVests = ["CUP_V_JPC_tlbelt_mc"];
_availableItems = [];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

// Medic
if (_role == "MED") then
{
[player, "UK3CB_BAF_Insignia_RedCross"] call BIS_fnc_setUnitInsignia;
player setVariable ["ace_medical_medicclass", 2, true];
_availableUniforms = [];
_availableWeapons = ["rhs_weap_mk18_KAC"];
_availableMagazines = [];
_availableVests = ["CUP_V_JPC_medicalbelt_mc"];
_availableItems = ["ACE_personalAidKit", "ACE_plasmaIV", "ACE_plasmaIV_250", "ACE_plasmaIV_500", "ACE_surgicalKit", "kat_stethoscope", "adv_aceCPR_AED", "kat_stethoscope", "kat_Pulseoximeter", "kat_larynx", "kat_chestSeal"];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

// SAW/LMG
if (_role == "AR") then
{
_availableUniforms = [];
_availableWeapons = ["rhs_weap_m249_pip_S_para"];
_availableMagazines = ["rhsusf_200Rnd_556x45_box", "rhsusf_200rnd_556x45_mixed_box"];
_availableVests = [];
_availableItems = ["rhsusf_acc_saw_bipod"];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

// Grenadier
if (_role == "GRD") then
{
_availableUniforms = [];
_availableWeapons = ["rhs_weap_mk18_m320"];
_availableMagazines = [];
_availableVests = ["CUP_V_JPC_weaponsbelt_mc"];
_availableItems = [];
_availableBackpacks = [];
_availableHeadgear = [];
_availableFacewear = [];
};

//Populate with predefined items and whatever is already in the crate
_backpacks = (_availableBackpacks + _defBackpacks);
_items = (_availableVests + _availableItems + _availableUniforms + _defUniforms + _defVests + _defItems + _defFacewear + _availableFacewear + _defHeadgear + _availableHeadgear);
_magazines = (_availableMagazines + _defGrenades + _defMagazines);
_weapons = (_availableWeapons + _defWeapons);

if (!_rearmOnly) then {
[_obj, _backpacks] call BIS_fnc_addVirtualBackpackCargo;
[_obj, _items ] call BIS_fnc_addVirtualItemCargo;
[_obj, _magazines] call BIS_fnc_addVirtualMagazineCargo;
[_obj, _weapons ] call BIS_fnc_addVirtualWeaponCargo;
} else {
[_obj, _magazines] call BIS_fnc_addVirtualMagazineCargo;
[_obj, (_availableItems + _defItems)] call BIS_fnc_addVirtualItemCargo;
};


player setVariable ["EMF_KA_permittedGear", [_backpacks, _items, _magazines, _weapons], true];
1 change: 1 addition & 0 deletions PvH's EMF Kits/FICTIONAL/JSOK/JSOK_2020_SOF_MULTICAM.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
private["_availableUniforms","_availableItems", "_availableFacewear", "_availableVests", "_availableWeapons", "_availableHeadgear", "_availableBackpacks", "_availableMagazines", "_defFacewear", "_defItems", "_defVests", "_defWeapons", "_defGrenades", "_defHeadgear", "_defUniforms", "_defBackpacks", "_defMagazines", "_magazines", "_weapons", "_backpacks", "_items"];
params["_role", "_obj", "_rearmOnly"];
_availableUniforms = []; _availableWeapons = []; _availableMagazines = []; _availableVests = []; _availableItems = []; _availableBackpacks = []; _availableHeadgear = []; _availableFacewear = [];

Expand Down
3 changes: 2 additions & 1 deletion PvH's EMF Kits/FICTIONAL/JSOK/JSOK_2020_SOF_WOODLAND.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
private["_availableUniforms","_availableItems", "_availableFacewear", "_availableVests", "_availableWeapons", "_availableHeadgear", "_availableBackpacks", "_availableMagazines", "_defFacewear", "_defItems", "_defVests", "_defWeapons", "_defGrenades", "_defHeadgear", "_defUniforms", "_defBackpacks", "_defMagazines", "_magazines", "_weapons", "_backpacks", "_items"];
params["_role", "_obj", "_rearmOnly"];
_availableUniforms = []; _availableWeapons = []; _availableMagazines = []; _availableVests = []; _availableItems = []; _availableBackpacks = []; _availableHeadgear = []; _availableFacewear = [];

Expand Down Expand Up @@ -36,7 +37,7 @@ if (_role == "SL") then
_availableWeapons = ["rhs_weap_m4a1_blockII", "rhs_weap_m4a1_blockII_KAC", "rhs_weap_mk18", "rhs_weap_mk18_KAC"];
_availableMagazines = [];
_availableVests = ["CUP_V_JPC_tlbelt_rngr", "CUP_V_JPC_communicationsbelt_rngr"];
_availableItems = ["ItemAndroid",];
_availableItems = ["ItemAndroid"];
_availableBackpacks = ["tgc_hpc_backpanel"];
_availableHeadgear = [];
_availableFacewear = [];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
private["_availableUniforms","_availableItems", "_availableFacewear", "_availableVests", "_availableWeapons", "_availableHeadgear", "_availableBackpacks", "_availableMagazines", "_defFacewear", "_defItems", "_defVests", "_defWeapons", "_defGrenades", "_defHeadgear", "_defUniforms", "_defBackpacks", "_defMagazines", "_magazines", "_weapons", "_backpacks", "_items"];
params["_role", "_obj", "_rearmOnly"];
_availableUniforms = []; _availableWeapons = []; _availableMagazines = []; _availableVests = []; _availableItems = []; _availableBackpacks = []; _availableHeadgear = []; _availableFacewear = [];

Expand Down
3 changes: 2 additions & 1 deletion PvH's EMF Kits/FICTIONAL/MISC/FICTIONAL_UNDEF_1_WOODLAND.sqf
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
private["_availableUniforms","_availableItems", "_availableFacewear", "_availableVests", "_availableWeapons", "_availableHeadgear", "_availableBackpacks", "_availableMagazines", "_defFacewear", "_defItems", "_defVests", "_defWeapons", "_defGrenades", "_defHeadgear", "_defUniforms", "_defBackpacks", "_defMagazines", "_magazines", "_weapons", "_backpacks", "_items"];
params["_role", "_obj", "_rearmOnly"];
_availableUniforms = []; _availableWeapons = []; _availableMagazines = []; _availableVests = []; _availableItems = []; _availableBackpacks = []; _availableHeadgear = []; _availableFacewear = [];

// Define default gear
_defItems = ["kat_guedel", "ACE_adenosine", "ACE_fieldDressing", "ACE_elasticBandage", "ACE_packingBandage", "ACE_quikclot", "ACE_epinephrine", "ACE_Flashlight_MX991", "ACE_MapTools", "ACE_morphine", "ACE_splint", "ACE_tourniquet", "ItemMap", "ItemCompass", "ItemWatch"];
_defMagazines = ["rhsgref_30rnd_556x45_m21", "rhsgref_30rnd_556x45_m21_t", "rhs_100Rnd_762x54mmR_green"; "rhs_100Rnd_762x54mmR"];
_defMagazines = ["rhsgref_30rnd_556x45_m21", "rhsgref_30rnd_556x45_m21_t", "rhs_100Rnd_762x54mmR_green", "rhs_100Rnd_762x54mmR"];
_defGrenades = ["rhs_mag_f1", "rhs_mag_rgd5"];
_defUniforms = ["M93_bdu_B"];
_defWeapons = [];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
private["_availableUniforms","_availableItems", "_availableFacewear", "_availableVests", "_availableWeapons", "_availableHeadgear", "_availableBackpacks", "_availableMagazines", "_defFacewear", "_defItems", "_defVests", "_defWeapons", "_defGrenades", "_defHeadgear", "_defUniforms", "_defBackpacks", "_defMagazines", "_magazines", "_weapons", "_backpacks", "_items"];
params["_role", "_obj", "_rearmOnly"];
_availableUniforms = []; _availableWeapons = []; _availableMagazines = []; _availableVests = []; _availableItems = []; _availableBackpacks = []; _availableHeadgear = []; _availableFacewear = [];

Expand Down
3 changes: 2 additions & 1 deletion PvH's EMF Kits/FICTIONAL/MISC/TANOA_2010_TDP_OLIVE.sqf
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
private["_availableUniforms","_availableItems", "_availableFacewear", "_availableVests", "_availableWeapons", "_availableHeadgear", "_availableBackpacks", "_availableMagazines", "_defFacewear", "_defItems", "_defVests", "_defWeapons", "_defGrenades", "_defHeadgear", "_defUniforms", "_defBackpacks", "_defMagazines", "_magazines", "_weapons", "_backpacks", "_items"];
params["_role", "_obj", "_rearmOnly"];
_availableUniforms = []; _availableWeapons = []; _availableMagazines = []; _availableVests = []; _availableItems = []; _availableBackpacks = []; _availableHeadgear = []; _availableFacewear = [];

// Define default gear
_defItems = ["kat_guedel", "ACE_adenosine", "ACE_fieldDressing", "ACE_elasticBandage", "ACE_packingBandage", "ACE_quikclot", "ACE_epinephrine", "ACE_Flashlight_MX991", "ACE_MapTools", "ACE_morphine", "ACE_splint", "ACE_tourniquet", "ItemMap", "ItemCompass", "ItemWatch"];
_defMagazines = ["CUP_30Rnd_556x45_Stanag_Tracer_Green", "UGL_FlareRed_F", "rhs_mag_M441_HE", "rhs_mag_m713_Red", "rhs_mag_m715_Green", "CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", "hlc_200rnd_556x45_B_SAW", "hlc_200rnd_556x45_T_SAW", "hlc_200rnd_556x45_M_SAW" "murshun_cigs_matches", "murshun_cigs_cigpack"];
_defMagazines = ["CUP_30Rnd_556x45_Stanag_Tracer_Green", "UGL_FlareRed_F", "rhs_mag_M441_HE", "rhs_mag_m713_Red", "rhs_mag_m715_Green", "CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", "hlc_200rnd_556x45_B_SAW", "hlc_200rnd_556x45_T_SAW", "hlc_200rnd_556x45_M_SAW"];
_defGrenades = ["ACE_HandFlare_Green", "Chemlight_green", "Chemlight_blue","Chemlight_red", "ACE_Chemlight_Orange", "rhs_mag_an_m8hc", "rhs_mag_m18_green", "rhs_mag_m18_purple", "rhs_mag_m18_red"];
_defUniforms = [];
_defWeapons = [];
Expand Down
Loading

0 comments on commit 4fa4dcc

Please sign in to comment.