Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Melee/MeleeCrowbar.hpp
2013-11-21 10:10:57 -06:00

42 lines
753 B
C++

class MeleeCrowbar: MeleeWeapon
{
scope=2;
melee= "true";
autoreload=1;
magazineReloadTime=0;
model="\dayz_weapons\models\crowbar_weaponized";
picture="\dayz_weapons\textures\equip_crowbar_CA.paa";
displayName=$STR_EQUIP_CROWBAR;
droppeditem= "ItemCrowbar";
magazines[]=
{
"Crowbar_Swing"
};
handAnim[]=
{
"OFP2_ManSkeleton",
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
};
class ItemActions
{
class Toolbelt
{
text="$STR_EPOCH_PLAYER_296";
script="spawn player_addToolbelt;";
use[]=
{
"MeleeCrowbar"
};
output[]=
{
"ItemCrowbar"
};
};
};
class Library
{
libTextDesc="$STR_EQUIP_CROWBAR_DESC";
};
descriptionShort="$STR_EQUIP_CROWBAR_DESC";
};