From 0e4ed37218a0b2066a442286396b0ea77e5f3375 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sat, 12 Mar 2016 23:19:02 -0500 Subject: [PATCH] Remove CfgLootLegacy for now See discussion at: https://github.com/EpochModTeam/DayZ-Epoch/commit/8201643c00fefb3f8956a7a23e02e69a8125b1a2#commitcomment-16665467 --- .../Configs/CfgLoot/CfgBuildingLoot.hpp | 14 +- .../Configs/CfgLoot/CfgBuildingLootLegacy.hpp | 695 ------------------ .../Configs/CfgLoot/CfgBuildingPos.hpp | 6 +- SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp | 17 +- .../Configs/CfgLoot/CfgLootLegacy.hpp | 511 ------------- .../Configs/CfgLoot/CfgLootSmall.hpp | 276 ------- SQF/dayz_code/NOTE.txt | 3 - 7 files changed, 19 insertions(+), 1503 deletions(-) delete mode 100644 SQF/dayz_code/Configs/CfgLoot/CfgBuildingLootLegacy.hpp delete mode 100644 SQF/dayz_code/Configs/CfgLoot/CfgLootLegacy.hpp delete mode 100644 SQF/dayz_code/Configs/CfgLoot/CfgLootSmall.hpp diff --git a/SQF/dayz_code/Configs/CfgLoot/CfgBuildingLoot.hpp b/SQF/dayz_code/Configs/CfgLoot/CfgBuildingLoot.hpp index e953e4bc3..20b9bd29d 100644 --- a/SQF/dayz_code/Configs/CfgLoot/CfgBuildingLoot.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/CfgBuildingLoot.hpp @@ -1,9 +1,10 @@ -/* - Moved here for easier unmodified mission include: +/* + If using DZE_MissionLootTable = true; without changing anything in BuildingLoot then + use an include instead of copying the files to your mission: + #include "\z\addons\dayz_code\Configs\CfgLoot\CfgBuildingLoot.hpp" - - If legacy is removed these should be put back in CfgLoot.hpp */ + #include "Groups\Buildings\Boat.hpp" #include "Groups\Buildings\Castle.hpp" #include "Groups\Buildings\Church.hpp" @@ -20,7 +21,4 @@ #include "Groups\Buildings\Supermarket.hpp" #include "Groups\Buildings\Toilet.hpp" #include "Groups\Buildings\Hangar.hpp" -#include "Groups\Buildings\DZE_Other.hpp" - -// Can be removed if not using legacy loot tables -#include "CfgBuildingLootLegacy.hpp" \ No newline at end of file +#include "Groups\Buildings\DZE_Other.hpp" \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/CfgBuildingLootLegacy.hpp b/SQF/dayz_code/Configs/CfgLoot/CfgBuildingLootLegacy.hpp deleted file mode 100644 index 95e43d9a2..000000000 --- a/SQF/dayz_code/Configs/CfgLoot/CfgBuildingLootLegacy.hpp +++ /dev/null @@ -1,695 +0,0 @@ -class CfgBuildingLootLegacy { - 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; - lootPos[] = {}; - - lootPosSmall[] = {}; - lootPosZombie[] = {}; - - itemType[] = {}; - - itemChance[] = {}; - lootTypeSmall[] = {}; - itemChanceSmall[] = {}; - - hangPos[] = {}; - vehPos[] = {}; - }; - - class Castle: Default { - lootChance = 0.2; - lootPos[] = {}; - lootType[] = { - //one spawn - //tools - //{"ItemMatchbox","weapon",0.01}, - {"ItemKnife","weapon",0.01}, - {"ItemMap","generic",0.01}, - {"ItemCompass","weapon",0.01}, - {"ItemFlashlight","weapon",0.01}, - //weapons - {"WeaponHolder_ItemHatchet","object",0.01}, - //special - {"WeaponHolder_ItemTent","object",0.01}, - //{"WeaponHolder_DomeTentStorage","object",0.01}, - //mags special - {"PartWoodPile","magazine",0.04}, - //bags - //{"DZ_Patrol_Pack_EP1","object",0.01}, - //Multiple spawns - //{"","Residential",0.60}, - {"","generic",0.40} - }; - }; - class Residential: Default { - zombieChance = 0.3; - maxRoaming = 2; - zombieClass[] = {"zZombie_Base","z_hunter","z_teacher","z_villager1","z_villager2","z_villager3"}; - lootChance = 0.4; - lootPos[] = {}; - lootType[] = { - {"ItemWatch","generic",0.04}, - {"ItemCompass","generic",0.03}, - {"ItemMap","weapon",0.02}, - {"ItemFlashlight","generic",0.01}, - {"ItemKnife","generic",0.04}, - {"ItemMatchbox_DZE","generic",0.01}, - {"","generic",0.32}, - {"backpacks","backpacks",0.04}, - {"tents","tents",0.01}, - {"","military",0.02}, - {"","trash",0.17}, - {"Binocular","weapon",0.02}, - {"PartPlywoodPack","magazine",0.02}, - {"clothes","clothes",0.01}, - {"specialclothes","specialclothes",0.01}, - {"WeaponHolder_MeleeCrowbar","object",0.03}, - {"pistols", "cfglootweapon", 0.04 }, - {"shotgunsingleshot", "cfglootweapon", 0.04 } - }; - lootTypeSmall[] = { - { "ItemSodaMdew","magazine",0.01 }, - { "ItemSodaRbull","magazine",0.01 }, - { "ItemSodaOrangeSherbet","magazine",0.02 }, - { "ItemWatch","weapon",0.05 }, - { "ItemCompass","weapon",0.04 }, - { "ItemMap","weapon",0.03 }, - { "pistols","cfglootweapon",0.12 }, - { "ItemFlashlight","weapon",0.02 }, - { "ItemKnife","weapon",0.04 }, - { "ItemMatchbox_DZE","weapon",0.03 }, - { "","generic",0.38 }, - { "","military",0.04 }, - { "","trash",0.17 }, - { "Binocular","weapon",0.02 }, - { "clothes","single",0.01}, - { "specialclothes","single",0.01 } - }; - }; - class Office: Default { - maxRoaming = 3; - zombieClass[] = {"z_suit1","z_suit2"}; - zombieChance = 0.3; - lootChance = 0.4; - lootPos[] = {}; - lootType[] = { - {"ItemWatch","generic",0.04}, - {"ItemCompass","generic",0.03}, - {"ItemMap","weapon",0.02}, - {"ItemFlashlight","generic",0.01}, - {"ItemKnife","generic",0.04}, - {"ItemMatchbox_DZE","generic",0.01}, - {"","generic",0.31}, - {"backpacks","backpacks",0.04}, - {"tents","tents",0.01}, - {"","military",0.02}, - {"","trash",0.21}, - {"Binocular","weapon",0.02}, - {"PartPlywoodPack","magazine",0.02}, - {"clothes","clothes",0.01}, - {"specialclothes","specialclothes",0.01}, - {"WeaponHolder_MeleeCrowbar","object",0.03}, - {"ItemBriefcaseEmpty","magazine",0.01}, - { "shotgunsingleshot", "cfglootweapon", 0.05} - }; - lootTypeSmall[] = { - { "ItemSodaMdew","magazine",0.01 }, - { "ItemSodaRbull","magazine",0.01 }, - { "ItemSodaOrangeSherbet","magazine",0.02 }, - { "ItemWatch","weapon",0.05 }, - { "ItemCompass","weapon",0.04 }, - { "ItemMap","weapon",0.03 }, - { "pistols","cfglootweapon",0.15 }, - { "ItemFlashlight","weapon",0.02 }, - { "ItemKnife","weapon",0.05 }, - { "ItemMatchbox_DZE","weapon",0.03 }, - { "","generic",0.31 }, - { "","military",0.04 }, - { "","trash",0.03 }, - { "Binocular","weapon",0.02 }, - { "clothes","single",0.16 }, - { "specialclothes","single",0.02 }, - { "ItemDocument","magazine",0.01 } - }; - }; - class Industrial: Default { - zombieChance = 0.4; - zombieClass[] = {"z_worker1","z_worker2","z_worker3"}; - maxRoaming = 2; - lootChance = 0.4; - lootPos[] = {}; - lootType[] = { - {"ItemGenerator","magazine",0.01}, - {"ItemFuelBarrelEmpty","magazine",0.01}, - {"","generic",0.17}, - {"","trash",0.25}, - {"","military",0.04}, - {"PartGeneric","magazine",0.04}, - {"PartWheel","magazine",0.05}, - {"PartFueltank","magazine",0.02}, - {"PartEngine","magazine",0.02}, - {"PartGlass","magazine",0.04}, - {"PartVRotor","magazine",0.01}, - {"ItemJerrycan","magazine",0.04}, - {"WeaponHolder_ItemHatchet_DZE","object",0.07}, - {"ItemKnife","military",0.07}, - {"ItemToolbox","weapon",0.06}, - {"ItemWire","magazine",0.01}, - {"ItemTankTrap","magazine",0.04}, - {"ItemKeyKit","weapon",0.01}, - {"CinderBlocks","magazine",0.03}, - {"MortarBucket","magazine",0.01} - }; - lootTypeSmall[] = { - { "","generic",0.5 }, - { "","trash",0.28 }, - { "","military",0.14 }, - { "ItemKnife","weapon",0.07 }, - { "ItemKeyKit","weapon",0.01 } - }; - }; - class IndustrialFuel: Default { - zombieChance = 0.4; - zombieClass[] = {"z_worker1","z_worker2","z_worker3"}; - maxRoaming = 2; - lootChance = 0.4; - lootPos[] = {}; - lootType[] = { - {"ItemGenerator","magazine",0.01}, - {"fuel_pump_kit","magazine",0.01}, - {"","generic",0.18}, - {"","trash",0.28}, - {"","military",0.04}, - {"PartGeneric","magazine",0.04}, - {"PartWheel","magazine",0.05}, - {"PartFueltank","magazine",0.02}, - {"PartEngine","magazine",0.02}, - {"PartGlass","magazine",0.04}, - {"PartVRotor","magazine",0.01}, - {"ItemJerrycan","magazine",0.04}, - {"WeaponHolder_ItemHatchet_DZE","object",0.07}, - {"ItemKnife","military",0.07}, - {"ItemToolbox","weapon",0.06}, - {"ItemWire","magazine",0.01}, - {"ItemTankTrap","magazine",0.04}, - {"ItemKeyKit","weapon",0.01} - }; - lootTypeSmall[] = { - { "","generic",0.5 }, - { "","trash",0.28 }, - { "","military",0.14 }, - { "ItemKnife","weapon",0.07 }, - { "ItemKeyKit","weapon",0.01 } - }; - }; - class Farm: Default { - zombieChance = 0.3; - maxRoaming = 3; - zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3"}; - lootChance = 0.5; - lootPos[] = {}; - lootType[] = { - {"ItemJerrycan","magazine",0.05}, - {"","generic",0.3}, - {"","trash",0.11}, - {"PartPlankPack","magazine",0.06}, - {"WeaponHolder_ItemHatchet_DZE","object",0.05}, - {"ItemFuelBarrelEmpty","magazine",0.01}, - {"WeaponHolder_ItemMachete","object",0.03}, - {"ItemFishingPole","weapon",0.02}, - {"ItemLightBulb","magazine",0.02}, - {"ItemSledgeHandle","magazine",0.02}, - { "farmweapons", "cfglootweapon", 0.15} - }; - lootTypeSmall[] = { - { "","generic", 0.79}, - { "","trash",0.14 }, - { "","military",0.05}, - { "ItemLightBulb","magazine",0.01}, - { "ItemSledgeHead","magazine",0.01} - }; - }; - class Supermarket: Default { - lootChance = 0.6; - minRoaming = 2; - maxRoaming = 6; - zombieChance = 0.3; - zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"}; - lootType[] = { - {"ItemSodaMdew","magazine",0.01}, - {"ItemSodaRbull","magazine",0.01}, - {"ItemSodaOrangeSherbet","magazine",0.03}, - {"ItemWatch","generic",0.07}, - {"ItemCompass","generic",0.02}, - {"ItemMap","weapon",0.04}, - {"ItemFlashlight","generic",0.01}, - {"ItemKnife","generic",0.02}, - {"ItemMatchbox_DZE","generic",0.04}, - {"","generic",0.04}, - {"backpacks","backpacks",0.07}, - {"tents","tents",0.01}, - {"","food",0.3}, - {"","trash",0.17}, - {"Binocular","weapon",0.05}, - {"PartPlywoodPack","magazine",0.02}, - { "pistols", "cfglootweapon", 0.04}, - { "shotgunsingleshot", "cfglootweapon", 0.04} - }; - lootTypeSmall[] = { - { "ItemSodaMdew","magazine",0.01 }, - { "ItemSodaRbull","magazine",0.01 }, - { "ItemSodaOrangeSherbet","magazine",0.03 }, - { "ItemWatch","weapon",0.07 }, - { "ItemCompass","weapon",0.03 }, - { "ItemMap","weapon",0.05 }, - { "pistols","cfglootweapon",0.08 }, - { "ItemFlashlight","weapon",0.01 }, - { "ItemKnife","weapon",0.02 }, - { "ItemMatchbox_DZE","weapon",0.04 }, - { "","generic",0.21 }, - { "","food",0.24 }, - { "","trash",0.16 }, - { "Binocular","weapon",0.02 }, - { "ItemMixOil", "magazine",0.02} - }; - }; - class HeliCrash: Default { - zombieChance = 0.4; - maxRoaming = 2; - zombieClass[] = {"z_soldier_pilot"}; - lootChance = 0.5; - lootPos[] = {}; - lootType[] = { - { "assaultrifles", "cfglootweapon", 0.10 }, - { "submachinegun", "cfglootweapon", 0.04 }, - { "sniperrifles", "cfglootweapon", 0.07 }, - { "machineguns", "cfglootweapon", 0.06 }, - {"","military",0.3}, - {"","medical",0.18}, - {"MAAWS","weapon",0.02}, - {"MedBox0","object",0.05}, - {"NVGoggles","weapon",0.01}, - {"AmmoBoxSmall_556","object",0.03}, - {"AmmoBoxSmall_762","object",0.03}, - {"militaryclothes","militaryclothes",0.05}, - {"militaryammo","militaryammo",0.06} - }; - }; - class HeliCrash_No50s: Default { - zombieChance = 0.4; - maxRoaming = 2; - zombieClass[] = {"z_soldier_pilot"}; - lootChance = 0.5; - lootPos[] = {}; - lootType[] = { - { "assaultrifles", "cfglootweapon", 0.10 }, - { "submachinegun", "cfglootweapon", 0.04 }, - { "sniperrifles", "cfglootweapon", 0.07 }, - { "machineguns", "cfglootweapon", 0.06 }, - { "", "military", 0.3 }, - { "", "medical", 0.18 }, - { "MAAWS", "weapon", 0.02 }, - { "MedBox0", "object", 0.05 }, - { "NVGoggles", "weapon", 0.01 }, - { "AmmoBoxSmall_556", "object", 0.03 }, - { "AmmoBoxSmall_762", "object", 0.03 }, - { "militaryclothes", "militaryclothes", 0.05 }, - { "militaryammo", "militaryammo", 0.06 } - }; - }; - class Hospital: Default { - zombieChance = 0.4; - minRoaming = 2; - maxRoaming = 6; - zombieClass[] = {"z_doctor","z_doctor","z_doctor"}; - lootChance = 1; - lootPos[] = {}; - lootType[] = { - {"","trash",0.1}, - {"","hospital",0.7}, - {"MedBox0","object",0.2} - }; - lootTypeSmall[] = { - { "","trash",0.1 }, - { "","hospital",0.9 } - }; - }; - class Military: Default { - zombieChance = 0.3; - maxRoaming = 6; - zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman"}; - lootChance = 0.4; - lootPos[] = {}; - lootType[] = { - { "pistols", "cfglootweapon", 0.04}, - { "assaultrifles", "cfglootweapon", 0.13 }, - { "sniperrifles", "cfglootweapon", 0.04 }, - { "shotgunsingleshot", "cfglootweapon", 0.06 }, - { "submachinegun", "cfglootweapon", 0.07 }, - {"Binocular","weapon",0.03}, - {"ItemFlashlightRed","military",0.04}, - {"ItemKnife","military",0.01}, - {"ItemGPS","weapon",0.01}, - {"ItemMap","military",0.02}, - {"militarybackpacks","militarybackpacks",0.05}, - {"","medical",0.03}, - {"","generic",0.1}, - {"","military",0.3}, - {"ItemEtool","weapon",0.02}, - {"ItemSandbag","magazine",0.02}, - { "machineguns", "cfglootweapon", 0.03 } - }; - lootTypeSmall[] = { - { "pistols", "cfglootweapon", 0.14 }, - { "Binocular", "weapon", 0.05 }, - { "ItemFlashlightRed", "weapon", 0.03 }, - { "ItemKnife", "weapon", 0.04 }, - { "ItemGPS", "weapon", 0.02 }, - { "", "medical", 0.12 }, - { "", "generic", 0.22 }, - { "", "military", 0.35 }, - { "ItemEtool", "weapon", 0.03 } - }; - }; - class MilitaryIndustrial: Default { - zombieChance = 0.3; - maxRoaming = 6; - zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman","z_soldier","z_soldier_heavy","z_policeman","z_worker1","z_worker2","z_worker3"}; - lootChance = 0.4; - lootPos[] = {}; - lootType[] = { - { "pistols", "cfglootweapon", 0.02 }, - { "assaultrifles", "cfglootweapon", 0.05 }, - { "PartGeneric", "magazine", 0.03 }, - { "sniperrifles", "cfglootweapon", 0.01 }, - { "shotgunsingleshot", "cfglootweapon", 0.05 }, - { "ItemGenerator", "magazine", 0.01 }, - { "submachinegun", "cfglootweapon", 0.05 }, - {"PartGeneric","magazine",0.03}, - {"ItemGenerator","magazine",0.01}, - {"PartWheel","magazine",0.02}, - {"Binocular","weapon",0.01}, - {"ItemFlashlightRed","military",0.03}, - {"ItemKnife","military",0.04}, - {"ItemGPS","weapon",0.01}, - {"PartVRotor","magazine",0.01}, - {"militarybackpacks","militarybackpacks",0.03}, - {"","medical",0.05}, - {"","generic",0.35}, - {"","military",0.07}, - {"ItemEtool","weapon",0.03}, - {"ItemSandbag","magazine",0.02}, - {"ItemFuelBarrelEmpty","magazine",0.03}, - {"fuel_pump_kit","magazine",0.01}, - { "machineguns", "cfglootweapon", 0.01 } - }; - lootTypeSmall[] = { - { "pistols", "cfglootweapon", 0.14 }, - { "Binocular", "weapon", 0.05 }, - { "ItemFlashlightRed", "weapon", 0.03 }, - { "ItemKnife", "weapon", 0.04 }, - { "ItemGPS", "weapon", 0.02 }, - { "", "medical", 0.12 }, - { "", "generic", 0.22 }, - { "", "military", 0.35 }, - { "ItemEtool", "weapon", 0.03 } - }; - }; - class IndustrialMilitary: Default { - zombieChance = 0.4; - maxRoaming = 6; - zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman","z_soldier","z_soldier_heavy","z_policeman","z_worker1","z_worker2","z_worker3"}; - lootChance = 0.5; - lootPos[] = {}; - lootType[] = { - { "pistols", "cfglootweapon", 0.02 }, - { "assaultrifles", "cfglootweapon", 0.05 }, - { "PartGeneric", "magazine", 0.03 }, - { "sniperrifles", "cfglootweapon", 0.01 }, - { "shotgunsingleshot", "cfglootweapon", 0.05 }, - { "ItemGenerator", "magazine", 0.01 }, - { "submachinegun", "cfglootweapon", 0.05 }, - {"PartGeneric","magazine",0.03}, - {"ItemGenerator","magazine",0.01}, - {"PartWheel","magazine",0.02}, - {"Binocular","weapon",0.01}, - {"ItemFlashlightRed","military",0.03}, - {"ItemKnife","military",0.04}, - {"ItemGPS","weapon",0.01}, - {"PartVRotor","magazine",0.01}, - {"PartFueltank","magazine",0.03}, - {"PartEngine","magazine",0.04}, - {"PartGlass","magazine",0.05}, - {"militarybackpacks","militarybackpacks",0.03}, - {"","medical",0.05}, - {"","generic",0.25}, - {"","military",0.07}, - {"ItemEtool","weapon",0.03}, - - {"ItemSandbag","magazine",0.02}, - - {"ItemFuelBarrelEmpty","magazine",0.03}, - {"fuel_pump_kit","magazine",0.01}, - { "machineguns", "cfglootweapon", 0.01 } - }; - lootTypeSmall[] = { - { "pistols", "cfglootweapon", 0.14 }, - { "Binocular", "weapon", 0.05 }, - { "ItemFlashlightRed", "weapon", 0.03 }, - { "ItemKnife", "weapon", 0.04 }, - { "ItemGPS", "weapon", 0.02 }, - { "", "medical", 0.12 }, - { "", "generic", 0.22 }, - { "", "military", 0.35 }, - { "ItemEtool", "weapon", 0.03 } - }; - }; - class MilitarySpecial: Default { - zombieChance = 0.4; - minRoaming = 2; - maxRoaming = 6; - zombieClass[] = {"z_soldier_heavy"}; - lootChance = 0.4; - lootPos[] = {}; - lootType[] = { - { "assaultrifles", "cfglootweapon", 0.1 }, - { "machineguns", "cfglootweapon", 0.04 }, - { "pistols", "cfglootweapon", 0.08 }, - { "sniperrifles", "cfglootweapon", 0.03 }, - { "militaryshotguns", "cfglootweapon", 0.05 }, - { "submachinegun", "cfglootweapon", 0.06 }, - {"AmmoBoxSmall_556","object",0.01}, - {"AmmoBoxSmall_762","object",0.02}, - {"Binocular","weapon",0.01}, - {"ItemFlashlightRed","military",0.02}, - {"ItemKnife","military",0.01}, - {"ItemGPS","weapon",0.01}, - {"ItemMap","military",0.01}, - {"Binocular_Vector","military",0.01}, - {"militarybackpacks","militarybackpacks",0.04}, - {"","medical",0.08}, - {"","generic",0.3}, - {"","military",0.01}, - {"machinegunammo","machinegunammo",0.05}, - {"militaryclothes","militaryclothes",0.05}, - {"NVGoggles","weapon",0.01} - }; - lootTypeSmall[] = { - { "pistols","cfglootweapon",0.10 }, - { "AmmoBoxSmall_556","object",0.02 }, - { "AmmoBoxSmall_762","object",0.02 }, - { "Binocular","weapon",0.02 }, - { "ItemFlashlightRed","military",0.01 }, - { "ItemKnife","military",0.02 }, - { "ItemGPS","weapon",0.02 }, - { "ItemMap","weapon",0.01 }, - { "Binocular_Vector","weapon",0.03}, - { "","medical",0.08}, - { "","generic",0.15}, - { "","military",0.33 }, - { "5Rnd_86x70_L115A1","magazine",0.03}, - { "10Rnd_127x99_m107","magazine",0.02}, - { "machinegunammoexpl","single",0.02 }, - { "militaryclothes","single",0.05 }, - { "NVGoggles","weapon",0.04 }, - { "100Rnd_762x54_PK","magazine",0.02 } - }; - }; - class Hunting: Default { - zombieChance = 0.4; - minRoaming = 1; - maxRoaming = 3; - zombieClass[] = {"z_hunter","z_hunter","z_hunter"}; - lootChance = 1; - lootPos[] = {}; - lootType[] = { - {"ItemMap","weapon",0.02}, - {"ItemFlashlight","generic",0.01}, - {"ItemKnife","generic",0.01}, - {"ItemMatchbox_DZE","generic",0.03}, - { "farmweapons", "cfglootweapon", 0.03 }, - {"","military",0.38}, - {"WeaponHolder_ItemMachete","object",0.02}, - {"","hunter",0.5} - }; - lootTypeSmall[] = { - {"ItemMap","weapon",0.02}, - {"ItemFlashlight","weapon",0.02}, - {"ItemKnife","weapon",0.02}, - {"ItemMatchbox_DZE","weapon",0.04}, - {"","military",0.4}, - {"","hunter",0.5} - }; - }; - class DynamicDebris: Default - { - lootChance = 0.4; - minRoaming = 0; - maxRoaming = 2; - zombieChance = 0.3; - zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"}; - lootType[] = { - { "ItemWatch", "generic", 0.19 }, - { "ItemCompass", "generic", 0.01 }, - { "ItemMap", "weapon", 0.06 }, - { "Makarov", "weapon", 0.02 }, - { "Colt1911", "weapon", 0.02 }, - { "ItemFlashlight", "generic", 0.06 }, - { "ItemKnife", "generic", 0.06 }, - { "ItemMatchbox_DZE", "generic", 0.06 }, - { "ItemToolbox", "weapon", 0.02 }, - { "", "generic", 0.17 }, - { "", "food", 0.06 }, - { "PartGeneric", "magazine", 0.07 }, - { "PartWheel", "magazine", 0.06 }, - { "PartFueltank", "magazine", 0.03 }, - { "PartEngine", "magazine", 0.01 }, - { "PartGlass", "magazine", 0.08 }, - { "WeaponHolder_ItemJerrycan", "object", 0.03 } - }; - }; - class DynamicDebrisMilitary: Default - { - lootChance = 0.4; - minRoaming = 0; - maxRoaming = 2; - zombieChance = 0.3; - zombieClass[] = {"z_soldier_pilot","z_soldier_heavy"}; - lootType[] = { - { "ItemEtool", "weapon", 0.05 }, - { "ItemSandbag", "magazine", 0.1 }, - { "", "military", 0.08 }, - { "ItemWatch", "generic", 0.1 }, - { "ItemCompass", "generic", 0.02 }, - { "ItemMap", "weapon", 0.05 }, - { "MakarovSD", "weapon", 0.01 }, - { "Colt1911", "weapon", 0.02 }, - { "ItemFlashlight", "generic", 0.01 }, - { "ItemKnife", "generic", 0.05 }, - { "ItemMatchbox_DZE", "generic", 0.05 }, - { "ItemToolbox", "weapon", 0.02 }, - { "", "generic", 0.15 }, - { "", "food", 0.05 }, - { "PartGeneric", "magazine", 0.06 }, - { "PartWheel", "magazine", 0.05 }, - { "PartFueltank", "magazine", 0.03 }, - { "PartEngine", "magazine", 0.02 }, - { "PartGlass", "magazine", 0.03 }, - { "PartVRotor", "magazine", 0.02 }, - { "WeaponHolder_ItemJerrycan", "object", 0.03 } - }; - }; - class SupplyDrop: Default { - zombieChance = 1; - maxRoaming = 3; - zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"}; - lootChance = 1; - lootPos[] = {}; - lootType[] = { - { "PartPlywoodPack", "magazine", 0.1 }, - { "PartPlankPack", "magazine", 0.2 }, - { "CinderBlocks", "magazine", 0.1 }, - { "MortarBucket", "magazine", 0.1 }, - { "bulk_PartGeneric", "magazine", 0.2 }, - { "bulk_ItemSandbag", "magazine", 0.1 }, - { "bulk_ItemTankTrap", "magazine", 0.1 }, - { "ItemSledge", "weapon", 0.1 } - }; - }; - class MassGrave: Default { - zombieChance = 1; - maxRoaming = 3; - zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"}; - lootChance = 1; - lootPos[] = {}; - lootType[] = { - { "M16A2", "weapon", 0.03 }, - { "M16A2GL", "weapon", 0.01 }, - { "M249_EP1_DZ", "weapon", 0.01 }, - { "M9SD", "weapon", 0.02 }, - { "Pecheneg_DZ", "weapon", 0.02 }, - { "PK_DZ", "weapon", 0.01 }, - { "AK_74", "weapon", 0.02 }, - { "M4A1_Aim", "weapon", 0.01 }, - { "AKS_74_kobra", "weapon", 0.01 }, - { "AKS_74_U", "weapon", 0.02 }, - { "AK_47_M", "weapon", 0.02 }, - { "M24", "weapon", 0.01 }, - { "SVD_CAMO", "weapon", 0.01 }, - { "M1014", "weapon", 0.02 }, - { "BAF_LRR_scoped", "weapon", 0.01 }, - { "M4SPR", "weapon", 0.01 }, - { "M4A1", "weapon", 0.01 }, - { "M14_EP1", "weapon", 0.02 }, - { "UZI_EP1", "weapon", 0.03 }, - { "Remington870_lamp", "weapon", 0.01 }, - { "glock17_EP1", "weapon", 0.02 }, - { "M240_DZ", "weapon", 0.02 }, - { "M4A1_AIM_SD_camo", "weapon", 0.01 }, - { "M16A4_ACG", "weapon", 0.01 }, - { "M4A1_HWS_GL_camo", "weapon", 0.01 }, - { "Mk_48_DZ", "weapon", 0.01 }, - { "M4A3_CCO_EP1", "weapon", 0.01 }, - { "AmmoBoxSmall_556", "object", 0.03 }, - { "AmmoBoxSmall_762", "object", 0.03 }, - { "Binocular", "weapon", 0.01 }, - { "ItemFlashlightRed", "military", 0.02 }, - { "ItemKnife", "military", 0.01 }, - { "ItemGPS", "weapon", 0.01 }, - { "ItemMap", "military", 0.01 }, - { "Binocular_Vector", "military", 0.01 }, - { "DZ_ALICE_Pack_EP1", "object", 0.03 }, - { "DZ_TK_Assault_Pack_EP1", "object", 0.02 }, - { "DZ_British_ACU", "object", 0.02 }, - { "DZ_CivilBackpack_EP1", "object", 0.02 }, - { "DZ_Backpack_EP1", "object", 0.01 }, - { "DZ_LargeGunBag_EP1", "object", 0.01 }, - { "", "medical", 0.05 }, - { "", "generic", 0.05 }, - { "", "military", 0.13 }, - { "PipeBomb", "magazine", 0.01 }, - { "Sa58V_RCO_EP1", "weapon", 0.01 }, - { "Sa58V_CCO_EP1", "weapon", 0.01 }, - { "G36_C_SD_camo", "weapon", 0.01 }, - { "M40A3", "weapon", 0.01 }, - { "100Rnd_762x54_PK", "magazine", 0.01 }, - { "", "militaryclothes", 0.05 }, - { "WeaponHolder_ItemMachete", "object", 0.02 }, - { "SCAR_H_LNG_Sniper_SD", "weapon", 0.01 }, - { "2000Rnd_762x51_M134", "magazine", 0.01 }, - { "KSVK_DZE", "weapon", 0.01 }, - { "m240_scoped_EP1_DZE", "weapon", 0.01 } - }; - }; - - /* - If using DZE_MissionLootTable = true; without changing anything in lootPos then use - an include instead of copying the files to your mission. - - #include "\z\addons\dayz_code\Configs\CfgLoot\CfgBuildingPos.hpp" - */ -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/CfgBuildingPos.hpp b/SQF/dayz_code/Configs/CfgLoot/CfgBuildingPos.hpp index e489080d0..68f0d65e1 100644 --- a/SQF/dayz_code/Configs/CfgLoot/CfgBuildingPos.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/CfgBuildingPos.hpp @@ -1,7 +1,7 @@ /* - If using DZE_MissionLootTable = true; without changing anything in lootPos then use - an include instead of copying the files to your mission. - + If using DZE_MissionLootTable = true; without changing anything in BuildingPos then + use an include instead of copying the files to your mission: + #include "\z\addons\dayz_code\Configs\CfgLoot\CfgBuildingPos.hpp" */ diff --git a/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp b/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp index c46b35295..5916183a7 100644 --- a/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/CfgLoot.hpp @@ -49,6 +49,12 @@ class CfgLoot // Buildings #include "CfgBuildingLoot.hpp" + /* + If using DZE_MissionLootTable = true; without changing anything in BuildingLoot then + use an include instead of copying the files to your mission: + + #include "\z\addons\dayz_code\Configs\CfgLoot\CfgBuildingLoot.hpp" + */ // Zombies #include "Groups\Zombies\Civilian.hpp" @@ -110,13 +116,10 @@ class CfgLoot // Buildings #include "CfgBuildingPos.hpp" /* - If using DZE_MissionLootTable = true; without changing anything in lootPos then use - an include instead of copying the files to your mission. - + If using DZE_MissionLootTable = true; without changing anything in BuildingPos then + use an include instead of copying the files to your mission: + #include "\z\addons\dayz_code\Configs\CfgLoot\CfgBuildingPos.hpp" */ }; -}; - -#include "CfgLootSmall.hpp" // Can be removed if not using legacy loot tables -#include "CfgLootLegacy.hpp" // Can be removed if not using legacy loot tables \ No newline at end of file +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/CfgLootLegacy.hpp b/SQF/dayz_code/Configs/CfgLoot/CfgLootLegacy.hpp deleted file mode 100644 index 230d34872..000000000 --- a/SQF/dayz_code/Configs/CfgLoot/CfgLootLegacy.hpp +++ /dev/null @@ -1,511 +0,0 @@ -class CfgLootLegacy { - trash[] = { - {"TrashTinCan",0.5} - ,{"TrashJackDaniels",0.05} - ,{"ItemSodaEmpty",0.25} - ,{"ItemTrashToiletpaper",0.1} - ,{"ItemTrashRazor",0.1} - }; - civilian[] = { - {"FoodCanUnlabeled",0.07} - ,{"TrashJackDaniels",0.08} - ,{"ItemSodaEmpty",0.08} - ,{"ItemSodaCoke",0.09} - ,{"ItemSodaPepsi",0.09} - ,{"FoodCanBakedBeans",0.05} - ,{"FoodCanSardines",0.05} - ,{"FoodCanFrankBeans",0.05} - ,{"FoodCanPasta",0.05} - ,{"8Rnd_9x18_Makarov",0.07} - ,{"7Rnd_45ACP_1911",0.05} - ,{"2Rnd_12Gauge_Slug",0.05} - ,{"2Rnd_12Gauge_Buck",0.05} - ,{"ItemBandage",0.06} - ,{"ItemPainkiller",0.06} - ,{"FoodBioMeat",0.01} - ,{"8Rnd_9x18_MakarovSD",0.01} - ,{"ItemDocument",0.03} - ,{"RedRyder",0.06} - ,{"350Rnd_BB_Magazine",0.07} - }; - office2[] = { - {"FoodCanUnlabeled",0.07} - ,{"TrashJackDaniels",0.08} - ,{"ItemSodaEmpty",0.08} - ,{"ItemSodaCoke",0.09} - ,{"ItemSodaPepsi",0.09} - ,{"FoodCanBakedBeans",0.05} - ,{"FoodCanSardines",0.05} - ,{"FoodCanFrankBeans",0.05} - ,{"FoodCanPasta",0.05} - ,{"8Rnd_9x18_Makarov",0.07} - ,{"7Rnd_45ACP_1911",0.05} - ,{"2Rnd_12Gauge_Slug",0.05} - ,{"2Rnd_12Gauge_Buck",0.05} - ,{"ItemBandage",0.06} - ,{"ItemPainkiller",0.06} - ,{"FoodBioMeat",0.01} - ,{"8Rnd_9x18_MakarovSD",0.01} - ,{"ItemBriefcaseEmpty",0.01} - ,{"ItemDocument",0.02} - ,{"350Rnd_BB_Magazine",0.09} - }; - food[] = { - {"TrashTinCan",0.09} - ,{"TrashJackDaniels",0.12} - ,{"ItemSodaEmpty",0.12} - ,{"ItemSodaCoke",0.09} - ,{"ItemSodaPepsi",0.11} - ,{"FoodCanBakedBeans",0.07} - ,{"FoodCanSardines",0.07} - ,{"FoodCanFrankBeans",0.07} - ,{"FoodCanPasta",0.07} - ,{"FoodCanUnlabeled",0.1} - ,{"FoodPistachio",0.05} - ,{"FoodNutmix",0.04} - }; - office[] = { - {"FoodCanUnlabeled",0.06} - ,{"ItemSodaEmpty",0.06} - ,{"ItemSodaCoke",0.06} - ,{"ItemSodaPepsi",0.04} - ,{"TrashJackDaniels",0.04} - ,{"FoodCanBakedBeans",0.01} - ,{"FoodCanSardines",0.01} - ,{"FoodCanFrankBeans",0.01} - ,{"FoodCanPasta",0.01} - ,{"ItemWaterbottleUnfilled",0.01} - ,{"ItemWaterbottle",0.01} - ,{"ItemBandage",0.07} - ,{"7Rnd_45ACP_1911",0.03} - ,{"5Rnd_17HMR",0.01} - ,{"10Rnd_303British",0.04} - ,{"6Rnd_45ACP",0.04} - ,{"2Rnd_12Gauge_Slug",0.05} - ,{"2Rnd_12Gauge_Buck",0.05} - ,{"8Rnd_9x18_Makarov",0.08} - ,{"15Rnd_W1866_Slug",0.02} - ,{"1Rnd_Arrow_Wood",0.04} - ,{"350Rnd_BB_Magazine",0.05} - ,{"HandRoadFlare",0.07} - ,{"ItemPainkiller",0.02} - ,{"HandChemGreen",0.01} - ,{"HandChemBlue",0.03} - ,{"HandChemRed",0.03} - ,{"ItemHeatPack",0.03} - ,{"ItemLockbox",0.04} - ,{"ItemDocument",0.02} - }; - generic[] = { - {"FoodCanUnlabeled",0.06} - ,{"ItemSodaEmpty",0.06} - ,{"ItemSodaCoke",0.06} - ,{"ItemSodaPepsi",0.04} - ,{"TrashJackDaniels",0.04} - ,{"FoodCanBakedBeans",0.01} - ,{"FoodCanSardines",0.01} - ,{"FoodCanFrankBeans",0.01} - ,{"FoodCanPasta",0.01} - ,{"ItemWaterbottleUnfilled",0.01} - ,{"ItemWaterbottle",0.01} - ,{"ItemBandage",0.11} - ,{"7Rnd_45ACP_1911",0.03} - ,{"5Rnd_17HMR",0.01} - ,{"10Rnd_303British",0.04} - ,{"6Rnd_45ACP",0.04} - ,{"2Rnd_12Gauge_Slug",0.05} - ,{"2Rnd_12Gauge_Buck",0.05} - ,{"8Rnd_9x18_Makarov",0.09} - ,{"15Rnd_W1866_Slug",0.02} - ,{"1Rnd_Arrow_Wood",0.04} - ,{"350Rnd_BB_Magazine",0.05} - ,{"HandRoadFlare",0.07} - ,{"ItemPainkiller",0.02} - ,{"HandChemGreen",0.01} - ,{"HandChemBlue",0.03} - ,{"HandChemRed",0.03} - ,{"ItemHeatPack",0.04} - ,{"350Rnd_BB_Magazine",0.09} - }; - medical[] = { - {"ItemBandage",0.4} - ,{"ItemPainkiller",0.15} - ,{"ItemMorphine",0.2} - ,{"ItemEpinephrine",0.1} - ,{"ItemAntibiotic",0.1} - ,{"ItemHeatPack",0.05} - }; - hospital[] = { - {"ItemBandage",0.33} - ,{"ItemPainkiller",0.16} - ,{"ItemMorphine",0.13} - ,{"ItemEpinephrine",0.09} - ,{"ItemBloodbag",0.17} - ,{"ItemAntibiotic",0.12} - }; - military[] = { - {"FoodCanUnlabeled",0.07} - ,{"ItemSodaEmpty",0.04} - ,{"ItemSodaCoke",0.01} - ,{"ItemSodaPepsi",0.01} - ,{"ItemBandage",0.04} - ,{"ItemAntibiotic",0.04} - ,{"ItemPainkiller",0.04} - ,{"ItemMorphine",0.01} - ,{"30Rnd_556x45_Stanag",0.04} - ,{"20Rnd_762x51_DMR",0.04} - ,{"17Rnd_9x19_glock17",0.05} - ,{"15Rnd_9x19_M9SD",0.01} - ,{"15Rnd_9x19_M9",0.02} - ,{"30Rnd_762x39_AK47",0.04} - ,{"30Rnd_545x39_AK",0.04} - ,{"5Rnd_762x51_M24",0.01} - ,{"5Rnd_86x70_L115A1",0.01} - ,{"8Rnd_12Gauge_Slug",0.04} - ,{"1Rnd_HE_M203",0.01} - ,{"FlareWhite_M203",0.01} - ,{"FlareGreen_M203",0.01} - ,{"1Rnd_Smoke_M203",0.01} - ,{"200Rnd_556x45_M249",0.01} - ,{"HandGrenade_west",0.01} - ,{"HandGrenade_east",0.01} - ,{"SmokeShell",0.04} - ,{"SmokeShellRed",0.02} - ,{"SmokeShellGreen",0.02} - ,{"8Rnd_12Gauge_Buck",0.04} - ,{"30Rnd_556x45_StanagSD",0.01} - ,{"30Rnd_9x19_MP5",0.02} - ,{"30Rnd_9x19_MP5SD",0.01} - ,{"100Rnd_762x51_M240",0.01} - ,{"HandChemGreen",0.02} - ,{"HandChemBlue",0.02} - ,{"HandChemRed",0.02} - ,{"ItemHeatPack",0.04} - ,{"FoodMRE",0.03} - ,{"8Rnd_9x18_MakarovSD",0.01} - ,{"20Rnd_B_765x17_Ball",0.04} - ,{"30Rnd_9x19_UZI_SD",0.01} - ,{"ItemDocument",0.02} - }; - militarypilot[] = { - {"FoodCanUnlabeled",0.06} - ,{"ItemSodaEmpty",0.04} - ,{"ItemSodaCoke",0.01} - ,{"ItemSodaPepsi",0.01} - ,{"ItemBandage",0.04} - ,{"ItemAntibiotic",0.04} - ,{"ItemPainkiller",0.04} - ,{"ItemMorphine",0.01} - ,{"30Rnd_556x45_Stanag",0.04} - ,{"20Rnd_762x51_DMR",0.04} - ,{"17Rnd_9x19_glock17",0.05} - ,{"15Rnd_9x19_M9SD",0.01} - ,{"15Rnd_9x19_M9",0.02} - ,{"30Rnd_762x39_AK47",0.04} - ,{"30Rnd_545x39_AK",0.04} - ,{"5Rnd_762x51_M24",0.01} - ,{"5Rnd_86x70_L115A1",0.01} - ,{"8Rnd_12Gauge_Slug",0.04} - ,{"1Rnd_HE_M203",0.01} - ,{"FlareWhite_M203",0.01} - ,{"FlareGreen_M203",0.01} - ,{"1Rnd_Smoke_M203",0.01} - ,{"200Rnd_556x45_M249",0.01} - ,{"HandGrenade_west",0.01} - ,{"HandGrenade_east",0.01} - ,{"SmokeShell",0.04} - ,{"SmokeShellRed",0.02} - ,{"SmokeShellGreen",0.02} - ,{"8Rnd_12Gauge_Buck",0.04} - ,{"30Rnd_556x45_StanagSD",0.01} - ,{"30Rnd_9x19_MP5",0.02} - ,{"30Rnd_9x19_MP5SD",0.01} - ,{"100Rnd_762x51_M240",0.01} - ,{"HandChemGreen",0.02} - ,{"HandChemBlue",0.02} - ,{"HandChemRed",0.02} - ,{"ItemHeatPack",0.04} - ,{"FoodMRE",0.03} - ,{"8Rnd_9x18_MakarovSD",0.01} - ,{"20Rnd_B_765x17_Ball",0.04} - ,{"30Rnd_9x19_UZI_SD",0.01} - ,{"ItemHotwireKit",0.03} - }; - policeman[] = { - {"ItemBandage",0.3} - ,{"7Rnd_45ACP_1911",0.08} - ,{"6Rnd_45ACP",0.08} - ,{"15Rnd_W1866_Slug",0.14} - ,{"8Rnd_12Gauge_Buck",0.16} - ,{"HandRoadFlare",0.07} - ,{"8Rnd_9x18_MakarovSD",0.01} - ,{"ItemComboLock",0.05} - ,{"SmokeShell",0.04} - ,{"FoodMRE",0.04} - ,{"ItemHotwireKit",0.03} - ,{"ItemDocument",0.02} - }; - hunter[] = { - {"ItemBandage",0.4} - ,{"5Rnd_17HMR",0.15} - ,{"7Rnd_45ACP_1911",0.03} - ,{"10Rnd_303British",0.1} - ,{"ItemWaterbottleUnfilled",0.05} - ,{"1Rnd_Arrow_Wood",0.2} - ,{"350Rnd_BB_Magazine",0.05} - ,{"ItemHeatPack",0.02} - ,{"FoodMRE",0.01} - ,{"FoodNutmix",0.02} - ,{"ItemDocument",0.01} - ,{"ItemMixOil",0.01} - ,{"RedRyder",0.06} - ,{"350Rnd_BB_Magazine",0.09} - }; - worker[] = { - {"FoodCanUnlabeled",0.09} - ,{"TrashJackDaniels",0.09} - ,{"ItemSodaEmpty",0.1} - ,{"ItemSodaCoke",0.1} - ,{"ItemSodaPepsi",0.1} - ,{"FoodCanBakedBeans",0.06} - ,{"FoodCanSardines",0.06} - ,{"FoodCanFrankBeans",0.06} - ,{"FoodCanPasta",0.06} - ,{"ItemBandage",0.1} - ,{"ItemPainkiller",0.06} - ,{"ItemWire",0.01} - ,{"ItemTankTrap",0.03} - ,{"ItemComboLock",0.04} - ,{"ItemSledgeHead",0.02} - ,{"ItemDocument",0.02} - }; - clothes[] = { - {"Skin_RU_Policeman_DZ",0.11} - ,{"Skin_Pilot_EP1_DZ",0.1} - ,{"Skin_Functionary1_EP1_DZ",0.1} - ,{"Skin_Priest_DZ",0.1} - ,{"Skin_Rocker1_DZ",0.07} - ,{"Skin_Rocker2_DZ",0.07} - ,{"Skin_Rocker3_DZ",0.08} - ,{"Skin_Rocker4_DZ",0.08} - ,{"Skin_SurvivorW3_DZ",0.09} - ,{"Skin_SurvivorWpink_DZ",0.09} - ,{"Skin_SurvivorWurban_DZ",0.07} - ,{"Skin_INS_Bardak_DZ",0.02} - ,{"Skin_INS_Worker2_DZ",0.02} - }; - militaryclothes[] = { - {"Skin_Camo1_DZ",0.09} - ,{"Skin_Sniper1_DZ",0.08} - ,{"Skin_Rocket_DZ",0.05} - ,{"Skin_Soldier1_DZ",0.5} - ,{"Skin_Drake_Light_DZ",0.07} - ,{"Skin_Soldier_TL_PMC_DZ",0.07} - ,{"Skin_Soldier_Sniper_PMC_DZ",0.05} - ,{"Skin_Soldier_Bodyguard_AA12_PMC_DZ",0.07} - ,{"Skin_CZ_Special_Forces_GL_DES_EP1_DZ",0.08} - ,{"Skin_FR_OHara_DZ",0.08} - ,{"Skin_FR_Rodriguez_DZ",0.09} - ,{"Skin_CZ_Soldier_Sniper_EP1_DZ",0.04} - ,{"Skin_Graves_Light_DZ",0.09} - ,{"Skin_INS_Soldier_AR_DZ",0.05} - ,{"Skin_INS_Soldier_CO_DZ",0.04} - }; - specialclothes[] = { - {"Skin_Ins_Soldier_GL_DZ",0.05} - ,{"Skin_GUE_Commander_DZ",0.08} - ,{"Skin_Bandit1_DZ",0.08} - ,{"Skin_Bandit2_DZ",0.06} - ,{"Skin_BanditW1_DZ",0.07} - ,{"Skin_BanditW2_DZ",0.07} - ,{"Skin_TK_INS_Soldier_EP1_DZ",0.05} - ,{"Skin_TK_INS_Warlord_EP1_DZ",0.07} - ,{"Skin_SurvivorWcombat_DZ",0.08} - ,{"Skin_SurvivorWdesert_DZ",0.08} - ,{"Skin_GUE_Soldier_MG_DZ",0.05} - ,{"Skin_GUE_Soldier_Sniper_DZ",0.04} - ,{"Skin_GUE_Soldier_Crew_DZ",0.04} - ,{"Skin_GUE_Soldier_CO_DZ",0.04} - ,{"Skin_GUE_Soldier_2_DZ",0.04} - ,{"Skin_TK_Special_Forces_MG_EP1_DZ",0.02} - ,{"Skin_TK_Soldier_Sniper_EP1_DZ",0.02} - ,{"Skin_TK_Commander_EP1_DZ",0.02} - ,{"Skin_RU_Soldier_Crew_DZ",0.02} - ,{"Skin_INS_Lopotev_DZ",0.02} - }; - tents[] = { - {"WeaponHolder_ItemTentOld",0.34} - ,{"WeaponHolder_ItemTentDomed",0.33} - ,{"WeaponHolder_ItemTentDomed2",0.33} - }; - backpacks[] = { - {"DZ_Assault_Pack_EP1",0.22} - ,{"DZ_Czech_Vest_Puch",0.2} - ,{"DZ_TerminalPack_EP1",0.18} - ,{"DZ_ALICE_Pack_EP1",0.16} - ,{"DZ_TK_Assault_Pack_EP1",0.13} - ,{"DZ_CompactPack_EP1",0.11} - }; - militarybackpacks[] = { - {"DZ_British_ACU",0.3} - ,{"DZ_GunBag_EP1",0.25} - ,{"DZ_CivilBackpack_EP1",0.2} - ,{"DZ_Backpack_EP1",0.15} - ,{"DZ_LargeGunBag_EP1",0.1} - }; - militaryammo[] = { - {"2000Rnd_762x51_M134",0.1} - ,{"29Rnd_30mm_AGS30",0.2} - ,{"50Rnd_127x107_DSHKM",0.2} - ,{"48Rnd_40mm_MK19",0.2} - ,{"100Rnd_127x99_M2",0.3} - }; - pistols[] = { - {"Makarov",0.25} - ,{"Colt1911",0.23} - ,{"revolver_EP1",0.2} - ,{"glock17_EP1",0.1} - ,{"MakarovSD",0.1} - ,{"M9",0.07} - ,{"M9SD",0.04} - ,{"revolver_gold_EP1",0.01} - }; - shotgunsingleshot[] = { - {"Winchester1866",0.25} - ,{"LeeEnfield",0.2} - ,{"MR43",0.2} - ,{"Saiga12K",0.13} - ,{"Remington870_lamp",0.1} - ,{"Crossbow_DZ",0.07} - ,{"RedRyder",0.06} - ,{"M1014",0.05} - }; - farmweapons[] = { - {"Winchester1866",0.25} - ,{"LeeEnfield",0.2} - ,{"MR43",0.19} - ,{"Saiga12K",0.13} - ,{"Remington870_lamp",0.1} - ,{"Crossbow_DZ",0.07} - ,{"huntingrifle",0.05} - ,{"Chainsaw",0.01} - ,{"RedRyder",0.06} - }; - sniperrifles[] = { - {"AK_107_PSO",0.1} - ,{"M4SPR",0.09} - ,{"M40A3",0.09} - ,{"SVD_CAMO",0.07} - ,{"SVD_des_EP1",0.07} - ,{"SVD",0.07} - ,{"huntingrifle",0.09} - ,{"M24_des_EP1",0.08} - ,{"M24",0.07} - ,{"BAF_LRR_scoped",0.07} - ,{"M107_DZ",0.05} - ,{"KSVK_DZE",0.05} - ,{"VSS_vintorez",0.04} - ,{"SCAR_H_LNG_Sniper_SD",0.03} - ,{"M14_EP1",0.02} - ,{"DMR",0.01} - }; - sniperriflesammo[] = { - {"30Rnd_545x39_AKSD",0.18} - ,{"5Rnd_127x108_KSVK",0.08} - ,{"5Rnd_86x70_L115A1",0.07} - ,{"10Rnd_127x99_m107",0.15} - ,{"10Rnd_762x54_SVD",0.2} - ,{"20Rnd_762x51_DMR",0.1} - ,{"5Rnd_762x51_M24",0.15} - ,{"5Rnd_17HMR",0.1} - ,{"20Rnd_762x51_SB_SCAR",0.07} - ,{"20Rnd_9x39_SP5_VSS",0.05} - }; - submachinegun[] = { - {"UZI_EP1",0.25} - ,{"bizon",0.2} - ,{"Sa61_EP1",0.2} - ,{"MP5A5",0.13} - ,{"bizon_silenced",0.1} - ,{"UZI_SD_EP1",0.07} - ,{"MP5SD",0.05} - }; - assaultrifles[] = { - {"AKS_74_kobra",0.05} - ,{"AKS_74_U",0.05} - ,{"AKS_GOLD",0.01} - ,{"AK_47_M",0.05} - ,{"AK_74",0.05} - ,{"FN_FAL",0.03} - ,{"FN_FAL_ANPVS4",0.01} - ,{"G36A_camo",0.05} - ,{"G36C",0.05} - ,{"G36C_camo",0.05} - ,{"G36K_camo",0.05} - ,{"G36_C_SD_camo",0.03} - ,{"M16A2",0.05} - ,{"M16A2GL",0.02} - ,{"M16A4_ACG",0.01} - ,{"M4A1",0.05} - ,{"M4A1_Aim",0.04} - ,{"M4A1_AIM_SD_camo",0.01} - ,{"M4A1_HWS_GL_camo",0.01} - ,{"M4A3_CCO_EP1",0.04} - ,{"Sa58P_EP1",0.02} - ,{"Sa58V_CCO_EP1",0.04} - ,{"Sa58V_EP1",0.02} - ,{"Sa58V_RCO_EP1",0.04} - ,{"m8_compact",0.03} - ,{"m8_sharpshooter",0.04} - ,{"m8_holo_sd",0.02} - ,{"m8_carbine",0.05} - ,{"BAF_L85A2_RIS_SUSAT",0.02} - ,{"BAF_L85A2_RIS_Holo",0.01} - ,{"M4A1_HWS_GL_SD_Camo",0.01} - }; - assaultrifleammo[] = { - {"30Rnd_762x39_SA58",0.25} - ,{"30Rnd_762x39_AK47",0.2} - ,{"30Rnd_556x45_Stanag",0.2} - ,{"30Rnd_545x39_AK",0.11} - ,{"30Rnd_556x45_StanagSD",0.12} - ,{"20Rnd_762x51_FNFAL",0.07} - }; - machineguns[] = { - {"RPK_74",0.11} - ,{"M8_SAW",0.11} - ,{"Pecheneg_DZ",0.1} - ,{"PK_DZ",0.1} - ,{"MG36_camo",0.1} - ,{"M60A4_EP1_DZE",0.1} - ,{"MG36",0.1} - ,{"M249_m145_EP1_DZE",0.1} - ,{"m240_scoped_EP1_DZE",0.1} - ,{"M240_DZ",0.08} - ,{"M249_EP1_DZ",0.05} - ,{"Mk_48_DZ",0.05} - }; - machinegunammo[] = { - {"100Rnd_556x45_BetaCMag",0.2} - ,{"75Rnd_545x39_RPK",0.2} - ,{"100Rnd_556x45_M249",0.15} - ,{"100Rnd_762x51_M240",0.15} - ,{"100Rnd_762x54_PK",0.15} - ,{"200Rnd_556x45_M249",0.15} - }; - machinegunammoexpl[] = { - {"100Rnd_556x45_BetaCMag",0.2} - ,{"75Rnd_545x39_RPK",0.2} - ,{"100Rnd_556x45_M249",0.15} - ,{"100Rnd_762x51_M240",0.15} - ,{"100Rnd_762x54_PK",0.14} - ,{"200Rnd_556x45_M249",0.14} - ,{"MAAWS_HEAT",0.01} - ,{"PipeBomb",0.01} - }; - militaryshotguns[] = { - {"Saiga12K",0.25} - ,{"Remington870_lamp",0.35} - ,{"M1014",0.4} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgLoot/CfgLootSmall.hpp b/SQF/dayz_code/Configs/CfgLoot/CfgLootSmall.hpp deleted file mode 100644 index 88222927b..000000000 --- a/SQF/dayz_code/Configs/CfgLoot/CfgLootSmall.hpp +++ /dev/null @@ -1,276 +0,0 @@ -class CfgLootSmall { - trash[] = { - {"TrashTinCan",0.5}, - {"TrashJackDaniels",0.05}, - {"ItemSodaEmpty",0.25}, - {"ItemTrashToiletpaper",0.1}, - {"ItemTrashRazor",0.1} - }; - civilian[] = { - {"FoodCanUnlabeled",0.07}, - {"TrashJackDaniels",0.09}, - {"ItemSodaEmpty",0.09}, - {"ItemSodaCoke",0.1}, - {"ItemSodaPepsi",0.09}, - {"FoodCanBakedBeans",0.05}, - {"FoodCanSardines",0.05}, - {"FoodCanFrankBeans",0.05}, - {"FoodCanPasta",0.05}, - {"8Rnd_9x18_Makarov",0.07}, - {"7Rnd_45ACP_1911",0.05}, - {"2Rnd_12Gauge_Slug",0.05}, - {"2Rnd_12Gauge_Buck",0.05}, - {"ItemBandage",0.06}, - {"ItemPainkiller",0.06}, - {"FoodBioMeat",0.01}, - {"8Rnd_9x18_MakarovSD",0.01} - }; - office2[] = { - {"FoodCanUnlabeled",0.07}, - {"TrashJackDaniels",0.09}, - {"ItemSodaEmpty",0.09}, - {"ItemSodaCoke",0.09}, - {"ItemSodaPepsi",0.09}, - {"FoodCanBakedBeans",0.05}, - {"FoodCanSardines",0.05}, - {"FoodCanFrankBeans",0.05}, - {"FoodCanPasta",0.05}, - {"8Rnd_9x18_Makarov",0.07}, - {"7Rnd_45ACP_1911",0.05}, - {"2Rnd_12Gauge_Slug",0.05}, - {"2Rnd_12Gauge_Buck",0.05}, - {"ItemBandage",0.06}, - {"ItemPainkiller",0.06}, - {"FoodBioMeat",0.01}, - {"8Rnd_9x18_MakarovSD",0.01} - }; - food[] = { - //trash - {"TrashTinCan",0.09}, - {"TrashJackDaniels",0.12}, - {"ItemSodaEmpty",0.12}, - {"ItemSodaCoke",0.09}, - {"ItemSodaPepsi",0.11}, - {"FoodCanBakedBeans",0.07}, - {"FoodCanSardines",0.07}, - {"FoodCanFrankBeans",0.07}, - {"FoodCanPasta",0.07}, - {"FoodCanUnlabeled",0.1}, - // food Bags - {"FoodPistachio",0.05}, - {"FoodNutmix",0.04} - }; - office[] = { - {"FoodCanUnlabeled",0.06}, - {"ItemSodaEmpty",0.06}, - {"ItemSodaCoke",0.06}, - {"ItemSodaPepsi",0.04}, - {"TrashJackDaniels",0.04}, - {"FoodCanBakedBeans",0.01}, - {"FoodCanSardines",0.01}, - {"FoodCanFrankBeans",0.01}, - {"FoodCanPasta",0.01}, - {"ItemWaterbottleUnfilled",0.01}, - {"ItemWaterbottle",0.01}, - {"ItemBandage",0.08}, - {"7Rnd_45ACP_1911",0.03}, - {"5Rnd_17HMR",0.01}, - {"10Rnd_303British",0.04}, - {"6Rnd_45ACP",0.04}, - {"2Rnd_12Gauge_Slug",0.05}, - {"2Rnd_12Gauge_Buck",0.05}, - {"8Rnd_9x18_Makarov",0.09}, - {"15Rnd_W1866_Slug",0.02}, - {"1Rnd_Arrow_Wood",0.04}, - {"HandRoadFlare",0.07}, - {"ItemPainkiller",0.02}, - {"HandChemGreen",0.01}, - {"HandChemBlue",0.03}, - {"HandChemRed",0.03}, - {"ItemHeatPack",0.03} - }; - generic[] = { - {"FoodCanUnlabeled",0.06}, - {"ItemSodaEmpty",0.06}, - {"ItemSodaCoke",0.06}, - {"ItemSodaPepsi",0.04}, - {"TrashJackDaniels",0.04}, - {"FoodCanBakedBeans",0.01}, - {"FoodCanSardines",0.01}, - {"FoodCanFrankBeans",0.01}, - {"FoodCanPasta",0.01}, - {"ItemWaterbottleUnfilled",0.01}, - {"ItemWaterbottle",0.01}, - {"ItemBandage",0.11}, - {"7Rnd_45ACP_1911",0.03}, - {"5Rnd_17HMR",0.01}, - {"10Rnd_303British",0.04}, - {"6Rnd_45ACP",0.04}, - {"2Rnd_12Gauge_Slug",0.05}, - {"2Rnd_12Gauge_Buck",0.05}, - {"8Rnd_9x18_Makarov",0.09}, - {"15Rnd_W1866_Slug",0.02}, - {"1Rnd_Arrow_Wood",0.04}, - {"HandRoadFlare",0.07}, - {"ItemPainkiller",0.02}, - {"HandChemGreen",0.01}, - {"HandChemBlue",0.03}, - {"HandChemRed",0.03}, - {"ItemHeatPack",0.04} - }; - medical[] = { - {"ItemBandage",0.4}, - {"ItemPainkiller",0.15}, - {"ItemMorphine",0.2}, - {"ItemEpinephrine",0.1}, - {"ItemAntibiotic",0.1}, - {"ItemHeatPack",0.05} - }; - hospital[] = { - {"ItemBandage",0.33}, - {"ItemPainkiller",0.16}, - {"ItemMorphine",0.13}, - {"ItemEpinephrine",0.09}, - {"ItemBloodbag",0.17}, - {"ItemAntibiotic",0.12} - }; - military[] = { - {"FoodCanUnlabeled",0.09}, - {"ItemSodaEmpty",0.04}, - {"ItemSodaCoke",0.01}, - {"ItemSodaPepsi",0.01}, - {"ItemBandage",0.04}, - {"ItemAntibiotic",0.04}, - {"ItemPainkiller",0.04}, - {"ItemMorphine",0.01}, - {"30Rnd_556x45_Stanag",0.04}, - {"20Rnd_762x51_DMR",0.04}, - {"17Rnd_9x19_glock17",0.05}, - {"15Rnd_9x19_M9SD",0.01}, - {"15Rnd_9x19_M9",0.02}, - {"30Rnd_762x39_AK47",0.04}, - {"30Rnd_545x39_AK",0.04}, - {"5Rnd_762x51_M24",0.01}, - {"5Rnd_86x70_L115A1",0.01}, - {"8Rnd_12Gauge_Slug",0.04}, - {"1Rnd_HE_M203",0.01}, - {"FlareWhite_M203",0.01}, - {"FlareGreen_M203",0.01}, - {"1Rnd_Smoke_M203",0.01}, - {"200Rnd_556x45_M249",0.01}, - {"HandGrenade_west",0.01}, - {"HandGrenade_east",0.01}, - {"SmokeShell",0.04}, - {"SmokeShellRed",0.02}, - {"SmokeShellGreen",0.02}, - {"8Rnd_12Gauge_Buck",0.04}, - {"30Rnd_556x45_StanagSD",0.01}, - {"30Rnd_9x19_MP5",0.02}, - {"30Rnd_9x19_MP5SD",0.01}, - {"100Rnd_762x51_M240",0.01}, - {"HandChemGreen",0.02}, - {"HandChemBlue",0.02}, - {"HandChemRed",0.02}, - {"ItemHeatPack",0.04}, - {"8Rnd_9x18_MakarovSD",0.01}, - {"20Rnd_B_765x17_Ball",0.04}, - {"30Rnd_9x19_UZI_SD",0.01} - }; - policeman[] = { - {"ItemBandage",0.3}, - {"7Rnd_45ACP_1911",0.08}, - {"6Rnd_45ACP",0.08}, - {"15Rnd_W1866_Slug",0.14}, - {"8Rnd_12Gauge_Buck",0.17}, - {"HandRoadFlare",0.08}, - {"8Rnd_9x18_MakarovSD",0.01}, - {"ItemComboLock",0.05}, - {"SmokeShell",0.04}, - {"ItemHotwireKit",0.01} - }; - - hunter[] = { - {"FoodMRE",0.01} - }; - - worker[] = { - {"FoodCanUnlabeled",0.09}, - {"TrashJackDaniels",0.10}, - {"ItemSodaEmpty",0.10}, - {"ItemSodaCoke",0.11}, - {"ItemSodaPepsi",0.10}, - {"FoodCanBakedBeans",0.06}, - {"FoodCanSardines",0.06}, - {"FoodCanFrankBeans",0.06}, - {"FoodCanPasta",0.06}, - {"ItemBandage",0.1}, - {"ItemPainkiller",0.06}, - {"ItemComboLock",0.04}, - {"ItemSledgeHead",0.02} - }; - clothes[] = { - {"Skin_RU_Policeman_DZ",0.13}, - {"Skin_Pilot_EP1_DZ",0.12}, - {"Skin_Functionary1_EP1_DZ",0.1}, - {"Skin_Priest_DZ",0.1}, - {"Skin_Rocker1_DZ",0.07}, - {"Skin_Rocker2_DZ",0.07}, - {"Skin_Rocker3_DZ",0.08}, - {"Skin_Rocker4_DZ",0.08}, - {"Skin_SurvivorW3_DZ",0.09}, - {"Skin_SurvivorWpink_DZ",0.09}, - {"Skin_SurvivorWurban_DZ",0.07} - }; - militaryclothes[] = { - {"Skin_Camo1_DZ",0.1}, - {"Skin_Sniper1_DZ",0.08}, - {"Skin_Rocket_DZ",0.05}, - {"Skin_Soldier1_DZ",0.13}, - {"Skin_Drake_Light_DZ",0.07}, - {"Skin_Soldier_TL_PMC_DZ",0.07}, - {"Skin_Soldier_Sniper_PMC_DZ",0.05}, - {"Skin_Soldier_Bodyguard_AA12_PMC_DZ",0.07}, - {"Skin_CZ_Special_Forces_GL_DES_EP1_DZ",0.08}, - {"Skin_FR_OHara_DZ",0.08}, - {"Skin_FR_Rodriguez_DZ",0.09}, - {"Skin_CZ_Soldier_Sniper_EP1_DZ",0.04}, - {"Skin_Graves_Light_DZ",0.09} - }; - specialclothes[] = { - {"Skin_Ins_Soldier_GL_DZ",0.1}, - {"Skin_GUE_Commander_DZ",0.08}, - {"Skin_Bandit1_DZ",0.13}, - {"Skin_Bandit2_DZ",0.06}, - {"Skin_BanditW1_DZ",0.07}, - {"Skin_BanditW2_DZ",0.07}, - {"Skin_TK_INS_Soldier_EP1_DZ",0.05}, - {"Skin_TK_INS_Warlord_EP1_DZ",0.07}, - {"Skin_SurvivorWcombat_DZ",0.08}, - {"Skin_SurvivorWdesert_DZ",0.08}, - {"Skin_GUE_Soldier_MG_DZ",0.05}, - {"Skin_GUE_Soldier_Sniper_DZ",0.04}, - {"Skin_GUE_Soldier_Crew_DZ",0.04}, - {"Skin_GUE_Soldier_CO_DZ",0.04}, - {"Skin_GUE_Soldier_2_DZ",0.04} - }; - machinegunammoexpl[] = { - {"100Rnd_556x45_BetaCMag",0.20}, - {"75Rnd_545x39_RPK",0.20}, - {"100Rnd_556x45_M249",0.15}, - {"100Rnd_762x51_M240",0.15}, - {"100Rnd_762x54_PK",0.14}, - {"200Rnd_556x45_M249",0.14}, - {"MAAWS_HEAT",0.01}, - {"PipeBomb",0.01} - }; - pistols[] = { - {"Makarov",0.25}, - {"Colt1911",0.23}, - {"revolver_EP1",0.20}, - {"glock17_EP1",0.10}, - {"MakarovSD",0.10}, - {"M9",0.07}, - {"M9SD",0.04}, - {"revolver_gold_EP1",0.01} - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/NOTE.txt b/SQF/dayz_code/NOTE.txt index 9fad4d6e8..d0450f7d5 100644 --- a/SQF/dayz_code/NOTE.txt +++ b/SQF/dayz_code/NOTE.txt @@ -19,9 +19,6 @@ wholeBloodBagANEG wholeBloodBagAPOS wholeBloodBagBNEG wholeBloodBagBPOS wholeBlo REMOVE TOOL BREAKING, IT'S STUPID -building_spawnLoot_Legacy -building_spawnZombies_Legacy - player_craftItem_DZV = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_craftItem.sqf"; vehicle_handleDamage = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\vehicle_handleDamage.sqf";