From 5e3d4c7890155c85c6e967855774470152fcf625 Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 20 Sep 2016 01:25:20 +0200 Subject: [PATCH 1/3] Zombie loot update --- SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp b/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp index 8d2bf1f13..71a6eeb8d 100644 --- a/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp @@ -56,6 +56,9 @@ class CfgLoot #include "Groups\Zombies\Police.hpp" #include "Groups\Zombies\Military.hpp" #include "Groups\Zombies\Worker.hpp" //DZE + #include "Groups\Zombies\Suit.hpp" //DZE + #include "Groups\Zombies\Doctor.hpp" //DZE + #include "Groups\Zombies\Pilot.hpp" //DZE #undef DZ_BP_VestPouch #undef DZ_BP_Patrol From 7ea6e9c7a444f0f2b71fe49df145511a0e67a6f8 Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 20 Sep 2016 01:27:31 +0200 Subject: [PATCH 2/3] Zombie loot update Adding 3 more options for zombie loot to give admins better possibilities to customize the zombie loot. --- .../Configs/CfgLoot/Groups/Zombies/Doctor.hpp | 16 ++++++++++++++++ .../Configs/CfgLoot/Groups/Zombies/Pilot.hpp | 15 +++++++++++++++ .../Configs/CfgLoot/Groups/Zombies/Suit.hpp | 15 +++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Doctor.hpp create mode 100644 SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Pilot.hpp create mode 100644 SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Suit.hpp diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Doctor.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Doctor.hpp new file mode 100644 index 000000000..e018128fa --- /dev/null +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Doctor.hpp @@ -0,0 +1,16 @@ +ZombieDoctor[] = +{ + {Loot_MAGAZINE, 5, ItemMorphine}, + {Loot_MAGAZINE, 3, ItemBloodTester}, + {Loot_MAGAZINE, 5, ItemHeatPack}, + {Loot_MAGAZINE, 2, ItemBloodbagEmpty}, + {Loot_GROUP, 2, Antibiotics}, + {Loot_GROUP, 6, Bloodbags}, + {Loot_GROUP, 7, MedicalLow} +}; + +ZombieDoctorViral[] = +{ + {Loot_GROUP, 10, ZombieMedical}, + {Loot_MAGAZINE, 1, ItemAntibiotic1} +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Pilot.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Pilot.hpp new file mode 100644 index 000000000..d4e75220a --- /dev/null +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Pilot.hpp @@ -0,0 +1,15 @@ +ZombiePilot[] = +{ + {Loot_MAGAZINE, 1, FoodMRE}, + {Loot_MAGAZINE, 2, ItemHotwireKit}, + {Loot_GROUP, 3, MedicalLow}, + {Loot_GROUP, 10, AmmoMilitaryLow}, + {Loot_GROUP, 2, AmmoMilitaryHigh}, + {Loot_GROUP, 2, Consumable} +}; + +ZombiePilotViral[] = +{ + {Loot_GROUP, 10, ZombieMilitary}, + {Loot_MAGAZINE, 1, ItemAntibiotic1} +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Suit.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Suit.hpp new file mode 100644 index 000000000..bb6714f95 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Suit.hpp @@ -0,0 +1,15 @@ +ZombieSuit[] = +{ + {Loot_GROUP, 6, Consumable}, + {Loot_GROUP, 1, AmmoCivilian}, + {Loot_MAGAZINE, 3, ItemBandage}, + {Loot_MAGAZINE, 2, ItemPainkiller}, + {Loot_MAGAZINE, 2, ItemAntibacterialWipe}, + {Loot_MAGAZINE, 3, ItemDocument} +}; + +ZombieSuitViral[] = +{ + {Loot_GROUP, 10, ZombieCivilian}, + {Loot_MAGAZINE, 1, ItemAntibiotic1} +}; \ No newline at end of file From 7b22d9dd1492de0ad21686ea7e2e1b80e6e81748 Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 20 Sep 2016 01:28:42 +0200 Subject: [PATCH 3/3] New loot tables for zombies Adding 3 new loot tables --- SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp b/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp index 9b7d8fa9c..4172adedf 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp @@ -215,7 +215,7 @@ class z_soldier : zZombie_Base { class z_soldier_pilot : z_soldier { displayName = $STR_ZNAME_PILOT; - zombieLoot = ZombieMilitary; + zombieLoot = ZombiePilot; model = "\ca\characters_d_BAF\BAF_Pilot_BAF"; hiddenSelections[] = {"Camo", "Camo2", "Camo3"}; hiddenSelectionsTextures[] = {"\ca\characters_W_baf\data\camo_dpm_co.paa", "\ca\characters_W_baf\data\armour_dpm_co.paa", "\ca\characters_W_baf\data\equip_dpm_co.paa"}; @@ -300,7 +300,7 @@ class z_policeman : zZombie_Base { }; class z_suit1 : zZombie_Base { displayName = $STR_ZNAME_SUIT; - zombieLoot = ZombieCivilian; + zombieLoot = ZombieSuit; model = "\ca\characters2\civil\Functionary\Functionary"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\ca\characters2\civil\functionary\data\functionary_co.paa"}; @@ -311,7 +311,7 @@ class z_suit1 : zZombie_Base { }; }; class z_suit2 : z_suit1 { - zombieLoot = ZombieCivilian; + zombieLoot = ZombieSuit; hiddenSelectionsTextures[] = {"\ca\characters2\civil\functionary\data\functionary2_co.paa"}; }; class z_worker1 : zZombie_Base { @@ -336,7 +336,7 @@ class z_worker3 : z_worker1 { class z_doctor : zZombie_Base { displayName = $STR_ZNAME_DOCTOR; model = "\ca\characters2\civil\Doctor\Doctor"; - zombieLoot = MedicalHigh; + zombieLoot = ZombieDoctor; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\dayz\textures\clothes\doctor_co.paa"};