mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 10:02:02 +03:00
39 lines
753 B
C++
39 lines
753 B
C++
class MeleeMachete: MeleeWeapon
|
|
{
|
|
scope=2;
|
|
melee= "true";
|
|
autoreload=1;
|
|
magazineReloadTime=0;
|
|
model="\z\addons\dayz_communityassets\models\machete_weaponized.p3d";
|
|
picture="\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
|
|
displayName="$STR_EQUIP_NAME_MACHETE";
|
|
droppeditem= "MeleeMachete";
|
|
magazines[]=
|
|
{
|
|
"Machete_Swing"
|
|
};
|
|
handAnim[]=
|
|
{
|
|
"OFP2_ManSkeleton",
|
|
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
|
};
|
|
class ItemActions
|
|
{
|
|
/*
|
|
class Drop
|
|
{
|
|
text=$STR_ACTIONS_DROP;
|
|
script="spawn player_dropWeapon;";
|
|
use[]=
|
|
{
|
|
"Machete_Swing"
|
|
};
|
|
};
|
|
*/
|
|
};
|
|
class Library
|
|
{
|
|
libTextDesc="$STR_EQUIP_DESC_MACHETE";
|
|
};
|
|
descriptionShort="$STR_EQUIP_DESC_MACHETE";
|
|
};
|