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 serversDon'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
-
Our picks
Пытаюсь заменить текстуры вроде всё нормально а предмет получается без текстур, тыкните носом где моя ошибка, пожалуйста! Вот путь до текстур P:\AlphaCases\Cases\data
Edited by Kibei (see edit history)class CfgPatches
{
class DZ_Gear_Containers
{
units[]={};
weapons[]={};
requiredVersion=0.1;
requiredAddons[]=
{
"DZ_Data"
};
};
};
class CfgVehicles
{
class SmallProtectorCase;
class Alphacase: SmallProtectorCase
{
scope=2;
displayName="Защитный кейс";
descriptionShort="Защитный кейс";
model="\dz\gear\containers\Protector_Case.p3d";
rotationFlags=17;
visibilityModifier=0.80000001;
weight=980;
itemSize[]={10,100};
itemsCargoSize[]={10,20};
inventorySlot[]=
{
"Alphacase"
};
canBeDigged=1;
isMeleeWeapon=1;
hiddenSelections[]=
{
"zbytek"
};
hiddenSelectionsTextures[]=
{
"Cases\data\casse_co.paa"
};
allowOwnedCargoManipulation=1;
randomQuantity=2;
repairableWithKits[]={8};
repairCosts[]={25};
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints=750000;
healthLevels[]=
{
{
1,
{
"DZ\gear\containers\data\Protector_Case.rvmat"
}
},
{
0.69999999,
{
"DZ\gear\containers\data\Protector_Case.rvmat"
}
},
{
0.5,
{
"DZ\gear\containers\data\Protector_Case_damage.rvmat"
}
},
{
0.30000001,
{
"DZ\gear\containers\data\Protector_Case_damage.rvmat"
}
},
{
0,
{
"DZ\gear\containers\data\Protector_Case_destruct.rvmat"
}
}
};
};
};
class GlobalArmor
{
class FragGrenade
{
class Health
{
damage=0;
};
class Blood
{
damage=0;
};
class Shock
{
damage=0;
};
};
};
};
soundImpactType="plastic";
class AnimEvents
{
class SoundWeapon
{
class pickUpItem
{
soundSet="smallprotectorcase_pickup_SoundSet";
id=797;
};
class drop
{
soundset="smallprotectorcase_drop_SoundSet";
id=898;
};
};
};
};
class Alphacases: Alphacase
{
scope=2;
visibilityModifier=0.80000001;
displayName="Защитный кейс(улучшенный)";
descriptionShort="Защитный кейс";
itemsCargoSize[]={10,90};
hitpoints=750000;
hiddenSelectionsTextures[]=
{
"Cases\data\casse_co.paa",
};
};
};
Share this post
Link to post
Share on other sites