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

@@ -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 {};
};