Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Melee/MeleeSledgehammer.hpp
ebaydayz f0757b1544 Send dayz_playerName as array
This avoids triggering PV value restrictions when the player has
keywords or special characters in their name.
2016-03-20 22:12:11 -04:00

42 lines
766 B
C++

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_SLEDGE;
droppeditem= "ItemSledge";
magazines[]=
{
"Sledge_Swing"
};
handAnim[]=
{
"OFP2_ManSkeleton",
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
};
class ItemActions
{
class Toolbelt
{
text=$STR_ACTIONS_2TB;
script="spawn player_addToolbelt;";
use[]=
{
"MeleeSledge"
};
output[]=
{
"ItemSledge"
};
};
};
class Library
{
libTextDesc=$STR_EQUIP_SLEDGE_DESC;
};
descriptionShort=$STR_EQUIP_SLEDGE_DESC;
};