Jump to content
SotaARG

Need help with retexture config

Recommended Posts

Hello, I'm new at this and I'm trying to make a retexture for a RHS uniform(for personal use), I managed to get it to show up in the arsenal with the help of some config guides,  but now I'm stuck with a problem, when I choose the uniform on the game the character its just naked, this is the config I made:

Quote

class CfgPatches {

    class ARG_UCA

    {

        units[]={};

        weapons[]={};

        requiredVersion=0.1;

        requiredAddons[]=

        {

            "A3_Characters_F_Beta",

            "rhsusf_infantry2",

            "rhsusf_main",

            "A3_Data_F",

            "UCA_UNIFORMES"

        };

        author = "Sota";

    };

};

 

class CfgVehicles

{

    class rhs_uniform_acu_ocp;

    class uca_base : rhs_uniform_acu_ocp

    {

        scope = 2;

        scopeArsenal = 2;

        scopeCurator = 0;

        modelSides[]={1};

        displayName = "UCA Base";

        model = "rhsusf\addons\rhsusf_infantry2\acu\rhsusf_uniform_acu.p3d"

        uniformClass = "uca_prueba";

        hiddenSelections[]=

        {

            "camo",

            "insignia"

        };

        hiddenSelectionsTextures[]=

        {

            "\UCA_UNIFORMES\data\texturas\base\uca_01_prueba_co",

            "\UCA_UNIFORMES\data\texturas\base\uca_02_prueba_co",

            "\UCA_UNIFORMES\data\texturas\base\uca_03_prueba_co",

            "\UCA_UNIFORMES\data\texturas\base\uca_acc1_co",

        };

    };

 

};

 

class cfgWeapons

{

    class rhs_uniform_acu_ocp;

    class UniformItem;

   

    class uca_u_base : rhs_uniform_acu_ocp

    {

        scope = 2;

        scopeArsenal = 2;

        displayName = "UCA Base";

        picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa";

        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";

       

        class ItemInfo : UniformItem

        {

            uniformModel = "-";

            uniformClass = "uca_base";

            containerClass = "Supply20";

            mass = 80;

        };

    };

};

 

I would really appreciate if someone can help me to solve this, I don't really know what to do.

 

Share this post


Link to post
Share on other sites

To my eye there's a mismatch in your uniform class entries.

 

In your class CfgVehicles entry, try changing...

uniformClass = "UCA_Prueba";

to....

uniformClass = "UCA_Base";

 

Share this post


Link to post
Share on other sites
11 minutes ago, EO said:

To my eye there's a mismatch in your uniform class entries.

 

In your class CfgVehicles entry, try changing...


uniformClass = "UCA_Prueba";

to....


uniformClass = "UCA_Base";

 

I just tried correcting that but the character still appears naked, this is the new code 
 

Quote

class CfgPatches {

    class ARG_UCA

    {

        units[]={};

        weapons[]={};

        requiredVersion=0.1;

        requiredAddons[]=

        {

            "A3_Characters_F_Beta",

            "rhsusf_infantry2",

            "rhsusf_main",

            "A3_Data_F",

            "UCA_UNIFORMES"

        };

        author = "Sota";

    };

};

 

class CfgVehicles

{

    class rhs_uniform_acu_ocp;

    class uca_base : rhs_uniform_acu_ocp

    {

        scope = 2;

        scopeArsenal = 2;

        scopeCurator = 0;

        modelSides[]={1};

        displayName = "UCA Base";

        model = "rhsusf\addons\rhsusf_infantry2\acu\rhsusf_uniform_acu.p3d"

        uniformClass = "uca_u_base";

        hiddenSelections[]=

        {

            "camo",

            "insignia"

        };

        hiddenSelectionsTextures[]=

        {

            "\UCA_UNIFORMES\data\texturas\base\uca_01_prueba_co",

            "\UCA_UNIFORMES\data\texturas\base\uca_02_prueba_co",

            "\UCA_UNIFORMES\data\texturas\base\uca_03_prueba_co",

            "\UCA_UNIFORMES\data\texturas\base\uca_acc1_co",

        };

    };

 

};

 

class cfgWeapons

{

    class rhs_uniform_acu_ocp;

    class UniformItem;

   

    class uca_u_base : rhs_uniform_acu_ocp

    {

        scope = 2;

        scopeArsenal = 2;

        displayName = "UCA Base";

        picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa";

        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";

       

        class ItemInfo : UniformItem

        {

            uniformModel = "-";

            uniformClass = "uca_base";

            containerClass = "Supply20";

            mass = 80;

        };

    };

};

 

Share this post


Link to post
Share on other sites

I'm not sure 'rhs_uniform_acu_ocp' is the correct cfgVehicles class to inherit from, sounds more like a cfgWeapons entry...Your code would seem to link a uniform to a uniform rather than to a unit...

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

×