mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 17:42:01 +03:00
CFG WEAPONS DONE
This commit is contained in:
56
SQF/dayz_code/Configs/CfgWeapons/Melee/BaseballBat.hpp
Normal file
56
SQF/dayz_code/Configs/CfgWeapons/Melee/BaseballBat.hpp
Normal file
@@ -0,0 +1,56 @@
|
||||
class MeleeBaseBallBat : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\baseball_bat_weaponized.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_baseball_bat_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_BASEBALLBAT;
|
||||
descriptionShort = $STR_EQUIP_DESC_BASEBALLBAT;
|
||||
|
||||
magazines[] = {"Bat_Swing"};
|
||||
|
||||
droppeditem = "MeleeBaseBallBat";
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_BASEBALLBAT;
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeBaseBallBatBarbed : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model="\z\addons\dayz_communityassets\models\baseball_bat_barbed_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_barbed_ca.paa";
|
||||
displayName=$STR_EQUIP_NAME_BASEBALLBATBARBED;
|
||||
descriptionShort=$STR_EQUIP_DESC_BASEBALLBATBARBED;
|
||||
|
||||
magazines[] = {"BatBarbed_Swing"};
|
||||
|
||||
droppeditem = "MeleeBaseBallBatBarbed";
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_BASEBALLBATBARBED;
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeBaseBallBatNails : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model="\z\addons\dayz_communityassets\models\baseball_bat_nails_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_nails_ca.paa";
|
||||
displayName=$STR_EQUIP_NAME_BASEBALLBATNAILS;
|
||||
descriptionShort=$STR_EQUIP_DESC_BASEBALLBATNAILS;
|
||||
|
||||
magazines[] = {"BatNails_Swing"};
|
||||
|
||||
droppeditem = "MeleeBaseBallBatNails";
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_BASEBALLBATNAILS;
|
||||
};
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
class Crossbow_DZ : Crossbow {
|
||||
displayName = $STR_EQUIP_CROSSBOW;
|
||||
magazines[] ={"Quiver","WoodenArrow"};
|
||||
};
|
||||
36
SQF/dayz_code/Configs/CfgWeapons/Melee/Crowbar.hpp
Normal file
36
SQF/dayz_code/Configs/CfgWeapons/Melee/Crowbar.hpp
Normal file
@@ -0,0 +1,36 @@
|
||||
class MeleeCrowbar : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_weapons\models\crowbar_weaponized";
|
||||
picture = "\dayz_weapons\textures\equip_crowbar_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_CROWBAR;
|
||||
descriptionShort = $STR_EQUIP_DESC_CROWBAR;
|
||||
|
||||
magazines[] = {"Crowbar_Swing"};
|
||||
|
||||
droppeditem = "ItemCrowbar";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt";
|
||||
use[] = {"MeleeCrowbar"};
|
||||
output[] = {"ItemCrowbar"};
|
||||
};
|
||||
|
||||
class Drop
|
||||
{
|
||||
text = $STR_ACTIONS_DROP;
|
||||
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
|
||||
use[] = {"Crowbar_Swing"};
|
||||
};
|
||||
};
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_CROWBAR;
|
||||
};
|
||||
};
|
||||
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;
|
||||
};
|
||||
@@ -1,24 +0,0 @@
|
||||
class ItemCrowbar: ItemCore
|
||||
{
|
||||
scope=2;
|
||||
displayName=$STR_EQUIP_CROWBAR;
|
||||
model="\dayz_equip\models\crowbar.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_crowbar_CA.paa";
|
||||
descriptionShort=$STR_EQUIP_CROWBAR_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_295;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"ItemCrowbar"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"MeleeCrowbar"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,23 +0,0 @@
|
||||
class ItemHatchet_DZE : ItemCore {
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_NAME_41;
|
||||
model = "\dayz_equip\models\hatchet.p3d";
|
||||
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_41;
|
||||
class ItemActions {
|
||||
|
||||
class Toolbelt
|
||||
{
|
||||
text=$STR_EPOCH_PLAYER_295;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"ItemHatchet_DZE"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"MeleeHatchet_DZE"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,25 +0,0 @@
|
||||
class ItemMachete: ItemCore
|
||||
{
|
||||
scope=2;
|
||||
displayName=$STR_EQUIP_MACHETE;
|
||||
model="\z\addons\dayz_communityassets\models\machete.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
|
||||
descriptionShort=$STR_EQUIP_MACHETE_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text=$STR_EPOCH_PLAYER_295;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"ItemMachete"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"MeleeMachete"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
36
SQF/dayz_code/Configs/CfgWeapons/Melee/Machete.hpp
Normal file
36
SQF/dayz_code/Configs/CfgWeapons/Melee/Machete.hpp
Normal file
@@ -0,0 +1,36 @@
|
||||
class MeleeMachete: MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\machete_weaponized.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_MACHETE;
|
||||
descriptionShort = $STR_EQUIP_DESC_MACHETE;
|
||||
|
||||
magazines[] = {"Machete_Swing"};
|
||||
|
||||
droppeditem = "MeleeMachete";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"MeleeMachete"};
|
||||
output[] = {"ItemMachete"};
|
||||
};
|
||||
|
||||
class Drop
|
||||
{
|
||||
text = $STR_ACTIONS_DROP;
|
||||
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
|
||||
use[] = {"Machete_Swing"};
|
||||
};
|
||||
};
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_MACHETE;
|
||||
};
|
||||
};
|
||||
@@ -1,25 +0,0 @@
|
||||
class MeleeBaseBallBat: MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
melee= "true";
|
||||
autoreload=1;
|
||||
magazineReloadTime=0;
|
||||
model="\z\addons\dayz_communityassets\models\baseball_bat_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_ca.paa";
|
||||
displayName=$STR_EQUIP_NAME_BASEBALLBAT;
|
||||
droppeditem= "MeleeBaseBallBat";
|
||||
magazines[]=
|
||||
{
|
||||
"Bat_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_DESC_BASEBALLBAT;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_DESC_BASEBALLBAT;
|
||||
};
|
||||
@@ -1,25 +0,0 @@
|
||||
class MeleeBaseBallBatBarbed: MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
melee= "true";
|
||||
autoreload=1;
|
||||
magazineReloadTime=0;
|
||||
model="\z\addons\dayz_communityassets\models\baseball_bat_barbed_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_barbed_ca.paa";
|
||||
displayName=$STR_EQUIP_NAME_BASEBALLBATBARBED;
|
||||
droppeditem= "MeleeBaseBallBatBarbed";
|
||||
magazines[]=
|
||||
{
|
||||
"BatBarbed_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_DESC_BASEBALLBATBARBED;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_DESC_BASEBALLBATBARBED;
|
||||
};
|
||||
@@ -1,25 +0,0 @@
|
||||
class MeleeBaseBallBatNails : MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
melee= "true";
|
||||
autoreload=1;
|
||||
magazineReloadTime=0;
|
||||
model="\z\addons\dayz_communityassets\models\baseball_bat_nails_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_nails_ca.paa";
|
||||
displayName=$STR_EQUIP_NAME_BASEBALLBATNAILS;
|
||||
droppeditem= "MeleeBaseBallBatNails";
|
||||
magazines[]=
|
||||
{
|
||||
"BatNails_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_DESC_BASEBALLBATNAILS;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_DESC_BASEBALLBATNAILS;
|
||||
};
|
||||
@@ -1,41 +0,0 @@
|
||||
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;
|
||||
};
|
||||
@@ -1,41 +0,0 @@
|
||||
class MeleeHatchet_DZE: MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
melee= "true";
|
||||
autoreload=1;
|
||||
magazineReloadTime=0;
|
||||
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 Toolbelt
|
||||
{
|
||||
text=$STR_EPOCH_PLAYER_296;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"MeleeHatchet_DZE"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"ItemHatchet_DZE"
|
||||
};
|
||||
};
|
||||
};
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_DESC_41;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_DESC_41;
|
||||
};
|
||||
@@ -1,41 +0,0 @@
|
||||
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;
|
||||
};
|
||||
Reference in New Issue
Block a user