From 71956df2489b79025c685d96bb20ae7e06e75cc9 Mon Sep 17 00:00:00 2001 From: icomrade Date: Tue, 23 Feb 2016 10:39:33 -0500 Subject: [PATCH] CfgLootSmall Done, left off at tents[] in CfgLoot --- SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp | 143 ++++++++++++++++++ .../Configs/CfgLoot/CfgLootSmall.hpp | 5 +- SQF/dayz_code/Configs/CfgLoot/Groups/Ammo.hpp | 35 ++++- .../CfgLoot/Groups/Buildings/Military.hpp | 19 ++- .../CfgLoot/Groups/Buildings/Office.hpp | 15 +- .../CfgLoot/Groups/Buildings/Supermarket.hpp | 8 +- .../Configs/CfgLoot/Groups/Clothes.hpp | 54 +++++++ .../Configs/CfgLoot/Groups/Consumable.hpp | 2 + .../Configs/CfgLoot/Groups/Generic.hpp | 5 + .../CfgLoot/Groups/Zombies/Civilian.hpp | 9 +- .../Configs/CfgLoot/Groups/Zombies/Hunter.hpp | 9 +- .../CfgLoot/Groups/Zombies/Military.hpp | 3 +- .../Configs/CfgLoot/Groups/Zombies/Police.hpp | 7 +- .../Configs/CfgLoot/Groups/Zombies/Worker.hpp | 19 +++ .../Configs/CfgVehicles/Zeds/ViralZeds.hpp | 3 +- .../Configs/CfgVehicles/Zeds/Zeds.hpp | 2 +- SQF/dayz_code/NOTE.txt | 17 +++ 17 files changed, 324 insertions(+), 31 deletions(-) create mode 100644 SQF/dayz_code/Configs/CfgLoot/Groups/Clothes.hpp create mode 100644 SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Worker.hpp create mode 100644 SQF/dayz_code/NOTE.txt diff --git a/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp b/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp index d6b86251d..384e466d0 100644 --- a/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp @@ -1,3 +1,145 @@ +#include "LootDefines.hpp" + +class CfgLoot +{ + class Groups + { + //Not renamed yet + #define DZ_BP_VestPouch DZ_Czech_Vest_Puch + #define DZ_BP_Patrol DZ_Patrol_Pack_EP1 + #define DZ_BP_Assault DZ_Assault_Pack_EP1 + #define DZ_BP_Survival DZ_TK_Assault_Pack_EP1 + #define DZ_BP_Alice DZ_ALICE_Pack_EP1 + #define DZ_BP_British DZ_British_ACU + #define DZ_BP_Czech DZ_CivilBackpack_EP1 + #define DZ_BP_Coyote DZ_Backpack_EP1 + + #define ItemBloodbagAPos bloodBagAPos + #define ItemBloodbagANeg bloodBagANeg + #define ItemBloodbagBPos bloodBagBPos + #define ItemBloodbagBNeg bloodBagBNeg + #define ItemBloodbagABPos bloodBagABPos + #define ItemBloodbagABNeg bloodBagABNeg + #define ItemBloodbagOPos bloodBagOPos + #define ItemBloodbagONeg bloodBagONeg + + #define ItemBloodTester bloodTester + #define ItemTransfusionKit transfusionKit + #define ItemBloodbagEmpty emptyBloodBag + + // General groups + #include "Groups\Ammo.hpp" + #include "Groups\AmmoBox.hpp" + #include "Groups\Attachments.hpp" + #include "Groups\Medical.hpp" + #include "Groups\Generic.hpp" + #include "Groups\Trash.hpp" + #include "Groups\Consumable.hpp" + #include "Groups\ConsumableItems.hpp" + #include "Groups\Parts.hpp" + + // Points of interest + #include "Groups\CrashSite.hpp" + #include "Groups\CarePackage.hpp" + #include "Groups\InfectedCamp.hpp" + + // Buildings + #include "Groups\Buildings\Boat.hpp" + #include "Groups\Buildings\Castle.hpp" + #include "Groups\Buildings\Church.hpp" + #include "Groups\Buildings\Construction.hpp" + #include "Groups\Buildings\Farm.hpp" + #include "Groups\Buildings\Hospital.hpp" + #include "Groups\Buildings\Hunting.hpp" + #include "Groups\Buildings\Industrial.hpp" + #include "Groups\Buildings\Military.hpp" + #include "Groups\Buildings\Office.hpp" + #include "Groups\Buildings\Powerlines.hpp" + #include "Groups\Buildings\Residential.hpp" + #include "Groups\Buildings\ResidentialRuins.hpp" + #include "Groups\Buildings\Supermarket.hpp" + #include "Groups\Buildings\Toilet.hpp" + #include "Groups\Buildings\Hangar.hpp" + + // Zombies + #include "Groups\Zombies\Civilian.hpp" + #include "Groups\Zombies\Hunter.hpp" + #include "Groups\Zombies\Police.hpp" + #include "Groups\Zombies\Military.hpp" + + #undef DZ_BP_VestPouch + #undef DZ_BP_Patrol + #undef DZ_BP_Assault + #undef DZ_BP_Survival + #undef DZ_BP_Alice + #undef DZ_BP_British + #undef DZ_BP_Czech + #undef DZ_BP_Coyote + + #undef ItemBloodbagAPos + #undef ItemBloodbagANeg + #undef ItemBloodbagBPos + #undef ItemBloodbagBNeg + #undef ItemBloodbagABPos + #undef ItemBloodbagABNeg + #undef ItemBloodbagOPos + #undef ItemBloodbagONeg + + #undef ItemBloodTester + #undef ItemTransfusionKit + #undef ItemBloodbagEmpty + }; + + class Buildings + { + class Default + { + zombieChance = 0.2; + minRoaming = 0; + maxRoaming = 2; + zombieClass[] = + { + // "zZombie_Base", + "z_hunter", + "z_teacher", + "z_suit1", + "z_suit2", + "z_worker1", + "z_worker2", + "z_worker3", + "z_villager1", + "z_villager2", + "z_villager3" + }; + + lootChance = 0; + lootGroup = ""; + lootPos[] = {}; + }; + + // Buildings + #include "Buildings\Residential.hpp" + #include "Buildings\Boat.hpp" + #include "Buildings\Castle.hpp" + #include "Buildings\Church.hpp" + #include "Buildings\Construction.hpp" + #include "Buildings\CrashSite.hpp" + #include "Buildings\Farm.hpp" + #include "Buildings\Hospital.hpp" + #include "Buildings\Hunting.hpp" + #include "Buildings\Industrial.hpp" + #include "Buildings\InfectedCamp.hpp" + #include "Buildings\Military.hpp" + #include "Buildings\Office.hpp" + #include "Buildings\Powerlines.hpp" + #include "Buildings\ResidentialRuins.hpp" + #include "Buildings\Supermarket.hpp" + #include "Buildings\Toilet.hpp" + #include "Buildings\Roaming.hpp" + #include "Buildings\Misc.hpp" + }; +}; +/* //OLD SYSTEM MAKE INTO LEGACY SYSTEM? #include "CfgLootSmall.hpp" class CfgLoot { trash[] = { @@ -510,3 +652,4 @@ class CfgLoot { ,{"M1014",0.4} }; }; +*/ diff --git a/SQF/dayz_code/Configs/CfgLoot/CfgLootSmall.hpp b/SQF/dayz_code/Configs/CfgLoot/CfgLootSmall.hpp index 0e77201d6..14903dbb7 100644 --- a/SQF/dayz_code/Configs/CfgLoot/CfgLootSmall.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/CfgLootSmall.hpp @@ -1,4 +1,5 @@ -class CfgLootSmall { +// This file is kept as a reference prior to release, delete if I forget +/*class CfgLootSmall { trash[] = { {"TrashTinCan",0.5}, {"TrashJackDaniels",0.05}, @@ -273,4 +274,4 @@ class CfgLootSmall { {"M9SD",0.04}, {"revolver_gold_EP1",0.01} }; -}; \ No newline at end of file +}; */ \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Ammo.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Ammo.hpp index c42e29a72..e7a9492a0 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Ammo.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Ammo.hpp @@ -4,6 +4,7 @@ AmmoCivilian[] = {Loot_MAGAZINE, 5, 8Rnd_9x18_Makarov}, {Loot_MAGAZINE, 3, 7Rnd_45ACP_1911}, {Loot_MAGAZINE, 4, 6Rnd_45ACP}, + {Loot_MAGAZINE, 1, 8Rnd_9x18_MakarovSD}, //Rifles {Loot_MAGAZINE, 3, 15Rnd_W1866_Slug}, @@ -12,10 +13,10 @@ AmmoCivilian[] = {Loot_MAGAZINE, 1, 5Rnd_17HMR}, //Shotgun - {Loot_MAGAZINE, 1, 8Rnd_12Gauge_Buck}, - {Loot_MAGAZINE, 3, 8Rnd_12Gauge_Slug}, - {Loot_MAGAZINE, 3, 2Rnd_12Gauge_Buck}, - {Loot_MAGAZINE, 5, 2Rnd_12Gauge_Slug} + {Loot_MAGAZINE, 1, 8Rnd_B_Beneli_Pellets}, + {Loot_MAGAZINE, 3, 8Rnd_B_Beneli_74Slug}, + {Loot_MAGAZINE, 3, 2Rnd_shotgun_74Pellets}, + {Loot_MAGAZINE, 5, 2Rnd_shotgun_74Slug} }; AmmoMilitaryLow[] = @@ -45,15 +46,24 @@ AmmoMilitaryLow[] = {Loot_MAGAZINE, 8, 30Rnd_556x45_Stanag}, {Loot_MAGAZINE, 4, 30Rnd_556x45_StanagSD}, {Loot_MAGAZINE, 4, 30Rnd_556x45_G36}, + {Loot_MAGAZINE, 3, 100Rnd_556x45_BetaCMag}, {Loot_MAGAZINE, 2, 30Rnd_556x45_G36SD}, //Machine guns {Loot_MAGAZINE, 4, 75Rnd_545x39_RPK}, {Loot_MAGAZINE, 1, 50Rnd_762x54_UK59}, - + {Loot_MAGAZINE, 1, 200Rnd_556x45_M249}, + {Loot_MAGAZINE, 2, 100Rnd_556x45_M249}, + {Loot_MAGAZINE, 2, 100Rnd_762x51_M240}, + {Loot_MAGAZINE, 2, 100Rnd_762x54_PK}, + {Loot_MAGAZINE, 3, 75Rnd_545x39_RPK}, + {Loot_MAGAZINE, 3, 75Rnd_762x39_RPK}, + {Loot_MAGAZINE, 3, 50Rnd_762x54_UK59}, + //Sniper rifles {Loot_MAGAZINE, 3, 5Rnd_762x51_M24}, - + {Loot_MAGAZINE, 3, 10Rnd_762x54_SVD}, + //Grenade launchers {Loot_MAGAZINE, 4, 1Rnd_HE_M203}, {Loot_MAGAZINE, 6, 1Rnd_HE_GP25}, @@ -63,6 +73,12 @@ AmmoMilitaryLow[] = {Loot_MAGAZINE, 5, FlareGreen_GP25}, {Loot_MAGAZINE, 3, 1Rnd_Smoke_M203}, {Loot_MAGAZINE, 5, 1Rnd_Smoke_GP25}, + + //DZE + {Loot_MAGAZINE, 3, 5Rnd_86x70_L115A1}, + {Loot_MAGAZINE, 3, 20Rnd_B_765x17_Ball}, + {Loot_MAGAZINE, 4, 20Rnd_762x51_DMR}, + {Loot_MAGAZINE, 4, 20Rnd_762x51_FNFAL}, //Handgrenades {Loot_MAGAZINE, 5, SmokeShell}, @@ -77,6 +93,7 @@ AmmoMilitaryHigh[] = {Loot_MAGAZINE, 10, 30Rnd_762x39_SA58}, {Loot_MAGAZINE, 10, 30Rnd_556x45_Stanag}, {Loot_MAGAZINE, 5, 30Rnd_556x45_G36}, + {Loot_MAGAZINE, 5, 100Rnd_556x45_BetaCMag}, //Battle rifles {Loot_MAGAZINE, 5, 20Rnd_762x51_DMR}, @@ -94,7 +111,11 @@ AmmoMilitaryHigh[] = //Sniper rifles {Loot_MAGAZINE, 8, 5Rnd_762x51_M24}, {Loot_MAGAZINE, 6, 10Rnd_762x54_SVD}, - + + //DZE + {Loot_MAGAZINE, 6, 5Rnd_86x70_L115A1}, + {Loot_MAGAZINE, 7, 20Rnd_B_765x17_Ball}, + //Handgrenades {Loot_MAGAZINE, 2, HandGrenade_East}, {Loot_MAGAZINE, 1, HandGrenade_West} diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp index aed9cfc4a..88dbfc8b3 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Military.hpp @@ -2,10 +2,14 @@ Military[] = { //Pistols {Loot_WEAPON, 3, Makarov_DZ}, + {Loot_WEAPON, 1, MakarovSD}, {Loot_WEAPON, 2, M1911_DZ}, - {Loot_WEAPON, 1, M9_DZ}, - {Loot_WEAPON, 1, G17_DZ}, - + {Loot_WEAPON, 2, M9_DZ}, + {Loot_WEAPON, 1, M9SD}, + {Loot_WEAPON, 2, G17_DZ}, + {Loot_WEAPON, 2, Revolver_DZ}, + {Loot_WEAPON, 0.5, revolver_gold_EP1}, + //Submachineguns {Loot_WEAPON, 1, PDW_DZ}, {Loot_WEAPON, 3, Bizon_DZ}, @@ -63,10 +67,14 @@ Military[] = MilitarySpecial[] = { //Pistols - {Loot_WEAPON, 1, Makarov_DZ}, - {Loot_WEAPON, 1, M1911_DZ}, + {Loot_WEAPON, 3, Makarov_DZ}, + {Loot_WEAPON, 1, MakarovSD}, + {Loot_WEAPON, 2, M1911_DZ}, {Loot_WEAPON, 2, M9_DZ}, + {Loot_WEAPON, 1, M9SD}, {Loot_WEAPON, 2, G17_DZ}, + {Loot_WEAPON, 2, Revolver_DZ}, + {Loot_WEAPON, 0.5, revolver_gold_EP1}, //Submachineguns {Loot_WEAPON, 2, PDW_DZ}, @@ -126,6 +134,7 @@ MilitarySpecial[] = {Loot_MAGAZINE, 3, FoodMRE}, {Loot_MAGAZINE, 2, ItemSandbag}, {Loot_MAGAZINE, 0.5, PipeBomb}, + {Loot_MAGAZINE, 0.5, MAAWS_HEAT}, {Loot_PILE, 15, AmmoMilitaryLow, 1, 4}, {Loot_PILE, 10, AmmoMilitaryHigh, 1, 3}, {Loot_GROUP, 2, AttachmentsGeneric}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Office.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Office.hpp index c979c408e..1c26365db 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Office.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Office.hpp @@ -6,9 +6,13 @@ Office[] = {Loot_WEAPON, 5, ItemFlashlight}, //Pistols - {Loot_WEAPON, 4, Makarov_DZ}, - {Loot_WEAPON, 3, Revolver_DZ}, + {Loot_WEAPON, 3, Makarov_DZ}, + {Loot_WEAPON, 1, MakarovSD}, {Loot_WEAPON, 2, M1911_DZ}, + {Loot_WEAPON, 2, M9_DZ}, + {Loot_WEAPON, 1, M9SD}, + {Loot_WEAPON, 2, G17_DZ}, + {Loot_WEAPON, 2, Revolver_DZ}, //Rifles {Loot_WEAPON, 3, MeleeBaseBallBat}, @@ -21,9 +25,14 @@ Office[] = //Items {Loot_MAGAZINE, 5, ItemAntibacterialWipe}, {Loot_MAGAZINE, 5, ItemPainkiller}, + {Loot_MAGAZINE, 1, ItemBriefcaseEmpty}, + {Loot_MAGAZINE, 1, ItemLockbox}, + //{Loot_MAGAZINE, 3, 10x_303}, //IN GENERIC + //{Loot_MAGAZINE, 1, 5x_22_LR_17_HMR}, //IN GENERIC //Groups - {Loot_GROUP, 10, Trash}, + {Loot_GROUP, 8, Consumable}, + {Loot_GROUP, 6, Trash}, {Loot_GROUP, 8, Generic}, {Loot_GROUP, 5, AmmoCivilian}, {Loot_GROUP, 2, AttachmentsGeneric} diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Supermarket.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Supermarket.hpp index 98e70497d..0ab26046e 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Supermarket.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Supermarket.hpp @@ -11,9 +11,11 @@ Supermarket[] = {Loot_WEAPON, 1, ItemDIY_Gate}, //Pistols - {Loot_WEAPON, 2, Makarov_DZ}, - {Loot_WEAPON, 1, Revolver_DZ}, - + {Loot_WEAPON, 3, Makarov_DZ}, + {Loot_WEAPON, 2, M1911_DZ}, + {Loot_WEAPON, 1, M9_DZ}, + {Loot_WEAPON, 2, G17_DZ}, + {Loot_WEAPON, 1, Revolver_DZ}, //Rifles /* {Loot_WEAPON, 1, LeeEnfield_DZ}, {Loot_WEAPON, 1, Mosin_DZ}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Clothes.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Clothes.hpp new file mode 100644 index 000000000..0f5734455 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Clothes.hpp @@ -0,0 +1,54 @@ +clothes[] = { + {Loot_MAGAZINE, 3, Skin_RU_Policeman_DZ} + ,{Loot_MAGAZINE, 3, Skin_Pilot_EP1_DZ} + ,{Loot_MAGAZINE, 3, Skin_Functionary1_EP1_DZ} + ,{Loot_MAGAZINE, 3, Skin_Priest_DZ} + ,{Loot_MAGAZINE, 2, Skin_Rocker1_DZ} + ,{Loot_MAGAZINE, 2, Skin_Rocker2_DZ} + ,{Loot_MAGAZINE, 2, Skin_Rocker3_DZ} + ,{Loot_MAGAZINE, 2, Skin_Rocker4_DZ} + ,{Loot_MAGAZINE, 2, Skin_SurvivorW3_DZ} + ,{Loot_MAGAZINE, 2, Skin_SurvivorWpink_DZ} + ,{Loot_MAGAZINE, 2, Skin_SurvivorWurban_DZ} + ,{Loot_MAGAZINE, 1, Skin_INS_Bardak_DZ} + ,{Loot_MAGAZINE, 1, Skin_INS_Worker2_DZ} +}; +militaryclothes[] = { + {Loot_MAGAZINE, 3, Skin_Camo1_DZ} + ,{Loot_MAGAZINE, 3, Skin_Sniper1_DZ} + ,{Loot_MAGAZINE, 2, Skin_Rocket_DZ} + ,{Loot_MAGAZINE, 3, Skin_Soldier1_DZ} + ,{Loot_MAGAZINE, 3, Skin_Drake_Light_DZ} + ,{Loot_MAGAZINE, 3, Skin_Soldier_TL_PMC_DZ} + ,{Loot_MAGAZINE, 2, Skin_Soldier_Sniper_PMC_DZ} + ,{Loot_MAGAZINE, 3, Skin_Soldier_Bodyguard_AA12_PMC_DZ} + ,{Loot_MAGAZINE, 2, Skin_CZ_Special_Forces_GL_DES_EP1_DZ} + ,{Loot_MAGAZINE, 3, Skin_FR_OHara_DZ} + ,{Loot_MAGAZINE, 3, Skin_FR_Rodriguez_DZ} + ,{Loot_MAGAZINE, 1, Skin_CZ_Soldier_Sniper_EP1_DZ} + ,{Loot_MAGAZINE, 3, Skin_Graves_Light_DZ} + ,{Loot_MAGAZINE, 2, Skin_INS_Soldier_AR_DZ} + ,{Loot_MAGAZINE, 2, Skin_INS_Soldier_CO_DZ} +}; +specialclothes[] = { + {Loot_MAGAZINE, 3, Skin_Ins_Soldier_GL_DZ} + ,{Loot_MAGAZINE, 3, Skin_GUE_Commander_DZ} + ,{Loot_MAGAZINE, 4, Skin_Bandit1_DZ} + ,{Loot_MAGAZINE, 3, Skin_Bandit2_DZ} + ,{Loot_MAGAZINE, 2, Skin_BanditW1_DZ} + ,{Loot_MAGAZINE, 2, Skin_BanditW2_DZ} + ,{Loot_MAGAZINE, 2, Skin_TK_INS_Soldier_EP1_DZ} + ,{Loot_MAGAZINE, 2, Skin_TK_INS_Warlord_EP1_DZ} + ,{Loot_MAGAZINE, 3, Skin_SurvivorWcombat_DZ} + ,{Loot_MAGAZINE, 3, Skin_SurvivorWdesert_DZ} + ,{Loot_MAGAZINE, 2, Skin_GUE_Soldier_MG_DZ} + ,{Loot_MAGAZINE, 2, Skin_GUE_Soldier_Sniper_DZ} + ,{Loot_MAGAZINE, 2, Skin_GUE_Soldier_Crew_DZ} + ,{Loot_MAGAZINE, 2, Skin_GUE_Soldier_CO_DZ} + ,{Loot_MAGAZINE, 2, Skin_GUE_Soldier_2_DZ} + ,{Loot_MAGAZINE, 1, Skin_TK_Special_Forces_MG_EP1_DZ} + ,{Loot_MAGAZINE, 1, Skin_TK_Soldier_Sniper_EP1_DZ} + ,{Loot_MAGAZINE, 1, Skin_TK_Commander_EP1_DZ} + ,{Loot_MAGAZINE, 1, Skin_RU_Soldier_Crew_DZ} + ,{Loot_MAGAZINE, 1, Skin_INS_Lopotev_DZ} +}; diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Consumable.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Consumable.hpp index 153fa876d..122e2ad45 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Consumable.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Consumable.hpp @@ -8,6 +8,7 @@ Consumable[] = {Loot_MAGAZINE, 3, ItemWaterBottleUnfilled}, {Loot_MAGAZINE, 1, ItemWaterBottleSafe}, {Loot_MAGAZINE, 1, ItemWaterBottle}, + {Loot_MAGAZINE, 1, ItemHeatPack}, {Loot_MAGAZINE, 3, ItemSodaCoke}, {Loot_MAGAZINE, 3, ItemSodaPepsi}, @@ -61,6 +62,7 @@ Consumable[] = {Loot_MAGAZINE, 2, FoodCanSardines}, {Loot_MAGAZINE, 2, FoodCanFrankBeans}, {Loot_MAGAZINE, 2, FoodCanPasta}, + {Loot_MAGAZINE, 2, FoodBioMeat}, {Loot_MAGAZINE, 5, FoodCanRusUnlabeled}, {Loot_MAGAZINE, 5, FoodCanRusStew}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp index c6a37db1c..abd848d1a 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Generic.hpp @@ -6,10 +6,15 @@ Generic[] = {Loot_MAGAZINE, 1, HandChemGreen}, {Loot_MAGAZINE, 1, HandChemBlue}, {Loot_MAGAZINE, 1, HandChemRed}, + + //DZE + {Loot_MAGAZINE, 1, 5x_22_LR_17_HMR}, + {Loot_MAGAZINE, 2, 10x_303}, // {Loot_MAGAZINE, 1, ItemBookBible}, {Loot_MAGAZINE, 1, equip_string}, + {Loot_MAGAZINE, 1, ItemDocument}, {Loot_MAGAZINE, 1, equip_duct_tape}, {Loot_MAGAZINE, 1, equip_rope}, {Loot_MAGAZINE, 1, equip_herb_box}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Civilian.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Civilian.hpp index ee8e4b9a5..780135745 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Civilian.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Civilian.hpp @@ -1,14 +1,15 @@ ZombieCivilian[] = { {Loot_GROUP, 10, Consumable}, - {Loot_GROUP, 1, AmmoCivilian}, + {Loot_GROUP, 2, AmmoCivilian}, {Loot_MAGAZINE, 3, ItemBandage}, - {Loot_MAGAZINE, 2, ItemPainkiller}, - {Loot_MAGAZINE, 2, ItemAntibacterialWipe} + {Loot_MAGAZINE, 3, ItemPainkiller}, + {Loot_MAGAZINE, 3, ItemAntibacterialWipe}, + {Loot_MAGAZINE, 3, ItemDocument} }; ZombieCivilianViral[] = { {Loot_GROUP, 10, ZombieCivilian}, - {Loot_MAGAZINE, 1, ItemAntibiotic1} + {Loot_MAGAZINE, 2, ItemAntibiotic1} }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Hunter.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Hunter.hpp index d94ce284b..1edf1c07b 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Hunter.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Hunter.hpp @@ -2,11 +2,16 @@ ZombieHunter[] = { {Loot_GROUP, 4, Consumable}, {Loot_GROUP, 7, AmmoCivilian}, - {Loot_MAGAZINE, 1, 1Rnd_Arrow_Wood} + {Loot_MAGAZINE, 1, 1Rnd_Arrow_Wood}, + {Loot_MAGAZINE, 3, ItemBandage}, + {Loot_MAGAZINE, 1, 5x_22_LR_17_HMR}, + {Loot_MAGAZINE, 2, 10x_303}, + {Loot_MAGAZINE, 2, ItemMixOil}, + {Loot_MAGAZINE, 2, ItemDocument} }; ZombieHunterViral[] = { {Loot_GROUP, 10, ZombieHunter}, - {Loot_MAGAZINE, 1, ItemAntibiotic1} + {Loot_MAGAZINE, 2, ItemAntibiotic1} }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Military.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Military.hpp index 98b5da87e..800f32166 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Military.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Military.hpp @@ -1,6 +1,7 @@ ZombieMilitary[] = { {Loot_MAGAZINE, 1, FoodMRE}, + {Loot_MAGAZINE, 2, ItemHotwireKit}, {Loot_GROUP, 3, MedicalLow}, {Loot_GROUP, 10, AmmoMilitaryLow}, {Loot_GROUP, 2, AmmoMilitaryHigh}, @@ -10,5 +11,5 @@ ZombieMilitary[] = ZombieMilitaryViral[] = { {Loot_GROUP, 10, ZombieMilitary}, - {Loot_MAGAZINE, 1, ItemAntibiotic1} + {Loot_MAGAZINE, 3, ItemAntibiotic1} }; \ 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 853be1f8e..762d2051c 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Police.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Police.hpp @@ -2,13 +2,16 @@ ZombiePolice[] = { {Loot_GROUP, 2, Consumable}, {Loot_MAGAZINE, 2, 7Rnd_45ACP_1911}, + {Loot_MAGAZINE, 2, ItemDocument}, {Loot_MAGAZINE, 3, 6Rnd_45ACP}, - {Loot_MAGAZINE, 1, 8Rnd_12Gauge_Buck}, + {Loot_MAGAZINE, 1, 8Rnd_B_Beneli_Pellets}, + {Loot_MAGAZINE, 1, ItemHotwireKit}, + {Loot_MAGAZINE, 2, ItemComboLock}, {Loot_MAGAZINE, 3, HandRoadFlare} }; ZombiePoliceViral[] = { {Loot_GROUP, 10, ZombiePolice}, - {Loot_MAGAZINE, 1, ItemAntibiotic1} + {Loot_MAGAZINE, 2, ItemAntibiotic1} }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Worker.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Worker.hpp new file mode 100644 index 000000000..4d4b5170b --- /dev/null +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Zombies/Worker.hpp @@ -0,0 +1,19 @@ +ZombieWorker[] = +{ + {Loot_GROUP, 10, Consumable}, + {Loot_GROUP, 2, AmmoCivilian}, + {Loot_MAGAZINE, 3, ItemBandage}, + {Loot_MAGAZINE, 3, ItemPainkiller}, + {Loot_MAGAZINE, 3, ItemAntibacterialWipe}, + {Loot_MAGAZINE, 2, ItemDocument}, + {Loot_MAGAZINE, 2, ItemWire}, + {Loot_MAGAZINE, 3, ItemTankTrap}, + {Loot_MAGAZINE, 3, ItemComboLock}, + {Loot_MAGAZINE, 2, ItemSledgeHead} +}; + +ZombieWorkerViral[] = +{ + {Loot_GROUP, 10, ZombieCivilian}, + {Loot_MAGAZINE, 2, ItemAntibiotic1} +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/Zeds/ViralZeds.hpp b/SQF/dayz_code/Configs/CfgVehicles/Zeds/ViralZeds.hpp index 8843cf90d..42320682f 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Zeds/ViralZeds.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Zeds/ViralZeds.hpp @@ -136,7 +136,8 @@ model = "\Ca\characters_E\Overall\Overall"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\Ca\characters_E\Overall\Data\Overall_4_co.paa"}; - + zombieLoot = ZombieWorkerViral; + class Wounds { tex[] = {}; mat[] = {"Ca\characters_E\Overall\Data\Overall.rvmat", "Ca\characters_E\Overall\Data\W1_Overall.rvmat", "Ca\characters_E\Overall\Data\W2_Overall.rvmat"}; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp b/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp index e3102bc63..74740b47c 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Zeds/Zeds.hpp @@ -316,7 +316,7 @@ class z_suit2 : z_suit1 { }; class z_worker1 : zZombie_Base { displayName = $STR_ZNAME_WORKER; - zombieLoot = ZombieCivilian; + zombieLoot = ZombieWorker; model = "\Ca\characters_E\Overall\Overall"; hiddenSelections[] = {"Camo"}; diff --git a/SQF/dayz_code/NOTE.txt b/SQF/dayz_code/NOTE.txt new file mode 100644 index 000000000..e47436161 --- /dev/null +++ b/SQF/dayz_code/NOTE.txt @@ -0,0 +1,17 @@ +replace all of +8Rnd_12Gauge_Buck +8Rnd_12Gauge_Slug +2Rnd_12Gauge_Buck +2Rnd_12Gauge_Slug +with original epoch ammo + +CHANGED WEAPON CLASSES + + {Loot_WEAPON, 3, Makarov_DZ}, + {Loot_WEAPON, 1, MakarovSD}, + {Loot_WEAPON, 2, M1911_DZ}, + {Loot_WEAPON, 2, M9_DZ}, + {Loot_WEAPON, 1, M9SD}, + {Loot_WEAPON, 2, G17_DZ}, + {Loot_WEAPON, 2, Revolver_DZ}, + {Loot_WEAPON, 0.5, revolver_gold_EP1}, \ No newline at end of file