mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
42 lines
766 B
C++
42 lines
766 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_MACHETE;
|
|
droppeditem= "MeleeMachete";
|
|
magazines[]=
|
|
{
|
|
"Machete_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[]=
|
|
{
|
|
"MeleeMachete"
|
|
};
|
|
output[]=
|
|
{
|
|
"ItemMachete"
|
|
};
|
|
};
|
|
};
|
|
class Library
|
|
{
|
|
libTextDesc="";
|
|
};
|
|
descriptionShort=$STR_EQUIP_MACHETE_DESC;
|
|
};
|