Change scope and type of configs from name to numbers

This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs.  A proper config should use numbers for those entries. This is the same how arma configs are written.  The basicDefines.hpp has all the needed information stored.

Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
This commit is contained in:
A Man
2020-05-29 02:04:06 +02:00
parent 4040b784b5
commit d9b9874532
291 changed files with 3439 additions and 3069 deletions

View File

@@ -6,6 +6,7 @@ class ItemKey: ItemCore {
keyid = 0;
scope = 2;
weight = 0.01;
class ItemActions
{
class Toolbelt

View File

@@ -1,8 +1,8 @@
class Loot : Default
{
scope = public;
scope = 2;
value = 0;
type = WeaponNoSlot;
type = 0;
displayName = "Use";
canDrop = false;
muzzles[] = {this};

View File

@@ -1,14 +1,11 @@
class MeleeBaseBallBat : MeleeWeapon
{
scope = public;
scope = 2;
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"};
descriptionShort = $STR_EQUIP_DESC_BASEBALLBAT;
magazines[] = {"Bat_Swing"};
droppeditem = "MeleeBaseBallBat";
class Library
@@ -45,7 +42,7 @@ class MeleeBaseBallBat : MeleeWeapon
class MeleeBaseBallBatBarbed : MeleeWeapon
{
scope = public;
scope = 2;
model="\z\addons\dayz_communityassets\models\baseball_bat_barbed_weaponized.p3d";
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_barbed_ca.paa";
@@ -64,7 +61,7 @@ class MeleeBaseBallBatBarbed : MeleeWeapon
class MeleeBaseBallBatNails : MeleeWeapon
{
scope = public;
scope = 2;
model="\z\addons\dayz_communityassets\models\baseball_bat_nails_weaponized.p3d";
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_nails_ca.paa";

View File

@@ -1,14 +1,11 @@
class MeleeCrowbar : MeleeWeapon
{
scope = public;
scope = 2;
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"};
descriptionShort = $STR_EQUIP_DESC_CROWBAR;
magazines[] = {"Crowbar_Swing"};
droppeditem = "ItemCrowbar";
class ItemActions

View File

@@ -1,12 +1,10 @@
class MeleeFishingPole : MeleeWeapon
{
scope = public;
scope = 2;
model = "\z\addons\dayz_communityassets\models\fishing_rod_weaponized.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_fishingpole_CA.paa";
displayName = $STR_ITEM_NAME_FISHINGPOLE;
descriptionShort = $STR_ITEM_DESC_FISHINGPOLE;
descriptionShort = $STR_ITEM_DESC_FISHINGPOLE;
magazines[] = {"Fishing_Swing"};
class ItemActions

View File

@@ -1,14 +1,11 @@
class MeleeHatchet : MeleeWeapon
{
scope = public;
scope = 2;
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"};
descriptionShort = $STR_EQUIP_DESC_HATCHET;
magazines[] = {"Hatchet_Swing"};
droppeditem = "ItemHatchet";
class ItemActions

View File

@@ -1,14 +1,11 @@
class MeleeMachete: MeleeWeapon
{
scope = public;
scope = 2;
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"};
descriptionShort = $STR_EQUIP_DESC_MACHETE;
magazines[] = {"Machete_Swing"};
droppeditem = "MeleeMachete";
class ItemActions

View File

@@ -1,14 +1,11 @@
class MeleeSledge: MeleeWeapon
{
scope = public;
scope = 2;
model = "\z\addons\dayz_epoch\models\sledge_weaponized";
picture = "\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa"; // todo icon
displayName = $STR_EQUIP_NAME_SledgeHammer;
descriptionShort = $STR_EQUIP_SLEDGE_DESC;
magazines[] = {"Sledge_Swing"};
descriptionShort = $STR_EQUIP_SLEDGE_DESC;
magazines[] = {"Sledge_Swing"};
droppeditem = "ItemSledge";
class ItemActions

View File

@@ -1,6 +1,6 @@
class APS_DZ: Makarov
{
scope = public;
scope = 2;
model = "\RH_aks\RH_aps.p3d";
modelOptics = "-";
picture = "\RH_aks\inv\aps.paa";
@@ -82,7 +82,7 @@ class APS_DZ: Makarov
class APS_SD_DZ: MakarovSD
{
scope = public;
scope = 2;
model = "\RH_aks\RH_apssd.p3d";
modelOptics = "-";
picture = "\RH_aks\inv\apssd.paa";

View File

@@ -1,6 +1,6 @@
class BrowningHP_DZ: M9
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_BROWNING_HP_NAME;
descriptionShort = $STR_DZ_WPN_BROWNING_HP_DESC;
model = "\RH_de\RH_browninghp.p3d";

View File

@@ -1,6 +1,6 @@
class DesertEagle_DZ: Colt_Python_DZ
{
scope = public;
scope = 2;
model = "\z\addons\dayz_epoch_w\deagle\h4_deagle";
modelOptics = "-";
picture = "\z\addons\dayz_epoch_w\deagle\data\w_deagle_CA.paa";

View File

@@ -1,6 +1,6 @@
class MK22_DZ: M9
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_MK22_NAME;
descriptionShort = $STR_DZ_WPN_MK22_DESC;
model = "\RH_de\RH_mk22.p3d";
@@ -30,7 +30,7 @@ class MK22_2_DZ: MK22_DZ
class MK22_SD_DZ: M9SD
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_MK22SD_NAME;
descriptionShort = $STR_DZ_WPN_MK22SD_DESC;
model = "\RH_de\RH_mk22sd.p3d";

View File

@@ -1,6 +1,6 @@
class P226_DZ: M9
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_P226_NAME;
descriptionShort = $STR_DZ_WPN_P226_DESC;
model = "\RH_de\RH_p226.p3d";

View File

@@ -1,6 +1,6 @@
class P38_DZ: M9
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_P38_NAME;
descriptionShort = $STR_DZ_WPN_P38_DESC;
model = "\RH_de\RH_p38.p3d";

View File

@@ -1,6 +1,6 @@
class PPK_DZ: M9
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_PPK_NAME;
descriptionShort = $STR_DZ_WPN_PPK_DESC;
model = "\RH_de\RH_ppk.p3d";

View File

@@ -5,7 +5,7 @@ class Revolver_DZ : revolver_EP1
class Colt_Anaconda_DZ: Pistol
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_COLT_ANACONDA_NAME;
descriptionShort = $STR_DZ_WPN_COLT_ANACONDA_DESC;
model = "\RH_de\RH_anac.p3d";

View File

@@ -1,6 +1,6 @@
class Ruger_MK2_DZ: Makarov
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_RUGERMK2_NAME;
descriptionShort = $STR_DZ_WPN_RUGERMK2_DESC;
model = "\RH_de\RH_mk2.p3d";

View File

@@ -1,6 +1,6 @@
class Tokarew_TT33_DZ: Makarov
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_TT33_NAME;
descriptionShort = $STR_DZ_WPN_TT33_DESC;
model = "\RH_de\RH_tt33.p3d";

View File

@@ -1,6 +1,6 @@
class USP_DZ : Colt1911
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_USP_NAME;
descriptionShort = $STR_DZ_WPN_USP_DESC;
model = "\RH_de\RH_usp.p3d";

View File

@@ -120,7 +120,7 @@ class OpticsModes\
class ACR_DZ_BASE: M4A1 {
scope = private;
scope = 0;
ACR_FLASHLIGHT;
magazines[] = {"ACR_30Rnd_680x43"};
class Library
@@ -179,7 +179,7 @@ class ACR_DZ_BASE: M4A1 {
};
class ACR_SD_DZ_BASE: M4A1_AIM_SD_camo {
scope = private;
scope = 0;
ACR_FLASHLIGHT;
magazines[] = {"ACR_30Rnd_680x43_SD"};
fireLightDuration = 0;
@@ -241,7 +241,7 @@ class ACR_SD_DZ_BASE: M4A1_AIM_SD_camo {
//ACR Woodland
class ACR_WDL_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_ACR_NAME;
weaponInfoType = "RscWeaponZeroing";
discreteDistance[] = {100,200,300,400,500,600};
@@ -260,7 +260,7 @@ class ACR_WDL_DZ : ACR_DZ_BASE
class ACR_WDL_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_ACR_SD_NAME;
weaponInfoType = "RscWeaponZeroing";
discreteDistance[] = {100,200,300,400,500,600};
@@ -675,7 +675,7 @@ class ACR_WDL_ACOG_GL_SD_DZ : ACR_WDL_GL_SD_DZ
//ACR Woodland TWS
class ACR_WDL_TWS_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_wdl_tws.paa";
model = "\fhq_remington\acr\acr_wdl_tws.p3d";
displayName = $STR_DZ_WPN_ACR_TWS_NAME;
@@ -730,7 +730,7 @@ class ACR_WDL_TWS_GL_DZ : ACR_WDL_GL_DZ
class ACR_WDL_TWS_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_wdl_tws_sd.paa";
model = "\fhq_remington\acr\acr_wdl_tws_sd.p3d";
displayName = $STR_DZ_WPN_ACR_TWS_SD_NAME;
@@ -794,7 +794,7 @@ class ACR_WDL_TWS_GL_SD_DZ : ACR_WDL_GL_SD_DZ
//ACR Woodland NV
class ACR_WDL_NV_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_DESC;
@@ -810,7 +810,7 @@ class ACR_WDL_NV_DZ : ACR_DZ_BASE
class ACR_WDL_NV_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_SD_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_SD_DESC;
@@ -833,7 +833,7 @@ class ACR_WDL_NV_SD_DZ : ACR_SD_DZ_BASE
class ACR_WDL_NV_GL_DZ : ACR_WDL_GL_DZ
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_GL_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_DESC;
@@ -856,7 +856,7 @@ class ACR_WDL_NV_GL_DZ : ACR_WDL_GL_DZ
class ACR_WDL_NV_GL_SD_DZ : ACR_WDL_GL_SD_DZ
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_GL_SD_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_SD_DESC;
@@ -886,7 +886,7 @@ class ACR_WDL_NV_GL_SD_DZ : ACR_WDL_GL_SD_DZ
//ACR Black
class ACR_BL_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_blk_iron.paa";
model = "\fhq_remington\acr\acr_blk_iron.p3d";
displayName = $STR_DZ_WPN_ACR_NAME;
@@ -907,7 +907,7 @@ class ACR_BL_DZ : ACR_DZ_BASE
class ACR_BL_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_blk_iron_sd.paa";
model = "\fhq_remington\acr\acr_blk_iron_sd.p3d";
displayName = $STR_DZ_WPN_ACR_SD_NAME;
@@ -1338,7 +1338,7 @@ class ACR_BL_ACOG_GL_SD_DZ : ACR_BL_GL_SD_DZ
//ACR Black TWS
class ACR_BL_TWS_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_blk_tws.paa";
model = "\fhq_remington\acr\acr_blk_tws.p3d";
displayName = $STR_DZ_WPN_ACR_TWS_NAME;
@@ -1393,7 +1393,7 @@ class ACR_BL_TWS_GL_DZ : ACR_BL_GL_DZ
class ACR_BL_TWS_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_blk_tws_sd.paa";
model = "\fhq_remington\acr\acr_blk_tws_sd.p3d";
displayName = $STR_DZ_WPN_ACR_TWS_SD_NAME;
@@ -1457,7 +1457,7 @@ class ACR_BL_TWS_GL_SD_DZ : ACR_BL_GL_SD_DZ
//ACR Black NV
class ACR_BL_NV_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_DESC;
@@ -1473,7 +1473,7 @@ class ACR_BL_NV_DZ : ACR_DZ_BASE
class ACR_BL_NV_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_SD_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_SD_DESC;
@@ -1496,7 +1496,7 @@ class ACR_BL_NV_SD_DZ : ACR_SD_DZ_BASE
class ACR_BL_NV_GL_DZ : ACR_BL_GL_DZ
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_GL_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_DESC;
@@ -1519,7 +1519,7 @@ class ACR_BL_NV_GL_DZ : ACR_BL_GL_DZ
class ACR_BL_NV_GL_SD_DZ : ACR_BL_GL_SD_DZ
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_GL_SD_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_SD_DESC;
@@ -1547,7 +1547,7 @@ class ACR_BL_NV_GL_SD_DZ : ACR_BL_GL_SD_DZ
//ACR Desert
class ACR_DES_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_tan_iron.paa";
model = "\fhq_remington\acr\acr_tan_iron.p3d";
displayName = $STR_DZ_WPN_ACR_NAME;
@@ -1568,7 +1568,7 @@ class ACR_DES_DZ : ACR_DZ_BASE
class ACR_DES_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_tan_iron_sd.paa";
model = "\fhq_remington\acr\acr_tan_iron_sd.p3d";
displayName = $STR_DZ_WPN_ACR_SD_NAME;
@@ -1999,7 +1999,7 @@ class ACR_DES_ACOG_GL_SD_DZ : ACR_DES_GL_SD_DZ
//ACR Desert TWS
class ACR_DES_TWS_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_tan_tws.paa";
model = "\fhq_remington\acr\acr_tan_tws.p3d";
displayName = $STR_DZ_WPN_ACR_TWS_NAME;
@@ -2054,7 +2054,7 @@ class ACR_DES_TWS_GL_DZ : ACR_DES_GL_DZ
class ACR_DES_TWS_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_tan_tws_sd.paa";
model = "\fhq_remington\acr\acr_tan_tws_sd.p3d";
displayName = $STR_DZ_WPN_ACR_TWS_SD_NAME;
@@ -2118,7 +2118,7 @@ class ACR_DES_TWS_GL_SD_DZ : ACR_DES_GL_SD_DZ
//ACR Desert NV
class ACR_DES_NV_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_DESC;
@@ -2134,7 +2134,7 @@ class ACR_DES_NV_DZ : ACR_DZ_BASE
class ACR_DES_NV_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_SD_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_SD_DESC;
@@ -2157,7 +2157,7 @@ class ACR_DES_NV_SD_DZ : ACR_SD_DZ_BASE
class ACR_DES_NV_GL_DZ : ACR_DES_GL_DZ
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_GL_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_DESC;
@@ -2180,7 +2180,7 @@ class ACR_DES_NV_GL_DZ : ACR_DES_GL_DZ
class ACR_DES_NV_GL_SD_DZ : ACR_DES_GL_SD_DZ
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_GL_SD_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_SD_DESC;
@@ -2209,7 +2209,7 @@ class ACR_DES_NV_GL_SD_DZ : ACR_DES_GL_SD_DZ
//ACR Snow
class ACR_SNOW_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_snw_iron.paa";
model = "\fhq_remington\acr\acr_snw_iron.p3d";
displayName = $STR_DZ_WPN_ACR_NAME;
@@ -2230,7 +2230,7 @@ class ACR_SNOW_DZ : ACR_DZ_BASE
class ACR_SNOW_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_snw_iron_sd.paa";
model = "\fhq_remington\acr\acr_snw_iron_sd.p3d";
displayName = $STR_DZ_WPN_ACR_SD_NAME;
@@ -2661,7 +2661,7 @@ class ACR_SNOW_ACOG_GL_SD_DZ : ACR_SNOW_GL_SD_DZ
//ACR Snow TWS
class ACR_SNOW_TWS_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_snw_tws.paa";
model = "\fhq_remington\acr\acr_snw_tws.p3d";
displayName = $STR_DZ_WPN_ACR_TWS_NAME;
@@ -2716,7 +2716,7 @@ class ACR_SNOW_TWS_GL_DZ : ACR_SNOW_GL_DZ
class ACR_SNOW_TWS_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
picture = "\fhq_remington\acr\ui\i_acr_snw_tws_sd.paa";
model = "\fhq_remington\acr\acr_snw_tws_sd.p3d";
displayName = $STR_DZ_WPN_ACR_TWS_SD_NAME;
@@ -2780,7 +2780,7 @@ class ACR_SNOW_TWS_GL_SD_DZ : ACR_SNOW_GL_SD_DZ
//ACR Snow NV
class ACR_SNOW_NV_DZ : ACR_DZ_BASE
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_DESC;
@@ -2796,7 +2796,7 @@ class ACR_SNOW_NV_DZ : ACR_DZ_BASE
class ACR_SNOW_NV_SD_DZ : ACR_SD_DZ_BASE
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_SD_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_SD_DESC;
@@ -2819,7 +2819,7 @@ class ACR_SNOW_NV_SD_DZ : ACR_SD_DZ_BASE
class ACR_SNOW_NV_GL_DZ : ACR_SNOW_GL_DZ
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_GL_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_DESC;
@@ -2842,7 +2842,7 @@ class ACR_SNOW_NV_GL_DZ : ACR_SNOW_GL_DZ
class ACR_SNOW_NV_GL_SD_DZ : ACR_SNOW_GL_SD_DZ
{
scope = public;
scope = 2;
ACR_NV;
displayName = $STR_DZ_WPN_ACR_NV_GL_SD_NAME;
descriptionShort = $STR_DZ_WPN_ACR_NV_SD_DESC;

View File

@@ -1,6 +1,6 @@
class AN94_DZ: AK_74
{
scope = public;
scope = 2;
opticsZoomInit = 0.375;
model = "\RH_aks\RH_an94.p3d";
picture = "\RH_aks\inv\an94.paa";
@@ -111,7 +111,7 @@ class AN94_DZ: AK_74
};
class AN94_GL_DZ: AN94_DZ
{
scope = public;
scope = 2;
model = "\RH_aks\RH_an94gl.p3d";
modelOptics = "-";
optics = 1;

View File

@@ -1,7 +1,7 @@
class BAF_AS50_scoped;
class BAF_AS50_scoped_DZ : BAF_AS50_scoped {
displayname = "AS50";
type = WeaponSlotPrimary;
type = 1;
canlock = 0;
//cursor = "RifleCursor";
//cursoraim = "Foresight";

View File

@@ -2,5 +2,5 @@ class Anzio_20;
class Anzio_20_DZ : Anzio_20 {
displayName = $STR_DZ_WPN_ANZIO_NAME;
descriptionShort = $STR_DZ_WPN_ANZIO_DESC;
type = WeaponSlotPrimary;
type = 1;
};

View File

@@ -1,7 +1,7 @@
class Barrett_MRAD_Iron_DZ: m107
{
scope = public;
type = WeaponSlotPrimary;
scope = 2;
type = 1;
canlock = 0;
autoFire = 0;
displayname = $STR_DZ_WPN_BARETT_MRAD_IRON_NAME;
@@ -55,8 +55,8 @@ class Barrett_MRAD_CCO_DZ: Barrett_MRAD_Iron_DZ
class Barrett_MRAD_Sniper_DZ: m107
{
scope = public;
type = WeaponSlotPrimary;
scope = 2;
type = 1;
canlock = 0;
autoFire = 0;
magazines[] = {10Rnd_86x70_MRAD};

View File

@@ -1,6 +1,6 @@
class CTAR21_DZ: M4A1
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_CTAR21_NAME;
model = "\RH_hk416\RH_ctar21.p3d";
picture = "\RH_hk416\inv\ctar21.paa";

View File

@@ -56,7 +56,7 @@ class Crossbow_Base : Rifle
class Crossbow_DZ : Crossbow_Base
{
scope = public;
scope = 2;
model = "z\addons\community_crossbow\models\crossbow.p3d";
picture = "\z\addons\community_crossbow\icons\crossbow_icon.paa";

View File

@@ -1,6 +1,6 @@
class G3_DZ: FNFAL_DZ
{
scope = public;
scope = 2;
model = "\z\addons\dayz_epoch_w\g3\h4g3.p3d";
picture = "\z\addons\dayz_epoch_w\g3\data\w_g3_ca.paa";
displayName = $STR_DZ_WPN_G3_NAME;

View File

@@ -1,7 +1,7 @@
//Groza-9
class Groza9_DZ: AKM_DZ
{
scope = public;
scope = 2;
model = "\RH_aks\RH_oc14.p3d";
picture = "\RH_aks\inv\oc14.paa";
displayName = $STR_DZ_WPN_Groza9_NAME;
@@ -150,7 +150,7 @@ class Groza9_Sniper_SD_DZ: Groza9_SD_DZ
//Groza-1
class Groza1_DZ: AKM_DZ
{
scope = public;
scope = 2;
model = "\RH_aks\RH_gr1.p3d";
picture = "\RH_aks\inv\gr1.paa";
displayName = $STR_DZ_WPN_Groza1_NAME;

View File

@@ -1,6 +1,6 @@
class HK53A3_DZ: M4A1
{
scope = public;
scope = 2;
model = "\RH_smg\RH_HK53.p3d";
displayName = $STR_DZ_WPN_HK53A3_NAME;
UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";

View File

@@ -1,6 +1,6 @@
class KAC_PDW_DZ: Rifle
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_KACPDW_NAME;
descriptionShort = $STR_DZ_WPN_KACPDW_DESC;
model = "\RH_pdw\RH_pdw.p3d";

View File

@@ -1,4 +1,4 @@
class ksvk;
class KSVK_DZE:ksvk {
type = WeaponSlotPrimary;
type = 1;
};

View File

@@ -4,7 +4,7 @@ class L110A1_CCO_DZ : BAF_L110A1_Aim
picture = "\z\addons\dayz_communityweapons\l110a1\data\w_l110a1_cco_ca.paa";
displayName = $STR_DZ_WPN_L110A1_CCO_NAME;
irDistance = 0;
type = WeaponSlotPrimary;
type = 1;
magazines[] =
{
200Rnd_556x45_L110A1,
@@ -64,7 +64,7 @@ class L110A1_DZ : L110A1_CCO_DZ
};
class BAF_L110A1_Aim_DZE: BAF_L110A1_Aim { //Slightly different scope from L110A1_CCO_DZ, otherwise identical
type = WeaponSlotPrimary;
type = 1;
magazines[] =
{
200Rnd_556x45_L110A1,

View File

@@ -2,8 +2,8 @@ class m107;
class m107_DZ: m107 {
displayname = $STR_DZ_WPN_M107_NAME;
descriptionShort = $STR_DZ_WPN_M107_DESC;
scope = public;
type = WeaponSlotPrimary;
scope = 2;
type = 1;
canlock = 0;
magazines[] = {"10Rnd_127x99_m107"};
begin1[] = {"ca\sounds\weapons\rifles\m107",2.51189,1,2000};

View File

@@ -45,7 +45,7 @@ class M16A2_Rusty_DZ : M16A2 {
scale[] = {1, 1, 0.5};
brightness = 0.1;
};
scope = public;
scope = 2;
picture = "\ice_apo_weapons\Data\m16_ca.paa";
model = "\ice_apo_weapons\M16_proxy";
displayName = $STR_DZE_WPN_M16RUSTY_NAME;

View File

@@ -38,7 +38,7 @@ class OpticsModes\
class M1A_SC16_BL_DZ: M14_EP1
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_M1ASC16_NAME;
descriptionShort = $STR_DZ_WPN_M1ASC16_DESC;
reloadMagazineSound[] = {"\RH_m14\Sound\M14_Reload.wss",0.056234,1,20};
@@ -187,7 +187,7 @@ class M1A_SC16_BL_Sniper_DZ: M1A_SC16_BL_DZ
class M1A_SC16_TAN_DZ: M14_EP1
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_M1ASC16_NAME;
descriptionShort = $STR_DZ_WPN_M1ASC16_DESC;
reloadMagazineSound[] = {"\RH_m14\Sound\M14_Reload.wss",0.056234,1,20};
@@ -338,7 +338,7 @@ class M1A_SC16_TAN_Sniper_DZ: M1A_SC16_TAN_DZ
class M1A_SC2_BL_DZ: M14_EP1
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_M1ASC2_NAME;
descriptionShort = $STR_DZ_WPN_M1ASC2_DESC;
reloadMagazineSound[] = {"\RH_m14\Sound\M14_Reload.wss",0.056234,1,20};

View File

@@ -1,7 +1,7 @@
class M200_CheyTac_DZ: m107
{
scope = public;
type = WeaponSlotPrimary;
scope = 2;
type = 1;
canlock = 0;
displayname = $STR_DZ_WPN_M200_CHEYTAC_NAME;
descriptionShort = $STR_DZ_WPN_M200_CHEYTAC_DESC;

View File

@@ -1,6 +1,6 @@
class M21_DZ: M14_EP1
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_M21_NAME;
descriptionShort = $STR_DZ_WPN_M21_DESC;
model = "\RH_m14\RH_m21.p3d";

View File

@@ -3,7 +3,7 @@ class M240_DZ : M240
picture = "\z\addons\dayz_communityweapons\m240\data\w_m240_ca.paa";
displayName = $STR_DZ_WPN_M240_NAME;
type = WeaponSlotPrimary;
type = 1;
magazines[] = {100Rnd_762x51_M240};
@@ -51,5 +51,5 @@ class M240_Holo_DZ : M240_CCO_DZ
};
class m240_scoped_EP1_DZE:m240_scoped_EP1 { //has m145 scope
type = WeaponSlotPrimary;
type = 1;
};

View File

@@ -4,7 +4,7 @@ class M249_CCO_DZ : M249
picture = "\z\addons\dayz_communityweapons\m249\data\w_m249_cco_ca.paa";
displayName = $STR_DZ_WPN_M249_CCO_NAME;
type = WeaponSlotPrimary;
type = 1;
magazines[] =
{
@@ -67,7 +67,7 @@ class M249_Holo_DZ : M249_CCO_DZ
class M249_EP1;
class M249_EP1_DZ: M249_EP1 { //Iron sight with shorter stock (slightly different look from M249_DZ) can also fire MG36 mags
type = WeaponSlotPrimary;
type = 1;
magazines[] =
{
@@ -84,7 +84,7 @@ class M249_EP1_DZ: M249_EP1 { //Iron sight with shorter stock (slightly differen
class M249_m145_EP1;
class M249_m145_EP1_DZE: M249_m145_EP1 {
type = WeaponSlotPrimary;
type = 1;
magazines[] =
{

View File

@@ -1,6 +1,6 @@
class M31_DZ: MP5A5
{
scope = public;
scope = 2;
model = "z\addons\dayz_epoch_w\suomi\suomikp31.p3d";
displayName = $STR_DZ_WPN_M31_NAME;
descriptionShort = $STR_DZ_WPN_M31_DESC;

View File

@@ -1564,7 +1564,7 @@ class M4A1_GL_ACOG_SD_MFL_DZ : M4A1_GL_SD_MFL_DZ
class M4A1_Rusty_DZ : M4A1 {
M4A1_FLASHLIGHT;
scope = public;
scope = 2;
model = "\ice_apo_weapons\M4_ironsight";
picture = "\ice_apo_weapons\Data\m4a1_ca.paa";
displayName = $STR_DZE_WPN_M4RUSTY_NAME;

View File

@@ -1,4 +1,4 @@
class M60A4_EP1;
class M60A4_EP1_DZE : M60A4_EP1 {
type = WeaponSlotPrimary;
type = 1;
};

View File

@@ -1,6 +1,6 @@
class MAT49_DZ: MP5A5
{
scope = public;
scope = 2;
model = "\z\addons\dayz_epoch_w\mat49\h4_mat49";
displayName = $STR_DZ_WPN_MAT49_NAME;
descriptionShort = $STR_DZ_WPN_MAT49_DESC;

View File

@@ -1,6 +1,6 @@
class MR43_Base : Rifle
{
scope = public;
scope = 2;
descriptionShort = $STR_DZ_WPN_MR43_DESC;

View File

@@ -1,6 +1,6 @@
class MSR_BASE: Rifle
{
scope = private;
scope = 0;
irLaserPos = "laser pos";
irLaserEnd = "laser dir";
irDistance = 100;
@@ -53,7 +53,7 @@ class MSR_BASE: Rifle
};
class MSR_SD_BASE: Rifle
{
scope = private;
scope = 0;
irLaserPos = "laser pos";
irLaserEnd = "laser dir";
irDistance = 100;
@@ -109,7 +109,7 @@ class MSR_SD_BASE: Rifle
class MSR_DZ: MSR_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_MSR_NAME;
descriptionShort = $STR_DZ_WPN_MSR_DESC;
model = "\fhq_remington\MSR\MSR.p3d";
@@ -118,7 +118,7 @@ class MSR_DZ: MSR_BASE
class MSR_SD_DZ: MSR_SD_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_MSRSD_NAME;
descriptionShort = $STR_DZ_WPN_MSR_SD_DESC;
model = "\fhq_remington\MSR\MSR_sd.p3d";
@@ -127,7 +127,7 @@ class MSR_SD_DZ: MSR_SD_BASE
class MSR_NV_DZ: MSR_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_MSR_NV_NAME;
descriptionShort = $STR_DZ_WPN_MSR_NV_DESC;
model = "\fhq_remington\MSR\MSR_nv.p3d";
@@ -137,7 +137,7 @@ class MSR_NV_DZ: MSR_BASE
class MSR_NV_SD_DZ: MSR_SD_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_MSRSD_NV_NAME;
descriptionShort = $STR_DZ_WPN_MSR_SD_NV_DESC;
model = "\fhq_remington\MSR\MSR_nv_sd.p3d";
@@ -147,7 +147,7 @@ class MSR_NV_SD_DZ: MSR_SD_BASE
class MSR_TWS_DZ: MSR_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_MSR_TWS_NAME;
descriptionShort = $STR_DZ_WPN_MSR_TWS_DESC;
model = "\fhq_remington\MSR\MSR_tws.p3d";
@@ -184,7 +184,7 @@ class MSR_TWS_DZ: MSR_BASE
class MSR_TWS_SD_DZ: MSR_SD_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_MSRSD_TWS_NAME;
descriptionShort = $STR_DZ_WPN_MSR_SD_TWS_DESC;
model = "\fhq_remington\MSR\MSR_tws_sd.p3d";

View File

@@ -4,7 +4,7 @@ class Mk48_CCO_DZ : Mk_48
picture = "\z\addons\dayz_communityweapons\mk48\data\w_mk48_cco_camo_ca.paa";
displayName = $STR_DZ_WPN_MK48_CCO_NAME;
type = WeaponSlotPrimary;
type = 1;
magazines[] = {100Rnd_762x51_M240};
@@ -61,7 +61,7 @@ class Mk48_Holo_DZ : Mk48_CCO_DZ
class Mk_48_DES_EP1;
class Mk48_DES_CCO_DZ: Mk_48_DES_EP1 {
displayName = $STR_DZ_WPN_MK48_CCO_NAME;
type = WeaponSlotPrimary;
type = 1;
weaponInfoType = "RscWeaponZeroing";
discreteDistance[] = {300,400,500,600,700,800,900,1000};
discreteDistanceInitIndex = 0;

View File

@@ -53,7 +53,7 @@ class Mosin_Base : Rifle
class Mosin_DZ : Mosin_Base
{
scope = public;
scope = 2;
model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_animated";
picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891.paa";
@@ -220,7 +220,7 @@ class Mosin_Belt_MFL_DZ : Mosin_MFL_DZ
class Mosin_PU_DZ : Mosin_Base
{
scope = public;
scope = 2;
model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_scoped_animated";
picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891S.paa";

View File

@@ -1,6 +1,6 @@
class PKM_DZ : PK //Iron sight PKM
{
type = WeaponSlotPrimary;
type = 1;
model = "z\addons\dayz_communityweapons\pkm\pkm.p3d";
displayName = $STR_DZ_WPN_PKM_NAME;
@@ -19,6 +19,7 @@ class PKM_DZ : PK //Iron sight PKM
};
};
class Pecheneg_DZ: Pecheneg { //PKP with long range scope
type = WeaponSlotPrimary;
class Pecheneg_DZ: Pecheneg //PKP with long range scope
{
type = 1;
};

View File

@@ -38,7 +38,7 @@ class OpticsModes\
class RK95_DZ: AKM_DZ
{
scope = public;
scope = 2;
opticsZoomInit = 0.375;
model = "\RH_aks\RH_rk95.p3d";
picture = "\RH_aks\inv\rk95.paa";

View File

@@ -1,6 +1,6 @@
class RSASS_BASE: DMR
{
scope = private;
scope = 0;
htMin = 1;
htMax = 420;
afMax = 0;
@@ -114,7 +114,7 @@ class RSASS_SD_BASE: RSASS_BASE
class RSASS_DZ: RSASS_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_RSASS_NAME;
descriptionShort = $STR_DZ_WPN_RSASS_DESC;
model = "\fhq_remington\rsass\rsass.p3d";
@@ -128,7 +128,7 @@ class RSASS_DZ: RSASS_BASE
class RSASS_TWS_DZ: RSASS_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_RSASS_TWS_NAME;
descriptionShort = $STR_DZ_WPN_RSASS_TWS_DESC;
model = "\fhq_remington\rsass\rsass_tws.p3d";
@@ -184,7 +184,7 @@ class RSASS_TWS_DZ: RSASS_BASE
};
class RSASS_SD_DZ: RSASS_SD_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_RSASSSD_NAME;
descriptionShort = $STR_DZ_WPN_RSASS_SD_DESC;
model = "\fhq_remington\rsass\rsass_sd.p3d";
@@ -198,7 +198,7 @@ class RSASS_SD_DZ: RSASS_SD_BASE
class RSASS_TWS_SD_DZ: RSASS_SD_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_RSASSSD_TWS_NAME;
descriptionShort = $STR_DZ_WPN_RSASS_SD_TWS_DESC;
model = "\fhq_remington\rsass\rsass_tws_sd.p3d";

View File

@@ -22,7 +22,7 @@
class Remington870_Base : Rifle
{
scope = public;
scope = 2;
descriptionShort = $STR_DZ_WPN_R870_DESC;

View File

@@ -1,6 +1,6 @@
class Sten_MK_DZ: MP5A5
{
scope = public;
scope = 2;
model = "z\addons\dayz_epoch_w\sten\h4_sten.p3d";
displayName = $STR_DZ_WPN_STEN_MK_NAME;
picture = "\z\addons\dayz_epoch_w\sten\data\W_sten_CA.paa";

View File

@@ -21,7 +21,7 @@ class OpticsModes\
class SteyrAug_A3_base: Rifle
{
scope = private;
scope = 0;
displayName = "";
descriptionShort = $STR_DZ_WPN_AUGA3_DESC;
model = "\MIDF_Weapons\Aug_a3\Aug_a3.p3d";
@@ -72,7 +72,7 @@ class SteyrAug_A3_base: Rifle
};
class SteyrAug_A3_Green_DZ: SteyrAug_A3_base {
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_AUGA3_NAME;
modelOptics = "\MIDF_Weapons\optic\leupold_cqt.p3d";
picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_green.paa";
@@ -143,7 +143,7 @@ class SteyrAug_A3_ACOG_Blue_DZ: SteyrAug_A3_ACOG_Green_DZ {
};
class SteyrAug_A3_Holo_Green_DZ: SteyrAug_A3_base {
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_AUGA3_HOLO_NAME;
model = "\MIDF_Weapons\Aug_a3\Aug_a3_eotech.p3d";
picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_eotech_green.paa";
@@ -173,7 +173,7 @@ class SteyrAug_A3_Holo_Blue_DZ: SteyrAug_A3_Holo_Green_DZ {
};
class SteyrAug_A3_GL_Green_DZ: SteyrAug_A3_Green_DZ {
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_AUGA3_GL_NAME;
picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_gl_green.paa";
model = "\MIDF_Weapons\Aug_a3\aug_a3_gl.p3d";
@@ -264,7 +264,7 @@ class SteyrAug_A3_ACOG_GL_Blue_DZ: SteyrAug_A3_ACOG_GL_Green_DZ {
};
class SteyrAug_A3_Holo_GL_Green_DZ: SteyrAug_A3_base {
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_AUGA3_HOLO_GL_NAME;
picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_eotech_gl_green.paa";
model = "\MIDF_Weapons\Aug_a3\aug_a3_eotech_gl.p3d";

View File

@@ -1,6 +1,6 @@
class USAS12_DZ: Saiga12K
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_USAS12_NAME;
descriptionShort = $STR_DZ_WPN_USAS12_DESC;
model = "\z\addons\dayz_epoch_w\usas12\h4_usas12.p3d";

View File

@@ -1,7 +1,7 @@
class WA2000_DZ: m107
{
scope = public;
type = WeaponSlotPrimary;
scope = 2;
type = 1;
canlock = 0;
displayname = $STR_DZ_WPN_WA2000_NAME;
descriptionShort = $STR_DZ_WPN_WA2000_DESC;

View File

@@ -1,6 +1,6 @@
class Winchester1866_Base : Rifle
{
scope = public;
scope = 2;
descriptionShort = $STR_DZ_WPN_W1866_DESC;
magazines[] = {15Rnd_W1866_Slug};

View File

@@ -1,6 +1,6 @@
class XM2010_BASE: Rifle
{
scope = private;
scope = 0;
irLaserPos = "laser pos";
irLaserEnd = "laser dir";
irDistance = 100;
@@ -53,7 +53,7 @@ class XM2010_BASE: Rifle
class XM2010_SD_BASE: Rifle
{
scope = private;
scope = 0;
irLaserPos = "laser pos";
irLaserEnd = "laser dir";
irDistance = 100;
@@ -108,7 +108,7 @@ class XM2010_SD_BASE: Rifle
class XM2010_DZ: XM2010_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_XM2010_NAME;
descriptionShort = $STR_DZ_WPN_XM2010_DESC;
model = "\fhq_remington\XM2010\XM2010.p3d";
@@ -116,7 +116,7 @@ class XM2010_DZ: XM2010_BASE
};
class XM2010_SD_DZ: XM2010_SD_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_XM2010SD_NAME;
descriptionShort = $STR_DZ_WPN_XM2010_SD_DESC;
model = "\fhq_remington\XM2010\XM2010_sd.p3d";
@@ -124,7 +124,7 @@ class XM2010_SD_DZ: XM2010_SD_BASE
};
class XM2010_NV_DZ: XM2010_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_XM2010_NV_NAME;
descriptionShort = $STR_DZ_WPN_XM2010_NV_DESC;
model = "\fhq_remington\XM2010\XM2010_nv.p3d";
@@ -133,7 +133,7 @@ class XM2010_NV_DZ: XM2010_BASE
};
class XM2010_NV_SD_DZ: XM2010_SD_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_XM2010SD_NV_NAME;
descriptionShort = $STR_DZ_WPN_XM2010_SD_NV_DESC;
model = "\fhq_remington\XM2010\XM2010_nv_sd.p3d";
@@ -142,7 +142,7 @@ class XM2010_NV_SD_DZ: XM2010_SD_BASE
};
class XM2010_TWS_DZ: XM2010_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_XM2010_TWS_NAME;
descriptionShort = $STR_DZ_WPN_XM2010_TWS_DESC;
model = "\fhq_remington\XM2010\XM2010_tws.p3d";
@@ -178,7 +178,7 @@ class XM2010_TWS_DZ: XM2010_BASE
};
class XM2010_TWS_SD_DZ: XM2010_SD_BASE
{
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_XM2010SD_TWS_NAME;
descriptionShort = $STR_DZ_WPN_XM2010_SD_TWS_DESC;
model = "\fhq_remington\XM2010\XM2010_tws_sd.p3d";

View File

@@ -1,6 +1,6 @@
class m8_carbine;
class XM8_DZ: m8_carbine {
scope = public;
scope = 2;
displayName = $STR_DZ_WPN_XM8_CARBINE_NAME;
descriptionShort = $STR_DSS_XM8;
model = "\RH_mgswp\RH_xm8.p3d";

View File

@@ -1,11 +1,14 @@
class ItemAPSI_DZE : ItemCore {
scope = public;
class ItemAPSI_DZE : ItemCore
{
scope = 2;
displayName = $STR_EQUIP_APSI;
picture = "\dayz_epoch_c\icons\tools\ItemAPSI.paa";
descriptionShort = $STR_EQUIP_APSI_DESC;
};
class ItemAPSIBroken_DZE : ItemAPSI_DZE {
class ItemAPSIBroken_DZE : ItemCore
{
scope = 2;
displayName = $STR_EQUIP_APSI_BROKEN;
descriptionShort = $STR_EQUIP_APSI_BROKEN_DESC;
picture = "\dayz_epoch_c\icons\tools\ItemAPSI.paa";

View File

@@ -1,115 +1,87 @@
class ChainSaw: Rifle
class ChainSaw: Rifle
{
scope = 2;
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 = $STR_EPOCH_CHAINSAW;
cursor = "";
cursoraim = "\ca\Weapons\Data\clear_empty";
modes[] = {"manual"};
handAnim[]=
{
scope = public;
//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 = $STR_EPOCH_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 = $STR_EPOCH_CHAINSAW_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 = $STR_EPOCH_DESC_CHAINSAW;
};
descriptionShort = $STR_EPOCH_DESC_CHAINSAW;
"OFP2_ManSkeleton",
"\z\addons\dayz_code\anim\saw_idle.rtm"
};
class ChainSawB : ChainSaw {
model = "\z\addons\dayz_epoch\models\chainsaw_B.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawB_CA.paa";
descriptionShort = $STR_EPOCH_DESC_CHAINSAW_BLUE;
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};
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 = $STR_EPOCH_CHAINSAW_GAS;
};
class ChainSawG : ChainSaw {
model = "\z\addons\dayz_epoch\models\chainsaw_G.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawG_CA.paa";
descriptionShort = $STR_EPOCH_DESC_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 = $STR_EPOCH_DESC_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 = $STR_EPOCH_DESC_CHAINSAW_RED;
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 = $STR_EPOCH_DESC_CHAINSAW;
};
descriptionShort = $STR_EPOCH_DESC_CHAINSAW;
};
class ChainSawB : ChainSaw {
model = "\z\addons\dayz_epoch\models\chainsaw_B.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawB_CA.paa";
descriptionShort = $STR_EPOCH_DESC_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 = $STR_EPOCH_DESC_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 = $STR_EPOCH_DESC_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 = $STR_EPOCH_DESC_CHAINSAW_RED;
};

View File

@@ -1,7 +1,6 @@
class ItemCrowbar : ItemCore
{
scope = public;
scope = 2;
model = "\dayz_equip\models\crowbar.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_crowbar_CA.paa";
displayName = $STR_EQUIP_NAME_CROWBAR;
@@ -41,8 +40,7 @@ class ItemCrowbar : ItemCore
class ItemCrowbarBent : ItemCore
{
scope = public;
scope = 2;
model = "\dayz_equip\models\crowbar.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_crowbar_CA.paa";
displayName = $STR_EQUIP_NAME_CROWBARBENT;

View File

@@ -1,19 +1,15 @@
class ItemEtool : ItemCore
{
scope = public;
scope = 2;
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";
descriptionShort = $STR_EQUIP_DESC_1;
};
class ItemEtoolBroken : ItemCore
{
scope = public;
scope = 2;
model = "\dayz_equip\models\etool.p3d";
picture = "\dayz_equip\textures\equip_etool_ca.paa";
displayName = $STR_EQUIP_NAME_1_BROKEN;

View File

@@ -1,7 +1,6 @@
class ItemFishingPole : ItemCore
{
scope = public;
scope = 2;
model = "\z\addons\dayz_communityassets\models\fishing_rod_loot_item.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_fishingpole_CA.paa";
displayName = $STR_ITEM_NAME_FISHINGPOLE;
@@ -39,9 +38,11 @@ class ItemFishingPole : ItemCore
};
};
class ItemFishingPoleBroken : ItemFishingPole
class ItemFishingPoleBroken : ItemCore
{
scope = 2;
model = "\z\addons\dayz_communityassets\models\fishing_rod_loot_item.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_fishingpole_CA.paa";
displayName = $STR_ITEM_NAME_FISHINGPOLEBROKEN;
descriptionShort = $STR_ITEM_DESC_FISHINGPOLE_BROKEN;
class ItemActions {};
};

View File

@@ -1,7 +1,6 @@
class ItemFlashlight : ItemCore
{
scope = public;
scope = 2;
model = "\dayz_equip\models\flashlight.p3d";
picture = "\dayz_equip\textures\equip_flashlight_ca.paa";
displayName = $STR_EQUIP_NAME_5;
@@ -19,17 +18,18 @@ class ItemFlashlight : ItemCore
};
};
class ItemFlashlightBroken : ItemFlashlight
class ItemFlashlightBroken : ItemCore
{
scope = 2;
model = "\dayz_equip\models\flashlight.p3d";
picture = "\dayz_equip\textures\equip_flashlight_ca.paa";
displayName = $STR_EQUIP_NAME_5_BROKEN;
descriptionShort = $STR_EQUIP_DESC_5_BROKEN;
class ItemActions {};
};
class MeleeFlashlight : Pistol
{
scope = public;
scope = 2;
model = "\dayz_equip\models\flashlight.p3d";
picture = "\dayz_equip\textures\equip_flashlight_ca.paa";
displayName = $STR_EQUIP_NAME_5;
@@ -80,11 +80,13 @@ class ItemFlashlightRed : ItemFlashlight
};
};
class ItemFlashlightRedBroken : ItemFlashlightRed
class ItemFlashlightRedBroken : ItemCore
{
scope = 2;
model = "\dayz_equip\models\flashlight_mil.p3d";
picture = "\dayz_equip\textures\equip_flashlight_mil_ca.paa";
displayName = $STR_EQUIP_NAME_6_BROKEN;
descriptionShort = $STR_EQUIP_DESC_6_BROKEN;
class ItemActions {};
};
class MeleeFlashlightRed : MeleeFlashlight

View File

@@ -3,8 +3,9 @@ class ItemGPS : ItemCore
model = "z\addons\dayz_communityassets\models\gps.p3d";
};
class ItemGPSBroken_DZE : ItemCore {
scope = public;
class ItemGPSBroken_DZE : ItemCore
{
scope = 2;
displayName = $STR_EQUIP_BROKEN_GPS;
model = "z\addons\dayz_communityassets\models\gps.p3d";
picture = "\dayz_epoch_c\icons\tools\ItemGPSBroken.paa";

View File

@@ -1,7 +1,6 @@
class ItemHatchet : ItemCore
{
scope = public;
scope = 2;
model = "\dayz_equip\models\hatchet.p3d";
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
displayName = $STR_EQUIP_NAME_HATCHET;
@@ -29,12 +28,10 @@ class ItemHatchet : ItemCore
class ItemHatchetBroken : ItemCore
{
scope = public;
scope = 2;
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
displayName = $STR_name_ItemHatchetBroken;
descriptionShort = $STR_desc_ItemHatchetBroken;
descriptionShort = $STR_desc_ItemHatchetBroken;
fixedTool = "ItemHatchet";
class ItemActions

View File

@@ -1,12 +1,17 @@
class ItemKeyKit: ItemCore {
scope = public;
class ItemKeyKit: ItemCore
{
scope = 2;
displayname = $STR_EQUIP_KEYKIT;
model="\z\addons\dayz_epoch\models\keykit.p3d";
descriptionShort=$STR_EQUIP_KEYKIT_DESC;
picture="\z\addons\dayz_epoch\pictures\equip_keykit_ca.paa";
model = "\z\addons\dayz_epoch\models\keykit.p3d";
descriptionShort = $STR_EQUIP_KEYKIT_DESC;
picture = "\z\addons\dayz_epoch\pictures\equip_keykit_ca.paa";
};
class ItemKeyKitBroken: ItemKeyKit {
class ItemKeyKitBroken: ItemCore
{
scope = 2;
displayname = $STR_EQUIP_KEYKIT_BROKEN;
descriptionShort = $STR_EQUIP_KEYKIT_BROKEN_DESC;
model = "\z\addons\dayz_epoch\models\keykit.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_keykit_ca.paa";
};

View File

@@ -1,10 +1,10 @@
class ItemKnife_Base : ItemCore
{
scope = private;
scope = 0;
model = "\dayz_equip\models\knife_gear.p3d";
picture = "\dayz_equip\textures\equip_knife_ca.paa";
displayName = $STR_EQUIP_NAME_4;
class ItemActions
{
class Use
@@ -17,7 +17,7 @@ class ItemKnife_Base : ItemCore
class ItemKnife : ItemKnife_Base
{
scope = public;
scope = 2;
model = "\dayz_equip\models\knife_gear.p3d"; // Some mods override this. We leave this here just to be sure.
picture = "\dayz_equip\textures\equip_knife_ca.paa";
descriptionShort = $STR_EQUIP_DESC_4;
@@ -26,42 +26,42 @@ class ItemKnife : ItemKnife_Base
class ItemKnife5 : ItemKnife_Base
{
scope = public;
scope = 2;
descriptionShort = $STR_EQUIP_DESC_4_A;
sharpnessRemaining = "ItemKnife4";
};
class ItemKnife4 : ItemKnife_Base
{
scope = public;
scope = 2;
descriptionShort = $STR_EQUIP_DESC_4_B;
sharpnessRemaining = "ItemKnife3";
};
class ItemKnife3 : ItemKnife_Base
{
scope = public;
scope = 2;
descriptionShort = $STR_EQUIP_DESC_4_C;
sharpnessRemaining = "ItemKnife2";
};
class ItemKnife2 : ItemKnife_Base
{
scope = public;
scope = 2;
descriptionShort = $STR_EQUIP_DESC_4_D;
sharpnessRemaining = "ItemKnife1";
};
class ItemKnife1 : ItemKnife_Base
{
scope = public;
scope = 2;
descriptionShort = $STR_EQUIP_DESC_4_E;
sharpnessRemaining = "ItemKnifeBlunt";
};
class ItemKnifeBlunt : ItemKnife_Base
{
scope = public;
scope = 2;
descriptionShort = $STR_EQUIP_CODE_DESC_4;
sharpnessRemaining = "ItemKnifeBlunt";
class ItemActions

View File

@@ -1,7 +1,6 @@
class ItemMachete : ItemCore
{
scope = public;
scope = 2;
model = "\z\addons\dayz_communityassets\models\machete.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
displayName = $STR_EQUIP_NAME_MACHETE;
@@ -27,9 +26,11 @@ class ItemMachete : ItemCore
};
};
class ItemMacheteBroken : ItemMachete
class ItemMacheteBroken : ItemCore
{
scope = 2;
model = "\z\addons\dayz_communityassets\models\machete.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
displayName = $STR_EQUIP_NAME_MACHETE_BROKEN;
descriptionShort = $STR_EQUIP_DESC_MACHETE_BROKEN;
class ItemActions {};
};

View File

@@ -5,12 +5,10 @@ class ItemMap : ItemCore
class ItemMap_Debug: ItemCore
{
scope = public;
scope = 2;
displayname = "Debug Map";
descriptionshort = "Debug Map - Admin use only";
picture = "\z\addons\dayz_communityassets\pictures\gear_picture_map_debug.paa";
picture = "\z\addons\dayz_communityassets\pictures\gear_picture_map_debug.paa";
simulation = "ItemMap";
class Library

View File

@@ -1,35 +1,47 @@
class ItemPilotmask_DZE : ItemCore {
scope = public;
class ItemPilotmask_DZE : ItemCore
{
scope = 2;
picture = "\dayz_epoch_c\icons\tools\ItemPilotmask.paa";
displayName = $STR_EQUIP_PILOT_MASK;
descriptionShort = $STR_EQUIP_PILOT_MASK_DESC;
};
class ItemPilotmaskBroken_DZE : ItemPilotmask_DZE {
class ItemPilotmaskBroken_DZE : ItemCore
{
scope = 2;
picture = "\dayz_epoch_c\icons\tools\ItemPilotmask.paa";
displayName = $STR_EQUIP_PILOT_MASK_BROKEN;
descriptionShort = $STR_EQUIP_PILOT_MASK_BROKEN_DESC;
};
class ItemGasmask1_DZE : ItemCore {
scope = public;
class ItemGasmask1_DZE : ItemCore
{
scope = 2;
picture = "\dayz_epoch_c\icons\tools\ItemGasmask1.paa";
displayName = $STR_EQUIP_GAS_MASK1;
descriptionShort = $STR_EQUIP_GAS_MASK1_DESC;
};
class ItemGasmask1Broken_DZE : ItemGasmask1_DZE {
class ItemGasmask1Broken_DZE : ItemCore
{
scope = 2;
picture = "\dayz_epoch_c\icons\tools\ItemGasmask1.paa";
displayName = $STR_EQUIP_GAS_MASK1_BROKEN;
descriptionShort = $STR_EQUIP_GAS_MASK1_BROKEN_DESC;
};
class ItemGasmask2_DZE : ItemCore {
scope = public;
class ItemGasmask2_DZE : ItemCore
{
scope = 2;
picture = "\dayz_epoch_c\icons\tools\ItemGasmask2.paa";
displayName = $STR_EQUIP_GAS_MASK2;
descriptionShort = $STR_EQUIP_GAS_MASK2_DESC;
};
class ItemGasmask2Broken_DZE : ItemGasmask2_DZE {
class ItemGasmask2Broken_DZE : ItemCore
{
scope = 2;
picture = "\dayz_epoch_c\icons\tools\ItemGasmask2.paa";
displayName = $STR_EQUIP_GAS_MASK2_BROKEN;
descriptionShort = $STR_EQUIP_GAS_MASK2_BROKEN_DESC;
};

View File

@@ -1,6 +1,6 @@
class ItemMatchbox_base : ItemCore
{
scope = private;
scope = 0;
model = "\dayz_equip\models\matchbox_gear.p3d";
picture = "\dayz_equip\textures\equip_matchbox_ca.paa";
displayName = $STR_EQUIP_NAME_3;
@@ -9,7 +9,7 @@ class ItemMatchbox_base : ItemCore
class ItemMatchboxEmpty : ItemMatchbox_base
{
scope = public;
scope = 2;
displayName = $STR_EQUIP_NAME_3_EMPTY;
descriptionShort = $STR_EQUIP_DESC_3_EMPTY;
};
@@ -17,7 +17,7 @@ class ItemMatchboxEmpty : ItemMatchbox_base
//Loot Spawn Table.
class ItemMatchbox : ItemMatchbox_base
{
scope = public;
scope = 2;
model = "\dayz_equip\models\matchbox_gear.p3d"; // Some mods override this. We leave this here just to be sure.
picture = "\dayz_equip\textures\equip_matchbox_ca.paa";
matches = -1;
@@ -25,7 +25,8 @@ class ItemMatchbox : ItemMatchbox_base
class ItemActions
{
class Combine {
class Combine
{
text = $STR_ANTIBIOTICS_COMBINE;
script = "spawn player_combineMatches;";
};

View File

@@ -6,8 +6,9 @@ class NVGoggles_DZE: NVGoggles
descriptionShort = "Full Screen Night Vision Goggles";
};
class ItemNVGBroken_DZE : ItemCore {
scope = public;
class ItemNVGBroken_DZE : ItemCore
{
scope = 2;
displayName = $STR_EQUIP_BROKEN_NV;
model = "\dayz_epoch_c\items\nvg\nvg_dzn.p3d";
picture = "\dayz_epoch_c\icons\tools\ItemNVGBroken.paa";

View File

@@ -1,7 +1,6 @@
class ItemPickaxe : ItemCore
{
scope = public;
scope = 2;
model = "z\addons\dayz_communityweapons\models\pickaxe\pickaxe.p3d";
picture = "\z\addons\dayz_communityweapons\models\pickaxe\pickaxe.paa";
displayName = $STR_EQUIP_NAME_PICKAXE;
@@ -19,13 +18,11 @@ class ItemPickaxe : ItemCore
class ItemPickaxeBroken : ItemCore
{
scope = public;
scope = 2;
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;
descriptionShort = $STR_desc_ItemPickaxeBroken;
fixedTool = "ItemPickaxe";
class ItemActions

View File

@@ -11,8 +11,9 @@ class ItemRadio : ItemCore
};
};
class ItemRadioBroken_DZE : ItemCore {
scope = public;
class ItemRadioBroken_DZE : ItemCore
{
scope = 2;
displayName = $STR_EQUIP_BROKEN_RADIO;
model = "\nst\ns_dayz\items\radio\radio_dzn.p3d";
picture = "\dayz_epoch_c\icons\tools\ItemRadioBroken.paa";

View File

@@ -1,22 +1,15 @@
class ItemShovel : ItemCore
{
scope = public;
scope = 2;
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";
descriptionShort = $STR_EQUIP_DESC_1b;
};
class ItemShovelBroken : ItemCore
{
scope = public;
scope = 2;
model = "\z\addons\dayz_communityassets\models\shovel.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_shovel_ca.paa";
displayName = $STR_EQUIP_NAME_1b_BROKEN;

View File

@@ -1,11 +1,10 @@
class ItemSledge: ItemCore // Epoch class
{
scope = public;
model="\z\addons\dayz_epoch\models\sledge_mag.p3d";
picture="\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa";
displayName=$STR_EQUIP_NAME_SledgeHammer;
descriptionShort=$STR_EQUIP_SLEDGE_DESC;
scope = 2;
model = "\z\addons\dayz_epoch\models\sledge_mag.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa";
displayName = $STR_EQUIP_NAME_SledgeHammer;
descriptionShort = $STR_EQUIP_SLEDGE_DESC;
class ItemActions
{
@@ -24,30 +23,23 @@ class ItemSledge: ItemCore // Epoch class
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 ItemSledgeBroken: ItemSledge // Epoch class
class ItemSledgeBroken: ItemCore
{
scope = 2;
model = "\z\addons\dayz_epoch\models\sledge_mag.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa";
displayName = $STR_name_ItemSledgeHammerBroken;
descriptionShort = $STR_desc_ItemSledgeHammerBroken;
class ItemActions {};
};
//Vanilla sledge is using a different model.
//All scripts have been changed to use Epoch ItemSledge, but leave this defined in case admins want to use it for something.
class ItemSledgeHammer : ItemCore
{
scope = public;
scope = 2;
model = "z\addons\dayz_communityweapons\models\sledge_hammer\sledgehammer.p3d";
picture = "\z\addons\dayz_communityweapons\models\sledge_hammer\sledgehammer.paa";
displayName = $STR_EQUIP_NAME_SledgeHammer;
@@ -56,13 +48,11 @@ class ItemSledgeHammer : ItemCore
class ItemSledgeHammerBroken : ItemCore
{
scope = public;
scope = 2;
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;
descriptionShort = $STR_desc_ItemSledgeHammerBroken;
fixedTool = "ItemSledgeHammer";
class ItemActions

View File

@@ -1,12 +1,17 @@
class ItemSolder_DZE : ItemCore {
scope = public;
class ItemSolder_DZE : ItemCore
{
scope = 2;
displayName = $STR_EQUIP_SOLDER;
model = "\nst\ns_dayz\items\solder\solder_dzn.p3d";
picture = "\nst\ns_dayz\items\solder\data\icon_solder_dzn_ca.paa";
descriptionShort = $STR_EQUIP_SOLDER_DESC;
};
class ItemSolderBroken_DZE : ItemSolder_DZE {
class ItemSolderBroken_DZE : ItemCore
{
scope = 2;
displayName = $STR_EQUIP_SOLDER_BROKEN;
descriptionShort = $STR_EQUIP_SOLDER_BROKEN_DESC;
model = "\nst\ns_dayz\items\solder\solder_dzn.p3d";
picture = "\nst\ns_dayz\items\solder\data\icon_solder_dzn_ca.paa";
};

View File

@@ -1,10 +1,11 @@
class ItemToolbox : ItemCore
{
scope = public;
scope = 2;
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
@@ -15,9 +16,11 @@ class ItemToolbox : ItemCore
};
};
class ItemToolboxBroken : ItemToolbox
class ItemToolboxBroken : ItemCore
{
scope = 2;
model = "\dayz_equip\models\toolbox.p3d";
picture = "\dayz_equip\textures\equip_toolbox_ca.paa";
displayName = $STR_EQUIP_NAME_2_BROKEN;
descriptionShort = $STR_EQUIP_DESC_2_BROKEN;
class ItemActions {};
};

View File

@@ -1,3 +1,5 @@
//Workaround for non reloadable magazine 8Rnd_AT5_BMP2
class AT5Launcher;
class AT5LauncherSingle: AT5Launcher
{