Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Melee/MeleeSledgehammer.hpp
ebaydayz e69364991c 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.
2016-04-03 16:34:14 -04:00

35 lines
593 B
C++

class MeleeSledge: MeleeWeapon
{
scope = public;
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";
class ItemActions
{
class Toolbelt
{
text=$STR_ACTIONS_2TB;
script="spawn player_addToolbelt;";
use[]=
{
"MeleeSledge"
};
output[]=
{
"ItemSledge"
};
};
};
class Library
{
libTextDesc=$STR_EQUIP_SLEDGE_DESC;
};
};