Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "CfgLoot.hpp"
- class CfgBuildingLoot {
- 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[] = {};
- lootType[] = {};
- hangPos[] = {};
- vehPos[] = {};
- };
- class Master {
- weapons[] = {"SMAW","Javelin","G36C","Stinger"};
- };
- class Church: Default {
- zombieChance = 0.3;
- minRoaming = 1;
- maxRoaming = 3;
- zombieClass[] = {"z_priest","z_priest","z_priest"};
- lootChance = 0.5; //0.3
- lootPos[] = {};
- lootType[] = {
- {"ItemBookBible","magazine",0.03},
- {"","generic",0.12},
- {"","military",0.05},
- {"","trash",0.20}
- };
- };
- 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[] = {
- {"ItemSodaMdew","magazine",0.01},
- {"ItemWatch","generic",0.05},
- {"ItemCompass","generic",0.05},
- {"ItemMap","weapon",0.03},
- {"Makarov","weapon",0.04},
- {"Colt1911","weapon",0.04},
- {"ItemFlashlight","generic",0.06},
- {"ItemKnife","generic",0.07},
- {"ItemMatchbox","generic",0.06},
- {"LeeEnfield","weapon",0.03},
- {"revolver_EP1","weapon",0.04},
- {"DZ_Patrol_Pack_EP1","object",0.05}, //8
- {"DZ_Assault_Pack_EP1","object",0.04}, // 12
- {"DZ_Czech_Vest_Puch","object",0.03}, // 12-0
- {"DZ_ALICE_Pack_EP1","object",0.01}, // 16
- {"DZ_TK_Assault_Pack_EP1","object",0.02}, // 16
- {"Winchester1866","weapon",0.03},
- {"MeleeBaseBallBat","weapon",0.02},
- {"WeaponHolder_ItemTent","object",0.01},
- {"Crossbow_DZ","weapon",0.01},
- {"Binocular","weapon",0.06},
- {"PartWoodPile","magazine",0.06},
- {"Skin_Camo1_DZ","magazine",0.01},
- {"Skin_Sniper1_DZ","magazine",0.01},
- {"WeaponHolder_ItemCrowbar","object",0.08},
- {"MR43","weapon",0.03},
- {"ItemBookBible","magazine",0.02},
- {"WeaponHolder_ItemFuelcan","object",0.03},
- //{"","craft",0.10},
- {"","military",0.10},
- {"","generic",0.60},
- {"","trash",0.20} //0.40
- };
- };
- class Office: Residential {
- maxRoaming = 3;
- lootChance = 0.2;
- zombieClass[] = {"z_suit1","z_suit2"};
- };
- class Industrial: Default { //254
- zombieChance = 0.4;
- zombieClass[] = {"z_worker1","z_worker2","z_worker3"};
- maxRoaming = 2;
- lootChance = 0.5; //0.3
- lootPos[] = {};
- lootType[] = {
- {"WeaponHolder_PartGeneric","object",0.04},
- {"WeaponHolder_PartWheel","object",0.05},
- {"WeaponHolder_PartFueltank","object",0.02},
- {"WeaponHolder_PartEngine","object",0.02},
- {"WeaponHolder_PartGlass","object",0.04},
- {"WeaponHolder_PartVRotor","object",0.01},
- {"WeaponHolder_ItemJerrycan","object",0.04},
- {"WeaponHolder_ItemHatchet","object",0.05},
- {"WeaponHolder_ItemFuelcan","object",0.03},
- {"ItemKnife","military",0.03},
- {"ItemToolbox","weapon",0.06},
- {"ItemWire","magazine",0.01},
- {"ItemTankTrap","magazine",0.04},
- //{"","craft",0.10},
- {"","military",0.10},
- {"","generic",0.60},
- {"","trash",0.20} //0.40
- };
- };
- class InfectedCamps: Default { //5
- lootPos[] = {};
- lootType[] = {
- {"WeaponHolder_PartGeneric","object",0.04},
- {"WeaponHolder_PartWheel","object",0.02},
- {"WeaponHolder_PartFueltank","object",0.02},
- {"WeaponHolder_PartEngine","object",0.02},
- {"WeaponHolder_ItemFuelcan","object",0.03},
- {"ItemWire","magazine",0.01},
- {"ItemTankTrap","magazine",0.04},
- {"ItemSodaMdew","magazine",0.01},
- {"ItemWatch","generic",0.05},
- {"ItemCompass","generic",0.05},
- {"Makarov","weapon",0.04},
- {"Colt1911","weapon",0.04},
- {"ItemFlashlight","generic",0.06},
- {"ItemKnife","generic",0.07},
- {"ItemMatchbox","generic",0.06},
- {"LeeEnfield","weapon",0.03},
- {"revolver_EP1","weapon",0.04},
- {"DZ_ALICE_Pack_EP1","object",0.01}, // 16
- {"DZ_TK_Assault_Pack_EP1","object",0.02}, // 16
- {"Winchester1866","weapon",0.03},
- {"MeleeBaseBallBat","weapon",0.02},
- {"WeaponHolder_ItemTent","object",0.01},
- {"Crossbow_DZ","weapon",0.01},
- {"Binocular","weapon",0.06},
- {"PartWoodPile","magazine",0.06},
- {"Skin_Camo1_DZ","magazine",0.01},
- {"WeaponHolder_ItemCrowbar","object",0.08},
- {"MR43","weapon",0.03},
- {"ItemBookBible","magazine",0.02},
- {"WeaponHolder_ItemFuelcan","object",0.03},
- //
- /*
- {"Blueprint_NailedBaseballBat","weapon",0.01},
- {"Blueprint_BaseBallBatBarbed","weapon",0.01},
- {"Blueprint_M9SD","weapon",0.01},
- {"Blueprint_M4A1_AIM","weapon",0.01},
- {"Blueprint_MAKAROVSD","weapon",0.01},
- {"Blueprint_bizonSD","weapon",0.01},
- {"Blueprint_SVD_CAMO","weapon",0.01},
- {"Blueprint_M4A1_Aim_CAMO","weapon",0.01},
- {"Blueprint_M4A1_HWS_GL_CAMO","weapon",0.01},
- {"Blueprint_G36C_camo","weapon",0.01},
- {"Blueprint_G36A_camo","weapon",0.01},
- {"Blueprint_G36K_camo","weapon",0.01},
- {"Blueprint_Bandage","weapon",0.01},
- {"Blueprint_Compass","weapon",0.01},
- //
- */
- //{"","craft",0.10},
- {"","military",0.10},
- {"","generic",0.60}
- };
- };
- 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[] = {
- {"WeaponHolder_ItemJerrycan","object",0.03},
- {"huntingrifle","weapon",0.02},
- {"LeeEnfield","weapon",0.03},
- {"Winchester1866","weapon",0.03},
- {"Crossbow_DZ","weapon",0.03},
- {"PartWoodPile","magazine",0.08},
- {"WeaponHolder_ItemHatchet","object",0.05},
- {"MR43","weapon",0.01},
- {"MeleeMachete","weapon",0.04},
- //{"","craft",0.10},
- {"","military",0.10},
- {"","generic",0.60},
- {"","trash",0.20} //0.40
- };
- };
- class Supermarket: Default {
- lootChance = 0.9; //0.4
- minRoaming = 2;
- maxRoaming = 6;
- zombieChance = 0.3;
- zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
- lootType[] = {
- {"ItemWatch","generic",0.05},
- {"ItemCompass","generic",0.01},
- {"ItemMap","weapon",0.06},
- {"Makarov","weapon",0.02},
- {"Colt1911","weapon",0.02},
- {"ItemFlashlight","generic",0.05},
- {"ItemKnife","generic",0.02},
- {"ItemMatchbox","generic",0.05},
- {"LeeEnfield","weapon",0.01},
- {"revolver_EP1","weapon",0.01},
- {"DZ_Patrol_Pack_EP1","object",0.05}, //12
- {"DZ_Assault_Pack_EP1","object",0.04}, // 12
- {"DZ_Czech_Vest_Puch","object",0.03}, // 12-0
- {"DZ_ALICE_Pack_EP1","object",0.02}, // 16
- {"DZ_TK_Assault_Pack_EP1","object",0.02}, // 16
- {"Winchester1866","weapon",0.03},
- {"WeaponHolder_ItemTent","object",0.01},
- {"Crossbow_DZ","weapon",0.01},
- {"Binocular","weapon",0.03},
- {"PartWoodPile","magazine",0.04},
- {"MR43","weapon", 0.01},
- {"","food",0.07},
- //{"","craft",0.10},
- {"","military",0.03},
- {"","generic",0.60},
- {"","trash",0.20} //0.40
- };
- };
- class HeliCrash: Default {
- zombieChance = 0.4;
- maxRoaming = 2;
- zombieClass[] = {"z_soldier_pilot"};
- lootChance = 0.8; //0.5
- lootPos[] = {};
- lootType[] = {
- {"FN_FAL","weapon",0.04},
- {"bizon_silenced","weapon",0.05},
- {"M14_EP1","weapon",0.05},
- {"FN_FAL_ANPVS4","weapon",0.01},
- {"Mk_48_DZ","weapon",0.03},
- {"M249_DZ","weapon",0.04},
- {"BAF_L85A2_RIS_SUSAT","weapon",0.03},
- {"DMR_DZ","weapon",0.06},
- {"MedBox0","object",0.05},
- {"NVGoggles","weapon",0.01},
- {"AmmoBoxSmall_556","object",0.05},
- {"AmmoBoxSmall_762","object",0.05},
- {"Skin_Camo1_DZ","magazine",0.08},
- {"Skin_Sniper1_DZ","magazine",0.05},
- {"G36C","weapon",0.03},
- {"G36C_camo","weapon",0.03},
- //{"G36_C_SD_camo","weapon",0.01},
- {"G36A_camo","weapon",0.03},
- {"G36K_camo","weapon",0.03},
- {"100Rnd_762x54_PK","magazine",0.05},
- {"","military",1.00},
- {"","medical",0.5}
- };
- };
- class HeliCrashWEST: Default {
- zombieChance = 0.4;
- maxRoaming = 2;
- zombieClass[] = {"z_soldier_pilot"};
- lootChance = 0.8; //0.5
- lootPos[] = {};
- lootType[] = {
- {"FN_FAL","weapon",0.04},
- {"FN_FAL_ANPVS4","weapon",0.01},
- {"Mk_48_DZ","weapon",0.03},
- {"M249_DZ","weapon",0.04},
- {"BAF_L85A2_RIS_Holo","weapon",0.03},
- {"MedBox0","object",0.05},
- {"NVGoggles","weapon",0.01},
- {"AmmoBoxSmall_556","object",0.05},
- {"Skin_Camo1_DZ","magazine",0.08},
- {"Skin_Sniper1_DZ","magazine",0.05},
- {"G36C","weapon",0.03},
- {"G36C_camo","weapon",0.03},
- //{"G36_C_SD_camo","weapon",0.01},
- {"G36A_camo","weapon",0.03},
- {"G36K_camo","weapon",0.03},
- {"","military",1.00},
- {"","medical",0.5}
- };
- };
- class HeliCrashEAST: Default {
- zombieChance = 0.5;
- maxRoaming = 8;
- zombieClass[] = {"z_soldier_pilot"};
- lootChance = 0.8; //0.5
- lootPos[] = {};
- lootType[] = {
- {"AK_47_M","weapon",0.03},
- {"AKS_74_U","weapon",0.03},
- {"M14_EP1","weapon",0.02},
- {"bizon_silenced","weapon",0.04},
- {"DMR_DZ","weapon",0.04},
- {"RPK_74","weapon",0.02},
- {"Binocular","weapon",0.01},
- {"ItemKnife","militaryEAST",0.03},
- {"","militaryEAST",0.10},
- {"ItemCompass","militaryEAST",0.04},
- {"AmmoBoxSmall_762","object",0.3},
- {"WeaponHolder_PartVRotor","object",0.02},
- {"100Rnd_762x54_PK","magazine",0.01},
- {"","military",1.00},
- {"","medical",0.5}
- };
- };
- class Hospital: Default {
- zombieChance = 0.4;
- minRoaming = 2;
- maxRoaming = 6;
- zombieClass[] = {"z_doctor","z_doctor","z_doctor"};
- lootChance = 0.9; //0.2
- lootPos[] = {};
- lootType[] = {
- {"","trash",0.1}, //0.5
- {"","hospital",0.7}, //0.5
- {"MedBox0","object",0.5} //0.01
- };
- };
- class Military: Default {
- zombieChance = 0.3;
- maxRoaming = 6;
- zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman"};
- lootChance = 0.6; //0.2
- lootPos[] = {};
- lootType[] = {
- {"M9","weapon",0.05},
- {"M16A2","weapon",0.05},
- {"M16A2GL","weapon",0.02},
- {"M9SD","weapon",0.01},
- {"MakarovSD","weapon",0.01},
- {"AK_74","weapon",0.06},
- {"M4A1_Aim","weapon",0.03},
- {"AKS_74_kobra","weapon",0.06},
- {"AKS_74_U","weapon",0.04},
- {"AK_47_M","weapon",0.04},
- {"M24","weapon",0.03},
- {"M1014","weapon",0.06},
- {"DMR_DZ","weapon",0.03},
- {"M4A1","weapon",0.04},
- {"M14_EP1","weapon",0.03},
- {"UZI_EP1","weapon",0.05},
- {"Remington870_lamp","weapon",0.05},
- {"glock17_EP1","weapon",0.08},
- {"MP5A5","weapon",0.04},
- {"MP5SD","weapon",0.01},
- {"M4A3_CCO_EP1","weapon",0.02},
- {"Binocular","weapon",0.05},
- {"ItemFlashlightRed","military",0.06},
- {"ItemKnife","military",0.06},
- {"ItemGPS","weapon",0.01},
- {"ItemMap","military",0.03},
- {"DZ_British_ACU","object",0.02}, // 18
- {"DZ_CivilBackpack_EP1","object",0.01}, // 24
- {"ItemEtool","weapon",0.03},
- {"ItemSandbag","magazine",0.04},
- //{"","craft",0.10},
- {"","military",0.70},
- {"","generic",0.10},
- //{"","attachments",0.10},
- {"","trash",0.15} //0.30
- };
- };
- class MilitarySpecial: Default {
- zombieChance = 0.8;
- minRoaming = 2;
- maxRoaming = 6;
- zombieClass[] = {"z_soldier_heavy"};
- lootChance = 0.5; //0.1
- lootPos[] = {};
- lootType[] = {
- {"M16A2","weapon",0.05},
- {"M16A2GL","weapon",0.05},
- {"M249_DZ","weapon",0.01},
- {"M9SD","weapon",0.02},
- {"MakarovSD","weapon",0.01},
- {"AK_74","weapon",0.05},
- {"M4A1_Aim","weapon",0.02},
- {"AKS_74_kobra","weapon",0.05},
- {"AKS_74_U","weapon",0.05},
- {"AK_47_M","weapon",0.05},
- {"M24","weapon",0.01},
- {"SVD_CAMO","weapon",0.01},
- {"M1014","weapon",0.07},
- {"DMR_DZ","weapon",0.02},
- {"M4A1","weapon",0.05},
- {"M14_EP1","weapon",0.03},
- {"UZI_EP1","weapon",0.08},
- {"Remington870_lamp","weapon",0.06},
- {"glock17_EP1","weapon",0.07},
- {"M240_DZ","weapon",0.01},
- {"M4A1_AIM_SD_camo","weapon",0.04},
- {"M16A4_ACG","weapon",0.05},
- {"M4A1_HWS_GL_camo","weapon",0.02},
- {"Mk_48_DZ","weapon",0.01},
- {"M4A3_CCO_EP1","weapon",0.03},
- {"AmmoBoxSmall_556","object",0.04},
- {"AmmoBoxSmall_762","object",0.02},
- {"Binocular","weapon",0.03},
- {"ItemFlashlightRed","military",0.05},
- {"ItemKnife","military",0.05},
- {"ItemGPS","weapon",0.01},
- {"ItemMap","military",0.03},
- {"Binocular_Vector","military",0.01},
- {"DZ_CivilBackpack_EP1","object",0.01}, // 24
- {"DZ_Backpack_EP1","object",0.01}, // 24
- //{"Body","object",0.2},
- {"PipeBomb","magazine",0.01},
- {"Sa58V_RCO_EP1","weapon",0.04},
- {"Sa58V_CCO_EP1","weapon",0.04},
- //{"G36_C_SD_camo","weapon",0.01},
- {"M40A3","weapon",0.02},
- {"100Rnd_762x54_PK","magazine",0.01},
- {"Sa58P_EP1","weapon",0.02},
- {"Sa58V_EP1","weapon",0.02},
- //{"","craft",0.10},
- {"","military",0.70},
- {"","generic",0.10},
- //{"","attachments",0.10},
- {"","trash",0.15} //0.30
- };
- };
- class Hunting: Default {
- zombieChance = 0.6;
- minRoaming = 1;
- maxRoaming = 3;
- zombieClass[] = {"z_hunter","z_hunter","z_hunter"};
- lootChance = 0.8;
- lootPos[] = {};
- lootType[] = {
- {"ItemMap","weapon",0.06},
- {"ItemFlashlight","generic",0.06},
- {"ItemKnife","generic",0.05},
- {"ItemMatchbox","generic",0.07},
- {"Crossbow_DZ","weapon",0.04},
- {"","military",0.05},
- {"MeleeMachete","weapon",0.04},
- {"huntingrifle","weapon",0.05},
- {"M14_EP1","weapon",0.03},
- {"M16A2","weapon",0.03},
- {"AK_74","weapon",0.03},
- {"M24","weapon",0.03},
- {"M1014","weapon",0.03},
- {"","hunter",0.10},
- //{"","craft",0.10},
- {"","military",0.15},
- //{"","attachments",0.15},
- {"","generic",0.50},
- {"","trash",0.15} //0.30
- };
- };
- #include "CfgBuildingPos.hpp"
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement