From 068a0b81e020a61d30f8bbc049e425b5a3858e83 Mon Sep 17 00:00:00 2001 From: AirwavesMan Date: Thu, 7 Jan 2021 16:45:12 +0100 Subject: [PATCH] Add rubbish and bodies to dayz_code + localization --- .../Configs/CfgVehicles/CfgVehicles.hpp | 3 +- SQF/dayz_code/Configs/CfgVehicles/Graves.hpp | 47 ++++++++++++-- SQF/dayz_code/Configs/CfgVehicles/Rubbish.hpp | 65 +++++++++++++++++++ 3 files changed, 108 insertions(+), 7 deletions(-) create mode 100644 SQF/dayz_code/Configs/CfgVehicles/Rubbish.hpp diff --git a/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp b/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp index ef2f020a4..abdad6177 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp @@ -461,10 +461,11 @@ class CfgVehicles #include "WaterSources.hpp" #include "Blood_Trail_DZ.hpp" #include "DebugBox.hpp" - #include "Graves.hpp" // GraveDZE and Massgrave + #include "Graves.hpp" // GraveDZE, Massgrave, dead bodies #include "Veins.hpp" //Veins and Wrecks #include "SupplyCrate.hpp" //Supply Crate and Wreck #include "InfectedCamps.hpp" + #include "Rubbish.hpp" //Buildables class DZ_storage_base : Land_A_tent { diff --git a/SQF/dayz_code/Configs/CfgVehicles/Graves.hpp b/SQF/dayz_code/Configs/CfgVehicles/Graves.hpp index f30771e72..78dcb7f4b 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Graves.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Graves.hpp @@ -1,6 +1,8 @@ -class GraveDZE: Land_A_tent { - vehicleClass = "DayZ Epoch Buildings"; - displayName = "Grave DZE"; +class GraveDZE: Land_A_tent +{ + scope = 2; + vehicleClass = "DayZ Epoch Misc"; + displayName = $STR_EPOCH_BONES_GRAVE; destrType = "DestructNo"; model = "\z\addons\dayz_epoch\models\skeleton.p3d"; transportMaxMagazines = 80; @@ -11,13 +13,46 @@ class GraveDZE: Land_A_tent { class Mass_grave; class Mass_grave_DZ: Mass_grave { - vehicleClass = "DayZ Epoch Buildings"; + vehicleClass = "DayZ Epoch Misc"; }; -class Mass_grave_DZE: Mass_grave +class Mass_grave_DZE: Mass_grave_DZ { - vehicleClass = "DayZ Epoch Buildings"; transportMaxMagazines = 200; transportMaxWeapons = 50; transportMaxBackpacks = 10; +}; + +class Wreck_Base; +class Body1 : Wreck_Base +{ + scope = 2; + mapSize = 2; + displayName = $STR_EPOCH_DEAD_SOLDIER; + model = "\dayz\objects\dead_soldier_0"; + vehicleClass = "DayZ Epoch Misc"; +}; + +class Body1_DZE : Body1 +{ + transportMaxMagazines = 80; + transportMaxWeapons = 20; + transportMaxBackpacks = 5; +}; + +class Body2 : Wreck_Base +{ + scope = 2; + mapSize = 2; + displayName = $STR_EPOCH_DEAD_SOLDIER; + model = "\dayz\objects\dead_soldier_1"; + vehicleClass = "DayZ Epoch Misc"; +}; + + +class Body2_DZE : Body2 +{ + transportMaxMagazines = 80; + transportMaxWeapons = 20; + transportMaxBackpacks = 5; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Rubbish.hpp b/SQF/dayz_code/Configs/CfgVehicles/Rubbish.hpp new file mode 100644 index 000000000..601abac87 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Rubbish.hpp @@ -0,0 +1,65 @@ +class Rubbish1 : Strategic +{ + scope = 2; + model = "\CA\misc\garbage_paleta"; + mapSize = 2; + displayName = $STR_EPOCH_PILE_RUBBISH; + vehicleClass = "DayZ Epoch Misc"; +}; + +class Rubbish1_DZE : Rubbish1 +{ + transportMaxMagazines = 80; + transportMaxWeapons = 20; + transportMaxBackpacks = 5; +}; + +class Rubbish2 : Strategic +{ + scope = 2; + model = "\CA\misc\garbage_misc"; + mapSize = 2; + displayName = $STR_EPOCH_PILE_RUBBISH; + vehicleClass = "DayZ Epoch Misc"; +}; + +class Rubbish2_DZE : Rubbish2 +{ + transportMaxMagazines = 80; + transportMaxWeapons = 20; + transportMaxBackpacks = 5; +}; + +class Rubbish3 : Strategic +{ + scope = 2; + model = "\CA\misc\ground_garbage_square5"; + mapSize = 2; + displayName = $STR_EPOCH_PILE_RUBBISH; + vehicleClass = "DayZ Epoch Misc"; +}; + +class Rubbish4 : Strategic +{ + scope = 2; + model = "\CA\misc\ground_garbage_square3"; + mapSize = 2; + displayName = $STR_EPOCH_PILE_RUBBISH; + vehicleClass = "DayZ Epoch Misc"; +}; + +class Rubbish5 : Strategic +{ + scope = 2; + model = "\CA\misc\junkpile"; + mapSize = 2; + displayName = $STR_EPOCH_PILE_RUBBISH; + vehicleClass = "DayZ Epoch Misc"; +}; + +class Rubbish5_DZE : Rubbish5 +{ + transportMaxMagazines = 80; + transportMaxWeapons = 20; + transportMaxBackpacks = 5; +}; \ No newline at end of file