Advertisement
Guest User

dayz1771loot

a guest
Jun 21st, 2013
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 16.91 KB | None | 0 0
  1. #include "CfgLoot.hpp"
  2.  
  3. class CfgBuildingLoot {
  4.     class Default {
  5.         zombieChance = 0.2;
  6.         minRoaming = 0;
  7.         maxRoaming = 2;
  8.         zombieClass[] = {"zZombie_Base","z_hunter","z_teacher","z_suit1","z_suit2","z_worker1","z_worker2","z_worker3","z_villager1","z_villager2","z_villager3"};
  9.         lootChance = 0;
  10.         lootPos[] = {};
  11.         lootType[] = {};
  12.         hangPos[] = {};
  13.         vehPos[] = {};
  14.     };
  15.     class Master {
  16.         weapons[] = {"SMAW","Javelin","G36C","Stinger"};
  17.     };
  18.     class Church: Default {
  19.         zombieChance = 0.3;
  20.         minRoaming = 1;
  21.         maxRoaming = 3;
  22.         zombieClass[] = {"z_priest","z_priest","z_priest"};
  23.         lootChance = 0.5; //0.3
  24.         lootPos[] = {};
  25.         lootType[] = {
  26.             {"ItemBookBible","magazine",0.03},
  27.             {"","generic",0.12},
  28.             {"","military",0.05},
  29.             {"","trash",0.20}
  30.         };
  31.     };
  32.     class Residential: Default {
  33.         zombieChance = 0.3;
  34.         maxRoaming = 2;
  35.         zombieClass[] = {"zZombie_Base","z_hunter","z_teacher","z_villager1","z_villager2","z_villager3"};
  36.         lootChance = 0.4;
  37.         lootPos[] = {};
  38.         lootType[] = {
  39.             {"ItemSodaMdew","magazine",0.01},
  40.             {"ItemWatch","generic",0.05},
  41.             {"ItemCompass","generic",0.05},
  42.             {"ItemMap","weapon",0.03},
  43.             {"Makarov","weapon",0.04},
  44.             {"Colt1911","weapon",0.04},
  45.             {"ItemFlashlight","generic",0.06},
  46.             {"ItemKnife","generic",0.07},
  47.             {"ItemMatchbox","generic",0.06},
  48.             {"LeeEnfield","weapon",0.03},
  49.             {"revolver_EP1","weapon",0.04},
  50.             {"DZ_Patrol_Pack_EP1","object",0.05}, //8
  51.             {"DZ_Assault_Pack_EP1","object",0.04}, // 12
  52.             {"DZ_Czech_Vest_Puch","object",0.03}, // 12-0
  53.             {"DZ_ALICE_Pack_EP1","object",0.01}, // 16
  54.             {"DZ_TK_Assault_Pack_EP1","object",0.02}, // 16
  55.             {"Winchester1866","weapon",0.03},
  56.             {"MeleeBaseBallBat","weapon",0.02},
  57.             {"WeaponHolder_ItemTent","object",0.01},
  58.             {"Crossbow_DZ","weapon",0.01},
  59.             {"Binocular","weapon",0.06},
  60.             {"PartWoodPile","magazine",0.06},
  61.             {"Skin_Camo1_DZ","magazine",0.01},
  62.             {"Skin_Sniper1_DZ","magazine",0.01},
  63.             {"WeaponHolder_ItemCrowbar","object",0.08},
  64.             {"MR43","weapon",0.03},
  65.             {"ItemBookBible","magazine",0.02},
  66.             {"WeaponHolder_ItemFuelcan","object",0.03},
  67.             //{"","craft",0.10},
  68.             {"","military",0.10},
  69.             {"","generic",0.60},
  70.             {"","trash",0.20} //0.40
  71.         };
  72.     };
  73.    
  74.     class Office: Residential {
  75.         maxRoaming = 3;
  76.         lootChance = 0.2;
  77.         zombieClass[] = {"z_suit1","z_suit2"};
  78.     };
  79.     class Industrial: Default { //254
  80.         zombieChance = 0.4;
  81.         zombieClass[] = {"z_worker1","z_worker2","z_worker3"};
  82.         maxRoaming = 2;
  83.         lootChance = 0.5; //0.3
  84.         lootPos[] = {};
  85.         lootType[] = {
  86.             {"WeaponHolder_PartGeneric","object",0.04},
  87.             {"WeaponHolder_PartWheel","object",0.05},
  88.             {"WeaponHolder_PartFueltank","object",0.02},
  89.             {"WeaponHolder_PartEngine","object",0.02},
  90.             {"WeaponHolder_PartGlass","object",0.04},
  91.             {"WeaponHolder_PartVRotor","object",0.01},
  92.             {"WeaponHolder_ItemJerrycan","object",0.04},
  93.             {"WeaponHolder_ItemHatchet","object",0.05},
  94.             {"WeaponHolder_ItemFuelcan","object",0.03},
  95.             {"ItemKnife","military",0.03},
  96.             {"ItemToolbox","weapon",0.06},
  97.             {"ItemWire","magazine",0.01},
  98.             {"ItemTankTrap","magazine",0.04},
  99.             //{"","craft",0.10},
  100.             {"","military",0.10},
  101.             {"","generic",0.60},
  102.             {"","trash",0.20} //0.40
  103.         };
  104.     };
  105.     class InfectedCamps: Default { //5
  106.         lootPos[] = {};
  107.         lootType[] = {
  108.             {"WeaponHolder_PartGeneric","object",0.04},
  109.             {"WeaponHolder_PartWheel","object",0.02},
  110.             {"WeaponHolder_PartFueltank","object",0.02},
  111.             {"WeaponHolder_PartEngine","object",0.02},
  112.             {"WeaponHolder_ItemFuelcan","object",0.03},
  113.             {"ItemWire","magazine",0.01},
  114.             {"ItemTankTrap","magazine",0.04},
  115.             {"ItemSodaMdew","magazine",0.01},
  116.             {"ItemWatch","generic",0.05},
  117.             {"ItemCompass","generic",0.05},
  118.             {"Makarov","weapon",0.04},
  119.             {"Colt1911","weapon",0.04},
  120.             {"ItemFlashlight","generic",0.06},
  121.             {"ItemKnife","generic",0.07},
  122.             {"ItemMatchbox","generic",0.06},
  123.             {"LeeEnfield","weapon",0.03},
  124.             {"revolver_EP1","weapon",0.04},
  125.             {"DZ_ALICE_Pack_EP1","object",0.01}, // 16
  126.             {"DZ_TK_Assault_Pack_EP1","object",0.02}, // 16
  127.             {"Winchester1866","weapon",0.03},
  128.             {"MeleeBaseBallBat","weapon",0.02},
  129.             {"WeaponHolder_ItemTent","object",0.01},
  130.             {"Crossbow_DZ","weapon",0.01},
  131.             {"Binocular","weapon",0.06},
  132.             {"PartWoodPile","magazine",0.06},
  133.             {"Skin_Camo1_DZ","magazine",0.01},
  134.             {"WeaponHolder_ItemCrowbar","object",0.08},
  135.             {"MR43","weapon",0.03},
  136.             {"ItemBookBible","magazine",0.02},
  137.             {"WeaponHolder_ItemFuelcan","object",0.03},
  138.             //
  139.             /*
  140.             {"Blueprint_NailedBaseballBat","weapon",0.01},
  141.             {"Blueprint_BaseBallBatBarbed","weapon",0.01},
  142.             {"Blueprint_M9SD","weapon",0.01},
  143.             {"Blueprint_M4A1_AIM","weapon",0.01},
  144.             {"Blueprint_MAKAROVSD","weapon",0.01},
  145.             {"Blueprint_bizonSD","weapon",0.01},
  146.             {"Blueprint_SVD_CAMO","weapon",0.01},
  147.             {"Blueprint_M4A1_Aim_CAMO","weapon",0.01},
  148.             {"Blueprint_M4A1_HWS_GL_CAMO","weapon",0.01},
  149.             {"Blueprint_G36C_camo","weapon",0.01},
  150.             {"Blueprint_G36A_camo","weapon",0.01},
  151.             {"Blueprint_G36K_camo","weapon",0.01},
  152.             {"Blueprint_Bandage","weapon",0.01},
  153.             {"Blueprint_Compass","weapon",0.01},
  154.             //
  155.             */
  156.             //{"","craft",0.10},
  157.             {"","military",0.10},
  158.             {"","generic",0.60}
  159.         };
  160.     };
  161.     class Farm: Default {
  162.         zombieChance = 0.3;
  163.         maxRoaming = 3;
  164.         zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3"};
  165.         lootChance = 0.5;
  166.         lootPos[] = {};
  167.         lootType[] =    {
  168.             {"WeaponHolder_ItemJerrycan","object",0.03},
  169.             {"huntingrifle","weapon",0.02},
  170.             {"LeeEnfield","weapon",0.03},
  171.             {"Winchester1866","weapon",0.03},
  172.             {"Crossbow_DZ","weapon",0.03},
  173.             {"PartWoodPile","magazine",0.08},
  174.             {"WeaponHolder_ItemHatchet","object",0.05},
  175.             {"MR43","weapon",0.01},
  176.             {"MeleeMachete","weapon",0.04},
  177.             //{"","craft",0.10},
  178.             {"","military",0.10},
  179.             {"","generic",0.60},
  180.             {"","trash",0.20} //0.40
  181.         };
  182.     };
  183.     class Supermarket: Default {
  184.         lootChance = 0.9; //0.4
  185.         minRoaming = 2;
  186.         maxRoaming = 6;
  187.         zombieChance = 0.3;
  188.         zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
  189.         lootType[] = {
  190.             {"ItemWatch","generic",0.05},
  191.             {"ItemCompass","generic",0.01},
  192.             {"ItemMap","weapon",0.06},
  193.             {"Makarov","weapon",0.02},
  194.             {"Colt1911","weapon",0.02},
  195.             {"ItemFlashlight","generic",0.05},
  196.             {"ItemKnife","generic",0.02},
  197.             {"ItemMatchbox","generic",0.05},
  198.             {"LeeEnfield","weapon",0.01},
  199.             {"revolver_EP1","weapon",0.01},
  200.             {"DZ_Patrol_Pack_EP1","object",0.05}, //12
  201.             {"DZ_Assault_Pack_EP1","object",0.04}, // 12
  202.             {"DZ_Czech_Vest_Puch","object",0.03}, // 12-0
  203.             {"DZ_ALICE_Pack_EP1","object",0.02}, // 16
  204.             {"DZ_TK_Assault_Pack_EP1","object",0.02}, // 16
  205.             {"Winchester1866","weapon",0.03},
  206.             {"WeaponHolder_ItemTent","object",0.01},
  207.             {"Crossbow_DZ","weapon",0.01},
  208.             {"Binocular","weapon",0.03},
  209.             {"PartWoodPile","magazine",0.04},
  210.             {"MR43","weapon", 0.01},
  211.             {"","food",0.07},
  212.             //{"","craft",0.10},
  213.             {"","military",0.03},
  214.             {"","generic",0.60},
  215.             {"","trash",0.20} //0.40
  216.         };
  217.     };
  218.     class HeliCrash: Default {
  219.         zombieChance = 0.4;
  220.         maxRoaming = 2;
  221.         zombieClass[] = {"z_soldier_pilot"};
  222.         lootChance = 0.8; //0.5
  223.         lootPos[] = {};
  224.         lootType[] = {
  225.             {"FN_FAL","weapon",0.04},
  226.             {"bizon_silenced","weapon",0.05},
  227.             {"M14_EP1","weapon",0.05},
  228.             {"FN_FAL_ANPVS4","weapon",0.01},
  229.             {"Mk_48_DZ","weapon",0.03},
  230.             {"M249_DZ","weapon",0.04},
  231.             {"BAF_L85A2_RIS_SUSAT","weapon",0.03},
  232.             {"DMR_DZ","weapon",0.06},
  233.             {"MedBox0","object",0.05},
  234.             {"NVGoggles","weapon",0.01},
  235.             {"AmmoBoxSmall_556","object",0.05},
  236.             {"AmmoBoxSmall_762","object",0.05},
  237.             {"Skin_Camo1_DZ","magazine",0.08},
  238.             {"Skin_Sniper1_DZ","magazine",0.05},
  239.             {"G36C","weapon",0.03},
  240.             {"G36C_camo","weapon",0.03},
  241.             //{"G36_C_SD_camo","weapon",0.01},
  242.             {"G36A_camo","weapon",0.03},
  243.             {"G36K_camo","weapon",0.03},
  244.             {"100Rnd_762x54_PK","magazine",0.05},
  245.             {"","military",1.00},
  246.             {"","medical",0.5}
  247.         };
  248.     };  
  249.     class HeliCrashWEST: Default {
  250.         zombieChance = 0.4;
  251.         maxRoaming = 2;
  252.         zombieClass[] = {"z_soldier_pilot"};
  253.         lootChance = 0.8; //0.5
  254.         lootPos[] = {};
  255.         lootType[] = {
  256.             {"FN_FAL","weapon",0.04},
  257.             {"FN_FAL_ANPVS4","weapon",0.01},
  258.             {"Mk_48_DZ","weapon",0.03},
  259.             {"M249_DZ","weapon",0.04},
  260.             {"BAF_L85A2_RIS_Holo","weapon",0.03},
  261.             {"MedBox0","object",0.05},
  262.             {"NVGoggles","weapon",0.01},
  263.             {"AmmoBoxSmall_556","object",0.05},
  264.             {"Skin_Camo1_DZ","magazine",0.08},
  265.             {"Skin_Sniper1_DZ","magazine",0.05},
  266.             {"G36C","weapon",0.03},
  267.             {"G36C_camo","weapon",0.03},
  268.             //{"G36_C_SD_camo","weapon",0.01},
  269.             {"G36A_camo","weapon",0.03},
  270.             {"G36K_camo","weapon",0.03},
  271.             {"","military",1.00},
  272.             {"","medical",0.5}
  273.         };
  274.     };
  275.     class HeliCrashEAST: Default {
  276.         zombieChance = 0.5;
  277.         maxRoaming = 8;
  278.         zombieClass[] = {"z_soldier_pilot"};
  279.         lootChance = 0.8; //0.5
  280.         lootPos[] = {};
  281.         lootType[] = {
  282.             {"AK_47_M","weapon",0.03},
  283.             {"AKS_74_U","weapon",0.03},
  284.             {"M14_EP1","weapon",0.02},
  285.             {"bizon_silenced","weapon",0.04},
  286.             {"DMR_DZ","weapon",0.04},
  287.             {"RPK_74","weapon",0.02},
  288.             {"Binocular","weapon",0.01},
  289.             {"ItemKnife","militaryEAST",0.03},
  290.             {"","militaryEAST",0.10},
  291.             {"ItemCompass","militaryEAST",0.04},
  292.             {"AmmoBoxSmall_762","object",0.3},
  293.             {"WeaponHolder_PartVRotor","object",0.02},
  294.             {"100Rnd_762x54_PK","magazine",0.01},
  295.             {"","military",1.00},
  296.             {"","medical",0.5}
  297.         };
  298.     };
  299.     class Hospital: Default {
  300.         zombieChance = 0.4;
  301.         minRoaming = 2;
  302.         maxRoaming = 6;
  303.         zombieClass[] = {"z_doctor","z_doctor","z_doctor"};
  304.         lootChance = 0.9; //0.2
  305.         lootPos[] = {};
  306.         lootType[] = {
  307.             {"","trash",0.1}, //0.5
  308.             {"","hospital",0.7}, //0.5
  309.             {"MedBox0","object",0.5} //0.01
  310.         };
  311.     };
  312.     class Military: Default {
  313.         zombieChance = 0.3;
  314.         maxRoaming = 6;
  315.         zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman"};
  316.         lootChance = 0.6; //0.2
  317.         lootPos[] = {};
  318.         lootType[] = {
  319.             {"M9","weapon",0.05},
  320.             {"M16A2","weapon",0.05},
  321.             {"M16A2GL","weapon",0.02},
  322.             {"M9SD","weapon",0.01},
  323.             {"MakarovSD","weapon",0.01},
  324.             {"AK_74","weapon",0.06},
  325.             {"M4A1_Aim","weapon",0.03},
  326.             {"AKS_74_kobra","weapon",0.06},
  327.             {"AKS_74_U","weapon",0.04},
  328.             {"AK_47_M","weapon",0.04},
  329.             {"M24","weapon",0.03},
  330.             {"M1014","weapon",0.06},
  331.             {"DMR_DZ","weapon",0.03},
  332.             {"M4A1","weapon",0.04},
  333.             {"M14_EP1","weapon",0.03},
  334.             {"UZI_EP1","weapon",0.05},
  335.             {"Remington870_lamp","weapon",0.05},
  336.             {"glock17_EP1","weapon",0.08},
  337.             {"MP5A5","weapon",0.04},
  338.             {"MP5SD","weapon",0.01},
  339.             {"M4A3_CCO_EP1","weapon",0.02},
  340.             {"Binocular","weapon",0.05},
  341.             {"ItemFlashlightRed","military",0.06},
  342.             {"ItemKnife","military",0.06},
  343.             {"ItemGPS","weapon",0.01},
  344.             {"ItemMap","military",0.03},
  345.             {"DZ_British_ACU","object",0.02}, // 18
  346.             {"DZ_CivilBackpack_EP1","object",0.01}, // 24          
  347.             {"ItemEtool","weapon",0.03},
  348.             {"ItemSandbag","magazine",0.04},
  349.             //{"","craft",0.10},
  350.             {"","military",0.70},
  351.             {"","generic",0.10},
  352.             //{"","attachments",0.10},
  353.             {"","trash",0.15} //0.30
  354.         };
  355.     };
  356.     class MilitarySpecial: Default {
  357.         zombieChance = 0.8;
  358.         minRoaming = 2;
  359.         maxRoaming = 6;
  360.         zombieClass[] = {"z_soldier_heavy"};
  361.         lootChance = 0.5; //0.1
  362.         lootPos[] = {};
  363.         lootType[] = {
  364.             {"M16A2","weapon",0.05},
  365.             {"M16A2GL","weapon",0.05},
  366.             {"M249_DZ","weapon",0.01},
  367.             {"M9SD","weapon",0.02},
  368.             {"MakarovSD","weapon",0.01},
  369.             {"AK_74","weapon",0.05},
  370.             {"M4A1_Aim","weapon",0.02},
  371.             {"AKS_74_kobra","weapon",0.05},
  372.             {"AKS_74_U","weapon",0.05},
  373.             {"AK_47_M","weapon",0.05},
  374.             {"M24","weapon",0.01},
  375.             {"SVD_CAMO","weapon",0.01},
  376.             {"M1014","weapon",0.07},
  377.             {"DMR_DZ","weapon",0.02},
  378.             {"M4A1","weapon",0.05},
  379.             {"M14_EP1","weapon",0.03},
  380.             {"UZI_EP1","weapon",0.08},
  381.             {"Remington870_lamp","weapon",0.06},
  382.             {"glock17_EP1","weapon",0.07},
  383.             {"M240_DZ","weapon",0.01},
  384.             {"M4A1_AIM_SD_camo","weapon",0.04},
  385.             {"M16A4_ACG","weapon",0.05},
  386.             {"M4A1_HWS_GL_camo","weapon",0.02},
  387.             {"Mk_48_DZ","weapon",0.01},
  388.             {"M4A3_CCO_EP1","weapon",0.03},
  389.             {"AmmoBoxSmall_556","object",0.04},
  390.             {"AmmoBoxSmall_762","object",0.02},
  391.             {"Binocular","weapon",0.03},
  392.             {"ItemFlashlightRed","military",0.05},
  393.             {"ItemKnife","military",0.05},
  394.             {"ItemGPS","weapon",0.01},
  395.             {"ItemMap","military",0.03},
  396.             {"Binocular_Vector","military",0.01},
  397.             {"DZ_CivilBackpack_EP1","object",0.01}, // 24
  398.             {"DZ_Backpack_EP1","object",0.01}, // 24      
  399.             //{"Body","object",0.2},
  400.             {"PipeBomb","magazine",0.01},
  401.             {"Sa58V_RCO_EP1","weapon",0.04},
  402.             {"Sa58V_CCO_EP1","weapon",0.04},
  403.             //{"G36_C_SD_camo","weapon",0.01},
  404.             {"M40A3","weapon",0.02},
  405.             {"100Rnd_762x54_PK","magazine",0.01},
  406.             {"Sa58P_EP1","weapon",0.02},
  407.             {"Sa58V_EP1","weapon",0.02},
  408.             //{"","craft",0.10},
  409.             {"","military",0.70},
  410.             {"","generic",0.10},
  411.             //{"","attachments",0.10},
  412.             {"","trash",0.15} //0.30
  413.         };
  414.     };
  415.     class Hunting: Default {
  416.         zombieChance = 0.6;
  417.         minRoaming = 1;
  418.         maxRoaming = 3;
  419.         zombieClass[] = {"z_hunter","z_hunter","z_hunter"};
  420.         lootChance = 0.8;
  421.         lootPos[] = {};
  422.         lootType[] = {
  423.             {"ItemMap","weapon",0.06},
  424.             {"ItemFlashlight","generic",0.06},
  425.             {"ItemKnife","generic",0.05},
  426.             {"ItemMatchbox","generic",0.07},
  427.             {"Crossbow_DZ","weapon",0.04},
  428.             {"","military",0.05},
  429.             {"MeleeMachete","weapon",0.04},
  430.             {"huntingrifle","weapon",0.05},
  431.             {"M14_EP1","weapon",0.03},
  432.             {"M16A2","weapon",0.03},
  433.             {"AK_74","weapon",0.03},
  434.             {"M24","weapon",0.03},
  435.             {"M1014","weapon",0.03},
  436.             {"","hunter",0.10},
  437.             //{"","craft",0.10},
  438.             {"","military",0.15},
  439.             //{"","attachments",0.15},
  440.             {"","generic",0.50},
  441.             {"","trash",0.15} //0.30
  442.         };
  443.     };
  444. #include "CfgBuildingPos.hpp"
  445. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement