Jump to content
memerguy78

Orbat Creator autogen.hpp error

Recommended Posts

I get the error (file x\testmod\addons\test\autogen.hpp, line 207 : config: end of lineencountered after O_OMexicpCartelCJNG_rifleman7_01

 script:

//////////////////////////////////////////////////////////////////////////////////
// Config Automatically Generated by ALiVE ORBAT Creator
// Generated with Arma 3 version 218.152405 on Stable branch
// Generated with ALiVE version 2.1.6.2410071
//////////////////////////////////////////////////////////////////////////////////

class CfgFactionClasses {
    class O_MexicpCartel_CJNG {
        displayName = "CJNG";
        side = 0;
        flag = "\A3\ui_f\data\map\markers\flags\nato_ca.paa";
        icon = "\A3\ui_f\data\map\markers\flags\nato_ca.paa";
        priority = 0;
    };
};

class CfgGroups {
    class EAST {

        class O_MexicpCartel_CJNG {
            name = "CJNG";

            class Infantry {
                name = "Infantry";

                class o_omexicpcartelcjng_infantry_squad1 {
                    name = "Squad1";
                    side = 0;
                    faction = "O_MexicpCartel_CJNG";
                    icon = "\A3\ui_f\data\map\markers\nato\o_inf.paa";
                    rarityGroup = 0.5;

                    class Unit0 {
                        position[] = {0,0,0};
                        rank = "SERGEANT";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Squad_Leader_01";
                    };
                    class Unit1 {
                        position[] = {5,-5,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_RIfleman_01";
                    };
                    class Unit2 {
                        position[] = {-5,-5,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Sniper_01";
                    };
                    class Unit3 {
                        position[] = {10,-10,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Sniper2_01";
                    };
                    class Unit4 {
                        position[] = {-10,-10,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Auto_Rifleman_01";
                    };
                    class Unit5 {
                        position[] = {15,-15,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Rifleman2_01";
                    };
                    class Unit6 {
                        position[] = {-15,-15,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Rifleman3_01";
                    };
                    class Unit7 {
                        position[] = {20,-20,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Rifleman4_01";
                    };
                    class Unit8 {
                        position[] = {-20,-20,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Rifleman5_01";
                    };
                    class Unit9 {
                        position[] = {25,-25,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Rifleman_6_01";
                    };
                    class Unit10 {
                        position[] = {-25,-25,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_AT_operator_2_01";
                    };
                };

                class o_omexicpcartelcjng_infantry_operator_squad {
                    name = "Operator squad";
                    side = 0;
                    faction = "O_MexicpCartel_CJNG";
                    icon = "\A3\ui_f\data\map\markers\nato\o_inf.paa";
                    rarityGroup = 0.5;

                    class Unit0 {
                        position[] = {0,0,0};
                        rank = "SERGEANT";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Squad_Leader_01";
                    };
                    class Unit1 {
                        position[] = {5,-5,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Sniper3_01";
                    };
                    class Unit2 {
                        position[] = {-5,-5,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Sniper4_01";
                    };
                    class Unit3 {
                        position[] = {10,-10,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Submachinegunner_01";
                    };
                    class Unit4 {
                        position[] = {-10,-10,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Shotgunner_01";
                    };
                    class Unit5 {
                        position[] = {15,-15,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Ar_Operator_01";
                    };
                    class Unit6 {
                        position[] = {-15,-15,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Ak_operator_01";
                    };
                    class Unit7 {
                        position[] = {20,-20,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Machinegunner_01";
                    };
                    class Unit8 {
                        position[] = {-20,-20,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_TAR_01";
                    };
                    class Unit9 {
                        position[] = {25,-25,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Grenade_Launcher_Operator_01";
                    };
                    class Unit10 {
                        position[] = {-25,-25,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_ZASTAVA_operater_01";
                    };
                    class Unit11 {
                        position[] = {30,-30,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_M16A1_Operator_01";
                    };
                    class Unit12 {
                        position[] = {-30,-30,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Barrett_Op_01";
                    };
                    class Unit13 {
                        position[] = {35,-35,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_p90_operator_01";
                    };
                    class Unit14 {
                        position[] = {-35,-35,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_FN_SCAR_op_01";
                    };
                    class Unit15 {
                        position[] = {40,-40,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_AT_Op_01";
                    };
                    class Unit16 {
                        position[] = {-40,-40,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_Xm_operator_01";
                    };
                    class Unit17 {
                        position[] = {45,-45,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_rifleman7_01;
                    };
                    class Unit18 {
                        position[] = {-45,-45,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_AK_operator_2_01";
                    };
                    class Unit19 {
                        position[] = {50,-50,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_AR_operator_2_01";
                    };
                    class Unit20 {
                        position[] = {-50,-50,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_AK_operator_3_01";
                    };
                    class Unit21 {
                        position[] = {55,-55,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_shotgunner2_01";
                    };
                    class Unit22 {
                        position[] = {-55,-55,0};
                        rank = "PRIVATE";
                        side = 0;
                        vehicle = "O_OMexicpCartelCJNG_submachinegunner2_01";
                    };
                };

            };

            class SpecOps {
                name = "Special Forces";

            };

            class Motorized {
                name = "Motorized Infantry";

            };

            class Motorized_MTP {
                name = "Motorized Infantry (MTP)";

            };

            class Support {
                name = "Support Infantry";

            };

            class Mechanized {
                name = "Mechanized Infantry";

            };

            class Armored {
                name = "Armor";

            };

            class Artillery {
                name = "Artillery";

            };

            class Naval {
                name = "Naval";

            };

            class Air {
                name = "Air";

            };


        };

    };
};


class CBA_Extended_EventHandlers_base;

class CfgVehicles {

    class DFM_AIO_O_Cartel_Rifleman_AK;
    class DFM_AIO_O_Cartel_Rifleman_AK_OCimport_01 : DFM_AIO_O_Cartel_Rifleman_AK { scope = 0; class EventHandlers; };
    class DFM_AIO_O_Cartel_Rifleman_AK_OCimport_02 : DFM_AIO_O_Cartel_Rifleman_AK_OCimport_01 { class EventHandlers; };


    class O_OMexicpCartelCJNG_RIfleman_01 : DFM_AIO_O_Cartel_Rifleman_AK_OCimport_02 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "RIfleman";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"NMG_weapons_aks74_wtdt","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"NMG_weapons_aks74_wtdt","MPP_P80_BLK_BLK_9"};

        magazines[] = {"30Rnd_545x39_Mag_F","MPP_17rnd_9MM_124FMJ_G17","30Rnd_545x39_Mag_F","MPP_17rnd_9MM_124FMJ_G17"};
        respawnMagazines[] = {"30Rnd_545x39_Mag_F","MPP_17rnd_9MM_124FMJ_G17","30Rnd_545x39_Mag_F","MPP_17rnd_9MM_124FMJ_G17"};

        ALiVE_orbatCreator_loadout[] = {{"NMG_weapons_aks74_wtdt","","side_HG_all_drevo_NMG","",{"30Rnd_545x39_Mag_F",30},{},"rebr_rama_NMG"},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_17rnd_9MM_124FMJ_G17",17},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",7},{"PiR_bint",2},{"MiniGrenade",1,1},{"30Rnd_545x39_Mag_F",1,30}}},{"CJNG_CarrierRig_3",{{"PiR_bint",3},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"30Rnd_545x39_Mag_F",4,30},{"MPP_20rnd_9MM_124FMJ_G19",5,20}}},{},"CDS_HelmetBlufor3","B_NSHD_Skull",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Sniper_01 : O_OMexicpCartelCJNG_RIfleman_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Sniper";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"ASZ_M107_Blk","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"ASZ_M107_Blk","MPP_P80_BLK_BLK_9"};

        magazines[] = {"10Rnd_127x99_mag_ASZ","MPP_17rnd_9MM_124FMJ_G17","10Rnd_127x99_mag_ASZ","MPP_17rnd_9MM_124FMJ_G17"};
        respawnMagazines[] = {"10Rnd_127x99_mag_ASZ","MPP_17rnd_9MM_124FMJ_G17","10Rnd_127x99_mag_ASZ","MPP_17rnd_9MM_124FMJ_G17"};

        ALiVE_orbatCreator_loadout[] = {{"ASZ_M107_Blk","","","rhsusf_acc_premier",{"10Rnd_127x99_mag_ASZ",10},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_17rnd_9MM_124FMJ_G17",17},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",9},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"10Rnd_127x99_mag_ASZ",1,10}}},{"CJNG_CarrierRig_3",{{"PiR_bint",4},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",5,20},{"10Rnd_127x99_mag_ASZ",7,10}}},{},"CDS_HelmetBlufor3","B_NSHD_Skull",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Sniper2_01 : O_OMexicpCartelCJNG_Sniper_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Sniper2";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"ASZ_M107_Blk","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"ASZ_M107_Blk","MPP_P80_BLK_BLK_9"};

        magazines[] = {"10Rnd_127x99_mag_ASZ","MPP_17rnd_9MM_124FMJ_G17","10Rnd_127x99_mag_ASZ","MPP_17rnd_9MM_124FMJ_G17"};
        respawnMagazines[] = {"10Rnd_127x99_mag_ASZ","MPP_17rnd_9MM_124FMJ_G17","10Rnd_127x99_mag_ASZ","MPP_17rnd_9MM_124FMJ_G17"};

        ALiVE_orbatCreator_loadout[] = {{"ASZ_M107_Blk","","","",{"10Rnd_127x99_mag_ASZ",10},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_17rnd_9MM_124FMJ_G17",17},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"10Rnd_127x99_mag_ASZ",1,10}}},{"CJNG_CarrierRig_3",{{"PiR_bint",5},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",5,20},{"10Rnd_127x99_mag_ASZ",7,10}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Auto_Rifleman_01 : O_OMexicpCartelCJNG_Sniper2_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Auto Rifleman";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_TK_camo_arid","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"hlc_m249_pip1","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"hlc_m249_pip1","MPP_P80_BLK_BLK_9"};

        magazines[] = {"hlc_200rnd_556x45_M_SAW","MPP_17rnd_9MM_124FMJ_G17","hlc_200rnd_556x45_M_SAW","MPP_17rnd_9MM_124FMJ_G17"};
        respawnMagazines[] = {"hlc_200rnd_556x45_M_SAW","MPP_17rnd_9MM_124FMJ_G17","hlc_200rnd_556x45_M_SAW","MPP_17rnd_9MM_124FMJ_G17"};

        backpack = "CUP_B_AssaultPack_Black";

        ALiVE_orbatCreator_loadout[] = {{"hlc_m249_pip1","","","",{"hlc_200rnd_556x45_M_SAW",200},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_17rnd_9MM_124FMJ_G17",17},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",13},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1}}},{"CJNG_CarrierRig_3",{{"PiR_bint",6},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",5,20},{"hlc_200rnd_556x45_M_SAW",1,200}}},{"CUP_B_AssaultPack_Black",{{"rhsusf_200Rnd_556x45_box",2,200}}},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Squad_Leader_01 : O_OMexicpCartelCJNG_Auto_Rifleman_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Squad Leader";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_TK_camo_arid","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_o";

        linkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CUP_arifle_M4A1_black","CUP_hgun_Colt1911"};
        respawnWeapons[] = {"CUP_arifle_M4A1_black","CUP_hgun_Colt1911"};

        magazines[] = {"CUP_30Rnd_556x45_Stanag","CUP_7Rnd_45ACP_1911","CUP_30Rnd_556x45_Stanag","CUP_7Rnd_45ACP_1911"};
        respawnMagazines[] = {"CUP_30Rnd_556x45_Stanag","CUP_7Rnd_45ACP_1911","CUP_30Rnd_556x45_Stanag","CUP_7Rnd_45ACP_1911"};

        ALiVE_orbatCreator_loadout[] = {{"CUP_arifle_M4A1_black","","","",{"CUP_30Rnd_556x45_Stanag",30},{},""},{},{"CUP_hgun_Colt1911","","","",{"CUP_7Rnd_45ACP_1911",7},{},""},{"PMCA_tee_uniform_o",{{"ACE_CableTie",11},{"PiR_bint",2},{"MiniGrenade",1,1},{"CUP_30Rnd_556x45_Stanag",1,30}}},{"CJNG_CarrierRig_MZ",{{"PiR_bint",6},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"CUP_30Rnd_556x45_Stanag",5,30},{"CUP_7Rnd_45ACP_1911",3,7},{"9Rnd_45ACP_Mag",3,8}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Rifleman2_01 : O_OMexicpCartelCJNG_RIfleman_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Rifleman2";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"NMG_weapons_ak74n","MPP_FN57_MK3_BLK_BLK"};
        respawnWeapons[] = {"NMG_weapons_ak74n","MPP_FN57_MK3_BLK_BLK"};

        magazines[] = {"30Rnd_545x39_Mag_F","MPP_20rnd_57_Ball_Five7_Mk3","30Rnd_545x39_Mag_F","MPP_20rnd_57_Ball_Five7_Mk3"};
        respawnMagazines[] = {"30Rnd_545x39_Mag_F","MPP_20rnd_57_Ball_Five7_Mk3","30Rnd_545x39_Mag_F","MPP_20rnd_57_Ball_Five7_Mk3"};

        ALiVE_orbatCreator_loadout[] = {{"NMG_weapons_ak74n","rhs_acc_dtk1983","side_HG_all_drevo_NMG","",{"30Rnd_545x39_Mag_F",30},{},""},{},{"MPP_FN57_MK3_BLK_BLK","","","",{"MPP_20rnd_57_Ball_Five7_Mk3",20},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",9},{"PiR_bint",2},{"MiniGrenade",1,1},{"30Rnd_545x39_Mag_F",1,30}}},{"CJNG_CarrierRig_3",{{"PiR_bint",4},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"30Rnd_545x39_Mag_F",2,30},{"MPP_20rnd_57_Ball_Five7_Mk3",5,20},{"rhs_30Rnd_545x39_AK_plum_green",3,30},{"rhs_30Rnd_545x39_AK_green",1,30},{"hlc_30Rnd_545x39_EP_ak",1,30}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Rifleman3_01 : O_OMexicpCartelCJNG_Rifleman2_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Rifleman3";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CDM_FNFal_Carabine_short_Lmag","MPP_CZ75C_9_BLK_BLK_BLK"};
        respawnWeapons[] = {"CDM_FNFal_Carabine_short_Lmag","MPP_CZ75C_9_BLK_BLK_BLK"};

        magazines[] = {"20Rnd_FAL_MAG","MPP_15rnd_9MM_124JHP_CZ","20Rnd_FAL_MAG","MPP_15rnd_9MM_124JHP_CZ"};
        respawnMagazines[] = {"20Rnd_FAL_MAG","MPP_15rnd_9MM_124JHP_CZ","20Rnd_FAL_MAG","MPP_15rnd_9MM_124JHP_CZ"};

        ALiVE_orbatCreator_loadout[] = {{"CDM_FNFal_Carabine_short_Lmag","","","",{"20Rnd_FAL_MAG",20},{},""},{},{"MPP_CZ75C_9_BLK_BLK_BLK","","","",{"MPP_15rnd_9MM_124JHP_CZ",15},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",11},{"PiR_bint",2},{"MiniGrenade",1,1},{"20Rnd_FAL_MAG",1,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",5},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"20Rnd_FAL_MAG",3,20},{"MPP_15rnd_9MM_124JHP_CZ",3,15},{"30Rnd_FAL_MAG",1,30},{"MPP_20rnd_9MM_147FMJ_CZ",5,20},{"MPP_20rnd_9MM_147JHP_CZ",1,20}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Rifleman4_01 : O_OMexicpCartelCJNG_Rifleman3_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Rifleman4";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_u";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"hlc_rifle_augsr","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"hlc_rifle_augsr","MPP_P80_BLK_BLK_9"};

        magazines[] = {"hlc_30Rnd_556x45_B_AUG","MPP_20rnd_9MM_124FMJ_G19","hlc_30Rnd_556x45_B_AUG","MPP_20rnd_9MM_124FMJ_G19"};
        respawnMagazines[] = {"hlc_30Rnd_556x45_B_AUG","MPP_20rnd_9MM_124FMJ_G19","hlc_30Rnd_556x45_B_AUG","MPP_20rnd_9MM_124FMJ_G19"};

        ALiVE_orbatCreator_loadout[] = {{"hlc_rifle_augsr","","","",{"hlc_30Rnd_556x45_B_AUG",30},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_20rnd_9MM_124FMJ_G19",20},{},""},{"PMCA_tee_uniform_u",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_9MM_124FMJ_G19",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",6},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"hlc_30Rnd_556x45_B_AUG",7,30},{"MPP_20rnd_9MM_124FMJ_G19",1,20}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Sniper3_01 : O_OMexicpCartelCJNG_Sniper2_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Sniper3";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_l";

        linkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"rhs_weap_svdp","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"rhs_weap_svdp","MPP_P80_BLK_BLK_9"};

        magazines[] = {"rhs_10Rnd_762x54mmR_7N1","MPP_17rnd_9MM_124FMJ_G17","rhs_10Rnd_762x54mmR_7N1","MPP_17rnd_9MM_124FMJ_G17"};
        respawnMagazines[] = {"rhs_10Rnd_762x54mmR_7N1","MPP_17rnd_9MM_124FMJ_G17","rhs_10Rnd_762x54mmR_7N1","MPP_17rnd_9MM_124FMJ_G17"};

        ALiVE_orbatCreator_loadout[] = {{"rhs_weap_svdp","","","rhs_acc_pso1m21",{"rhs_10Rnd_762x54mmR_7N1",10},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_17rnd_9MM_124FMJ_G17",17},{},""},{"PMCA_tee_uniform_l",{{"ACE_CableTie",13},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"rhs_10Rnd_762x54mmR_7N1",1,10}}},{"CJNG_CarrierRig_MZ",{{"PiR_bint",6},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",5,20},{"rhs_10Rnd_762x54mmR_7N1",6,10}}},{},"CDS_HelmetBlufor3","B_NSHD_Calavera",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Rifleman5_01 : O_OMexicpCartelCJNG_Rifleman4_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Rifleman5";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CUP_arifle_M16A1","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"CUP_arifle_M16A1","MPP_P80_BLK_BLK_9"};

        magazines[] = {"CUP_20Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19","CUP_20Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19"};
        respawnMagazines[] = {"CUP_20Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19","CUP_20Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19"};

        ALiVE_orbatCreator_loadout[] = {{"CUP_arifle_M16A1","","","",{"CUP_20Rnd_556x45_Stanag",20},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_20rnd_9MM_124FMJ_G19",20},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_9MM_124FMJ_G19",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",1,20},{"CUP_20Rnd_556x45_Stanag",9,20}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Sniper4_01 : O_OMexicpCartelCJNG_Sniper3_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Sniper4";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_l";

        linkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"cwr3_srifle_l42a1","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"cwr3_srifle_l42a1","MPP_P80_BLK_BLK_9"};

        magazines[] = {"CUP_5Rnd_762x51_M24","MPP_17rnd_9MM_124FMJ_G17","CUP_5Rnd_762x51_M24","MPP_17rnd_9MM_124FMJ_G17"};
        respawnMagazines[] = {"CUP_5Rnd_762x51_M24","MPP_17rnd_9MM_124FMJ_G17","CUP_5Rnd_762x51_M24","MPP_17rnd_9MM_124FMJ_G17"};

        ALiVE_orbatCreator_loadout[] = {{"cwr3_srifle_l42a1","","","",{"CUP_5Rnd_762x51_M24",5},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_17rnd_9MM_124FMJ_G17",17},{},""},{"PMCA_tee_uniform_l",{{"ACE_CableTie",15},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1}}},{"CJNG_CarrierRig_MZ",{{"PiR_bint",7},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",5,20},{"CUP_5Rnd_762x51_M24",6,5}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Submachinegunner_01 : O_OMexicpCartelCJNG_Rifleman4_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Submachinegunner";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_u";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"cwr3_smg_sterling","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"cwr3_smg_sterling","MPP_P80_BLK_BLK_9"};

        magazines[] = {"cwr3_30rnd_sterling_m","MPP_20rnd_9MM_124FMJ_G19","cwr3_30rnd_sterling_m","MPP_20rnd_9MM_124FMJ_G19"};
        respawnMagazines[] = {"cwr3_30rnd_sterling_m","MPP_20rnd_9MM_124FMJ_G19","cwr3_30rnd_sterling_m","MPP_20rnd_9MM_124FMJ_G19"};

        ALiVE_orbatCreator_loadout[] = {{"cwr3_smg_sterling","","","",{"cwr3_30rnd_sterling_m",30},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_20rnd_9MM_124FMJ_G19",20},{},""},{"PMCA_tee_uniform_u",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_9MM_124FMJ_G19",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",1,20},{"cwr3_30rnd_sterling_m",7,30}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Shotgunner_01 : O_OMexicpCartelCJNG_Rifleman4_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Shotgunner";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"sgun_mas_idf_benelli_F","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"sgun_mas_idf_benelli_F","MPP_P80_BLK_BLK_9"};

        magazines[] = {"7Rnd_mas_idf_12Gauge_Pellets","MPP_20rnd_9MM_124FMJ_G19","7Rnd_mas_idf_12Gauge_Pellets","MPP_20rnd_9MM_124FMJ_G19"};
        respawnMagazines[] = {"7Rnd_mas_idf_12Gauge_Pellets","MPP_20rnd_9MM_124FMJ_G19","7Rnd_mas_idf_12Gauge_Pellets","MPP_20rnd_9MM_124FMJ_G19"};

        ALiVE_orbatCreator_loadout[] = {{"sgun_mas_idf_benelli_F","","","",{"7Rnd_mas_idf_12Gauge_Pellets",7},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_20rnd_9MM_124FMJ_G19",20},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_9MM_124FMJ_G19",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",4},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",1,20},{"7Rnd_mas_idf_12Gauge_Pellets",3,7},{"CUP_2Rnd_12Gauge_Slug",2,2},{"CUP_2Rnd_12Gauge_Pellets_No4_Bird",17,2},{"CUP_2Rnd_12Gauge_Pellets_No1_Buck",23,2}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Ar_Operator_01 : O_OMexicpCartelCJNG_Rifleman4_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Ar Operator";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_o";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"ASZ_AR7090","MPP_FN57_MK3_BLK_BLK"};
        respawnWeapons[] = {"ASZ_AR7090","MPP_FN57_MK3_BLK_BLK"};

        magazines[] = {"30Rnd_556x45_Stanag","MPP_20rnd_57_Ball_Five7_Mk3","30Rnd_556x45_Stanag","MPP_20rnd_57_Ball_Five7_Mk3"};
        respawnMagazines[] = {"30Rnd_556x45_Stanag","MPP_20rnd_57_Ball_Five7_Mk3","30Rnd_556x45_Stanag","MPP_20rnd_57_Ball_Five7_Mk3"};

        ALiVE_orbatCreator_loadout[] = {{"ASZ_AR7090","","","",{"30Rnd_556x45_Stanag",30},{},""},{},{"MPP_FN57_MK3_BLK_BLK","","","",{"MPP_20rnd_57_Ball_Five7_Mk3",20},{},""},{"PMCA_tee_uniform_o",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_57_Ball_Five7_Mk3",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",4},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"30Rnd_556x45_Stanag",7,30},{"MPP_20rnd_57_Ball_Five7_Mk3",5,20}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_TAR_01 : O_OMexicpCartelCJNG_Rifleman5_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "TAR ";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"arifle_TRG20_F","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"arifle_TRG20_F","MPP_P80_BLK_BLK_9"};

        magazines[] = {"30Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19","30Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19"};
        respawnMagazines[] = {"30Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19","30Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19"};

        ALiVE_orbatCreator_loadout[] = {{"arifle_TRG20_F","","","",{"30Rnd_556x45_Stanag",30},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_20rnd_9MM_124FMJ_G19",20},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_9MM_124FMJ_G19",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",4},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",1,20},{"30Rnd_556x45_Stanag",3,30},{"hlc_30rnd_556x45_SOST",4,30}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Machinegunner_01 : O_OMexicpCartelCJNG_Auto_Rifleman_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Machinegunner";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_TK_camo_arid","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_r";

        linkedItems[] = {"CJNG_CarrierRig_MZ2","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_MZ2","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"rhs_weap_fnmag","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"rhs_weap_fnmag","MPP_P80_BLK_BLK_9"};

        magazines[] = {"rhsusf_100Rnd_762x51","MPP_17rnd_9MM_124FMJ_G17","rhsusf_100Rnd_762x51","MPP_17rnd_9MM_124FMJ_G17"};
        respawnMagazines[] = {"rhsusf_100Rnd_762x51","MPP_17rnd_9MM_124FMJ_G17","rhsusf_100Rnd_762x51","MPP_17rnd_9MM_124FMJ_G17"};

        backpack = "CUP_B_AssaultPack_Black";

        ALiVE_orbatCreator_loadout[] = {{"rhs_weap_fnmag","","","",{"rhsusf_100Rnd_762x51",100},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_17rnd_9MM_124FMJ_G17",17},{},""},{"PMCA_tee_uniform_r",{{"ACE_CableTie",15},{"PiR_bint",3},{"ACE_EarPlugs",1},{"MiniGrenade",1,1}}},{"CJNG_CarrierRig_MZ2",{{"PiR_bint",6},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",5,20},{"rhsusf_100Rnd_762x51",1,100}}},{"CUP_B_AssaultPack_Black",{{"rhsusf_100Rnd_762x51",2,100},{"CUP_100Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M",1,100}}},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Ak_operator_01 : O_OMexicpCartelCJNG_Rifleman4_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Ak operator";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CUP_arifle_AKM_Early","MPP_FN57_BLK_BLK"};
        respawnWeapons[] = {"CUP_arifle_AKM_Early","MPP_FN57_BLK_BLK"};

        magazines[] = {"CUP_30Rnd_762x39_AK47_bakelite_M","MPP_20rnd_57_Ball_Five7","CUP_30Rnd_762x39_AK47_bakelite_M","MPP_20rnd_57_Ball_Five7"};
        respawnMagazines[] = {"CUP_30Rnd_762x39_AK47_bakelite_M","MPP_20rnd_57_Ball_Five7","CUP_30Rnd_762x39_AK47_bakelite_M","MPP_20rnd_57_Ball_Five7"};

        ALiVE_orbatCreator_loadout[] = {{"CUP_arifle_AKM_Early","","","",{"CUP_30Rnd_762x39_AK47_bakelite_M",30},{},""},{},{"MPP_FN57_BLK_BLK","","","",{"MPP_20rnd_57_Ball_Five7",20},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",13},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_57_Ball_Five7",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_57_Ball_Five7",5,20},{"CUP_30Rnd_762x39_AK47_bakelite_M",3,30},{"rhssaf_30Rnd_762x39mm_M67",2,30}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_ZASTAVA_operater_01 : O_OMexicpCartelCJNG_Rifleman4_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "ZASTAVA operater";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"arifle_INDa_mas_m70_F","fm_m95cw"};
        respawnWeapons[] = {"arifle_INDa_mas_m70_F","fm_m95cw"};

        magazines[] = {"30Rnd_762x39_Mag_F","13Rnds_9x21_Mag","30Rnd_762x39_Mag_F","13Rnds_9x21_Mag"};
        respawnMagazines[] = {"30Rnd_762x39_Mag_F","13Rnds_9x21_Mag","30Rnd_762x39_Mag_F","13Rnds_9x21_Mag"};

        ALiVE_orbatCreator_loadout[] = {{"arifle_INDa_mas_m70_F","","","",{"30Rnd_762x39_Mag_F",30},{},""},{},{"fm_m95cw","","","",{"13Rnds_9x21_Mag",13},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",13},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"13Rnds_9x21_Mag",1,13}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"30Rnd_762x39_Mag_F",6,30},{"13Rnds_9x21_Mag",2,13}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Grenade_Launcher_Operator_01 : O_OMexicpCartelCJNG_Ak_operator_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Grenade Launcher Operator";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"hlc_wp_SCARL_STD_300AAC_EGLM","CUP_hgun_Duty"};
        respawnWeapons[] = {"hlc_wp_SCARL_STD_300AAC_EGLM","CUP_hgun_Duty"};

        magazines[] = {"1Rnd_HE_Grenade_shell","16Rnd_9x21_Mag","1Rnd_HE_Grenade_shell","16Rnd_9x21_Mag"};
        respawnMagazines[] = {"1Rnd_HE_Grenade_shell","16Rnd_9x21_Mag","1Rnd_HE_Grenade_shell","16Rnd_9x21_Mag"};

        ALiVE_orbatCreator_loadout[] = {{"hlc_wp_SCARL_STD_300AAC_EGLM","hlc_muzzle_KX3_comp","","",{},{"1Rnd_HE_Grenade_shell",1},""},{},{"CUP_hgun_Duty","","","",{"16Rnd_9x21_Mag",17},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",15},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"16Rnd_9x21_Mag",1,17}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"1Rnd_HE_Grenade_shell",3,1},{"16Rnd_9x21_Mag",2,17},{"hlc_29rnd_300BLK_STANAG",2,30},{"CUP_1Rnd_HE_M203",4,1},{"MPP_19rnd_9MM_115FMJ_CZPO9",2,19}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_M16A1_Operator_01 : O_OMexicpCartelCJNG_Rifleman4_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "M16A1 Operator";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"hlc_wp_M16A1","rhsusf_weap_m9"};
        respawnWeapons[] = {"hlc_wp_M16A1","rhsusf_weap_m9"};

        magazines[] = {"hlc_30rnd_556x45_EPR","rhsusf_mag_15Rnd_9x19_JHP","hlc_30rnd_556x45_EPR","rhsusf_mag_15Rnd_9x19_JHP"};
        respawnMagazines[] = {"hlc_30rnd_556x45_EPR","rhsusf_mag_15Rnd_9x19_JHP","hlc_30rnd_556x45_EPR","rhsusf_mag_15Rnd_9x19_JHP"};

        ALiVE_orbatCreator_loadout[] = {{"hlc_wp_M16A1","hlc_muzzle_A1_FlashHider","","",{"hlc_30rnd_556x45_EPR",30},{},""},{},{"rhsusf_weap_m9","","","",{"rhsusf_mag_15Rnd_9x19_JHP",15},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",13},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"rhsusf_mag_15Rnd_9x19_JHP",1,15}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"hlc_30rnd_556x45_EPR",7,30},{"rhsusf_mag_15Rnd_9x19_JHP",2,15}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Barrett_Op_01 : O_OMexicpCartelCJNG_Sniper3_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Barrett Op";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_o";

        linkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"rhs_weap_M107","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"rhs_weap_M107","MPP_P80_BLK_BLK_9"};

        magazines[] = {"rhsusf_mag_10Rnd_STD_50BMG_M33","MPP_17rnd_9MM_124FMJ_G17","rhsusf_mag_10Rnd_STD_50BMG_M33","MPP_17rnd_9MM_124FMJ_G17"};
        respawnMagazines[] = {"rhsusf_mag_10Rnd_STD_50BMG_M33","MPP_17rnd_9MM_124FMJ_G17","rhsusf_mag_10Rnd_STD_50BMG_M33","MPP_17rnd_9MM_124FMJ_G17"};

        backpack = "fatpack_coy";

        ALiVE_orbatCreator_loadout[] = {{"rhs_weap_M107","","","",{"rhsusf_mag_10Rnd_STD_50BMG_M33",10},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_17rnd_9MM_124FMJ_G17",17},{},""},{"PMCA_tee_uniform_o",{{"ACE_CableTie",13},{"PiR_bint",3},{"ACE_EarPlugs",1},{"MiniGrenade",1,1}}},{"CJNG_CarrierRig_MZ",{{"PiR_bint",6},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",5,20},{"rhsusf_mag_10Rnd_STD_50BMG_M33",1,10},{"CUP_10Rnd_127x99_M107",1,10}}},{"fatpack_coy",{{"CUP_10Rnd_127x99_M107",7,10}}},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_p90_operator_01 : O_OMexicpCartelCJNG_Rifleman3_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "p90 operator";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CUP_smg_p90_olive","CUP_hgun_CZ75"};
        respawnWeapons[] = {"CUP_smg_p90_olive","CUP_hgun_CZ75"};

        magazines[] = {"50Rnd_570x28_SMG_03","CUP_16Rnd_9x19_cz75","50Rnd_570x28_SMG_03","CUP_16Rnd_9x19_cz75"};
        respawnMagazines[] = {"50Rnd_570x28_SMG_03","CUP_16Rnd_9x19_cz75","50Rnd_570x28_SMG_03","CUP_16Rnd_9x19_cz75"};

        ALiVE_orbatCreator_loadout[] = {{"CUP_smg_p90_olive","","","",{"50Rnd_570x28_SMG_03",50},{},""},{},{"CUP_hgun_CZ75","","","",{"CUP_16Rnd_9x19_cz75",16},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",13},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1}}},{"CJNG_CarrierRig",{{"PiR_bint",6},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"CUP_16Rnd_9x19_cz75",3,16},{"50Rnd_570x28_SMG_03",5,50}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_FN_SCAR_op_01 : O_OMexicpCartelCJNG_Ak_operator_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "FN SCAR op";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"rhs_weap_SCARH_STD","MPP_FN57_BLK_BLK"};
        respawnWeapons[] = {"rhs_weap_SCARH_STD","MPP_FN57_BLK_BLK"};

        magazines[] = {"rhs_mag_20Rnd_SCAR_762x51_m80_ball_bk","MPP_20rnd_57_Ball_Five7","rhs_mag_20Rnd_SCAR_762x51_m80_ball_bk","MPP_20rnd_57_Ball_Five7"};
        respawnMagazines[] = {"rhs_mag_20Rnd_SCAR_762x51_m80_ball_bk","MPP_20rnd_57_Ball_Five7","rhs_mag_20Rnd_SCAR_762x51_m80_ball_bk","MPP_20rnd_57_Ball_Five7"};

        backpack = "CUP_B_USPack_Black";

        ALiVE_orbatCreator_loadout[] = {{"rhs_weap_SCARH_STD","hlc_muzzle_17SBrake","","",{"rhs_mag_20Rnd_SCAR_762x51_m80_ball_bk",20},{},""},{},{"MPP_FN57_BLK_BLK","","","",{"MPP_20rnd_57_Ball_Five7",20},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",15},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_57_Ball_Five7",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_57_Ball_Five7",5,20},{"rhs_mag_20Rnd_SCAR_762x51_m80_ball_bk",3,20}}},{"CUP_B_USPack_Black",{{"CUP_20Rnd_TE1_White_Tracer_762x51_SCAR_wdl",12,20}}},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_AT_Op_01 : O_OMexicpCartelCJNG_FN_SCAR_op_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "AT Op";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_u";

        linkedItems[] = {"CJNG_CarrierRig_MZ2","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_MZ2","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"hlc_rifle_M4","rhs_weap_maaws","MPP_FN57_BLK_BLK"};
        respawnWeapons[] = {"hlc_rifle_M4","rhs_weap_maaws","MPP_FN57_BLK_BLK"};

        magazines[] = {"hlc_30rnd_556x45_EPR","rhs_mag_maaws_HEAT","MPP_20rnd_57_Ball_Five7","hlc_30rnd_556x45_EPR","MPP_20rnd_57_Ball_Five7"};
        respawnMagazines[] = {"hlc_30rnd_556x45_EPR","rhs_mag_maaws_HEAT","MPP_20rnd_57_Ball_Five7","hlc_30rnd_556x45_EPR","MPP_20rnd_57_Ball_Five7"};

        backpack = "B_AssaultPack_tna_F";

        ALiVE_orbatCreator_loadout[] = {{"hlc_rifle_M4","","","",{"hlc_30rnd_556x45_EPR",30},{},""},{"rhs_weap_maaws","","","",{"rhs_mag_maaws_HEAT",1},{},""},{"MPP_FN57_BLK_BLK","","","",{"MPP_20rnd_57_Ball_Five7",20},{},""},{"PMCA_tee_uniform_u",{{"ACE_CableTie",17},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_57_Ball_Five7",2,20}}},{"CJNG_CarrierRig_MZ2",{{"PiR_bint",8},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_57_Ball_Five7",5,20},{"hlc_30rnd_556x45_EPR",3,30}}},{"B_AssaultPack_tna_F",{{"rhs_mag_maaws_HEAT",1,1},{"WNZ_EMP_MAAWS_Mag",1,1}}},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Xm_operator_01 : O_OMexicpCartelCJNG_Rifleman4_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Xm operator";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"cwr3_arifle_xm177e2","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"cwr3_arifle_xm177e2","MPP_P80_BLK_BLK_9"};

        magazines[] = {"CUP_30Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19","CUP_30Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19"};
        respawnMagazines[] = {"CUP_30Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19","CUP_30Rnd_556x45_Stanag","MPP_20rnd_9MM_124FMJ_G19"};

        ALiVE_orbatCreator_loadout[] = {{"cwr3_arifle_xm177e2","","","",{"CUP_30Rnd_556x45_Stanag",30},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_20rnd_9MM_124FMJ_G19",20},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_9MM_124FMJ_G19",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",4},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",1,20},{"CUP_30Rnd_556x45_Stanag",3,30},{"CUP_30Rnd_556x45_Emag",5,30}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_At_operator_2_01 : O_OMexicpCartelCJNG_Squad_Leader_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "At operator 2";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_TK_camo_arid","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_o";

        linkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CUP_arifle_AK74M","CUP_launch_RPG7V","CUP_hgun_Colt1911"};
        respawnWeapons[] = {"CUP_arifle_AK74M","CUP_launch_RPG7V","CUP_hgun_Colt1911"};

        magazines[] = {"CUP_30Rnd_545x39_AK74M_M","CUP_PG7V_M","CUP_7Rnd_45ACP_1911","CUP_30Rnd_545x39_AK74M_M","CUP_7Rnd_45ACP_1911"};
        respawnMagazines[] = {"CUP_30Rnd_545x39_AK74M_M","CUP_PG7V_M","CUP_7Rnd_45ACP_1911","CUP_30Rnd_545x39_AK74M_M","CUP_7Rnd_45ACP_1911"};

        backpack = "CUP_B_USPack_Black";

        ALiVE_orbatCreator_loadout[] = {{"CUP_arifle_AK74M","","","",{"CUP_30Rnd_545x39_AK74M_M",30},{},""},{"CUP_launch_RPG7V","","","",{"CUP_PG7V_M",1},{},""},{"CUP_hgun_Colt1911","","","",{"CUP_7Rnd_45ACP_1911",7},{},""},{"PMCA_tee_uniform_o",{{"ACE_CableTie",13},{"PiR_bint",3},{"MiniGrenade",1,1}}},{"CJNG_CarrierRig_MZ",{{"PiR_bint",6},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"CUP_7Rnd_45ACP_1911",3,7},{"9Rnd_45ACP_Mag",3,8},{"CUP_30Rnd_545x39_AK74M_M",3,30}}},{"CUP_B_USPack_Black",{{"CUP_7Rnd_45ACP_1911",4,7},{"CUP_30Rnd_Subsonic_545x39_AK74_plum_M",8,30},{"rhs_rpg7_PG7V_mag",5,1},{"MiniGrenade",5,1}}},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_AK_operator_2_01 : O_OMexicpCartelCJNG_Ak_operator_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "AK operator 2";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_l";

        linkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor4","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor4","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CUP_arifle_AKS_Gold","MPP_FN57_BLK_BLK"};
        respawnWeapons[] = {"CUP_arifle_AKS_Gold","MPP_FN57_BLK_BLK"};

        magazines[] = {"CUP_30Rnd_762x39_AK47_M","MPP_20rnd_57_Ball_Five7","CUP_30Rnd_762x39_AK47_M","MPP_20rnd_57_Ball_Five7"};
        respawnMagazines[] = {"CUP_30Rnd_762x39_AK47_M","MPP_20rnd_57_Ball_Five7","CUP_30Rnd_762x39_AK47_M","MPP_20rnd_57_Ball_Five7"};

        ALiVE_orbatCreator_loadout[] = {{"CUP_arifle_AKS_Gold","","","",{"CUP_30Rnd_762x39_AK47_M",30},{},""},{},{"MPP_FN57_BLK_BLK","","","",{"MPP_20rnd_57_Ball_Five7",20},{},""},{"PMCA_tee_uniform_l",{{"ACE_CableTie",15},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_57_Ball_Five7",2,20}}},{"CJNG_CarrierRig_MZ",{{"PiR_bint",7},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_57_Ball_Five7",3,20},{"CUP_30Rnd_762x39_AK47_M",3,30},{"30rnd_762ak_uspalm_nmg",2,30},{"30rnd_762ak_bakel_trs_green_nmg",1,30}}},{},"CDS_HelmetBlufor4","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_AR_operator_2_01 : O_OMexicpCartelCJNG_Ar_Operator_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "AR operator 2";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_o";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"hlc_rifle_SAMR","MPP_FN57_MK3_BLK_BLK"};
        respawnWeapons[] = {"hlc_rifle_SAMR","MPP_FN57_MK3_BLK_BLK"};

        magazines[] = {"hlc_30rnd_556x45_EPR","MPP_20rnd_57_Ball_Five7_Mk3","hlc_30rnd_556x45_EPR","MPP_20rnd_57_Ball_Five7_Mk3"};
        respawnMagazines[] = {"hlc_30rnd_556x45_EPR","MPP_20rnd_57_Ball_Five7_Mk3","hlc_30rnd_556x45_EPR","MPP_20rnd_57_Ball_Five7_Mk3"};

        ALiVE_orbatCreator_loadout[] = {{"hlc_rifle_SAMR","","HLC_Panel_Side_CQBR_6xXTME_RG","",{"hlc_30rnd_556x45_EPR",30},{},""},{},{"MPP_FN57_MK3_BLK_BLK","","","",{"MPP_20rnd_57_Ball_Five7_Mk3",20},{},""},{"PMCA_tee_uniform_o",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_57_Ball_Five7_Mk3",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",8},{"ACE_CableTie",4},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_57_Ball_Five7_Mk3",5,20},{"hlc_30rnd_556x45_EPR",3,30}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_Rifleman_6_01 : O_OMexicpCartelCJNG_Rifleman4_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "Rifleman 6";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"rhs_weap_m4a1_carryhandle","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"rhs_weap_m4a1_carryhandle","MPP_P80_BLK_BLK_9"};

        magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_Stanag","MPP_20rnd_9MM_124FMJ_G19","rhs_mag_30Rnd_556x45_M855A1_Stanag","MPP_20rnd_9MM_124FMJ_G19"};
        respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_Stanag","MPP_20rnd_9MM_124FMJ_G19","rhs_mag_30Rnd_556x45_M855A1_Stanag","MPP_20rnd_9MM_124FMJ_G19"};

        ALiVE_orbatCreator_loadout[] = {{"rhs_weap_m4a1_carryhandle","","","",{"rhs_mag_30Rnd_556x45_M855A1_Stanag",30},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_20rnd_9MM_124FMJ_G19",20},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_9MM_124FMJ_G19",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",4},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",1,20},{"rhs_mag_30Rnd_556x45_M855A1_Stanag",3,30}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_AK_operator_3_01 : O_OMexicpCartelCJNG_AK_operator_2_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "AK operator 3";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_r";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CUP_arifle_AK74_Early","MPP_CZPO9_9_BLK"};
        respawnWeapons[] = {"CUP_arifle_AK74_Early","MPP_CZPO9_9_BLK"};

        magazines[] = {"CUP_30Rnd_545x39_AK_M","MPP_19rnd_9MM_124JHP_CZPO9","CUP_30Rnd_545x39_AK_M","MPP_19rnd_9MM_124JHP_CZPO9"};
        respawnMagazines[] = {"CUP_30Rnd_545x39_AK_M","MPP_19rnd_9MM_124JHP_CZPO9","CUP_30Rnd_545x39_AK_M","MPP_19rnd_9MM_124JHP_CZPO9"};

        ALiVE_orbatCreator_loadout[] = {{"CUP_arifle_AK74_Early","rhs_acc_dtk","","",{"CUP_30Rnd_545x39_AK_M",30},{},""},{},{"MPP_CZPO9_9_BLK","","","",{"MPP_19rnd_9MM_124JHP_CZPO9",19},{},""},{"PMCA_tee_uniform_r",{{"ACE_CableTie",19},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_19rnd_9MM_124JHP_CZPO9",1,19}}},{"CJNG_CarrierRig_3",{{"PiR_bint",8},{"ACE_CableTie",2},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"CUP_30Rnd_545x39_AK_M",7,30},{"MPP_19rnd_9MM_124JHP_CZPO9",2,19}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_O_rifleman7_01 : O_OMexicpCartelCJNG_AK_operator_2_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "rifleman7";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_TK_camo_arid","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_o";

        linkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_MZ","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CUP_srifle_Remington700","CUP_hgun_Colt1911"};
        respawnWeapons[] = {"CUP_srifle_Remington700","CUP_hgun_Colt1911"};

        magazines[] = {"CUP_6Rnd_762x51_R700","CUP_7Rnd_45ACP_1911","CUP_6Rnd_762x51_R700","CUP_7Rnd_45ACP_1911"};
        respawnMagazines[] = {"CUP_6Rnd_762x51_R700","CUP_7Rnd_45ACP_1911","CUP_6Rnd_762x51_R700","CUP_7Rnd_45ACP_1911"};

        backpack = "CUP_B_USPack_Black";

        ALiVE_orbatCreator_loadout[] = {{"CUP_srifle_Remington700","","","CUP_optic_Remington",{"CUP_6Rnd_762x51_R700",6},{},""},{},{"CUP_hgun_Colt1911","","","",{"CUP_7Rnd_45ACP_1911",7},{},""},{"PMCA_tee_uniform_o",{{"ACE_CableTie",15},{"PiR_bint",3},{"ACE_EarPlugs",1},{"MiniGrenade",1,1}}},{"CJNG_CarrierRig_MZ",{{"PiR_bint",7},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"CUP_7Rnd_45ACP_1911",3,7},{"9Rnd_45ACP_Mag",3,8},{"CUP_6Rnd_762x51_R700",3,6}}},{"CUP_B_USPack_Black",{{"CUP_7Rnd_45ACP_1911",4,7},{"MiniGrenade",5,1}}},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_shotgunner2_01 : O_OMexicpCartelCJNG_Shotgunner_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "shotgunner2";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_b";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CUP_sgun_SPAS12","MPP_P80_BLK_BLK_9"};
        respawnWeapons[] = {"CUP_sgun_SPAS12","MPP_P80_BLK_BLK_9"};

        magazines[] = {"CUP_8Rnd_12Gauge_Pellets_No00_Buck","MPP_20rnd_9MM_124FMJ_G19","CUP_8Rnd_12Gauge_Pellets_No00_Buck","MPP_20rnd_9MM_124FMJ_G19"};
        respawnMagazines[] = {"CUP_8Rnd_12Gauge_Pellets_No00_Buck","MPP_20rnd_9MM_124FMJ_G19","CUP_8Rnd_12Gauge_Pellets_No00_Buck","MPP_20rnd_9MM_124FMJ_G19"};

        ALiVE_orbatCreator_loadout[] = {{"CUP_sgun_SPAS12","","","",{"CUP_8Rnd_12Gauge_Pellets_No00_Buck",8},{},""},{},{"MPP_P80_BLK_BLK_9","","","",{"MPP_20rnd_9MM_124FMJ_G19",20},{},""},{"PMCA_tee_uniform_b",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"MPP_20rnd_9MM_124FMJ_G19",2,20}}},{"CJNG_CarrierRig_3",{{"PiR_bint",8},{"ACE_CableTie",6},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"MPP_20rnd_9MM_124FMJ_G19",1,20},{"CUP_8Rnd_12Gauge_Pellets_No00_Buck",9,8}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

    class O_OMexicpCartelCJNG_submachinegunner2_01 : O_OMexicpCartelCJNG_Submachinegunner_01 {
        author = "User";
        scope = 2;
        scopeCurator = 2;
        displayName = "submachinegunner2";
        side = 0;
        faction = "O_MexicpCartel_CJNG";

        identityTypes[] = {"Head_Tanoan","LanguagePER_F"};

        uniformClass = "PMCA_tee_uniform_u";

        linkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};
        respawnlinkedItems[] = {"CJNG_CarrierRig_3","CDS_HelmetBlufor3","ItemMap","ItemRadio","ItemCompass","ItemWatch"};

        weapons[] = {"CUP_smg_SA61","hgun_INDa_mas_ACP_F"};
        respawnWeapons[] = {"CUP_smg_SA61","hgun_INDa_mas_ACP_F"};

        magazines[] = {"CUP_20Rnd_B_765x17_Ball_M","9Rnd_45ACP_Mag","CUP_20Rnd_B_765x17_Ball_M","9Rnd_45ACP_Mag"};
        respawnMagazines[] = {"CUP_20Rnd_B_765x17_Ball_M","9Rnd_45ACP_Mag","CUP_20Rnd_B_765x17_Ball_M","9Rnd_45ACP_Mag"};

        ALiVE_orbatCreator_loadout[] = {{"CUP_smg_SA61","","","",{"CUP_20Rnd_B_765x17_Ball_M",20},{},""},{},{"hgun_INDa_mas_ACP_F","","","",{"9Rnd_45ACP_Mag",8},{},""},{"PMCA_tee_uniform_u",{{"ACE_CableTie",11},{"PiR_bint",2},{"ACE_EarPlugs",1},{"MiniGrenade",1,1},{"9Rnd_45ACP_Mag",1,8}}},{"CJNG_CarrierRig_3",{{"PiR_bint",7},{"ACE_CableTie",4},{"HandGrenade",1,1},{"SmokeShell",1,1},{"SmokeShellGreen",1,1},{"Chemlight_blue",2,1},{"CUP_20Rnd_B_765x17_Ball_M",3,20},{"9Rnd_45ACP_Mag",3,8},{"rhsgref_20rnd_765x17_vz61",7,20}}},{},"CDS_HelmetBlufor3","",{},{"ItemMap","","ItemRadio","ItemCompass","ItemWatch",""}};


        class EventHandlers : EventHandlers {
            class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

            class ALiVE_orbatCreator {
                init = "if (local (_this select 0)) then {_onSpawn = {_this = _this select 0;sleep 0.2; _backpack = gettext(configfile >> 'cfgvehicles' >> (typeof _this) >> 'backpack'); waituntil {sleep 0.2; backpack _this == _backpack};if !(_this getVariable ['ALiVE_OverrideLoadout',false]) then {_loadout = getArray(configFile >> 'CfgVehicles' >> (typeOf _this) >> 'ALiVE_orbatCreator_loadout'); _this setunitloadout _loadout;reload _this};};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
            };

        };

        // custom attributes (do not delete)
        ALiVE_orbatCreator_owned = 1;

    };

};

Share this post


Link to post
Share on other sites

You need a " to close the classname out, as it currently says 

vehicle = "O_OMexicpCartelCJNG_rifleman7_01;

and should say:

vehicle = "O_OMexicpCartelCJNG_rifleman7_01";

 

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

×