mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 10:02:02 +03:00
CFG WEAPONS DONE
This commit is contained in:
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Binocular.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Binocular.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class Binocular : Default
|
||||
{
|
||||
modelOptics = "z\addons\dayz_communityweapons\binocular\2dscope_binocular.p3d";
|
||||
};
|
||||
115
SQF/dayz_code/Configs/CfgWeapons/Tools/Chainsaw.hpp
Normal file
115
SQF/dayz_code/Configs/CfgWeapons/Tools/Chainsaw.hpp
Normal file
@@ -0,0 +1,115 @@
|
||||
class ChainSaw: Rifle
|
||||
{
|
||||
scope = 2;
|
||||
//melee= "true";
|
||||
|
||||
/*
|
||||
bullet1[] = {"ca\sounds\weapons\shells\big_shell_wood_01",0.0707946,1,15};
|
||||
bullet2[] = {"ca\sounds\weapons\shells\big_shell_wood_02",0.0707946,1,15};
|
||||
bullet3[] = {"ca\sounds\weapons\shells\big_shell_wood_03",0.0707946,1,15};
|
||||
bullet4[] = {"ca\sounds\weapons\shells\big_shell_wood_04",0.0707946,1,15};
|
||||
bullet5[] = {"ca\sounds\weapons\shells\big_shell_wood_05",0.0707946,1,15};
|
||||
bullet6[] = {"ca\sounds\weapons\shells\big_shell_wood_06",0.0707946,1,15};
|
||||
bullet7[] = {"ca\sounds\weapons\shells\big_shell_wood_07",0.0707946,1,15};
|
||||
bullet8[] = {"ca\sounds\weapons\shells\big_shell_dirt_04",0.0707946,1,15};
|
||||
bullet9[] = {"ca\sounds\weapons\shells\big_shell_soft_01",0.0707946,1,15};
|
||||
bullet10[] = {"ca\sounds\weapons\shells\big_shell_soft_02",0.0707946,1,15};
|
||||
bullet11[] = {"ca\sounds\weapons\shells\big_shell_soft_03",0.0707946,1,15};
|
||||
bullet12[] = {"ca\sounds\weapons\shells\big_shell_soft_04",0.0707946,1,15};
|
||||
*/
|
||||
|
||||
//soundBullet[] = {"bullet1",0.083,"bullet2",0.083,"bullet3",0.083,"bullet4",0.083,"bullet5",0.083,"bullet6",0.083,"bullet7",0.083,"bullet8",0.083,"bullet9",0.083,"bullet10",0.083,"bullet11",0.083,"bullet12",0.083};
|
||||
|
||||
emptySound[] = {"",10,1};
|
||||
soundBullet[] = {"emptySound",1};
|
||||
|
||||
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw.p3d";
|
||||
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_chainsaw_CA.paa";
|
||||
|
||||
displayName = "Chainsaw";
|
||||
|
||||
cursor = "";
|
||||
cursoraim = "\ca\Weapons\Data\clear_empty";
|
||||
|
||||
modes[] = {"manual"};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\z\addons\dayz_code\anim\saw_idle.rtm"
|
||||
};
|
||||
class manual: Mode_FullAuto
|
||||
{
|
||||
recoil = "recoil_auto_machinegun_10outof10";
|
||||
recoilProne = "recoil_auto_machinegun_prone_10outof10";
|
||||
|
||||
dispersion = 0.2;
|
||||
|
||||
begin1[] = {"\dayz_sfx\chainsaw\running2.ogg",1.77828,1,1000};
|
||||
soundBegin[] = {"begin1",1};
|
||||
|
||||
//end1[] = {"\dayz_sfx\chainsaw\running2.ogg",1.77828,1,1000};
|
||||
//soundEnd[] = {"end1",1};
|
||||
|
||||
distanceZoomMin = 50;
|
||||
distanceZoomMax = 50;
|
||||
canDrop = 0;
|
||||
UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";
|
||||
optics = 1;
|
||||
modelOptics = "-";
|
||||
|
||||
burst = 1;
|
||||
multiplier = 1;
|
||||
|
||||
soundContinuous = 0;
|
||||
soundBurst = 0;
|
||||
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
|
||||
// from hatchet
|
||||
minRange = 0.5;
|
||||
minRangeProbab = 0.8;
|
||||
midRange = 1;
|
||||
midRangeProbab = 1.5;
|
||||
maxRange = 2;
|
||||
maxRangeProbab = 2.5;
|
||||
|
||||
showToPlayer = 1;
|
||||
//reloadTime = 0.0708762;
|
||||
reloadTime = 0.12;
|
||||
displayName = "Gas";
|
||||
};
|
||||
aiDispersionCoefY = 21;
|
||||
aiDispersionCoefX = 21;
|
||||
dexterity = 0.51;
|
||||
reloadMagazineSound[] = {"\dayz_sfx\chainsaw\start-attempt.ogg",0.1,1,20};
|
||||
drySound[] = {"\dayz_sfx\chainsaw\start-attempt.ogg",0.01,1,10};
|
||||
magazines[] = {"CSGAS"};
|
||||
class Library
|
||||
{
|
||||
libTextDesc = "Hermlite Chainsaw";
|
||||
};
|
||||
descriptionShort = "Hermlite Chainsaw";
|
||||
};
|
||||
class ChainSawB : ChainSaw {
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw_B.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawB_CA.paa";
|
||||
descriptionShort = "Hermlite Chainsaw (Blue)";
|
||||
};
|
||||
class ChainSawG : ChainSaw {
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw_G.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawG_CA.paa";
|
||||
descriptionShort = "Hermlite Chainsaw (Green)";
|
||||
};
|
||||
class ChainSawP : ChainSaw {
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw_P.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawP_CA.paa";
|
||||
descriptionShort = "Hermlite Chainsaw (Pink)";
|
||||
};
|
||||
class ChainSawR : ChainSaw {
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw_R.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawR_CA.paa";
|
||||
descriptionShort = "Hermlite Chainsaw (Red)";
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Compass.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Compass.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class ItemCompass : ItemCore
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\compass.p3d";
|
||||
};
|
||||
50
SQF/dayz_code/Configs/CfgWeapons/Tools/Crowbar.hpp
Normal file
50
SQF/dayz_code/Configs/CfgWeapons/Tools/Crowbar.hpp
Normal file
@@ -0,0 +1,50 @@
|
||||
class ItemCrowbar : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\crowbar.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_crowbar_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_CROWBAR;
|
||||
descriptionShort = $STR_EQUIP_DESC_CROWBAR;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] =
|
||||
{
|
||||
"ItemCrowbar"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"MeleeCrowbar"
|
||||
};
|
||||
};
|
||||
|
||||
class ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] =
|
||||
{
|
||||
"ItemCrowbar"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"MeleeCrowbar"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemCrowbarBent : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\crowbar.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_crowbar_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_CROWBARBENT;
|
||||
descriptionShort = $STR_EQUIP_DESC_CROWBARBENT;
|
||||
};
|
||||
30
SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp
Normal file
30
SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
class ItemEtool : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
model = "\dayz_equip\models\etool.p3d";
|
||||
picture = "\dayz_equip\textures\equip_etool_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_1;
|
||||
descriptionShort = $STR_EQUIP_DESC_1;
|
||||
|
||||
stashsmall = "StashSmall";
|
||||
stashmedium = "StashMedium";
|
||||
consume = "ItemSandbag";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "Build Sandbag Fence";
|
||||
script = "; ['ItemEtool','Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemSandbag"};
|
||||
create = "Sandbag1_DZ";
|
||||
};
|
||||
|
||||
/*class Use
|
||||
{
|
||||
text=$STR_CREATE_STASH;
|
||||
script="spawn player_createstash; r_action_count = r_action_count + 1;";
|
||||
};*/
|
||||
};
|
||||
};
|
||||
38
SQF/dayz_code/Configs/CfgWeapons/Tools/FishingPole.hpp
Normal file
38
SQF/dayz_code/Configs/CfgWeapons/Tools/FishingPole.hpp
Normal file
@@ -0,0 +1,38 @@
|
||||
class ItemFishingPole: ItemCore
|
||||
{
|
||||
scope=2;
|
||||
displayName=$STR_EQUIP_FISHPOLE;
|
||||
model="\z\addons\dayz_epoch\models\fishing_rod_loot_item.p3d";
|
||||
picture="\z\addons\dayz_epoch\pictures\equip_fishingpole_CA.paa";
|
||||
descriptionShort=$STR_EQUIP_FISHPOLE_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] =
|
||||
{
|
||||
"ItemFishingPole"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"MeleeFishingPole"
|
||||
};
|
||||
};
|
||||
|
||||
class ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] =
|
||||
{
|
||||
"ItemFishingPole"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"MeleeFishingPole"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
55
SQF/dayz_code/Configs/CfgWeapons/Tools/Flashlight.hpp
Normal file
55
SQF/dayz_code/Configs/CfgWeapons/Tools/Flashlight.hpp
Normal file
@@ -0,0 +1,55 @@
|
||||
class ItemFlashlight : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\flashlight.p3d";
|
||||
picture = "\dayz_equip\textures\equip_flashlight_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_5;
|
||||
descriptionShort = $STR_EQUIP_DESC_5;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"ItemFlashlight"};
|
||||
output[] = {"MeleeFlashlight"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeFlashlight : Pistol
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\flashlight.p3d";
|
||||
picture = "\dayz_equip\textures\equip_flashlight_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_5;
|
||||
descriptionShort = $STR_EQUIP_DESC_5;
|
||||
|
||||
modelOptics = "-";
|
||||
magazines[] = {};
|
||||
|
||||
class FlashLight
|
||||
{
|
||||
color[] = {0.9, 0.9, 0.7, 0.9};
|
||||
ambient[] = {0.1, 0.1, 0.1, 1};
|
||||
position = "flash dir";
|
||||
direction = "flash";
|
||||
angle = 30;
|
||||
scale[] = {1, 1, 0.5};
|
||||
brightness = 0.1;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"MeleeFlashlight"};
|
||||
output[] = {"ItemFlashlight"};
|
||||
};
|
||||
};
|
||||
};
|
||||
48
SQF/dayz_code/Configs/CfgWeapons/Tools/FlashlightRed.hpp
Normal file
48
SQF/dayz_code/Configs/CfgWeapons/Tools/FlashlightRed.hpp
Normal file
@@ -0,0 +1,48 @@
|
||||
class ItemFlashlightRed : ItemFlashlight
|
||||
{
|
||||
model = "\dayz_equip\models\flashlight_mil.p3d";
|
||||
picture = "\dayz_equip\textures\equip_flashlight_mil_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_6;
|
||||
descriptionShort = $STR_EQUIP_DESC_6;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"ItemFlashlightRed"};
|
||||
output[] = {"MeleeFlashlightRed"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeFlashlightRed : MeleeFlashlight
|
||||
{
|
||||
model = "\dayz_equip\models\flashlight_mil.p3d";
|
||||
picture = "\dayz_equip\textures\equip_flashlight_mil_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_6;
|
||||
descriptionShort = $STR_EQUIP_DESC_6;
|
||||
|
||||
class FlashLight
|
||||
{
|
||||
color[] = {0.9, 0.0, 0.0, 0.9};
|
||||
ambient[] = {0.1, 0.0, 0.0, 1};
|
||||
position = "flash dir";
|
||||
direction = "flash";
|
||||
angle = 30;
|
||||
scale[] = {1, 1, 0.5};
|
||||
brightness = 0.08;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"MeleeFlashlightRed"};
|
||||
output[] = {"ItemFlashlightRed"};
|
||||
};
|
||||
};
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Tools/GPS.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Tools/GPS.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class ItemGPS : ItemCore
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\gps.p3d";
|
||||
};
|
||||
79
SQF/dayz_code/Configs/CfgWeapons/Tools/Hatchet.hpp
Normal file
79
SQF/dayz_code/Configs/CfgWeapons/Tools/Hatchet.hpp
Normal file
@@ -0,0 +1,79 @@
|
||||
class ItemHatchet : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\hatchet.p3d";
|
||||
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_HATCHET;
|
||||
descriptionShort = $STR_EQUIP_DESC_HATCHET;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_CHOPWOOD;
|
||||
script = "spawn player_chopWood;";
|
||||
};
|
||||
|
||||
class ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] = {"ItemHatchet"};
|
||||
output[] = {"MeleeHatchet"};
|
||||
};
|
||||
|
||||
class Toolbelt
|
||||
{
|
||||
text = "Remove from Toolbelt";
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"ItemHatchet"};
|
||||
output[] = {"MeleeHatchet"};
|
||||
};
|
||||
};
|
||||
};
|
||||
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 ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] = {"ItemHatchet_DZE"};
|
||||
output[] = {"MeleeHatchet_DZE"};
|
||||
};
|
||||
|
||||
class Toolbelt
|
||||
{
|
||||
text = "Remove from Toolbelt";
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"ItemHatchet_DZE"};
|
||||
output[] = {"MeleeHatchet_DZE"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemHatchetBroken : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
displayName = $STR_name_ItemHatchetBroken;
|
||||
descriptionShort = $STR_desc_ItemHatchetBroken;
|
||||
|
||||
fixedTool = "ItemHatchet";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = "Fix Hatchet"; //TODO: move to stringtable
|
||||
script="spawn player_fixHatchet;";
|
||||
};
|
||||
};
|
||||
};
|
||||
64
SQF/dayz_code/Configs/CfgWeapons/Tools/Knife.hpp
Normal file
64
SQF/dayz_code/Configs/CfgWeapons/Tools/Knife.hpp
Normal file
@@ -0,0 +1,64 @@
|
||||
class ItemKnife_Base : ItemCore
|
||||
{
|
||||
scope = private;
|
||||
|
||||
model = "\dayz_equip\models\knife_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_knife_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_4;
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text="Harvest Plant";
|
||||
script="spawn player_harvestPlant;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemKnife : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4;
|
||||
sharpnessRemaining = "ItemKnife5";
|
||||
};
|
||||
|
||||
class ItemKnife5 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_A;
|
||||
sharpnessRemaining = "ItemKnife4";
|
||||
};
|
||||
|
||||
class ItemKnife4 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_B;
|
||||
sharpnessRemaining = "ItemKnife3";
|
||||
};
|
||||
|
||||
class ItemKnife3 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_C;
|
||||
sharpnessRemaining = "ItemKnife2";
|
||||
};
|
||||
|
||||
class ItemKnife2 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_D;
|
||||
sharpnessRemaining = "ItemKnife1";
|
||||
};
|
||||
|
||||
class ItemKnife1 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_E;
|
||||
sharpnessRemaining = "ItemKnifeBlunt";
|
||||
};
|
||||
|
||||
class ItemKnifeBlunt : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_CODE_DESC_4;
|
||||
};
|
||||
28
SQF/dayz_code/Configs/CfgWeapons/Tools/Machete.hpp
Normal file
28
SQF/dayz_code/Configs/CfgWeapons/Tools/Machete.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
class ItemMachete : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\machete.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_MACHETE;
|
||||
descriptionShort = $STR_EQUIP_DESC_MACHETE;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"ItemMachete"};
|
||||
output[] = {"MeleeMachete"};
|
||||
};
|
||||
|
||||
class ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] = {"ItemMachete"};
|
||||
output[] = {"MeleeMachete"};
|
||||
};
|
||||
};
|
||||
};
|
||||
20
SQF/dayz_code/Configs/CfgWeapons/Tools/Map.hpp
Normal file
20
SQF/dayz_code/Configs/CfgWeapons/Tools/Map.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
class ItemMap : ItemCore
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\map.p3d";
|
||||
};
|
||||
|
||||
class ItemMap_Debug: ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
displayname = "Debug Map";
|
||||
descriptionshort = "Debug Map - Admin use only";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\gear_picture_map_debug.paa";
|
||||
|
||||
simulation = "ItemMap";
|
||||
|
||||
class Library
|
||||
{
|
||||
libtextdesc = "Debug Map - Admin use only";
|
||||
};
|
||||
};
|
||||
98
SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp
Normal file
98
SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp
Normal file
@@ -0,0 +1,98 @@
|
||||
class ItemMatchbox_base : ItemCore
|
||||
{
|
||||
scope = private;
|
||||
model = "\dayz_equip\models\matchbox_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_matchbox_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_3;
|
||||
descriptionShort = $STR_EQUIP_DESC_3;
|
||||
};
|
||||
|
||||
class ItemMatchboxEmpty : ItemMatchbox_base
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_3_EMPTY;
|
||||
descriptionShort = $STR_EQUIP_DESC_3_EMPTY;
|
||||
};
|
||||
|
||||
//Loot Spawn Table.
|
||||
class ItemMatchbox : ItemMatchbox_base
|
||||
{
|
||||
scope = public;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
chance = 0.12;
|
||||
matches = -1;
|
||||
qtyRemaining = "Item5Matchbox";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_LIGHTFIRE;
|
||||
script = "spawn player_makeFire;";
|
||||
use[] = {"PartWoodPile"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Do not add to loot tables.
|
||||
class Item5Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_A;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
matches = 5;
|
||||
qtyRemaining = "Item4Matchbox";
|
||||
};
|
||||
};
|
||||
class Item4Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_B;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "Item3Matchbox";
|
||||
matches = 4;
|
||||
};
|
||||
};
|
||||
class Item3Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_C;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "Item2Matchbox";
|
||||
matches = 3;
|
||||
};
|
||||
};
|
||||
class Item2Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_D;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "Item1Matchbox";
|
||||
matches = 2;
|
||||
};
|
||||
};
|
||||
class Item1Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_E;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "ItemMatchboxEmpty";
|
||||
matches = 1;
|
||||
};
|
||||
};
|
||||
class ItemMatchbox_DZE: ItemCore
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_NAME_3;
|
||||
model = "\dayz_equip\models\matchbox_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_matchbox_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_3;
|
||||
};
|
||||
39
SQF/dayz_code/Configs/CfgWeapons/Tools/Pickaxe.hpp
Normal file
39
SQF/dayz_code/Configs/CfgWeapons/Tools/Pickaxe.hpp
Normal file
@@ -0,0 +1,39 @@
|
||||
class ItemPickaxe : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityweapons\models\pickaxe\pickaxe.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\models\pickaxe\pickaxe.paa";
|
||||
displayName = $STR_EQUIP_NAME_PICKAXE;
|
||||
descriptionShort = $STR_EQUIP_DESC_PICKAXE;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_MINE_STONE;
|
||||
script = "spawn player_mineStone;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemPickaxeBroken : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityweapons\models\pickaxe\pickaxe.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\models\pickaxe\pickaxe.paa";
|
||||
displayName = $STR_name_ItemPickaxeBroken;
|
||||
descriptionShort = $STR_desc_ItemPickaxeBroken;
|
||||
|
||||
fixedTool = "ItemPickaxe";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_PICKAXE;
|
||||
script = "spawn player_fixHatchet;";
|
||||
};
|
||||
};
|
||||
};
|
||||
32
SQF/dayz_code/Configs/CfgWeapons/Tools/Shovel.hpp
Normal file
32
SQF/dayz_code/Configs/CfgWeapons/Tools/Shovel.hpp
Normal file
@@ -0,0 +1,32 @@
|
||||
class ItemShovel : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\shovel.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_shovel_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_1b;
|
||||
descriptionShort = $STR_EQUIP_DESC_1b;
|
||||
|
||||
stashsmall = "StashSmall";
|
||||
stashmedium = "StashMedium";
|
||||
consume = "ItemSandbag";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_CREATE_STASH;
|
||||
script = "spawn player_createstash; r_action_count = r_action_count + 1;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemShovelBroken : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\shovel.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_shovel_ca.paa";
|
||||
displayName = "Broken Shovel";
|
||||
descriptionShort = $STR_EQUIP_DESC_1b;
|
||||
};
|
||||
52
SQF/dayz_code/Configs/CfgWeapons/Tools/Sledgehammer.hpp
Normal file
52
SQF/dayz_code/Configs/CfgWeapons/Tools/Sledgehammer.hpp
Normal file
@@ -0,0 +1,52 @@
|
||||
class ItemSledge: ItemCore
|
||||
{
|
||||
scope=2;
|
||||
displayName=$STR_EQUIP_SLEDGE;
|
||||
model="\z\addons\dayz_epoch\models\sledge_mag.p3d";
|
||||
picture="\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa";
|
||||
descriptionShort=$STR_EQUIP_SLEDGE_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text=$STR_EPOCH_PLAYER_295;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"ItemSledge"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"MeleeSledge"
|
||||
};
|
||||
};
|
||||
/* Lets take this out for now and see how it goes.
|
||||
class MineOre
|
||||
{
|
||||
text="Mine Ore";
|
||||
script="spawn player_mineOre;";
|
||||
};
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
class ItemSledgeHammerBroken : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityweapons\models\sledge_hammer\sledgehammer.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\models\sledge_hammer\sledgehammer.paa";
|
||||
displayName = $STR_name_ItemSledgeHammerBroken;
|
||||
descriptionShort = $STR_desc_ItemSledgeHammerBroken;
|
||||
|
||||
fixedTool = "ItemSledgeHammer";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_SLEDGE_HAMMER;
|
||||
script = "spawn player_fixHatchet;";
|
||||
};
|
||||
};
|
||||
};
|
||||
22
SQF/dayz_code/Configs/CfgWeapons/Tools/Toolbox.hpp
Normal file
22
SQF/dayz_code/Configs/CfgWeapons/Tools/Toolbox.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
class ItemToolbox : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
model = "\dayz_equip\models\toolbox.p3d";
|
||||
picture = "\dayz_equip\textures\equip_toolbox_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_2;
|
||||
descriptionShort = $STR_EQUIP_DESC_2;
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveNet
|
||||
{
|
||||
text="Remove Camo Net";
|
||||
script="spawn player_removeNet;";
|
||||
};
|
||||
class RemoveTankTrap
|
||||
{
|
||||
text="Remove Tank Trap";
|
||||
script="spawn player_removeTankTrap;";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Watch.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Watch.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class ItemWatch : ItemCore
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\watch.p3d";
|
||||
};
|
||||
Reference in New Issue
Block a user