Jump to content
NivZiv

I made a uniform but it's not working..

Recommended Posts

It's the folder:

rn145w0.png

 

And The config:

 

/// Uniform config ///


 
class cfgWeapons
{
    class UniformItem;
    class Uniform_Base;
 
    class U_B_soldier_new: Uniform_Base
    {
        author = "Niv";
        scope = 2;
        displayName = "New Uniform MZ";
        picture = "\A3\characters_f\data\ui\icon_u_b_soldier_new_ca.paa";
        model = "\MZ\MZ.PAA";
        hiddenSelections[] = {"camo"};
        hiddenSelectionsTextures[] = {"\A3\Characters_F_New\BLUFOR\Data\b_soldier_new.paa"};
 
        class ItemInfo: UniformItem
        {
            uniformModel = "-";
            uniformClass = B_soldier_new;
            containerClass = Supply40;
            mass = 40;
        };
    };
};

 

Share this post


Link to post
Share on other sites

UPDATE:

The Folder

 

 

 


oS3BvAm.png
 

 

 

 

The Config

 

 

 


class CfgPatches
{
    class MZ_Uniform
    {
        units[]={};
        weapons[]=
        {
            "MZ_Uniform",
        };
        requiredVersion=0.1;
        requiredAddons[]=
        {
            "A3_Data_F",
            "A3_Weapons_F",
            "A3_Characters_F",
            "A3_Characters_F_BLUFOR"
        };
        Author[]=
        {
            "The Crazy Tigers"
        };
    };
};
class cfgWeapons
{
    class Uniform_Base;
    class MZ_Uniform: Uniform_Base
    {
        author="The Crazy Tigers";
        scope=2;
        displayName="Military Police Uniform";
        picture="\IDF_Uniform\data\icon_u_b_combatuniform_cia_ca.paa";
        model="\MZ\Data\MZ.paa";
        class ItemInfo: UniformItem
        {
            uniformModel="-";
            uniformClass="MZ_Rifleman";
            containerClass="Supply40";
            mass=35;
        };
    };

 

 

Share this post


Link to post
Share on other sites

You're missing the vehicle class. The vehicle, which is the actual soldier in game, is needed as well in order for a uniform retexture to work. 

 

Think of it as the cfgweapon is you knitting the jumper, and the cfgvehicle is you giving it to someone to wear. 

 

You should find both in the arma sample files

  • Like 1

Share this post


Link to post
Share on other sites
3 minutes ago, slatts said:

You're missing the vehicle class. The vehicle, which is the actual soldier in game, is needed as well in order for a uniform retexture to work. 

 

Think of it as the cfgweapon is you knitting the jumper, and the cfgvehicle is you giving it to someone to wear. 

 

You should find both in the arma sample files

First of all, I want to thank you for the reply.

Secondly, can you send me instruction?

Share this post


Link to post
Share on other sites

This is the config template that I use; it's still current and compatible with the latest updates. You can build off this template until you're comfortable. I've labeled everything. So it should be easy to use. Good Luck!

 

 


//Country abbreviations - CABV, i.e. "AU" or "AUS"
//Country name - CONID, i.e. "Australia"
//Special Operations Force - SOF, i.e. "SASR"
//Replace abbreviations with desired text, in right placement. i.e. "AU" would replace "CABV" etc.
//************************************************************************************************************************************************************************************************
//*****        Factions                  *********************************************************************************************************************************************************
//************************************************************************************************************************************************************************************************
class cfgFactionClasses
{
    class Faction_CABV
    {
        displayName = "CONID";
        priority = 2; // Position in list.
        side = 1; // Opfor = 0, Blufor = 1, Indep = 2.
        icon = ""; //Custom Icon
    };
};

class CfgEditorSubcategories
{
    class EdSubcat_SGSFCABV_SOFCamo
    {
        displayName = "SOF (Camo)";
    };
};

 

class UniformSlotInfo
{
    slotType = 0;
    linkProxy = "-";
};

class CfgVehicles
{     
    //************************************************************************************************************************************************************************************************
    //*****             Units                *********************************************************************************************************************************************************
    //************************************************************************************************************************************************************************************************
    class B_Soldier_F;
    class B_Soldier_lite_F;
    class B_Soldier_GL_F;
    class B_soldier_AR_F;
    class B_Soldier_SL_F;
    class B_Soldier_TL_F;
    class B_soldier_M_F;
    class B_soldier_LAT_F;
    class B_medic_F;
    class B_soldier_repair_F;
    class B_soldier_exp_F;
    class B_Soldier_A_F;
    class B_soldier_AT_F;
    class B_soldier_AA_F;
    class B_engineer_F;
    class B_crew_F;
    class B_officer_F;
    class B_soldier_PG_F;
    class b_soldier_unarmed_f;
    class B_Helipilot_F;
    class B_Pilot_F;
    class B_helicrew_F;
    class B_spotter_F;
    class B_sniper_F;
    class B_recon_F;
    class B_recon_LAT_F;
    class B_recon_exp_F;
    class B_recon_medic_F;
    class B_recon_TL_F;
    class B_recon_M_F;
    class B_recon_JTAC_F;   
    class B_Recon_Sharpshooter_F;

    class SGSF_CABV_soldier_A1: B_soldier_F {
        author = "Author";
        _generalMacro = "B_soldier_F";
        scope = 2;
        displayName = "SOF Soldier 1";
        identityTypes[] = {"Head_NATO", "LanguageENG_F"};
        canDeactivateMines = true;
        nakedUniform = "U_BasicBody"; //class for "naked" body
        genericNames = "NATOMen";
        faction = "Faction_CABV";
        editorSubcategory = "EdSubcat_SGSFCABV_SOFCamo";
        model = "A3\characters_f\BLUFOR\b_soldier_01.p3d"; //Default NATO
        uniformClass = "SGSF_CABV_uniform_A1";
        hiddenSelections[] = {"Camo","Insignia"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_uniform_1.paa"};
        hiddenSelectionsMaterials[] = {"SGSF_AUS\aus\Data\NATOnormalmap.rvmat"};
         weapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        respawnWeapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        Items[] = {"FirstAidKit"};
        RespawnItems[] = {"FirstAidKit"};
    };

    class SGSF_CABV_soldier_A2: B_soldier_F {
        author = "Author";
        _generalMacro = "B_soldier_F";
        scope = 2;
        displayName = "SOF Soldier 2";
        identityTypes[] = {"Head_NATO", "LanguageENG_F"};
        canDeactivateMines = true;
        nakedUniform = "U_BasicBody"; //class for "naked" body
        genericNames = "NATOMen";
        faction = "Faction_CABV";
        editorSubcategory = "EdSubcat_SGSFCABV_SOFCamo";
        model = "A3\characters_f\BLUFOR\b_soldier_03.p3d"; //Default NATO
        uniformClass = "SGSF_CABV_uniform_A2";
        hiddenSelections[] = {"Camo","Insignia"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_uniform_1.paa"};
        hiddenSelectionsMaterials[] = {"SGSF_AUS\aus\Data\NATOnormalmap.rvmat"};
         weapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        respawnWeapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        Items[] = {"FirstAidKit"};
        RespawnItems[] = {"FirstAidKit"};
    };

    class SGSF_CABV_soldier_A3: B_soldier_F {
        author = "Author";
        _generalMacro = "B_soldier_F";
        scope = 2;
        displayName = "SOF Soldier 3";
        identityTypes[] = {"Head_NATO", "LanguageENG_F"};
        canDeactivateMines = true;
        nakedUniform = "U_BasicBody"; //class for "naked" body
        genericNames = "NATOMen";
        faction = "Faction_CABV";
        editorSubcategory = "EdSubcat_SGSFCABV_SOFCamo";
        model = "A3\characters_f\BLUFOR\b_soldier_02.p3d"; //Default NATO
        uniformClass = "SGSF_CABV_uniform_A3";
        hiddenSelections[] = {"Camo","Insignia"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_uniform_1.paa"};
        hiddenSelectionsMaterials[] = {"SGSF_AUS\aus\Data\NATOnormalmap.rvmat"};
         weapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        respawnWeapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        Items[] = {"FirstAidKit"};
        RespawnItems[] = {"FirstAidKit"};
    };


};

class cfgWeapons
{
    //********************************************************************************************************************************************************************************************
    //*****            Uniforms              *****************************************************************************************************************************************************
    //********************************************************************************************************************************************************************************************
    class ItemCore;
    class UniformItem;
    class Uniform_Base: ItemCore
    {
        class ItemInfo;
    };
 

    class SGSF_CABV_uniform_A1: Uniform_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Combat Fatigues (Camo)";
        picture = "";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d";
        class ItemInfo : UniformItem {
            uniformClass = "SGSF_CABV_soldier_A1";
            containerClass = "Supply50";
            mass = 50;
        };
    };

    class SGSF_CABV_uniform_A2: Uniform_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Combat Fatigues (camo) (Rolled)";
        picture = "";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d";
        class ItemInfo : UniformItem {
            uniformClass = "SGSF_CABV_soldier_A2";
            containerClass = "Supply50";
            mass = 50;
        };
    };

    class SGSF_CABV_uniform_A3: Uniform_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Combat Fatigues (camo) (Tee)";
        picture = "";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d";
        class ItemInfo : UniformItem {
            uniformClass = "SGSF_CABV_soldier_A3";
            containerClass = "Supply50";
            mass = 50;
        };
    };

    //************************************************************************************************************************************************************************************************
    //*****             Vests                *********************************************************************************************************************************************************
    //************************************************************************************************************************************************************************************************
    class VestItem;
    class Vest_NoCamo_Base;

    class SGSF_CABV_vest_A1: Vest_NoCamo_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Platecarrier Kerry (camo)";
        picture = "";
        model = "\A3\Characters_F_EPA\BLUFOR\equip_b_vest_kerry.p3d";
        hiddenSelections[] = {"Camo"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_vest_1.paa"};
        class ItemInfo: VestItem
        {
            uniformModel = "\A3\Characters_F_EPA\BLUFOR\equip_b_vest_kerry.p3d";
            containerClass = "Supply140";
            mass = 80;  
            hiddenSelections[] = {"camo"};
            class HitpointsProtectionInfo
            {
                class Chest
                {
                    HitpointName = "HitChest";
                    armor = 30;
                    PassThrough = 0.3;
                };
                class Diaphragm
                {
                    HitpointName = "HitDiaphragm";
                    armor = 30;
                    PassThrough = 0.3;
                };
                class Abdomen
                {
                    hitpointName = "HitAbdomen";
                    armor = 30;
                    passThrough = 0.3;
                };
                class Body
                {
                    hitpointName = "HitBody";
                    passThrough = 0.3;
                };
            };
        };
    };

    class SGSF_CABV_vest_A2: Vest_NoCamo_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Platecarrier-H (camo)";
        picture = "";
        model = "A3\Characters_F\BLUFOR\equip_b_vest01.p3d";
        hiddenSelections[] = {"Camo"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_vest_1.paa"};
        class ItemInfo: VestItem
        {
            uniformModel = "A3\Characters_F\BLUFOR\equip_b_vest01.p3d";
            containerClass = "Supply140";
            mass = 80;  
            hiddenSelections[] = {"camo"};
            class HitpointsProtectionInfo
            {
                class Chest
                {
                    HitpointName = "HitChest";
                    armor = 40;
                    PassThrough = 0.3;
                };
                class Diaphragm
                {
                    HitpointName = "HitDiaphragm";
                    armor = 40;
                    PassThrough = 0.3;
                };
                class Abdomen
                {
                    hitpointName = "HitAbdomen";
                    armor = 40;
                    passThrough = 0.3;
                };
                class Body
                {
                    hitpointName = "HitBody";
                    passThrough = 0.3;
                };
            };
        };
    };

    class SGSF_CABV_vest_A3: Vest_NoCamo_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Platecarrier-L (camo)";
        picture = "";
        model = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
        hiddenSelections[] = {"Camo"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_vest_1.paa"};
        class ItemInfo: VestItem
        {
            uniformModel = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
            containerClass = "Supply140";
            mass = 80;
            hiddenSelections[] = {"camo"};
            class HitpointsProtectionInfo
            {
                class Chest
                {
                    HitpointName = "HitChest";
                    armor = 35;
                    PassThrough = 0.3;
                };
                class Diaphragm
                {
                    HitpointName = "HitDiaphragm";
                    armor = 35;
                    PassThrough = 0.3;
                };
                class Abdomen
                {
                    hitpointName = "HitAbdomen";
                    armor = 35;
                    passThrough = 0.3;
                };
                class Body
                {
                    hitpointName = "HitBody";
                    passThrough = 0.3;
                };
            };
        };
    };

    
    //************************************************************************************************************************************************************************************************
    //*****            Headgear              *********************************************************************************************************************************************************
    //************************************************************************************************************************************************************************************************
    class H_HelmetB: ItemCore

    {
        class ItemInfo;
    };

    class SGSF_CABV_helm_A1: H_HelmetB
    {
        displayName = "[SGSF] CABV Combat Helmet Lite (camo)";
        author = "Author";
        picture = "";
        model = "\A3\Characters_F\BLUFOR\headgear_b_helmet_light.p3d";
        hiddenSelections[] = {"Camo"};
        hiddenSelectionsTextures[] = {"SGSF_core\core\Data\sgsf_core_helm_black.paa"};
        class ItemInfo: ItemInfo
        {
            mass = 25;
            allowedSlots[] = {901,605};
            uniformModel = "\A3\Characters_F\BLUFOR\headgear_b_helmet_light.p3d";
            modelSides[] = {3,1};
            hiddenSelections[] = {"Camo"};
            class HitpointsProtectionInfo
            {
                class Head
                {
                    hitpointName = "HitHead";
                    armor = 10;
                    passThrough = 0.5;
                };
            };
        };
    };

    class SGSF_CABV_helm_A1: H_HelmetB
    {
        displayName = "[SGSF] CABV Enhanced Combat Helmet (camo)";
        author = "Author";
        picture = "";
        model = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic.p3d";
        hiddenSelections[] = {"Camo"};
        hiddenSelectionsTextures[] = {"SGSF_core\core\Data\sgsf_core_helm_black.paa"};
        class ItemInfo: ItemInfo
        {
            mass = 25;
            allowedSlots[] = {901,605};
            uniformModel = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic.p3d";
            modelSides[] = {3,1};
            hiddenSelections[] = {"Camo"};
            class HitpointsProtectionInfo
            {
                class Head
                {
                    hitpointName = "HitHead";
                    armor = 20;
                    passThrough = 0.5;
                };
            };
        };
    };
};
 

 

 

Free of charge :)

 

P.S. I'd get a better program for config making etc. something like SublimeText or Notepad++

  • Like 1

Share this post


Link to post
Share on other sites
32 minutes ago, Terramesa said:

This is the config template that I use; it's still current and compatible with the latest updates. You can build off this template until you're comfortable. I've labeled everything. So it should be easy to use. Good Luck!

  Reveal hidden contents

 


//Country abbreviations - CABV, i.e. "AU" or "AUS"
//Country name - CONID, i.e. "Australia"
//Special Operations Force - SOF, i.e. "SASR"
//Replace abbreviations with desired text, in right placement. i.e. "AU" would replace "CABV" etc.
//************************************************************************************************************************************************************************************************
//*****        Factions                  *********************************************************************************************************************************************************
//************************************************************************************************************************************************************************************************
class cfgFactionClasses
{
    class Faction_CABV
    {
        displayName = "CONID";
        priority = 2; // Position in list.
        side = 1; // Opfor = 0, Blufor = 1, Indep = 2.
        icon = ""; //Custom Icon
    };
};

class CfgEditorSubcategories
{
    class EdSubcat_SGSFCABV_SOFCamo
    {
        displayName = "SOF (Camo)";
    };
};

 

class UniformSlotInfo
{
    slotType = 0;
    linkProxy = "-";
};

class CfgVehicles
{     
    //************************************************************************************************************************************************************************************************
    //*****             Units                *********************************************************************************************************************************************************
    //************************************************************************************************************************************************************************************************
    class B_Soldier_F;
    class B_Soldier_lite_F;
    class B_Soldier_GL_F;
    class B_soldier_AR_F;
    class B_Soldier_SL_F;
    class B_Soldier_TL_F;
    class B_soldier_M_F;
    class B_soldier_LAT_F;
    class B_medic_F;
    class B_soldier_repair_F;
    class B_soldier_exp_F;
    class B_Soldier_A_F;
    class B_soldier_AT_F;
    class B_soldier_AA_F;
    class B_engineer_F;
    class B_crew_F;
    class B_officer_F;
    class B_soldier_PG_F;
    class b_soldier_unarmed_f;
    class B_Helipilot_F;
    class B_Pilot_F;
    class B_helicrew_F;
    class B_spotter_F;
    class B_sniper_F;
    class B_recon_F;
    class B_recon_LAT_F;
    class B_recon_exp_F;
    class B_recon_medic_F;
    class B_recon_TL_F;
    class B_recon_M_F;
    class B_recon_JTAC_F;   
    class B_Recon_Sharpshooter_F;

    class SGSF_CABV_soldier_A1: B_soldier_F {
        author = "Author";
        _generalMacro = "B_soldier_F";
        scope = 2;
        displayName = "SOF Soldier 1";
        identityTypes[] = {"Head_NATO", "LanguageENG_F"};
        canDeactivateMines = true;
        nakedUniform = "U_BasicBody"; //class for "naked" body
        genericNames = "NATOMen";
        faction = "Faction_CABV";
        editorSubcategory = "EdSubcat_SGSFCABV_SOFCamo";
        model = "A3\characters_f\BLUFOR\b_soldier_01.p3d"; //Default NATO
        uniformClass = "SGSF_CABV_uniform_A1";
        hiddenSelections[] = {"Camo","Insignia"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_uniform_1.paa"};
        hiddenSelectionsMaterials[] = {"SGSF_AUS\aus\Data\NATOnormalmap.rvmat"};
         weapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        respawnWeapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        Items[] = {"FirstAidKit"};
        RespawnItems[] = {"FirstAidKit"};
    };

    class SGSF_CABV_soldier_A2: B_soldier_F {
        author = "Author";
        _generalMacro = "B_soldier_F";
        scope = 2;
        displayName = "SOF Soldier 2";
        identityTypes[] = {"Head_NATO", "LanguageENG_F"};
        canDeactivateMines = true;
        nakedUniform = "U_BasicBody"; //class for "naked" body
        genericNames = "NATOMen";
        faction = "Faction_CABV";
        editorSubcategory = "EdSubcat_SGSFCABV_SOFCamo";
        model = "A3\characters_f\BLUFOR\b_soldier_03.p3d"; //Default NATO
        uniformClass = "SGSF_CABV_uniform_A2";
        hiddenSelections[] = {"Camo","Insignia"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_uniform_1.paa"};
        hiddenSelectionsMaterials[] = {"SGSF_AUS\aus\Data\NATOnormalmap.rvmat"};
         weapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        respawnWeapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        Items[] = {"FirstAidKit"};
        RespawnItems[] = {"FirstAidKit"};
    };

    class SGSF_CABV_soldier_A3: B_soldier_F {
        author = "Author";
        _generalMacro = "B_soldier_F";
        scope = 2;
        displayName = "SOF Soldier 3";
        identityTypes[] = {"Head_NATO", "LanguageENG_F"};
        canDeactivateMines = true;
        nakedUniform = "U_BasicBody"; //class for "naked" body
        genericNames = "NATOMen";
        faction = "Faction_CABV";
        editorSubcategory = "EdSubcat_SGSFCABV_SOFCamo";
        model = "A3\characters_f\BLUFOR\b_soldier_02.p3d"; //Default NATO
        uniformClass = "SGSF_CABV_uniform_A3";
        hiddenSelections[] = {"Camo","Insignia"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_uniform_1.paa"};
        hiddenSelectionsMaterials[] = {"SGSF_AUS\aus\Data\NATOnormalmap.rvmat"};
         weapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        respawnWeapons[] = {"Throw","Put","arifle_Mk20_MRCO_plain_F"};
        magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
        linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
        Items[] = {"FirstAidKit"};
        RespawnItems[] = {"FirstAidKit"};
    };


};

class cfgWeapons
{
    //********************************************************************************************************************************************************************************************
    //*****            Uniforms              *****************************************************************************************************************************************************
    //********************************************************************************************************************************************************************************************
    class ItemCore;
    class UniformItem;
    class Uniform_Base: ItemCore
    {
        class ItemInfo;
    };
 

    class SGSF_CABV_uniform_A1: Uniform_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Combat Fatigues (Camo)";
        picture = "";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d";
        class ItemInfo : UniformItem {
            uniformClass = "SGSF_CABV_soldier_A1";
            containerClass = "Supply50";
            mass = 50;
        };
    };

    class SGSF_CABV_uniform_A2: Uniform_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Combat Fatigues (camo) (Rolled)";
        picture = "";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d";
        class ItemInfo : UniformItem {
            uniformClass = "SGSF_CABV_soldier_A2";
            containerClass = "Supply50";
            mass = 50;
        };
    };

    class SGSF_CABV_uniform_A3: Uniform_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Combat Fatigues (camo) (Tee)";
        picture = "";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_universal_F.p3d";
        class ItemInfo : UniformItem {
            uniformClass = "SGSF_CABV_soldier_A3";
            containerClass = "Supply50";
            mass = 50;
        };
    };

    //************************************************************************************************************************************************************************************************
    //*****             Vests                *********************************************************************************************************************************************************
    //************************************************************************************************************************************************************************************************
    class VestItem;
    class Vest_NoCamo_Base;

    class SGSF_CABV_vest_A1: Vest_NoCamo_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Platecarrier Kerry (camo)";
        picture = "";
        model = "\A3\Characters_F_EPA\BLUFOR\equip_b_vest_kerry.p3d";
        hiddenSelections[] = {"Camo"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_vest_1.paa"};
        class ItemInfo: VestItem
        {
            uniformModel = "\A3\Characters_F_EPA\BLUFOR\equip_b_vest_kerry.p3d";
            containerClass = "Supply140";
            mass = 80;  
            hiddenSelections[] = {"camo"};
            class HitpointsProtectionInfo
            {
                class Chest
                {
                    HitpointName = "HitChest";
                    armor = 30;
                    PassThrough = 0.3;
                };
                class Diaphragm
                {
                    HitpointName = "HitDiaphragm";
                    armor = 30;
                    PassThrough = 0.3;
                };
                class Abdomen
                {
                    hitpointName = "HitAbdomen";
                    armor = 30;
                    passThrough = 0.3;
                };
                class Body
                {
                    hitpointName = "HitBody";
                    passThrough = 0.3;
                };
            };
        };
    };

    class SGSF_CABV_vest_A2: Vest_NoCamo_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Platecarrier-H (camo)";
        picture = "";
        model = "A3\Characters_F\BLUFOR\equip_b_vest01.p3d";
        hiddenSelections[] = {"Camo"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_vest_1.paa"};
        class ItemInfo: VestItem
        {
            uniformModel = "A3\Characters_F\BLUFOR\equip_b_vest01.p3d";
            containerClass = "Supply140";
            mass = 80;  
            hiddenSelections[] = {"camo"};
            class HitpointsProtectionInfo
            {
                class Chest
                {
                    HitpointName = "HitChest";
                    armor = 40;
                    PassThrough = 0.3;
                };
                class Diaphragm
                {
                    HitpointName = "HitDiaphragm";
                    armor = 40;
                    PassThrough = 0.3;
                };
                class Abdomen
                {
                    hitpointName = "HitAbdomen";
                    armor = 40;
                    passThrough = 0.3;
                };
                class Body
                {
                    hitpointName = "HitBody";
                    passThrough = 0.3;
                };
            };
        };
    };

    class SGSF_CABV_vest_A3: Vest_NoCamo_Base
    {
        scope = 2;
        author = "Author";
        displayName = "[SGSF] CABV Platecarrier-L (camo)";
        picture = "";
        model = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
        hiddenSelections[] = {"Camo"};
        hiddenSelectionsTextures[] = {"SGSF_CABV\CABV\Data\sgsf_CABV_vest_1.paa"};
        class ItemInfo: VestItem
        {
            uniformModel = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
            containerClass = "Supply140";
            mass = 80;
            hiddenSelections[] = {"camo"};
            class HitpointsProtectionInfo
            {
                class Chest
                {
                    HitpointName = "HitChest";
                    armor = 35;
                    PassThrough = 0.3;
                };
                class Diaphragm
                {
                    HitpointName = "HitDiaphragm";
                    armor = 35;
                    PassThrough = 0.3;
                };
                class Abdomen
                {
                    hitpointName = "HitAbdomen";
                    armor = 35;
                    passThrough = 0.3;
                };
                class Body
                {
                    hitpointName = "HitBody";
                    passThrough = 0.3;
                };
            };
        };
    };

    
    //************************************************************************************************************************************************************************************************
    //*****            Headgear              *********************************************************************************************************************************************************
    //************************************************************************************************************************************************************************************************
    class H_HelmetB: ItemCore

    {
        class ItemInfo;
    };

    class SGSF_CABV_helm_A1: H_HelmetB
    {
        displayName = "[SGSF] CABV Combat Helmet Lite (camo)";
        author = "Author";
        picture = "";
        model = "\A3\Characters_F\BLUFOR\headgear_b_helmet_light.p3d";
        hiddenSelections[] = {"Camo"};
        hiddenSelectionsTextures[] = {"SGSF_core\core\Data\sgsf_core_helm_black.paa"};
        class ItemInfo: ItemInfo
        {
            mass = 25;
            allowedSlots[] = {901,605};
            uniformModel = "\A3\Characters_F\BLUFOR\headgear_b_helmet_light.p3d";
            modelSides[] = {3,1};
            hiddenSelections[] = {"Camo"};
            class HitpointsProtectionInfo
            {
                class Head
                {
                    hitpointName = "HitHead";
                    armor = 10;
                    passThrough = 0.5;
                };
            };
        };
    };

    class SGSF_CABV_helm_A1: H_HelmetB
    {
        displayName = "[SGSF] CABV Enhanced Combat Helmet (camo)";
        author = "Author";
        picture = "";
        model = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic.p3d";
        hiddenSelections[] = {"Camo"};
        hiddenSelectionsTextures[] = {"SGSF_core\core\Data\sgsf_core_helm_black.paa"};
        class ItemInfo: ItemInfo
        {
            mass = 25;
            allowedSlots[] = {901,605};
            uniformModel = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic.p3d";
            modelSides[] = {3,1};
            hiddenSelections[] = {"Camo"};
            class HitpointsProtectionInfo
            {
                class Head
                {
                    hitpointName = "HitHead";
                    armor = 20;
                    passThrough = 0.5;
                };
            };
        };
    };
};
 

 

 

Free of charge :)

 

P.S. I'd get a better program for config making etc. something like SublimeText or Notepad++

So my issue was with the config?

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

×