mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
Add more broken tool versions
This commit is contained in:
@@ -3,4 +3,10 @@ class ItemAPSI_DZE : ItemCore {
|
||||
displayName = $STR_EQUIP_APSI;
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemAPSI.paa";
|
||||
descriptionShort = $STR_EQUIP_APSI_DESC;
|
||||
};
|
||||
|
||||
class ItemAPSIBroken_DZE : ItemAPSI_DZE {
|
||||
displayName = $STR_EQUIP_APSI_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_APSI_BROKEN_DESC;
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemAPSI.paa";
|
||||
};
|
||||
@@ -9,4 +9,13 @@ class ItemEtool : ItemCore
|
||||
stashsmall = "StashSmall";
|
||||
stashmedium = "StashMedium";
|
||||
consume = "ItemSandbag";
|
||||
};
|
||||
|
||||
class ItemEtoolBroken : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
model = "\dayz_equip\models\etool.p3d";
|
||||
picture = "\dayz_equip\textures\equip_etool_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_1_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_DESC_1_BROKEN;
|
||||
};
|
||||
@@ -37,4 +37,11 @@ class ItemFishingPole : ItemCore
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemFishingPoleBroken : ItemFishingPole
|
||||
{
|
||||
displayName = $STR_ITEM_NAME_FISHINGPOLEBROKEN;
|
||||
descriptionShort = $STR_ITEM_DESC_FISHINGPOLE_BROKEN;
|
||||
class ItemActions {};
|
||||
};
|
||||
@@ -1,55 +0,0 @@
|
||||
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"};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,48 +0,0 @@
|
||||
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"};
|
||||
};
|
||||
};
|
||||
};
|
||||
118
SQF/dayz_code/Configs/CfgWeapons/Tools/Flashlights.hpp
Normal file
118
SQF/dayz_code/Configs/CfgWeapons/Tools/Flashlights.hpp
Normal file
@@ -0,0 +1,118 @@
|
||||
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 ItemFlashlightBroken : ItemFlashlight
|
||||
{
|
||||
displayName = $STR_EQUIP_NAME_5_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_DESC_5_BROKEN;
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
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"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
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 ItemFlashlightRedBroken : ItemFlashlightRed
|
||||
{
|
||||
displayName = $STR_EQUIP_NAME_6_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_DESC_6_BROKEN;
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
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"};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,4 +1,12 @@
|
||||
class ItemGPS : ItemCore
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\gps.p3d";
|
||||
};
|
||||
|
||||
class ItemGPSBroken_DZE : ItemCore {
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_BROKEN_GPS;
|
||||
model = "z\addons\dayz_communityassets\models\gps.p3d";
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemGPSBroken.paa";
|
||||
descriptionShort = $STR_EQUIP_BROKEN_GPS_DESC;
|
||||
};
|
||||
@@ -1,7 +0,0 @@
|
||||
class ItemGPSBroken_DZE : ItemCore {
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_BROKEN_GPS;
|
||||
model = "z\addons\dayz_communityassets\models\gps.p3d";
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemGPSBroken.paa";
|
||||
descriptionShort = $STR_EQUIP_BROKEN_GPS_DESC;
|
||||
};
|
||||
@@ -1,6 +0,0 @@
|
||||
class ItemGasmask1_DZE : ItemCore {
|
||||
scope = public;
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemGasmask1.paa";
|
||||
displayName = $STR_EQUIP_GAS_MASK1;
|
||||
descriptionShort = $STR_EQUIP_GAS_MASK1_DESC;
|
||||
};
|
||||
@@ -1,6 +0,0 @@
|
||||
class ItemGasmask2_DZE : ItemCore {
|
||||
scope = public;
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemGasmask2.paa";
|
||||
displayName = $STR_EQUIP_GAS_MASK2;
|
||||
descriptionShort = $STR_EQUIP_GAS_MASK2_DESC;
|
||||
};
|
||||
@@ -5,3 +5,8 @@ class ItemKeyKit: ItemCore {
|
||||
descriptionShort=$STR_EQUIP_KEYKIT_DESC;
|
||||
picture="\z\addons\dayz_epoch\pictures\equip_keykit_ca.paa";
|
||||
};
|
||||
|
||||
class ItemKeyKitBroken: ItemKeyKit {
|
||||
displayname = $STR_EQUIP_KEYKIT_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_KEYKIT_BROKEN_DESC;
|
||||
};
|
||||
@@ -25,4 +25,11 @@ class ItemMachete : ItemCore
|
||||
output[] = {"MeleeMachete"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemMacheteBroken : ItemMachete
|
||||
{
|
||||
displayName = $STR_EQUIP_NAME_MACHETE_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_DESC_MACHETE_BROKEN;
|
||||
class ItemActions {};
|
||||
};
|
||||
35
SQF/dayz_code/Configs/CfgWeapons/Tools/Masks.hpp
Normal file
35
SQF/dayz_code/Configs/CfgWeapons/Tools/Masks.hpp
Normal file
@@ -0,0 +1,35 @@
|
||||
class ItemPilotmask_DZE : ItemCore {
|
||||
scope = public;
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemPilotmask.paa";
|
||||
displayName = $STR_EQUIP_PILOT_MASK;
|
||||
descriptionShort = $STR_EQUIP_PILOT_MASK_DESC;
|
||||
};
|
||||
|
||||
class ItemPilotmaskBroken_DZE : ItemPilotmask_DZE {
|
||||
displayName = $STR_EQUIP_PILOT_MASK_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_PILOT_MASK_BROKEN_DESC;
|
||||
};
|
||||
|
||||
class ItemGasmask1_DZE : ItemCore {
|
||||
scope = public;
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemGasmask1.paa";
|
||||
displayName = $STR_EQUIP_GAS_MASK1;
|
||||
descriptionShort = $STR_EQUIP_GAS_MASK1_DESC;
|
||||
};
|
||||
|
||||
class ItemGasmask1Broken_DZE : ItemGasmask1_DZE {
|
||||
displayName = $STR_EQUIP_GAS_MASK1_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_GAS_MASK1_BROKEN_DESC;
|
||||
};
|
||||
|
||||
class ItemGasmask2_DZE : ItemCore {
|
||||
scope = public;
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemGasmask2.paa";
|
||||
displayName = $STR_EQUIP_GAS_MASK2;
|
||||
descriptionShort = $STR_EQUIP_GAS_MASK2_DESC;
|
||||
};
|
||||
|
||||
class ItemGasmask2Broken_DZE : ItemGasmask2_DZE {
|
||||
displayName = $STR_EQUIP_GAS_MASK2_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_GAS_MASK2_BROKEN_DESC;
|
||||
};
|
||||
@@ -4,4 +4,12 @@ class NVGoggles_DZE: NVGoggles
|
||||
displayName = "NVG (Full Screen)";
|
||||
modelOptics = "";
|
||||
descriptionShort = "Full Screen Night Vision Goggles";
|
||||
};
|
||||
|
||||
class ItemNVGBroken_DZE : ItemCore {
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_BROKEN_NV;
|
||||
model = "\dayz_epoch_c\items\nvg\nvg_dzn.p3d";
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemNVGBroken.paa";
|
||||
descriptionShort = $STR_EQUIP_BROKEN_NV_DESC;
|
||||
};
|
||||
@@ -1,7 +0,0 @@
|
||||
class ItemNVGBroken_DZE : ItemCore {
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_BROKEN_NV;
|
||||
model = "\dayz_epoch_c\items\nvg\nvg_dzn.p3d";
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemNVGBroken.paa";
|
||||
descriptionShort = $STR_EQUIP_BROKEN_NV_DESC;
|
||||
};
|
||||
@@ -1,6 +0,0 @@
|
||||
class ItemPilotmask_DZE : ItemCore {
|
||||
scope = public;
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemPilotmask.paa";
|
||||
displayName = $STR_EQUIP_PILOT_MASK;
|
||||
descriptionShort = $STR_EQUIP_PILOT_MASK_DESC;
|
||||
};
|
||||
@@ -9,4 +9,12 @@ class ItemRadio : ItemCore
|
||||
script = ";if (!isNil 'dayz_groupInit') then {[] spawn dayz_openGroupDialog;};";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemRadioBroken_DZE : ItemCore {
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_BROKEN_RADIO;
|
||||
model = "\nst\ns_dayz\items\radio\radio_dzn.p3d";
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemRadioBroken.paa";
|
||||
descriptionShort = $STR_EQUIP_BROKEN_RADIO_DESC;
|
||||
};
|
||||
@@ -1,7 +0,0 @@
|
||||
class ItemRadioBroken_DZE : ItemCore {
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_BROKEN_RADIO;
|
||||
model = "\nst\ns_dayz\items\radio\radio_dzn.p3d";
|
||||
picture = "\dayz_epoch_c\icons\tools\ItemRadioBroken.paa";
|
||||
descriptionShort = $STR_EQUIP_BROKEN_RADIO_DESC;
|
||||
};
|
||||
@@ -35,6 +35,13 @@ class ItemSledge: ItemCore // Epoch class
|
||||
};
|
||||
};
|
||||
|
||||
class ItemSledgeBroken: ItemSledge // Epoch class
|
||||
{
|
||||
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
|
||||
|
||||
@@ -4,4 +4,9 @@ class ItemSolder_DZE : ItemCore {
|
||||
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 {
|
||||
displayName = $STR_EQUIP_SOLDER_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_SOLDER_BROKEN_DESC;
|
||||
};
|
||||
@@ -13,5 +13,11 @@ class ItemToolbox : ItemCore
|
||||
script=";[['DesertCamoNet_DZ','ForestCamoNet_DZ','DesertLargeCamoNet_DZ','ForestLargeCamoNet_DZ'],10,'str_epoch_player_8'] call player_removeNearby;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemToolboxBroken : ItemToolbox
|
||||
{
|
||||
displayName = $STR_EQUIP_NAME_2_BROKEN;
|
||||
descriptionShort = $STR_EQUIP_DESC_2_BROKEN;
|
||||
class ItemActions {};
|
||||
};
|
||||
Reference in New Issue
Block a user