mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
CFG WEAPONS DONE
This commit is contained in:
89
SQF/dayz_code/Configs/CfgWeapons/Melee/Hatchet.hpp
Normal file
89
SQF/dayz_code/Configs/CfgWeapons/Melee/Hatchet.hpp
Normal file
@@ -0,0 +1,89 @@
|
||||
class MeleeHatchet : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_weapons\models\Hatchet_weaponized";
|
||||
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_HATCHET;
|
||||
descriptionShort = $STR_EQUIP_DESC_HATCHET;
|
||||
|
||||
magazines[] = {"Hatchet_Swing"};
|
||||
|
||||
droppeditem = "ItemHatchet";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_CHOPWOOD;
|
||||
script = "spawn player_chopWood";
|
||||
};
|
||||
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt";
|
||||
use[] = {"MeleeHatchet"};
|
||||
output[] = {"ItemHatchet"};
|
||||
};
|
||||
|
||||
class Drop
|
||||
{
|
||||
text = $STR_ACTIONS_DROP;
|
||||
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
|
||||
use[] = {"Hatchet_Swing"};
|
||||
};
|
||||
};
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_HATCHET;
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeHatchet_DZE: MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
|
||||
model="\dayz_weapons\models\Hatchet_weaponized";
|
||||
picture="\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
displayName=$STR_EQUIP_NAME_41;
|
||||
droppeditem= "ItemHatchet_DZE";
|
||||
magazines[]=
|
||||
{
|
||||
"Hatchet_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_CHOPWOOD;
|
||||
script = "spawn player_chopWood";
|
||||
};
|
||||
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt";
|
||||
use[] = {"MeleeHatchet_DZE"};
|
||||
output[] = {"ItemHatchet_DZE"};
|
||||
};
|
||||
|
||||
class Drop
|
||||
{
|
||||
text = $STR_ACTIONS_DROP;
|
||||
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
|
||||
use[] = {"Hatchet_Swing"};
|
||||
};
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_DESC_41;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_DESC_41;
|
||||
};
|
||||
Reference in New Issue
Block a user