mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
42 lines
774 B
C++
42 lines
774 B
C++
class MeleeSledge: MeleeWeapon
|
|
{
|
|
scope=2;
|
|
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_EPOCH_PLAYER_296";
|
|
script="spawn player_addToolbelt;";
|
|
use[]=
|
|
{
|
|
"MeleeSledge"
|
|
};
|
|
output[]=
|
|
{
|
|
"ItemSledge"
|
|
};
|
|
};
|
|
};
|
|
class Library
|
|
{
|
|
libTextDesc="$STR_EQUIP_CROWBAR_DESC";
|
|
};
|
|
descriptionShort="$STR_EQUIP_CROWBAR_DESC";
|
|
};
|