Jump to content
marki980908

Edit Bandanna Sports texture?

Recommended Posts

Evening, I am making custom facemask mod, and I want to take Bandanna (sport) and glasses on it, currently my code looks like this:
 

class cfgPatches
{
    class ODIN_Retextures
    {
        units[] = {};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"A3_Characters_F"};
    };
};

class cfgGlasses
{	
	class None;
    class G_Bandanna_blk;
    class G_Bandanna_sport;

	//Red Skull
	class G_Bandanna_ODIN_Red: G_Bandanna_sport
    {
        author = "Marki";
        displayName = "Bandana (ODIN-Marki)";
		
        hiddenSelectionsTextures[] = {"ODIN_Bandanas\Data\Bandanna_Mask_Marki.paa"};
    };

Bandanna_Mask_Marki.paa only replaces the bottom part of the mask and not the glasses. How do I retextures glasses? I have the template, just not sure how to tell the game to replace the glasses aswell

Share this post


Link to post
Share on other sites
47 minutes ago, marki980908 said:

Bandanna_Mask_Marki.paa only replaces the bottom part of the mask and not the glasses. How do I retextures glasses? I have the template, just not sure how to tell the game to replace the glasses aswell



G_Bandanna_sport has 2 hidden selections; the bandana and the glasses.

//	G_bandanna_sport
hiddenSelectionsTextures[] = {"\a3\characters_f_bootcamp\guerrilla\data\headgear_bandmask_blk_co.paa", "\a3\characters_f\heads\glasses\data\sunglasses_sport_4_ca.paa"};

You'll need to retexture sunglasses_sport_4_ca.paa also.

Share this post


Link to post
Share on other sites
12 minutes ago, Maff said:



G_Bandanna_sport has 2 hidden selections; the bandana and the glasses.


//	G_bandanna_sport
hiddenSelectionsTextures[] = {"\a3\characters_f_bootcamp\guerrilla\data\headgear_bandmask_blk_co.paa", "\a3\characters_f\heads\glasses\data\sunglasses_sport_4_ca.paa"};

You'll need to retexture sunglasses_sport_4_ca.paa also.

Thanks I thought so, just didnt know what to write in config, I am testing it now

Share this post


Link to post
Share on other sites
On 9/10/2021 at 4:04 PM, marki980908 said:

Thanks I thought so, just didnt know what to write in config, I am testing it now


Looks like a moderator moved your post so no need to delete it.

How did you get on?

Share this post


Link to post
Share on other sites
14 hours ago, Maff said:


Looks like a moderator moved your post so no need to delete it.

How did you get on?

Everything works, and now my bandana looks like from ghost recon, perfect. However glasses texture uses the same texture for both left and right eye glasses, meaning you cant make ghost recon computer thingy only on one eye. Only both or nothing

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

×