New config variable dayz_toolBreaking

Tool breaking is disabled by default.

Also made all scripts use Epoch sledge, which is a different model from
vanilla sledge.

PK_DZ was a duplicate of the new PKM_DZ.
This commit is contained in:
ebaydayz
2016-04-03 16:34:14 -04:00
parent d07d31983b
commit e69364991c
37 changed files with 323 additions and 231 deletions

View File

@@ -1,22 +1,16 @@
class MeleeSledge: MeleeWeapon
{
scope = public;
melee= "true";
autoreload=1;
magazineReloadTime=0;
model="\z\addons\dayz_epoch\models\sledge_weaponized";
picture="\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa"; // todo icon
displayName=$STR_EQUIP_NAME_SledgeHammer;
descriptionShort=$STR_EQUIP_SLEDGE_DESC;
magazines[]= {"Sledge_Swing"};
droppeditem= "ItemSledge";
magazines[]=
{
"Sledge_Swing"
};
handAnim[]=
{
"OFP2_ManSkeleton",
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
};
class ItemActions
{
class Toolbelt
@@ -37,5 +31,4 @@ class MeleeSledge: MeleeWeapon
{
libTextDesc=$STR_EQUIP_SLEDGE_DESC;
};
descriptionShort=$STR_EQUIP_SLEDGE_DESC;
};