From e1f655106e4c9bfc3f2581c783c3e02f1862e58f Mon Sep 17 00:00:00 2001 From: oiad Date: Fri, 30 Mar 2018 23:49:45 +1300 Subject: [PATCH] Add prelocked versions of cinder door/garage This is as per the wooden versions, adds cinder_door_kit_locked and cinder_garage_kit_locked. The same could be done for the version with the door WITHOUT the door lock, but I feel this is enough. --- .../CfgMagazines/DZE/ModularBuilding.hpp | 52 +++++++++++++++++++ SQF/dayz_code/stringtable.xml | 14 +++-- 2 files changed, 62 insertions(+), 4 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp index 9991b8f5f..09c8347d4 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp @@ -35,6 +35,7 @@ class half_cinder_wall_kit: CA_Magazine { }; }; }; + class full_cinder_wall_kit: CA_Magazine { scope = public; count = 1; @@ -53,6 +54,7 @@ class full_cinder_wall_kit: CA_Magazine { }; }; }; + class cinder_door_kit: CA_Magazine { scope = public; count = 1; @@ -71,6 +73,26 @@ class cinder_door_kit: CA_Magazine { }; }; }; + +class cinder_door_kit_locked: CA_Magazine { + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_BLOCKDOORLOCKED; + descriptionShort = $STR_EPOCH_BLOCKDOORWAY_LOCKED_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 340; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "CinderWallDoorSmallLocked_DZ"; + }; + }; +}; + class cinder_garage_kit: CA_Magazine { scope = public; count = 1; @@ -90,6 +112,25 @@ class cinder_garage_kit: CA_Magazine { }; }; +class cinder_garage_kit_locked: CA_Magazine { + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_BLOCKGARAGEDOORLOCKED; + descriptionShort = $STR_EPOCH_BLOCKGARAGEDOORWAY_LOCKED_DESC; + model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; + weight = 340; + class ItemActions { + class Build { + text = $STR_ACTIONS_BUILD; + script = "spawn player_build;"; + require[] = {"ItemToolbox"}; + create = "CinderWallDoorLocked_DZ"; + }; + }; +}; + class ItemWoodFloor: CA_Magazine { scope = public; count = 1; @@ -108,6 +149,7 @@ class ItemWoodFloor: CA_Magazine { }; }; }; + class ItemWoodFloorHalf: CA_Magazine { scope = public; count = 1; @@ -134,6 +176,7 @@ class ItemWoodFloorHalf: CA_Magazine { }; }; }; + class ItemWoodFloorQuarter: CA_Magazine { scope = public; count = 1; @@ -187,6 +230,7 @@ class ItemWoodStairs: CA_Magazine { }; }; }; + class ItemWoodStairsSupport: CA_Magazine { scope = public; count = 1; @@ -267,6 +311,7 @@ class ItemWoodWall: CA_Magazine { }; }; }; + class ItemWoodWallThird: CA_Magazine { scope = public; count = 1; @@ -293,6 +338,7 @@ class ItemWoodWallThird: CA_Magazine { }; }; }; + class ItemWoodWallWindow: CA_Magazine { scope = public; count = 1; @@ -338,6 +384,7 @@ class ItemWoodWallDoor: CA_Magazine { }; }; }; + class ItemWoodWallWithDoor: CA_Magazine { scope = public; count = 1; @@ -364,6 +411,7 @@ class ItemWoodWallWithDoor: CA_Magazine { }; }; }; + class ItemWoodWallWithDoorLocked: CA_Magazine { scope = public; count = 1; @@ -409,6 +457,7 @@ class ItemWoodWallGarageDoor: CA_Magazine { }; }; }; + class ItemWoodWallGarageDoorLocked: CA_Magazine { scope = public; count = 1; @@ -470,6 +519,7 @@ class ItemWoodWallLg: CA_Magazine { }; }; }; + class ItemWoodWallWindowLg: CA_Magazine { scope = public; count = 1; @@ -515,6 +565,7 @@ class ItemWoodWallDoorLg: CA_Magazine { }; }; }; + class ItemWoodWallWithDoorLg: CA_Magazine { scope = public; count = 1; @@ -541,6 +592,7 @@ class ItemWoodWallWithDoorLg: CA_Magazine { }; }; }; + class ItemWoodWallWithDoorLgLocked: CA_Magazine { scope = public; count = 1; diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index f40fd1891..8afc9b2ab 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -15607,7 +15607,7 @@ Дверной проём - Cinder block doorway. + Cinder block wall with metal single access door. Ein Türdurchgang aus Beton. Дверной проём в стене из шлакоблоков. @@ -15618,14 +15618,17 @@ Cinder Door (locked) Betontür (verschlossen) - + + + Cinder block wall with locked metal single access door. + Cinder Garage Doorway Beton-Garagentürrahmen Дверной проём (гаражный) - Cinder block garage doorway. + Cinder block wall with metal garage doorway. Ein Garagentürrahmen aus Beton. Гаражный дверной проём в стене из шлакоблоков. @@ -15636,7 +15639,10 @@ Cinder Garage Door (locked) Beton-Garagentür (verschlossen) - + + + Cinder block wall with locked metal garage doorway. + Floor/Ceiling Holzboden/Decke