Jump to content
mr_donald_duck

Custom Textures turn grey +Screenshot [Bug]

Recommended Posts

Hello there,
I made a texture for a can ingame but once i spawn it its texture is grey.
I converted it to .paa and tried different folder structures but it always turns into a grey can.
Anyone knows why this happens?
I found out that no matter which texture i use (Even existing .paa from dayz itself) once i build the addon the texture is gray.

It looks like this:
1CG6gq5.png

The texture is supposed to be this:

0DtxpxE.jpg

 

My config file:
 

class CfgPatches
{
	class DM_FOOD
	{
		units[]=
		{
			"DONFOOD_CAN_BLUEBERRY",
			"DONFOOD_CAN_TEST"

		};
		weapons[]={};
		requiredVersion=0.1;
		requiredAddons[]=
		{
			"DZ_Data"
		};
	};
};
class CfgVehicles
{
	class Inventory_Base;
	class Edible_Base: Inventory_Base
	{
		ContinuousActions[]={101,105};
		InteractActions[]={};
		varTemperatureMax=100;
	};
	class BakedBeansCan: Edible_Base
	{
	};
	class BakedBeansCan_Opened: Edible_Base
	{
		class Nutrition
		{
			fullnessIndex=1.5;
			energy=90;
			water=100;
			nutritionalIndex=1;
			toxicity=0;
		};
	};
	class DONFOOD_CAN_BLUEBERRY: BakedBeansCan
	{
		scope=2;
		displayName="Can of Blueberrys";
		descriptionShort="Rego Blueberrys imported from the USA.";
		hiddenSelectionsTextures[]=
		{
			"dm_food\data\df\df_can_blueberry.paa",
			"dm_food\data\df\df_can_blueberry.paa",
			"dm_food\data\df\df_can_blueberry.paa"
		};
	};
	class DONFOOD_CAN_BLUEBERRY_Opened: BakedBeansCan_Opened
	{
		scope=2;
		displayName="Can of Blueberrys";
		descriptionShort="Rego Blueberrys imported from the USA.";
		hiddenSelectionsTextures[]=
		{
			"dm_food\data\df\df_can_blueberry.paa",
			"dm_food\data\df\df_can_blueberry.paa",
			"dm_food\data\df\df_can_blueberry.paa"
		};
	};
};	

*Edited*

Edited by mr_donald_duck
Details

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

×