Jump to content
smirlianos

Config for civil uniform doesn't load the texture file

Recommended Posts

I try to re-texture a civilian clothing piece from the Apex expansion.

Everything works, except the texture. The uniform piece gets added on the arsenal, but it has the default texture applied to it and not the one specified in the config file.

Anyone want to take a look and tell me what I have done wrong?

 

config.cpp:

Spoiler

class CfgPatches { 
    class smn_Tap_Clothes { 
        version = "1.0";
        units[] = {};
        weapons[] = {};
        requiredVersion = "1.0";
        requiredAddons[] = {};
    }; 
}; 

class cfgFactionClasses { 
    class Tap_Faction { 
        displayName = "TAP"; 
        priority = 3; // Position in list.
        side = 3; // Opfor = 0, Blufor = 1, Indep = 2.
        icon = ""; //Custom Icon
    };  
}; 

class CfgVehicles {     

    class C_man_1;
	
    class Tap_Shirt1_C: C_man_1
    {
        author = "Smirlianos";
        scope = 2;
        displayName = "TAP1";
        dlc = "Tap_Clothes";
        faction = "Tap_Faction";
        model = "\A3\characters_f_exp\Civil\C_Man_casual_shorts_F.p3d"; //Default civil tanoa
        hiddenSelections[] = {"camo"};
        hiddenSelectionsTextures[] = {"Tap_clothes\Data\tap_shirt_white_co.paa"};
        //hiddenSelectionsMaterials[] = {"\CRYEGEN3_MOHW\CRYEGEN3_MOHW\data\CRYEG3_1.rvmat"};
    };
};

class cfgWeapons {
    class UniformItem;
    class Uniform_Base;
      
    class Tap_Shirt1: Uniform_Base
    {
        author = "Smirlianos";
        scope = 2;
        displayName = "Tap Shirt 1";
        //picture = "\A3\characters_f\data\ui\icon_u_b_soldier_new_ca.paa";
        model = "\A3\characters_f_exp\Civil\C_Man_casual_shorts_F.p3d";
        hiddenSelections[] = {"camo"};
        hiddenSelectionsTextures[] = {"Tap_clothes\Data\tap_shirt_white_co.paa"};
         
        class ItemInfo: UniformItem
        {
            uniformModel = "-";
            uniformClass = Tap_Shirt1_C;
            containerClass = Supply40;
            mass = 40;
        };
    };
};

 

 

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

×