From fc0f0dc896a0a3b9fae104d75ae36161ee21b554 Mon Sep 17 00:00:00 2001 From: A Man Date: Mon, 15 Aug 2016 18:40:59 +0200 Subject: [PATCH] Updating loot table and loot chances (#1736) * Update Generic.hpp Adding some magazines * Update Police.hpp Adding Loot Group AmmoCivilian and removing magazines * Update Industrial.hpp Removing Sandbags, Wire and Tank Traps from normal Industrial spawn and moved them to Military Industrial- Lowering spawn chance of Planks, Consumable and Generic. Ive tested the new loot chances and they working fine. * Update Hangar.hpp Changing spawn chances of almost every item and adding PartEngine, PartGeneric, PartGlass to loot table. New hanger loot works good and feels much better than before. * Update Military.hpp Removing Loot Group Generic and Sandbags from Military and MilitarySpecial Loot. Adding Engine, Sandbags, Tank Traps, Wire and Loot Group Generic to MilitaryIndustrial. That works very well. If you looting baracks and finding most of the time sandbags and generic loot it is frustrating. Now it feels better and more balanced. * Update Military.hpp Updating loot chances --- .../Configs/CfgLoot/Buildings/Military.hpp | 10 +++--- .../CfgLoot/Groups/Buildings/Hangar.hpp | 35 ++++++++++--------- .../CfgLoot/Groups/Buildings/Industrial.hpp | 18 +++++----- .../CfgLoot/Groups/Buildings/Military.hpp | 32 ++++++++++------- .../Configs/CfgLoot/Groups/Generic.hpp | 12 ++++++- .../Configs/CfgLoot/Groups/Zombies/Police.hpp | 6 ++-- 6 files changed, 65 insertions(+), 48 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgLoot/Buildings/Military.hpp b/SQF/dayz_code/Configs/CfgLoot/Buildings/Military.hpp index 9fd5d3b4a..2ce10ac1c 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Buildings/Military.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Buildings/Military.hpp @@ -29,7 +29,8 @@ class MilitarySpecial : Military lootChance = 0.4; lootGroup = MilitarySpecial; }; -class MilitaryIndustrial: Military { +class MilitaryIndustrial: Military +{ zombieChance = 0.3; maxRoaming = 6; zombieClass[] = @@ -41,13 +42,13 @@ class MilitaryIndustrial: Military { "z_worker2", "z_worker3" }; - lootChance = 0.4; + lootChance = 0.5; lootGroup = MilitaryIndustrial; }; class Land_a_stationhouse : Military { zedPos[] = {{-0.892578,-5.7168,-9.47058},{1.5127,1.96484,-9.47058},{18.9063,-4.06738,-9.47058},{-2.69922,-7.57422,-9.46057},{-1.35645,-8.3623,-4.6489},{-3.24219,-6.61914,-4.6489},{-1.70801,-7.85449,-0.0437927},{-3.39453,-7.88281,-0.0437927},{-1.37891,-5.79102,4.41141},{-1.39648,-7.79883,4.41141}}; - lootChance = 0.3; + lootChance = 0.5; lootPos[] = { //{-2.7,-7.57,-9.46},{-0.89,-5.72,-9.47},{-3.24,-6.62,-4.65},{-1.36,-8.36,-4.65},{-1.71,-7.85,-0.04},{-3.39,-7.88,-0.04},{-1.4,-7.8,4.41},{-1.38,-5.79,4.41},{1.51,1.96,-9.47},{18.91,-4.07,-9.47},{-14.4,3.29,-0.51},{1.33,0.89,-0.51},{-2.37,-8.4,8.49},{12.44,2.54,-9.47},{-14.83,-7.58,-0.51},{-1.8,8.87,-0.51},{6.83,0.89,-0.51},{3.65,-6.54,-4.51},{16.29,-6.57,-4.51},{18.39,2.37,-4.51},{9.28,-1.25,-4.51},{-2.08,-4.74,8.49}, {15.436,2.85498,-9.47058},{17.9861,-6.52832,-9.47058},{1.22583,2.24463,-9.47058},{-3.9126,-7.29834,-9.47058},{-2.28271,-6.21094,-4.6489},{-1.604,-8.68018,-0.043786},{-1.104,-5.60938,4.41139},{-3.55811,-8.56787,4.41139},{-2.99219,-8.27148,8.49209} @@ -489,7 +490,7 @@ class HMMWVWreck: Military lootPos[] = {}; }; -class Land_Mil_Guardhouse : Military //MOVED FROM RESIDENTIAL +class Land_Mil_Guardhouse: Military //MOVED FROM RESIDENTIAL { zombieClass[] = { @@ -497,6 +498,7 @@ class Land_Mil_Guardhouse : Military //MOVED FROM RESIDENTIAL "z_soldier", "z_policeman" }; + lootChance = 0.5; maxRoaming = 3; zedPos[] = {{-2.44727,0.250977,-1.70563},{-2.44873,3.00293,-1.70285}}; lootPos[] = { diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Hangar.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Hangar.hpp index ecc9db54d..9cbe30e5a 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Hangar.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Hangar.hpp @@ -1,27 +1,30 @@ Hangar[] = { - {Loot_GROUP, 10, MilitarySpecial}, + {Loot_GROUP, 8, MilitarySpecial}, //Tools - {Loot_WEAPON, 2, ItemEtool}, + {Loot_WEAPON, 4, ItemEtool}, //Items {Loot_MAGAZINE, 2, PartVRotor}, - {Loot_MAGAZINE, 2, ItemSandbag}, - {Loot_MAGAZINE, 2, ItemWire}, - {Loot_MAGAZINE, 2, ItemTankTrap}, + {Loot_MAGAZINE, 1, PartEngine}, + {Loot_MAGAZINE, 4, PartGeneric}, + {Loot_MAGAZINE, 3, PartGlass}, + {Loot_MAGAZINE, 3, ItemSandbag}, + {Loot_MAGAZINE, 3, ItemWire}, + {Loot_MAGAZINE, 3, ItemTankTrap}, //Groups - {Loot_GROUP, 20, Trash}, - {Loot_GROUP, 20, Consumable}, - {Loot_GROUP, 10, Generic}, - {Loot_GROUP, 5, AttachmentsGeneric} + {Loot_PILE, 6, Trash, 1, 2}, + {Loot_PILE, 3, Consumable, 1, 2}, + {Loot_GROUP, 6, Generic}, + {Loot_GROUP, 3, AttachmentsGeneric} }; HangarSmall[] = { {Loot_TOOL, 2, Binocular}, {Loot_WEAPON, 2, NVGoggles}, - {Loot_GROUP, 10, pistols}, + {Loot_GROUP, 8, pistols}, {Loot_TOOL, 2, Binocular_Vector}, {Loot_TOOL, 3, ItemKnife}, {Loot_TOOL, 1.3, ItemGPS}, @@ -31,12 +34,12 @@ HangarSmall[] = {Loot_MAGAZINE, 0.5, PipeBomb}, {Loot_MAGAZINE, 0.5, MAAWS_HEAT}, {Loot_MAGAZINE, 2, 100Rnd_762x54_PK}, - {Loot_GROUP, 15, AmmoMilitaryLow}, - {Loot_GROUP, 10, AmmoMilitaryHigh}, + {Loot_GROUP, 8, AmmoMilitaryLow}, + {Loot_GROUP, 8, AmmoMilitaryHigh}, {Loot_GROUP, 8, AttachmentsEast}, {Loot_GROUP, 6, AttachmentsWest}, - {Loot_GROUP, 10, MedicalLow}, - {Loot_GROUP, 10, Trash}, - {Loot_GROUP, 10, Consumable}, + {Loot_GROUP, 8, MedicalLow}, + {Loot_GROUP, 8, Trash}, + {Loot_GROUP, 8, Consumable}, {Loot_GROUP, 8, GenericSmall} -}; \ No newline at end of file +}; diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp index 1dc7ff3c5..c8e70c071 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp @@ -3,7 +3,6 @@ Industrial[] = //Tools {Loot_WEAPON, 3, ItemKnife}, {Loot_WEAPON, 6, ItemToolbox}, -// {Loot_WEAPON, 2, ItemFlashlight}, // {Loot_WEAPON, 8, ItemCrowbar}, {Loot_VEHICLE, 8, WeaponHolder_ItemCrowbar}, // {Loot_WEAPON, 5, ItemHatchet}, @@ -16,10 +15,10 @@ Industrial[] = {Loot_WEAPON, 1, ItemKeyKit}, //Items - {Loot_MAGAZINE, 6, ItemSandbag}, +// {Loot_MAGAZINE, 6, ItemSandbag}, {Loot_MAGAZINE, 4, ItemJerryCan}, - {Loot_MAGAZINE, 1, ItemWire}, - {Loot_MAGAZINE, 4, ItemTankTrap}, +// {Loot_MAGAZINE, 1, ItemWire}, +// {Loot_MAGAZINE, 4, ItemTankTrap}, {Loot_MAGAZINE, 1, equip_brick}, {Loot_MAGAZINE, 3, equip_duct_tape}, {Loot_MAGAZINE, 2, equip_hose}, @@ -29,7 +28,7 @@ Industrial[] = {Loot_MAGAZINE, 2, equip_metal_sheet}, {Loot_MAGAZINE, 2, equip_1inch_metal_pipe}, {Loot_MAGAZINE, 2, equip_2inch_metal_pipe}, - {Loot_MAGAZINE, 12, ItemPlank}, + {Loot_MAGAZINE, 8, ItemPlank}, {Loot_MAGAZINE, 2, MortarBucket}, {Loot_MAGAZINE, 3, CinderBlocks}, {Loot_MAGAZINE, 3, ItemFuelBarrelEmpty}, @@ -38,10 +37,9 @@ Industrial[] = //Other {Loot_GROUP, 15, Parts}, -// {Loot_GROUP, 7, Military}, {Loot_PILE, 10, Trash, 1, 3}, - {Loot_PILE, 4, Consumable, 1, 2}, - {Loot_GROUP, 8, Generic} + {Loot_PILE, 3, Consumable, 1, 2}, + {Loot_GROUP, 5, Generic} }; IndustrialSmall[] = @@ -51,6 +49,6 @@ IndustrialSmall[] = {Loot_MAGAZINE, 2, equip_duct_tape}, {Loot_MAGAZINE, 6, equip_nails}, {Loot_GROUP, 10, Trash}, - {Loot_GROUP, 4, Consumable}, - {Loot_GROUP, 8, GenericSmall} + {Loot_GROUP, 3, Consumable}, + {Loot_GROUP, 5, GenericSmall} }; diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp index 1d5741043..d58a43bfd 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp @@ -39,15 +39,15 @@ Military[] = //Other {Loot_MAGAZINE, 5, FoodMRE}, - {Loot_MAGAZINE, 4, ItemSandbag}, +// {Loot_MAGAZINE, 4, ItemSandbag}, {Loot_PILE, 15, AmmoMilitaryLow, 1, 3}, {Loot_GROUP, 4, AmmoMilitaryHigh}, {Loot_GROUP, 4, AttachmentsGeneric}, {Loot_GROUP, 8, AttachmentsEast}, {Loot_PILE, 10, MedicalLow, 1, 2}, {Loot_PILE, 15, Trash, 1, 2}, - {Loot_PILE, 10, Consumable, 1, 2}, - {Loot_GROUP, 10, Generic} + {Loot_PILE, 10, Consumable, 1, 2} +// {Loot_GROUP, 10, Generic} }; MilitarySmall[] = @@ -58,15 +58,15 @@ MilitarySmall[] = {Loot_TOOL, 3, ItemMap}, {Loot_TOOL, 3, ItemKnife}, {Loot_GROUP, 2, militaryclothes}, - {Loot_GROUP, 1, specialclothes}, + {Loot_GROUP, 2, specialclothes}, {Loot_GROUP, 15, AmmoMilitaryLow}, {Loot_GROUP, 4, AmmoMilitaryHigh}, {Loot_GROUP, 4, AttachmentsGeneric}, {Loot_GROUP, 8, AttachmentsEast}, {Loot_GROUP, 10, MedicalLow}, {Loot_GROUP, 15, Trash}, - {Loot_GROUP, 10, Consumable}, - {Loot_GROUP, 10, GenericSmall} + {Loot_GROUP, 10, Consumable} +// {Loot_GROUP, 10, GenericSmall} }; MilitarySpecial[] = @@ -107,7 +107,7 @@ MilitarySpecial[] = //Other {Loot_MAGAZINE, 3, FoodMRE}, - {Loot_MAGAZINE, 2, ItemSandbag}, +// {Loot_MAGAZINE, 2, ItemSandbag}, {Loot_MAGAZINE, 0.5, PipeBomb}, {Loot_MAGAZINE, 0.5, MAAWS_HEAT}, {Loot_MAGAZINE, 2, 100Rnd_762x54_PK}, @@ -118,8 +118,8 @@ MilitarySpecial[] = {Loot_GROUP, 6, AttachmentsWest}, {Loot_PILE, 10, MedicalLow, 1, 2}, {Loot_PILE, 10, Trash, 1, 2}, - {Loot_PILE, 10, Consumable, 1, 2}, - {Loot_GROUP, 8, Generic} + {Loot_PILE, 10, Consumable, 1, 2} +// {Loot_GROUP, 8, Generic} }; MilitarySpecialSmall[] = @@ -143,8 +143,8 @@ MilitarySpecialSmall[] = {Loot_GROUP, 6, AttachmentsWest}, {Loot_GROUP, 10, MedicalLow}, {Loot_GROUP, 10, Trash}, - {Loot_GROUP, 10, Consumable}, - {Loot_GROUP, 8, GenericSmall} + {Loot_GROUP, 10, Consumable} +// {Loot_GROUP, 8, GenericSmall} }; MilitaryIndustrial[] = {//DZE ADDED @@ -153,9 +153,15 @@ MilitaryIndustrial[] = {//DZE ADDED {Loot_MAGAZINE, 3, ItemFuelBarrelEmpty}, {Loot_MAGAZINE, 2, ItemGenerator}, {Loot_MAGAZINE, 2, fuel_pump_kit}, - {Loot_GROUP, 15, Military} + {Loot_MAGAZINE, 3, ItemWire}, + {Loot_MAGAZINE, 3, ItemTankTrap}, + {Loot_MAGAZINE, 6, ItemSandbag}, + {Loot_MAGAZINE, 1, PartEngine}, + {Loot_GROUP, 15, Military}, + {Loot_GROUP, 4, Generic} }; MilitaryIndustrialSmall[] = { - {Loot_GROUP, 15, MilitarySmall} + {Loot_GROUP, 15, MilitarySmall}, + {Loot_GROUP, 8, GenericSmall} }; diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp index 085d07cca..42b9019df 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp @@ -10,6 +10,11 @@ Generic[] = //DZE {Loot_MAGAZINE, 1, 5Rnd_17HMR}, {Loot_MAGAZINE, 2, 10Rnd_303British}, + {Loot_MAGAZINE, 2, 15Rnd_W1866_Slug}, + {Loot_MAGAZINE, 2, 5Rnd_762x54_Mosin}, + {Loot_MAGAZINE, 2, 8Rnd_9x18_Makarov}, + {Loot_MAGAZINE, 2, 7Rnd_45ACP_1911}, + {Loot_MAGAZINE, 2, 6Rnd_45ACP}, // {Loot_MAGAZINE, 1, ItemBookBible}, @@ -40,8 +45,13 @@ GenericSmall[] = {Loot_MAGAZINE, 1, HandChemRed}, {Loot_MAGAZINE, 1, 5Rnd_17HMR}, {Loot_MAGAZINE, 2, 10Rnd_303British}, + {Loot_MAGAZINE, 2, 15Rnd_W1866_Slug}, + {Loot_MAGAZINE, 1, 5Rnd_762x54_Mosin}, + {Loot_MAGAZINE, 2, 8Rnd_9x18_Makarov}, + {Loot_MAGAZINE, 2, 7Rnd_45ACP_1911}, + {Loot_MAGAZINE, 1, 6Rnd_45ACP}, {Loot_MAGAZINE, 1, equip_string}, {Loot_MAGAZINE, 1, equip_duct_tape}, {Loot_MAGAZINE, 1, equip_rope}, {Loot_MAGAZINE, 1, equip_nails} -}; \ No newline at end of file +}; diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Police.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Police.hpp index 44b8b3ec7..2c024a082 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Police.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Police.hpp @@ -1,10 +1,8 @@ ZombiePolice[] = { {Loot_GROUP, 2, Consumable}, - {Loot_MAGAZINE, 2, 7Rnd_45ACP_1911}, + {Loot_GROUP, 3, AmmoCivilian}, {Loot_MAGAZINE, 2, ItemDocument}, - {Loot_MAGAZINE, 3, 6Rnd_45ACP}, - {Loot_MAGAZINE, 1, 8Rnd_12Gauge_Buck}, {Loot_MAGAZINE, 1, ItemHotwireKit}, {Loot_MAGAZINE, 2, ItemComboLock}, {Loot_MAGAZINE, 3, HandRoadFlare} @@ -14,4 +12,4 @@ ZombiePoliceViral[] = { {Loot_GROUP, 10, ZombiePolice}, {Loot_MAGAZINE, 1, ItemAntibiotic1} -}; \ No newline at end of file +};