Jump to content
Teutch

problem in retexturing RHS

Recommended Posts

Hi i would like to retexture a helmet on rhs (the m56 helmet)
I've been trying to get it to work, but my mod is forcing the default texture of this helmet. What did I do wrong ?

 

 

class cfgWeapons
{
    class rhsgref_M56;
    class Teutch_m56: rhsgref_M56
    {
        scope=0;
        scopeCurator=0;
        scopeArsenal=0;
        class ItemInfo;
    };
    class Teutch_m56_gdr: Teutch_m56
    {
        scope=2;
        scopeCurator=2;
        scopeArsenal=2;
        displayName="M56 (GDR)";
        picture = "\Teutch\logo.paa";
        author="Teutch";
        hiddenSelectionsTextures[]=
        {
            "\Teutch\data\M56_gdr_co.paa"
        };
        class ItemInfo: ItemInfo
        {
            hiddenSelectionsTextures[]=
            {
                "\Teutch\data\M56_gdr_co.paa"
            };
        };
    };

};

 

 

 

Thank you in advance!

Share this post


Link to post
Share on other sites

If anyone can help me it would be great, I've tried lots of things and it doesn't work.

Share this post


Link to post
Share on other sites

I'm assuming (and I don't like to assume things, it just ends up making an ASS out of 'U' and 'ME') that the cfgPatches part of your config is correctly set up?

Share this post


Link to post
Share on other sites
8 hours ago, Jackal326 said:

I'm assuming (and I don't like to assume things, it just ends up making an ASS out of 'U' and 'ME') that the cfgPatches part of your config is correctly set up?

Thx for your answer ! Yes I think so, how can I be sure? Do you think this is the source of the error ?

Share this post


Link to post
Share on other sites

Well I really can't do it by hand, is there another way to do it ?

Share this post


Link to post
Share on other sites

I have retextured several other rhs headgears on this same config file, and all work well except this one, there must be something wrong with this line of code :

 

 

class cfgWeapons
{
    class ItemCore;
    class HeadgearItem;
    class H_HelmetB;
    class Uniform_Base;
    class UniformItem;

 

 

    class Teutch_m56_gdr: H_HelmetB
    {
        author="Teutch";
        scope=2;
        displayName="M56 (GDR)";
        picture="\Teutch\logo.paa";
        hiddenSelections[]=
        {
            "Camo2"
        };
        hiddenSelectionsTextures[]=
        {
            "\teutch\data\Teutch_m56_gdr.paa"
        };
        class itemInfo: HeadgearItem
        {
            hiddenSelections[]=
            {
                "camo2"
            };
            hiddenSelectionsTextures[]=
            {
                "\teutch\data\Teutch_m56_gdr.paa"
            };
            mass=5;
            uniformModel="\rhsgref\addons\rhsgref_infantry\gear\head\M56.p3d";
            allowedSlots[]={801,901,701,605};
            modelSides[]={3,1};
        };
    };

};

 

 

If anyone can give me a hand I would be eternally grateful!

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

×