Jump to content
Rabid Squirrel

cfgRespawnLoadout Presents JIP Infinite Loading Screen

Recommended Posts

Hi all,

 

I have been creating multiplayer missions for a group I play with for the last two years or so. Over that time we have developed bit by bit a template for creating missions, makes it much faster and easier for all the guys. However recently (as of the end of last year), I have run into a little issue with the template we were using. Our loadout script (which uses the BIS cfgRespawnLoadout) seems to be causing our JIP members to be infinitely stuck in the Loading screen for the mission. All members that join before 5 minutes or so do not have this issue.

 

Our template as follows where we located the issue:

 

initPlayerLocal.sqf

//Call the Loadouts
[] execVM "Scripts\PlayerLoadouts.sqf";

PlayerLoadouts.sqf

//Declare Player Loadouts
if (player isKindOf "B_recon_F") then
{
[player,"SAEF_Rifleman_M4"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_Rifleman_M16"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_Rifleman_L85"] call BIS_fnc_addRespawnInventory;
};

if (player isKindOf "B_recon_LAT_F") then
{
[player,"SAEF_AT_M4"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_AT_M16"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_AT_L85"] call BIS_fnc_addRespawnInventory;
};

if (player isKindOf "B_recon_medic_F") then
{
[player,"SAEF_Medic_M4"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_Medic_M16"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_Medic_L85"] call BIS_fnc_addRespawnInventory;
};

if (player isKindOf "B_recon_JTAC_F") then
{
[player,"SAEF_LMG"] call BIS_fnc_addRespawnInventory;
};

if (player isKindOf "B_recon_TL_F") then
{
[player,"SAEF_Grenadier_M4"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_Grenadier_M16"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_Grenadier_L85"] call BIS_fnc_addRespawnInventory;
};

if (player isKindOf "B_recon_exp_F") then
{
[player,"SAEF_Engineer_M4"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_Engineer_M16"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_Engineer_L85"] call BIS_fnc_addRespawnInventory;
};

if (player isKindOf "B_Recon_Sharpshooter_F") then
{
[player,"SAEF_AmmoBearer_M4"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_AmmoBearer_M16"] call BIS_fnc_addRespawnInventory;
[player,"SAEF_AmmoBearer_L85"] call BIS_fnc_addRespawnInventory;
};

if (player isKindOf "B_recon_M_F") then
{
[player,"SAEF_Marksman"] call BIS_fnc_addRespawnInventory;
};

description.ext

respawn = 3;
respawnDelay = 5;
//respawnVehicleDelay = 60;
respawnTemplates[] = {"MenuInventory","MenuPosition"};


onLoadIntroTime=0;
onLoadMissionTime=0;
disabledAI = 1;
debriefing = 1;
showGPS = 1;

author = "******";
onLoadName = "******";
onLoadMission = "******";
overviewPicture = "******.jpg";

class Header
{
    gameType = COOP;
    minPlayers = 1;
    maxPlayers = 14;
};

class CfgRespawnInventory
{
    class SAEF_Rifleman_M4
    {
        displayName = "Rifleman (M4)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m4_carryhandle_pmag",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green1",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
    };
    
    class SAEF_Rifleman_M16
    {
        displayName = "Rifleman (M16)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m16a4_carryhandle_pmag",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green1",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
    };
    
    class SAEF_Rifleman_L85
    {
        displayName = "Rifleman (L85)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "SMA_L85RISafg",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "SMA_supp2BOD_556",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green1",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
    };
    
    class SAEF_AT_M4
    {
        displayName = "Anti-Tank (M4)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m4_carryhandle_pmag",
            "RH_m9",
            "launch_I_Titan_short_F"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "Titan_AT",
            "Titan_AT",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_eotech_552",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "SA_Backpack_Fast_Olive";
    };
    
    class SAEF_AT_M16
    {
        displayName = "Anti-Tank (M16)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m16a4_carryhandle_pmag",
            "RH_m9",
            "launch_I_Titan_short_F"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "Titan_AT",
            "Titan_AT",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_eotech_552",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "SA_Backpack_Fast_Olive";
    };
    
    class SAEF_AT_L85
    {
        displayName = "Anti-Tank (L85)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "SMA_L85RISafg",
            "RH_m9",
            "launch_I_Titan_short_F"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "Titan_AT",
            "Titan_AT",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "SMA_supp2BOD_556",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_eotech_552",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "SA_Backpack_Fast_Olive";
    };
    
    class SAEF_Medic_M4
    {
        displayName = "Medic (M4)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m4_carryhandle_pmag",
            "RH_m9"
        };
        magazines[] = {
            "SmokeShell",
            "SmokeShell",
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "SA_Backpack_Fast_Olive";
    };
    
    class SAEF_Medic_M16
    {
        displayName = "Medic (M16)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m16a4_carryhandle_pmag",
            "RH_m9"
        };
        magazines[] = {
            "SmokeShell",
            "SmokeShell",
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "SA_Backpack_Fast_Olive";
    };
    
    class SAEF_Medic_L85
    {
        displayName = "Medic (L85)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "SMA_L85RISafg",
            "RH_m9"
        };
        magazines[] = {
            "SmokeShell",
            "SmokeShell",
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "SmokeShell",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "SMA_supp2BOD_556",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "SA_Backpack_Fast_Olive";
    };
    
    class SAEF_LMG
    {
        displayName = "Autorifleman"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m249_pip_L",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "rhs_200rnd_556x45_M_SAW",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "SMA_SFFL_BLK",
            "rhsusf_acc_eotech_552",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green1",
            "SA_Helmet_Green",
            "SA_Bandanna_Flag_Green",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
    };
    
    class SAEF_Grenadier_M4
    {
        displayName = "Grenadier (M4)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m4_m320",
            "RH_m9",
            "ACE_Vector"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green1",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
    };
    
    class SAEF_Grenadier_M16
    {
        displayName = "Grenadier (M16)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m16a4_carryhandle_M203",
            "RH_m9",
            "ACE_Vector"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green1",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
    };
    
    class SAEF_Grenadier_L85
    {
        displayName = "Grenadier (L85)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "SMA_L85RISafg",
            "rhs_weap_M320",
            "ACE_Vector"
        };
        magazines[] = {
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "rhs_mag_M441_HE",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "SMA_supp2BOD_556",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "SA_PlateCarrier_Green1",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
    };
    
    class SAEF_Engineer_M4
    {
        displayName = "Engineer (M4)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m4_carryhandle_pmag",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ToolKit",
            "ACE_wirecutter",
            "ACE_Clacker",
            "ACE_DefusalKit",
            "ACE_CableTie",
            "ACE_CableTie",
            "ACE_CableTie",
            "ACE_CableTie",
            "MineDetector",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_eotech_552",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "SA_Bandanna_Flag_Green",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "B_Carryall_oli";
    };
    
    class SAEF_Engineer_M16
    {
        displayName = "Engineer (M16)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m16a4_carryhandle_pmag",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ToolKit",
            "ACE_wirecutter",
            "ACE_Clacker",
            "ACE_DefusalKit",
            "ACE_CableTie",
            "ACE_CableTie",
            "ACE_CableTie",
            "ACE_CableTie",
            "MineDetector",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_eotech_552",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "SA_Bandanna_Flag_Green",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "B_Carryall_oli";
    };
    
    class SAEF_Engineer_L85
    {
        displayName = "Engineer (L85)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "SMA_L85RISafg",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag",
            "DemoCharge_Remote_Mag"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ToolKit",
            "ACE_wirecutter",
            "ACE_Clacker",
            "ACE_DefusalKit",
            "ACE_CableTie",
            "ACE_CableTie",
            "ACE_CableTie",
            "ACE_CableTie",
            "MineDetector",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "SMA_supp2BOD_556",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_eotech_552",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "SA_Bandanna_Flag_Green",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "B_Carryall_oli";
    };
    
    class SAEF_AmmoBearer_M4
    {
        displayName = "Ammo Bearer (M4)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m4_carryhandle_pmag",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "rhs_200rnd_556x45_M_SAW",
            "rhs_200rnd_556x45_M_SAW"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "B_Carryall_oli";
    };
    
    class SAEF_AmmoBearer_M16
    {
        displayName = "Ammo Bearer (M16)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_m16a4_carryhandle_pmag",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "rhs_200rnd_556x45_M_SAW",
            "rhs_200rnd_556x45_M_SAW"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_nt4_black",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "B_Carryall_oli";
    };
    
    class SAEF_AmmoBearer_L85
    {
        displayName = "Ammo Bearer (L85)"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "SMA_L85RISafg",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "30Rnd_556x45_Stanag_Tracer_Red",
            "HandGrenade",
            "HandGrenade",
            "rhs_200rnd_556x45_M_SAW",
            "rhs_200rnd_556x45_M_SAW"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "SMA_supp2BOD_556",
            "rhsusf_acc_anpeq15_light",
            "rhsusf_acc_compm4",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Helmet_Green",
            "Rus_Shemag",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform";
        backpack = "B_Carryall_oli";
    };
    
    class SAEF_Marksman
    {
        displayName = "Marksman"; // Name visible in the menu
        //icon = "\Images\gl_ca.paa"; // Icon displayed next to the name
        // Condition must return true in order for the loadout to be displayed in the menu.
        // Evaluated when the menu is opened.
        show = "side group _this == west";

        // Loadout definition, uses same entries as CfgVehicles classes
        weapons[] = {
            "rhs_weap_XM2010",
            "RH_m9"
        };
        magazines[] = {
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "rhsusf_5Rnd_300winmag_xm2010",
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "RH_15Rnd_9x19_M9",
            "HandGrenade",
            "HandGrenade",
            "SmokeShell",
            "SmokeShell"
        };
        items[] = {
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_fieldDressing",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_morphine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_epinephrine",
            "ACE_EarPlugs"
        };
        linkedItems[] = {
            "rhsusf_acc_M2010S",
            "rhsusf_acc_anpeq15side",
            "optic_NVS",
            "RH_m9qd",
            "RH_X300",
            "SA_PlateCarrier_Green2",
            "SA_Beanie_blk",
            "SA_Bandanna_Flag_Green",
            "NVGoggles_INDEP",
            "ItemMap",
            "ItemGPS",
            "ItemCompass",
            "ItemWatch",
            "tf_anprc152_2"
        };
        uniformClass = "SA_W_Uniform_S";
        backpack = "SA_Backpack_Olive";
    };
};

At this point in time we have just commented out the "PlayerLoadouts.sqf" execution in the "initPlayerLocal.sqf", but this is a temporary solution as we would like to start using the Loadout Selection menu again soon.

 

Any and all help would be appreciated. If any more information is required I would be happy to supply it.

 

Thanks in Advance,

Squirrel.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×