Skip to content

Commit

Permalink
General - Improve directory structure and filenames (#22)
Browse files Browse the repository at this point in the history
* Created new structure, renamed files and added example READMEs

* Added entry point to nav system

* Changed README format

* Fixed missing camo keyword in filenames

* Add Documentation australia - fictional

* Added download links for testing

* Fixed validation issues
  • Loading branch information
Tapawingo authored Jan 7, 2024
1 parent 63f00df commit 320fa5f
Show file tree
Hide file tree
Showing 145 changed files with 2,165 additions and 220 deletions.
1 change: 0 additions & 1 deletion AI Loadouts/placeholder.sqf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/*
* Author: [Author]
* [Description]
*
* [Modpack Version]
*/
params ["_role", "_unit"];

/* Custom additional condition */
private _condition = true;
private ["_availableUniforms", "_availableWeapons", "_availableMagazines", "_availableVests", "_availableItems", "_availableBackpacks", "_availableHeadgear", "_availableFacewear", "_availableAttachments", "_availableGrenades"];

/* Default gear */
private _defItems = ["ACE_Canteen", "ACE_EarPlugs", "kat_guedel", "ACE_adenosine", "ACE_fieldDressing", "ACE_elasticBandage", "ACE_packingBandage", "ACE_quikclot", "ACE_epinephrine", "ACE_Flashlight_MX991", "ACE_morphine", "ACE_splint", "ACE_tourniquet", "ItemCompass", "ItemWatch", "ACE_CableTie"];
private _defWeapons = [];
private _defAttachments = ["rhsgref_acc_l1a1_l2a2"];
private _defMagazines = [];
private _defGrenades = ["uns_mk2gren"];
private _defUniforms = ["U_cca_belg_smock"];
private _defVests = [];
private _defBackpacks = [];
private _defHeadgear = ["H_Simc_Boon_green_5", "H_Simc_Boon_green_6", "SNS_M51", "UK3CB_ANA_B_H_Beret_MAR"];
private _defFacewear = ["G_Anduk_2", "G_Anduk_1", "UNS_Band_H", "UNS_Band_L", "G_Aviator"];

/* Rifleman */
if (_condition && _role in ["RFL"]) then {
_availableUniforms = [];
_availableWeapons = ["rhs_weap_l1a1_wood", "UK3CB_Sten", "uns_mat49"];
_availableAttachments = [];
_availableMagazines = ["rhs_mag_20Rnd_762x51_m80_fnfal", "UK3CB_Sten_34Rnd_Magazine", "uns_mat49mag_NT"];
_availableVests = ["V_sns_m58_p37_bare", "V_sns_m58_p37", "V_sns_m58_bare"];
_availableItems = [];
_availableGrenades = [];
_availableBackpacks = ["B_simc_US_Bandoleer_556_3", "B_simc_US_Bandoleer_556_1", "B_simc_US_Bandoleer_556_fore", "B_simc_US_Bandoleer_556_doppel_1", "B_simc_USMC65_M41", "B_simc_USMC65_M41_flat"];
_availableHeadgear = [];
_availableFacewear = ["G_simc_US_Bandoleer_556_right", "G_simc_US_Bandoleer_556_fore", "G_simc_US_Bandoleer_556_left"];
};

/* Squad Leader and Platoon Leader */
if (_condition && _role in ["SL", "PL"]) then {
_availableUniforms = [];
_availableWeapons = ["rhs_weap_l1a1_wood", "UK3CB_Sten", "uns_mat49", "CUP_hgun_Browning_HP", "rhssaf_zrak_rd7j"];
_availableAttachments = [];
_availableMagazines = ["rhs_mag_20Rnd_762x51_m80_fnfal", "UK3CB_Sten_34Rnd_Magazine", "uns_mat49mag_NT", "CUP_13Rnd_9x19_Browning_HP"];
_availableVests = ["V_sns_m58_p37_bare", "V_sns_m58_p37", "V_sns_m58_bare"];
_availableItems = ["ACRE_PRC77", "ACRE_SEM52SL", "ACE_MapTools", "ItemMap"];
_availableGrenades = ["rhs_mag_m18_purple", "rhs_mag_an_m8hc"];
_availableBackpacks = ["B_simc_MC_rajio_base", "B_simc_rajio_2", "B_simc_rajio_base"];
_availableHeadgear = [];
_availableFacewear = ["G_simc_US_Bandoleer_556_right", "G_simc_US_Bandoleer_556_fore", "G_simc_US_Bandoleer_556_left"];
};

/* Fireteam Leader */
if (_condition && _role in ["FTL"]) then {
_availableUniforms = [];
_availableWeapons = ["rhs_weap_l1a1_wood", "UK3CB_Sten", "uns_mat49", "CUP_hgun_Browning_HP", "rhssaf_zrak_rd7j"];
_availableAttachments = [];
_availableMagazines = ["rhs_mag_20Rnd_762x51_m80_fnfal", "UK3CB_Sten_34Rnd_Magazine", "uns_mat49mag_NT", "CUP_13Rnd_9x19_Browning_HP"];
_availableVests = ["V_sns_m58_p37_bare", "V_sns_m58_p37", "V_sns_m58_bare"];
_availableItems = ["ACRE_PRC77", "ACRE_SEM52SL", "ACE_MapTools", "ItemMap"];
_availableGrenades = ["rhs_mag_m18_purple", "rhs_mag_an_m8hc"];
_availableBackpacks = ["B_simc_MC_rajio_base", "B_simc_rajio_2", "B_simc_rajio_base"];
_availableHeadgear = [];
_availableFacewear = ["G_simc_US_Bandoleer_556_right", "G_simc_US_Bandoleer_556_fore", "G_simc_US_Bandoleer_556_left"];
};

/* Medic */
if (_condition && _role in ["MED"]) then {
_unit setVariable ["ace_medical_medicclass", 2, true];
_availableUniforms = [];
_availableWeapons = ["rhs_weap_l1a1_wood", "UK3CB_Sten", "uns_mat49"];
_availableAttachments = [];
_availableMagazines = ["rhs_mag_20Rnd_762x51_m80_fnfal", "UK3CB_Sten_34Rnd_Magazine", "uns_mat49mag_NT"];
_availableVests = ["V_sns_m58_p37_bare", "V_sns_m58_p37", "V_sns_m58_bare"];
_availableItems = ["ACE_personalAidKit", "ACE_plasmaIV", "ACE_plasmaIV_250", "ACE_plasmaIV_500", "ACE_surgicalKit", "kat_chestSeal", "kat_larynx", "kat_stethoscope", "kat_amiodarone", "kat_lidocaine", "kat_IO_FAST", "kat_IV_16", "KAT_Empty_bloodIV_500", "KAT_Empty_bloodIV_250", "kat_AED", "kat_aatKit"];
_availableGrenades = [];
_availableBackpacks = ["B_simc_pack_frem_med5"];
_availableHeadgear = [];
_availableFacewear = ["G_simc_US_Bandoleer_556_right", "G_simc_US_Bandoleer_556_fore", "G_simc_US_Bandoleer_556_left"];
};

/* Autorifleman */
if (_condition && _role in ["AR"]) then {
_availableUniforms = [];
_availableWeapons = ["CUP_lmg_FNMAG", "uns_m1919a6", "rhssaf_zrak_rd7j"];
_availableAttachments = [];
_availableMagazines = ["CUP_100Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M", "uns_100Rnd_m1919"];
_availableVests = ["V_sns_m58_p37_bare", "V_sns_m58_p37", "V_sns_m58_bare"];
_availableItems = ["ACE_SpareBarrel_Item"];
_availableGrenades = [];
_availableBackpacks = ["B_simc_USMC65_M41", "B_simc_USMC65_M41_flat", "B_simc_US_Bandoleer_60_L", "B_simc_US_Bandoleer_60_R", "B_simc_US_Bandoleer_60"];
_availableHeadgear = [];
_availableFacewear = ["G_simc_US_Bandoleer_60_R", "G_simc_US_Bandoleer_60_L", "G_simc_US_Bandoleer_60"];
};

/* Assistant Autorifleman */
if (_condition && _role in ["AAR"]) then {
_availableUniforms = [];
_availableWeapons = ["rhs_weap_l1a1_wood", "UK3CB_Sten", "uns_mat49"];
_availableAttachments = [];
_availableMagazines = ["rhs_mag_20Rnd_762x51_m80_fnfal", "UK3CB_Sten_34Rnd_Magazine", "uns_mat49mag_NT", "CUP_100Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M", "uns_100Rnd_m1919"];
_availableVests = ["V_sns_m58_p37_bare", "V_sns_m58_p37", "V_sns_m58_bare"];
_availableItems = ["ACE_SpareBarrel_Item"];
_availableGrenades = [];
_availableBackpacks = ["B_simc_USMC65_M41", "B_simc_USMC65_M41_flat", "B_simc_US_Bandoleer_60_L", "B_simc_US_Bandoleer_60_R", "B_simc_US_Bandoleer_60"];
_availableHeadgear = [];
_availableFacewear = ["G_simc_US_Bandoleer_60_R", "G_simc_US_Bandoleer_60_L", "G_simc_US_Bandoleer_60"];
};

/* Anti-Tank, Light */
if (_condition && _role in ["LAT"]) then {
_availableUniforms = [];
_availableWeapons = ["rhs_weap_l1a1_wood", "UK3CB_Sten", "uns_mat49", "uns_m20_bazooka"];
_availableAttachments = [];
_availableMagazines = ["rhs_mag_20Rnd_762x51_m80_fnfal", "UK3CB_Sten_34Rnd_Magazine", "uns_mat49mag_NT", "uns_M28A2_mag", "uns_M30_smoke_mag"];
_availableVests = ["V_sns_m58_p37_bare", "V_sns_m58_p37", "V_sns_m58_bare"];
_availableItems = [];
_availableGrenades = [];
_availableBackpacks = ["B_simc_packboard_mortar_1", "B_simc_USMC65_M41_mortar", "B_simc_MC_packboard_3"];
_availableHeadgear = [];
_availableFacewear = ["G_simc_US_Bandoleer_556_right", "G_simc_US_Bandoleer_556_fore", "G_simc_US_Bandoleer_556_left"];
};

/* Loadout array that's passed back to kosherArsenal */
[
/* Loadoutfile version */
"1.3",

/* Allowed Equipment array */
[
(_availableBackpacks + _defBackpacks),
(_availableVests + _defVests),
(_availableUniforms + _defUniforms),
(_availableFacewear + _defFacewear),
(_defHeadgear + _availableHeadgear),
(_defAttachments + _availableAttachments),
(_availableMagazines + _defGrenades + _defMagazines + _availableGrenades),
(_availableWeapons + _defWeapons),
(_availableItems + _defItems)
]
];
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
/*
* Author: [Author]
* [Description]
*
* [Modpack Version]
*
* Wiki: https://wiki.cluster-community.com/index.php?title=Logistics
*/

[
/* Fireteam Crate */
["Fireteam", {
_available = 4;
_class = "CUP_BOX_US_ARMY_Ammo_F";
_weapons = [];
_magazines = [["rhs_mag_20Rnd_762x51_m80_fnfal", 30], ["UK3CB_Sten_34Rnd_Magazine", 30], ["uns_mat49mag_NT", 30], ["CUP_100Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M", 5], ["uns_100Rnd_m1919", 5], ["uns_M28A2_mag", 4]];
_grenades = [["uns_mk2gren", 12]];
_items = [["ACE_fieldDressing", 12], ["ACE_morphine", 12], ["ACE_epinephrine", 12], ["ACE_Canteen", 6]];
_cargo = [];
}],

["Medical", {
_available = 2;
_class = "ACE_medicalSupplyCrate_advanced";
_weapons = [];
_magazines = [];
_grenades = [];
_items = [["kat_IV_16", 10], ["kat_aatKit", 5], ["ACE_adenosine", 5], ["kat_amiodarone", 5], ["ACE_fieldDressing", 20], ["ACE_elasticBandage", 25], ["ACE_packingBandage", 30], ["ACE_quikclot", 15], ["kat_chestSeal", 10], ["ACE_epinephrine", 10], ["kat_IO_FAST", 5], ["kat_guedel", 5], ["kat_larynx", 10], ["kat_lidocaine", 5], ["ACE_morphine", 10], ["ACE_plasmaIV", 5], ["ACE_plasmaIV_500", 10], ["ACE_splint", 5], ["ACE_bodyBag", 10]];
_cargo = [];
}],

["LAT", {
_available = 2;
_class = "CUP_BOX_US_ARMY_AmmoOrd_F";
_weapons = [["CUP_launch_M72A6", 20]];
_magazines = [];
_grenades = [];
_items = [];
_cargo = [];
}],

["Map", {
_available = 1;
_class = "BWA3_box_120mm_Mo_Illum";
_weapons = [["ItemMap", 20]];
_magazines = [];
_grenades = [];
_items = [];
_cargo = [];
}],

["Explosives", {
_available = 0;
_class = "";
_weapons = [];
_magazines = [];
_grenades = [];
_items = [];
_cargo = [];
}],

["MMG", {
_available = 0;
_class = "";
_weapons = [];
_magazines = [];
_grenades = [];
_items = [];
_cargo = [];
}],

["HMG", {
_available = 0;
_class = "";
_weapons = [];
_magazines = [];
_grenades = [];
_items = [];
_cargo = [];
}],

["MAT", {
_available = 0;
_class = "";
_weapons = [];
_magazines = [];
_grenades = [];
_items = [];
_cargo = [];
}],

["HAT", {
_available = 0;
_class = "";
_weapons = [];
_magazines = [];
_grenades = [];
_items = [];
_cargo = [];
}],

["Mortar", {
_available = 0;
_class = "";
_weapons = [];
_magazines = [];
_grenades = [];
_items = [];
_cargo = [];
}],

["Engineer", {
_available = 0;
_class = "";
_weapons = [];
_magazines = [];
_grenades = [];
_items = [];
_cargo = [];
}],

["Large", {
_available = 0;
_class = "";
_weapons = [];
_magazines = [];
_grenades = [];
_items = [];
_cargo = [];
}]
]
Loading

0 comments on commit 320fa5f

Please sign in to comment.