Jump to content
Sign in to follow this  
theevancat

Texture not applying in game?

Recommended Posts

So I have my model done and the textures done (thanks to Shtebbie), and it looks find in the O2 viewer. He gave me the files necessary for it, but when I put the files in and configged them to go on the helmet nothing happened. It's still blank. I don't know why - everything should be working by the looks of my config.

Config:

class CfgPatches {
class TEC_Penah {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
};

class cfgWeapons {
class ItemCore;
class InventoryItem_Base_F;

class HeadgearItem;

class TEC_H_Penah_Arid : ItemCore {
scope = 2;
weaponPoolAvailable = 1;
displayName = "FCH Penah (Arid)";
picture = "\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa";
model = "\CSAT_Penah\penah";
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {"\CSAT_Penah\Data\penah_arid.paa"};

class ItemInfo : HeadgearItem {
mass = 75;
uniformModel = "\CSAT_Penah\penah";
modelSides[] = {3, 1};
armor = 3*0.5;
passThrough = 0.8;
};
};

class TEC_H_Penah_Semiarid : ItemCore {
scope = 2;
weaponPoolAvailable = 1;
displayName = "FCH Penah (Semiarid)";
picture = "\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa";
model = "\CSAT_Penah\penah";
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {"\CSAT_Penah\Data\penah_semiarid.paa"};

class ItemInfo : HeadgearItem {
mass = 75;
uniformModel = "\CSAT_Penah\penah";
modelSides[] = {3, 1};
armor = 3*0.5;
passThrough = 0.8;
};
};

class TEC_H_Penah_Urban : ItemCore {
scope = 2;
weaponPoolAvailable = 1;
displayName = "FCH Penah (Urban)";
picture = "\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa";
model = "\CSAT_Penah\penah";
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {"\CSAT_Penah\Data\penah_urban.paa"};

class ItemInfo : HeadgearItem {
mass = 75;
uniformModel = "\CSAT_Penah\penah";
modelSides[] = {3, 1};
armor = 3*0.5;
passThrough = 0.8;
};
};
};

Share this post


Link to post
Share on other sites

Is it just a retexture, or do you have the Modell for the helmet?

Share this post


Link to post
Share on other sites

Try adding hiddenSelections[] = {"camo"}; to the ItemInfo class.

class TEC_H_Penah_Arid : ItemCore
{
scope = 2;
weaponPoolAvailable = 1;
displayName = "FCH Penah (Arid)";
picture = "\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa";
model = "\CSAT_Penah\penah";
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {"\CSAT_Penah\Data\penah_arid.paa"}; // Should be penah_arid_co.paa

class ItemInfo : HeadgearItem
{
	mass = 75;
	uniformModel = "\CSAT_Penah\penah";
	modelSides[] = {3, 1};
	armor = 3*0.5;
	passThrough = 0.8;
	hiddenSelections[] = {"camo"}; // Add this line.
};
}; 

Share this post


Link to post
Share on other sites
Is it just a retexture, or do you have the Modell for the helmet?

It's a model based on a ported helmet from the A2 source files. It's got some additions, however.

Share this post


Link to post
Share on other sites
It's a model based on a ported helmet from the A2 source files. It's got some additions, however.

do you have hidden selections applied to the helmet model?

Share this post


Link to post
Share on other sites
do you have hidden selections applied to the helmet model?

I thought I ran through and deleted the BAF textures from before, if that's what you mean.

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
Sign in to follow this  

×