Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
Loner

Не применяется текстура

Доброго времени суток,

Подскажите почему у меня не применяется текстура к объекту. Он не белый, а именно текстура стандартная.

 

Пробовал прописывать hiddenSelections[] = {"zbytek"}; результата нет.

 

При этом для модели model="\dz\gear\food\food_can_open.p3d"; всё работает отлично, при прописе в точности таком же конфиге.

 

class Loner_Can_Small_Empty: Bottle_Base
	{
		scope=2;
		displayName="$STR_dl_Can_Small_Empty0";
		descriptionShort="$STR_dl_Can_Small_Empty1";
		model="\dz\gear\food\sardines_open.p3d";
		weight=15;
		itemSize[]={2,1};
		itemsCargoSize[]={2,1};
		inventorySlot[]=
		{
			"CookingEquipment",
			"DirectCookingA",
			"DirectCookingB",
			"DirectCookingC"
		};
		stackedRandom=0;
		canBeDigged=0;
		allowOwnedCargoManipulation=1;
		varLiquidTypeInit=512;
		liquidContainerType="1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 + 512 + 1024 + 2048 + 4096 + 8192 + 16384 + 32768 + 65536  - (1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256) -32768";
		destroyOnEmpty=0;
		varQuantityDestroyOnMin=0;
		varQuantityInit=0;
		varQuantityMin=0;
		varQuantityMax=200;
		varTemperatureMax=200;
		isMeleeWeapon=1;
		hiddenSelections[]=
		{
			"camoGround"
		};
		hiddenSelectionsTextures[]=
		{
			"DL_Canning\foods\data\Loner_can_small_co.paa"
		};
		class DamageSystem
		{
			class GlobalHealth
			{
				class Health
				{
					hitpoints=50;
					healthLevels[]=
					{
						
						{
							1,
							
							{
								"DZ\gear\food\data\Sardines.rvmat"
							}
						},
						
						{
							0.69999999,
							
							{
								"DZ\gear\food\data\Sardines.rvmat"
							}
						},
						
						{
							0.5,
							
							{
								"DZ\gear\food\data\Sardines_damage.rvmat"
							}
						},
						
						{
							0.30000001,
							
							{
								"DZ\gear\food\data\Sardines_damage.rvmat"
							}
						},
						
						{
							0,
							
							{
								"DZ\gear\food\data\Sardines_destruct.rvmat"
							}
						}
					};
				};
			};
		};
		soundImpactType="metal";
		class AnimEvents
		{
			class SoundWeapon
			{
				class openTunaCan
				{
					soundSet="openTunaCan_SoundSet";
					id=204;
				};
				class Eating_TakeFood
				{
					soundSet="Eating_TakeFood_Soundset";
					id=889;
				};
				class Eating_BoxOpen
				{
					soundSet="Eating_BoxOpen_Soundset";
					id=893;
				};
				class Eating_BoxShake
				{
					soundSet="Eating_BoxShake_Soundset";
					id=894;
				};
			};
		};
	};

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Попробуй производную сделать от етой сардины. Что типа такого 
class Loner_Can_Small_Empty: Bottle_Base {};
class Loner_Can_Small_Empty_V1: Loner_Can_Small_Empty{
hiddenSelections[]= { "camoGround" }; hiddenSelectionsTextures[]= { "DL_Canning\foods\data\Loner_can_small_co.paa" };
};

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.