Guest User

Untitled

a guest
Aug 21st, 2014
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.03 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.  
  12. lootPosSmall[] = {};
  13. lootPosZombie[] = {};
  14.  
  15. itemType[] = {};
  16.  
  17. itemChance[] = {};
  18. lootTypeSmall[] = {};
  19. itemChanceSmall[] = {};
  20.  
  21. hangPos[] = {};
  22. vehPos[] = {};
  23. };
  24.  
  25. class Castle: Default {
  26. lootChance = 0.2;
  27. lootPos[] = {};
  28. lootType[] = {
  29. //one spawn
  30. //tools
  31. //{"ItemMatchbox","weapon",0.01},
  32. {"ItemKnife","weapon",0.01},
  33. {"ItemMap","generic",0.01},
  34. {"ItemCompass","weapon",0.01},
  35. {"ItemFlashlight","weapon",0.01},
  36. //weapons
  37. {"WeaponHolder_ItemHatchet","object",0.01},
  38. //special
  39. {"WeaponHolder_ItemTent","object",0.01},
  40. //{"WeaponHolder_DomeTentStorage","object",0.01},
  41. //mags special
  42. {"PartWoodPile","magazine",0.04},
  43. //bags
  44. //{"DZ_Patrol_Pack_EP1","object",0.01},
  45. //Multiple spawns
  46. //{"","Residential",0.60},
  47. {"","generic",0.40}
  48. };
  49. };
  50. class Residential: Default {
  51. zombieChance = 0.3;
  52. maxRoaming = 2;
  53. zombieClass[] = {"zZombie_Base","z_hunter","z_teacher","z_villager1","z_villager2","z_villager3"};
  54. lootChance = 0.4;
  55. lootPos[] = {};
  56. lootType[] = {
  57. {"ItemWatch","generic",0.04},
  58. {"ItemCompass","generic",0.03},
  59. {"ItemMap","weapon",0.02},
  60. {"ItemFlashlight","generic",0.01},
  61. {"ItemKnife","generic",0.04},
  62. {"ItemMatchbox_DZE","generic",0.01},
  63. {"","generic",0.32},
  64. {"backpacks","backpacks",0.04},
  65. {"tents","tents",0.01},
  66. {"","military",0.02},
  67. {"","trash",0.17},
  68. {"Binocular","weapon",0.02},
  69. {"PartPlywoodPack","magazine",0.02},
  70. {"clothes","clothes",0.01},
  71. {"specialclothes","specialclothes",0.01},
  72. {"WeaponHolder_MeleeCrowbar","object",0.03},
  73. {"pistols", "cfglootweapon", 0.04 },
  74. {"shotgunsingleshot", "cfglootweapon", 0.04 }
  75. };
  76. lootTypeSmall[] = {
  77. { "ItemSodaMdew","magazine",0.01 },
  78. { "ItemSodaRbull","magazine",0.01 },
  79. { "ItemSodaOrangeSherbet","magazine",0.02 },
  80. { "ItemWatch","weapon",0.05 },
  81. { "ItemCompass","weapon",0.04 },
  82. { "ItemMap","weapon",0.03 },
  83. { "pistols","cfglootweapon",0.12 },
  84. { "ItemFlashlight","weapon",0.02 },
  85. { "ItemKnife","weapon",0.04 },
  86. { "ItemMatchbox_DZE","weapon",0.03 },
  87. { "","generic",0.38 },
  88. { "","military",0.04 },
  89. { "","trash",0.17 },
  90. { "Binocular","weapon",0.02 },
  91. { "clothes","single",0.01},
  92. { "specialclothes","single",0.01 }
  93. };
  94. };
  95. class Office: Default {
  96. maxRoaming = 3;
  97. zombieClass[] = {"z_suit1","z_suit2"};
  98. zombieChance = 0.3;
  99. lootChance = 0.4;
  100. lootPos[] = {};
  101. lootType[] = {
  102. {"ItemWatch","generic",0.04},
  103. {"ItemCompass","generic",0.03},
  104. {"ItemMap","weapon",0.02},
  105. {"ItemFlashlight","generic",0.01},
  106. {"ItemKnife","generic",0.04},
  107. {"ItemMatchbox_DZE","generic",0.01},
  108. {"","generic",0.31},
  109. {"backpacks","backpacks",0.04},
  110. {"tents","tents",0.01},
  111. {"","military",0.02},
  112. {"","trash",0.21},
  113. {"Binocular","weapon",0.02},
  114. {"PartPlywoodPack","magazine",0.02},
  115. {"clothes","clothes",0.01},
  116. {"specialclothes","specialclothes",0.01},
  117. {"WeaponHolder_MeleeCrowbar","object",0.03},
  118. {"ItemBriefcaseEmpty","magazine",0.01},
  119. { "shotgunsingleshot", "cfglootweapon", 0.05}
  120. };
  121. lootTypeSmall[] = {
  122. { "ItemSodaMdew","magazine",0.01 },
  123. { "ItemSodaRbull","magazine",0.01 },
  124. { "ItemSodaOrangeSherbet","magazine",0.02 },
  125. { "ItemWatch","weapon",0.05 },
  126. { "ItemCompass","weapon",0.04 },
  127. { "ItemMap","weapon",0.03 },
  128. { "pistols","cfglootweapon",0.15 },
  129. { "ItemFlashlight","weapon",0.02 },
  130. { "ItemKnife","weapon",0.05 },
  131. { "ItemMatchbox_DZE","weapon",0.03 },
  132. { "","generic",0.31 },
  133. { "","military",0.04 },
  134. { "","trash",0.03 },
  135. { "Binocular","weapon",0.02 },
  136. { "clothes","single",0.16 },
  137. { "specialclothes","single",0.02 },
  138. { "ItemDocument","magazine",0.01 }
  139. };
  140. };
  141. class Industrial: Default {
  142. zombieChance = 0.4;
  143. zombieClass[] = {"z_worker1","z_worker2","z_worker3"};
  144. maxRoaming = 2;
  145. lootChance = 0.4;
  146. lootPos[] = {};
  147. lootType[] = {
  148. {"ItemGenerator","magazine",0.01},
  149. {"ItemFuelBarrelEmpty","magazine",0.01},
  150. {"","generic",0.17},
  151. {"","trash",0.25},
  152. {"","military",0.04},
  153. {"PartGeneric","magazine",0.04},
  154. {"PartWheel","magazine",0.05},
  155. {"PartFueltank","magazine",0.02},
  156. {"PartEngine","magazine",0.02},
  157. {"PartGlass","magazine",0.04},
  158. {"PartVRotor","magazine",0.01},
  159. {"ItemJerrycan","magazine",0.04},
  160. {"WeaponHolder_ItemHatchet_DZE","object",0.07},
  161. {"ItemKnife","military",0.07},
  162. {"ItemToolbox","weapon",0.06},
  163. {"ItemWire","magazine",0.01},
  164. {"ItemTankTrap","magazine",0.04},
  165. {"ItemKeyKit","weapon",0.01},
  166. {"CinderBlocks","magazine",0.03},
  167. {"MortarBucket","magazine",0.01}
  168. };
  169. lootTypeSmall[] = {
  170. { "","generic",0.5 },
  171. { "","trash",0.28 },
  172. { "","military",0.14 },
  173. { "ItemKnife","weapon",0.07 },
  174. { "ItemKeyKit","weapon",0.01 }
  175. };
  176. };
  177. class IndustrialFuel: Default {
  178. zombieChance = 0.4;
  179. zombieClass[] = {"z_worker1","z_worker2","z_worker3"};
  180. maxRoaming = 2;
  181. lootChance = 0.4;
  182. lootPos[] = {};
  183. lootType[] = {
  184. {"ItemGenerator","magazine",0.01},
  185. {"fuel_pump_kit","magazine",0.01},
  186. {"","generic",0.18},
  187. {"","trash",0.28},
  188. {"","military",0.04},
  189. {"PartGeneric","magazine",0.04},
  190. {"PartWheel","magazine",0.05},
  191. {"PartFueltank","magazine",0.02},
  192. {"PartEngine","magazine",0.02},
  193. {"PartGlass","magazine",0.04},
  194. {"PartVRotor","magazine",0.01},
  195. {"ItemJerrycan","magazine",0.04},
  196. {"WeaponHolder_ItemHatchet_DZE","object",0.07},
  197. {"ItemKnife","military",0.07},
  198. {"ItemToolbox","weapon",0.06},
  199. {"ItemWire","magazine",0.01},
  200. {"ItemTankTrap","magazine",0.04},
  201. {"ItemKeyKit","weapon",0.01}
  202. };
  203. lootTypeSmall[] = {
  204. { "","generic",0.5 },
  205. { "","trash",0.28 },
  206. { "","military",0.14 },
  207. { "ItemKnife","weapon",0.07 },
  208. { "ItemKeyKit","weapon",0.01 }
  209. };
  210. };
  211. class Farm: Default {
  212. zombieChance = 0.3;
  213. maxRoaming = 3;
  214. zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3"};
  215. lootChance = 0.5;
  216. lootPos[] = {};
  217. lootType[] = {
  218. {"ItemJerrycan","magazine",0.05},
  219. {"","generic",0.3},
  220. {"","trash",0.11},
  221. {"PartPlankPack","magazine",0.06},
  222. {"WeaponHolder_ItemHatchet_DZE","object",0.05},
  223. {"ItemFuelBarrelEmpty","magazine",0.01},
  224. {"WeaponHolder_ItemMachete","object",0.03},
  225. {"ItemFishingPole","weapon",0.02},
  226. {"ItemLightBulb","magazine",0.02},
  227. {"ItemSledgeHandle","magazine",0.02},
  228. { "farmweapons", "cfglootweapon", 0.15}
  229. };
  230. lootTypeSmall[] = {
  231. { "","generic", 0.79},
  232. { "","trash",0.14 },
  233. { "","military",0.05},
  234. { "ItemLightBulb","magazine",0.01},
  235. { "ItemSledgeHead","magazine",0.01}
  236. };
  237. };
  238. class Supermarket: Default {
  239. lootChance = 0.6;
  240. minRoaming = 2;
  241. maxRoaming = 6;
  242. zombieChance = 0.3;
  243. zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
  244. lootType[] = {
  245. {"ItemSodaMdew","magazine",0.01},
  246. {"ItemSodaRbull","magazine",0.01},
  247. {"ItemSodaOrangeSherbet","magazine",0.03},
  248. {"ItemWatch","generic",0.07},
  249. {"ItemCompass","generic",0.02},
  250. {"ItemMap","weapon",0.04},
  251. {"ItemFlashlight","generic",0.01},
  252. {"ItemKnife","generic",0.02},
  253. {"ItemMatchbox_DZE","generic",0.04},
  254. {"","generic",0.04},
  255. {"backpacks","backpacks",0.07},
  256. {"tents","tents",0.01},
  257. {"","food",0.3},
  258. {"","trash",0.17},
  259. {"Binocular","weapon",0.05},
  260. {"PartPlywoodPack","magazine",0.02},
  261. { "pistols", "cfglootweapon", 0.04},
  262. { "shotgunsingleshot", "cfglootweapon", 0.04}
  263. };
  264. lootTypeSmall[] = {
  265. { "ItemSodaMdew","magazine",0.01 },
  266. { "ItemSodaRbull","magazine",0.01 },
  267. { "ItemSodaOrangeSherbet","magazine",0.03 },
  268. { "ItemWatch","weapon",0.07 },
  269. { "ItemCompass","weapon",0.03 },
  270. { "ItemMap","weapon",0.05 },
  271. { "pistols","cfglootweapon",0.08 },
  272. { "ItemFlashlight","weapon",0.01 },
  273. { "ItemKnife","weapon",0.02 },
  274. { "ItemMatchbox_DZE","weapon",0.04 },
  275. { "","generic",0.21 },
  276. { "","food",0.24 },
  277. { "","trash",0.16 },
  278. { "Binocular","weapon",0.02 },
  279. { "ItemMixOil", "magazine",0.02}
  280. };
  281. };
  282. class HeliCrash: Default {
  283. zombieChance = 0.4;
  284. maxRoaming = 2;
  285. zombieClass[] = {"z_soldier_pilot"};
  286. lootChance = 0.5;
  287. lootPos[] = {};
  288. lootType[] = {
  289. { "assaultrifles", "cfglootweapon", 0.10 },
  290. { "submachinegun", "cfglootweapon", 0.04 },
  291. { "sniperrifles", "cfglootweapon", 0.07 },
  292. { "machineguns", "cfglootweapon", 0.06 },
  293. {"","military",0.3},
  294. {"","medical",0.18},
  295. {"MAAWS","weapon",0.02},
  296. {"MedBox0","object",0.05},
  297. {"NVGoggles","weapon",0.01},
  298. {"AmmoBoxSmall_556","object",0.03},
  299. {"AmmoBoxSmall_762","object",0.03},
  300. {"militaryclothes","militaryclothes",0.05},
  301. {"militaryammo","militaryammo",0.06}
  302. };
  303. };
  304. class HeliCrash_No50s: Default {
  305. zombieChance = 0.4;
  306. maxRoaming = 2;
  307. zombieClass[] = {"z_soldier_pilot"};
  308. lootChance = 0.5;
  309. lootPos[] = {};
  310. lootType[] = {
  311. { "assaultrifles", "cfglootweapon", 0.10 },
  312. { "submachinegun", "cfglootweapon", 0.04 },
  313. { "sniperrifles", "cfglootweapon", 0.07 },
  314. { "machineguns", "cfglootweapon", 0.06 },
  315. { "", "military", 0.3 },
  316. { "", "medical", 0.18 },
  317. { "MAAWS", "weapon", 0.02 },
  318. { "MedBox0", "object", 0.05 },
  319. { "NVGoggles", "weapon", 0.01 },
  320. { "AmmoBoxSmall_556", "object", 0.03 },
  321. { "AmmoBoxSmall_762", "object", 0.03 },
  322. { "militaryclothes", "militaryclothes", 0.05 },
  323. { "militaryammo", "militaryammo", 0.06 }
  324. };
  325. };
  326. class Hospital: Default {
  327. zombieChance = 0.4;
  328. minRoaming = 2;
  329. maxRoaming = 6;
  330. zombieClass[] = {"z_doctor","z_doctor","z_doctor"};
  331. lootChance = 1;
  332. lootPos[] = {};
  333. lootType[] = {
  334. {"","trash",0.1},
  335. {"","hospital",0.7},
  336. {"MedBox0","object",0.2}
  337. };
  338. lootTypeSmall[] = {
  339. { "","trash",0.1 },
  340. { "","hospital",0.9 }
  341. };
  342. };
  343. class Military: Default {
  344. zombieChance = 0.3;
  345. maxRoaming = 6;
  346. zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman"};
  347. lootChance = 0.4;
  348. lootPos[] = {};
  349. lootType[] = {
  350. { "pistols", "cfglootweapon", 0.04},
  351. { "assaultrifles", "cfglootweapon", 0.13 },
  352. { "sniperrifles", "cfglootweapon", 0.04 },
  353. { "shotgunsingleshot", "cfglootweapon", 0.06 },
  354. { "submachinegun", "cfglootweapon", 0.07 },
  355. {"Binocular","weapon",0.03},
  356. {"ItemFlashlightRed","military",0.04},
  357. {"ItemKnife","military",0.01},
  358. {"ItemGPS","weapon",0.01},
  359. {"ItemMap","military",0.02},
  360. {"militarybackpacks","militarybackpacks",0.05},
  361. {"","medical",0.03},
  362. {"","generic",0.1},
  363. {"","military",0.3},
  364. {"ItemEtool","weapon",0.02},
  365. {"ItemSandbag","magazine",0.02},
  366. { "machineguns", "cfglootweapon", 0.03 }
  367. };
  368. lootTypeSmall[] = {
  369. { "pistols", "cfglootweapon", 0.14 },
  370. { "Binocular", "weapon", 0.05 },
  371. { "ItemFlashlightRed", "weapon", 0.03 },
  372. { "ItemKnife", "weapon", 0.04 },
  373. { "ItemGPS", "weapon", 0.02 },
  374. { "", "medical", 0.12 },
  375. { "", "generic", 0.22 },
  376. { "", "military", 0.35 },
  377. { "ItemEtool", "weapon", 0.03 }
  378. };
  379. };
  380. class MilitaryIndustrial: Default {
  381. zombieChance = 0.3;
  382. maxRoaming = 6;
  383. zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman","z_soldier","z_soldier_heavy","z_policeman","z_worker1","z_worker2","z_worker3"};
  384. lootChance = 0.4;
  385. lootPos[] = {};
  386. lootType[] = {
  387. { "pistols", "cfglootweapon", 0.02 },
  388. { "assaultrifles", "cfglootweapon", 0.05 },
  389. { "PartGeneric", "magazine", 0.03 },
  390. { "sniperrifles", "cfglootweapon", 0.01 },
  391. { "shotgunsingleshot", "cfglootweapon", 0.05 },
  392. { "ItemGenerator", "magazine", 0.01 },
  393. { "submachinegun", "cfglootweapon", 0.05 },
  394. {"PartGeneric","magazine",0.03},
  395. {"ItemGenerator","magazine",0.01},
  396. {"PartWheel","magazine",0.02},
  397. {"Binocular","weapon",0.01},
  398. {"ItemFlashlightRed","military",0.03},
  399. {"ItemKnife","military",0.04},
  400. {"ItemGPS","weapon",0.01},
  401. {"PartVRotor","magazine",0.01},
  402. {"militarybackpacks","militarybackpacks",0.03},
  403. {"","medical",0.05},
  404. {"","generic",0.35},
  405. {"","military",0.07},
  406. {"ItemEtool","weapon",0.03},
  407. {"ItemSandbag","magazine",0.02},
  408. {"ItemFuelBarrelEmpty","magazine",0.03},
  409. {"fuel_pump_kit","magazine",0.01},
  410. { "machineguns", "cfglootweapon", 0.01 }
  411. };
  412. lootTypeSmall[] = {
  413. { "pistols", "cfglootweapon", 0.14 },
  414. { "Binocular", "weapon", 0.05 },
  415. { "ItemFlashlightRed", "weapon", 0.03 },
  416. { "ItemKnife", "weapon", 0.04 },
  417. { "ItemGPS", "weapon", 0.02 },
  418. { "", "medical", 0.12 },
  419. { "", "generic", 0.22 },
  420. { "", "military", 0.35 },
  421. { "ItemEtool", "weapon", 0.03 }
  422. };
  423. };
  424. class IndustrialMilitary: Default {
  425. zombieChance = 0.4;
  426. maxRoaming = 6;
  427. zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman","z_soldier","z_soldier_heavy","z_policeman","z_worker1","z_worker2","z_worker3"};
  428. lootChance = 0.5;
  429. lootPos[] = {};
  430. lootType[] = {
  431. { "pistols", "cfglootweapon", 0.02 },
  432. { "assaultrifles", "cfglootweapon", 0.05 },
  433. { "PartGeneric", "magazine", 0.03 },
  434. { "sniperrifles", "cfglootweapon", 0.01 },
  435. { "shotgunsingleshot", "cfglootweapon", 0.05 },
  436. { "ItemGenerator", "magazine", 0.01 },
  437. { "submachinegun", "cfglootweapon", 0.05 },
  438. {"PartGeneric","magazine",0.03},
  439. {"ItemGenerator","magazine",0.01},
  440. {"PartWheel","magazine",0.02},
  441. {"Binocular","weapon",0.01},
  442. {"ItemFlashlightRed","military",0.03},
  443. {"ItemKnife","military",0.04},
  444. {"ItemGPS","weapon",0.01},
  445. {"PartVRotor","magazine",0.01},
  446. {"PartFueltank","magazine",0.03},
  447. {"PartEngine","magazine",0.04},
  448. {"PartGlass","magazine",0.05},
  449. {"militarybackpacks","militarybackpacks",0.03},
  450. {"","medical",0.05},
  451. {"","generic",0.25},
  452. {"","military",0.07},
  453. {"ItemEtool","weapon",0.03},
  454.  
  455. {"ItemSandbag","magazine",0.02},
  456.  
  457. {"ItemFuelBarrelEmpty","magazine",0.03},
  458. {"fuel_pump_kit","magazine",0.01},
  459. { "machineguns", "cfglootweapon", 0.01 }
  460. };
  461. lootTypeSmall[] = {
  462. { "pistols", "cfglootweapon", 0.14 },
  463. { "Binocular", "weapon", 0.05 },
  464. { "ItemFlashlightRed", "weapon", 0.03 },
  465. { "ItemKnife", "weapon", 0.04 },
  466. { "ItemGPS", "weapon", 0.02 },
  467. { "", "medical", 0.12 },
  468. { "", "generic", 0.22 },
  469. { "", "military", 0.35 },
  470. { "ItemEtool", "weapon", 0.03 }
  471. };
  472. };
  473. class MilitarySpecial: Default {
  474. zombieChance = 0.4;
  475. minRoaming = 2;
  476. maxRoaming = 6;
  477. zombieClass[] = {"z_soldier_heavy"};
  478. lootChance = 0.4;
  479. lootPos[] = {};
  480. lootType[] = {
  481. { "assaultrifles", "cfglootweapon", 0.1 },
  482. { "machineguns", "cfglootweapon", 0.04 },
  483. { "pistols", "cfglootweapon", 0.08 },
  484. { "sniperrifles", "cfglootweapon", 0.03 },
  485. { "militaryshotguns", "cfglootweapon", 0.05 },
  486. { "submachinegun", "cfglootweapon", 0.06 },
  487. {"AmmoBoxSmall_556","object",0.01},
  488. {"AmmoBoxSmall_762","object",0.02},
  489. {"Binocular","weapon",0.01},
  490. {"ItemFlashlightRed","military",0.02},
  491. {"ItemKnife","military",0.01},
  492. {"ItemGPS","weapon",0.01},
  493. {"ItemMap","military",0.01},
  494. {"Binocular_Vector","military",0.01},
  495. {"militarybackpacks","militarybackpacks",0.04},
  496. {"","medical",0.08},
  497. {"","generic",0.3},
  498. {"","military",0.01},
  499. {"machinegunammo","machinegunammo",0.05},
  500. {"militaryclothes","militaryclothes",0.05},
  501. {"NVGoggles","weapon",0.01}
  502. };
  503. lootTypeSmall[] = {
  504. { "pistols","cfglootweapon",0.10 },
  505. { "AmmoBoxSmall_556","object",0.02 },
  506. { "AmmoBoxSmall_762","object",0.02 },
  507. { "Binocular","weapon",0.02 },
  508. { "ItemFlashlightRed","military",0.01 },
  509. { "ItemKnife","military",0.02 },
  510. { "ItemGPS","weapon",0.02 },
  511. { "ItemMap","weapon",0.01 },
  512. { "Binocular_Vector","weapon",0.03},
  513. { "","medical",0.08},
  514. { "","generic",0.15},
  515. { "","military",0.33 },
  516. { "5Rnd_86x70_L115A1","magazine",0.03},
  517. { "10Rnd_127x99_m107","magazine",0.02},
  518. { "machinegunammoexpl","single",0.02 },
  519. { "militaryclothes","single",0.05 },
  520. { "NVGoggles","weapon",0.04 },
  521. { "100Rnd_762x54_PK","magazine",0.02 }
  522. };
  523. };
  524. class Hunting: Default {
  525. zombieChance = 0.4;
  526. minRoaming = 1;
  527. maxRoaming = 3;
  528. zombieClass[] = {"z_hunter","z_hunter","z_hunter"};
  529. lootChance = 1;
  530. lootPos[] = {};
  531. lootType[] = {
  532. {"ItemMap","weapon",0.02},
  533. {"ItemFlashlight","generic",0.01},
  534. {"ItemKnife","generic",0.01},
  535. {"ItemMatchbox_DZE","generic",0.03},
  536. { "farmweapons", "cfglootweapon", 0.03 },
  537. {"","military",0.38},
  538. {"WeaponHolder_ItemMachete","object",0.02},
  539. {"","hunter",0.5}
  540. };
  541. lootTypeSmall[] = {
  542. {"ItemMap","weapon",0.02},
  543. {"ItemFlashlight","weapon",0.02},
  544. {"ItemKnife","weapon",0.02},
  545. {"ItemMatchbox_DZE","weapon",0.04},
  546. {"","military",0.4},
  547. {"","hunter",0.5}
  548. };
  549. };
  550. class DynamicDebris: Default
  551. {
  552. lootChance = 0.4;
  553. minRoaming = 0;
  554. maxRoaming = 2;
  555. zombieChance = 0.3;
  556. zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
  557. lootType[] = {
  558. { "ItemWatch", "generic", 0.19 },
  559. { "ItemCompass", "generic", 0.01 },
  560. { "ItemMap", "weapon", 0.06 },
  561. { "Makarov", "weapon", 0.02 },
  562. { "Colt1911", "weapon", 0.02 },
  563. { "ItemFlashlight", "generic", 0.06 },
  564. { "ItemKnife", "generic", 0.06 },
  565. { "ItemMatchbox_DZE", "generic", 0.06 },
  566. { "ItemToolbox", "weapon", 0.02 },
  567. { "", "generic", 0.17 },
  568. { "", "food", 0.06 },
  569. { "PartGeneric", "magazine", 0.07 },
  570. { "PartWheel", "magazine", 0.06 },
  571. { "PartFueltank", "magazine", 0.03 },
  572. { "PartEngine", "magazine", 0.01 },
  573. { "PartGlass", "magazine", 0.08 },
  574. { "WeaponHolder_ItemJerrycan", "object", 0.03 }
  575. };
  576. };
  577. class DynamicDebrisMilitary: Default
  578. {
  579. lootChance = 0.4;
  580. minRoaming = 0;
  581. maxRoaming = 2;
  582. zombieChance = 0.3;
  583. zombieClass[] = {"z_soldier_pilot","z_soldier_heavy"};
  584. lootType[] = {
  585. { "ItemEtool", "weapon", 0.05 },
  586. { "ItemSandbag", "magazine", 0.1 },
  587. { "", "military", 0.08 },
  588. { "ItemWatch", "generic", 0.1 },
  589. { "ItemCompass", "generic", 0.02 },
  590. { "ItemMap", "weapon", 0.05 },
  591. { "MakarovSD", "weapon", 0.01 },
  592. { "Colt1911", "weapon", 0.02 },
  593. { "ItemFlashlight", "generic", 0.01 },
  594. { "ItemKnife", "generic", 0.05 },
  595. { "ItemMatchbox_DZE", "generic", 0.05 },
  596. { "ItemToolbox", "weapon", 0.02 },
  597. { "", "generic", 0.15 },
  598. { "", "food", 0.05 },
  599. { "PartGeneric", "magazine", 0.06 },
  600. { "PartWheel", "magazine", 0.05 },
  601. { "PartFueltank", "magazine", 0.03 },
  602. { "PartEngine", "magazine", 0.02 },
  603. { "PartGlass", "magazine", 0.03 },
  604. { "PartVRotor", "magazine", 0.02 },
  605. { "WeaponHolder_ItemJerrycan", "object", 0.03 }
  606. };
  607. };
  608. class SupplyDrop: Default {
  609. zombieChance = 1;
  610. maxRoaming = 3;
  611. zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"};
  612. lootChance = 1;
  613. lootPos[] = {};
  614. lootType[] = {
  615. { "PartPlywoodPack", "magazine", 0.1 },
  616. { "PartPlankPack", "magazine", 0.2 },
  617. { "CinderBlocks", "magazine", 0.1 },
  618. { "MortarBucket", "magazine", 0.1 },
  619. { "bulk_PartGeneric", "magazine", 0.2 },
  620. { "bulk_ItemSandbag", "magazine", 0.1 },
  621. { "bulk_ItemTankTrap", "magazine", 0.1 },
  622. { "ItemSledge", "weapon", 0.1 }
  623. };
  624. };
  625. class MassGrave: Default {
  626. zombieChance = 1;
  627. maxRoaming = 3;
  628. zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"};
  629. lootChance = 1;
  630. lootPos[] = {};
  631. lootType[] = {
  632. { "M16A2", "weapon", 0.03 },
  633. { "M16A2GL", "weapon", 0.01 },
  634. { "M249_EP1_DZ", "weapon", 0.01 },
  635. { "M9SD", "weapon", 0.02 },
  636. { "Pecheneg_DZ", "weapon", 0.02 },
  637. { "PK_DZ", "weapon", 0.01 },
  638. { "AK_74", "weapon", 0.02 },
  639. { "M4A1_Aim", "weapon", 0.01 },
  640. { "AKS_74_kobra", "weapon", 0.01 },
  641. { "AKS_74_U", "weapon", 0.02 },
  642. { "AK_47_M", "weapon", 0.02 },
  643. { "M24", "weapon", 0.01 },
  644. { "SVD_CAMO", "weapon", 0.01 },
  645. { "M1014", "weapon", 0.02 },
  646. { "BAF_LRR_scoped", "weapon", 0.01 },
  647. { "M4SPR", "weapon", 0.01 },
  648. { "M4A1", "weapon", 0.01 },
  649. { "M14_EP1", "weapon", 0.02 },
  650. { "UZI_EP1", "weapon", 0.03 },
  651. { "Remington870_lamp", "weapon", 0.01 },
  652. { "glock17_EP1", "weapon", 0.02 },
  653. { "M240_DZ", "weapon", 0.02 },
  654. { "M4A1_AIM_SD_camo", "weapon", 0.01 },
  655. { "M16A4_ACG", "weapon", 0.01 },
  656. { "M4A1_HWS_GL_camo", "weapon", 0.01 },
  657. { "Mk_48_DZ", "weapon", 0.01 },
  658. { "M4A3_CCO_EP1", "weapon", 0.01 },
  659. { "AmmoBoxSmall_556", "object", 0.03 },
  660. { "AmmoBoxSmall_762", "object", 0.03 },
  661. { "Binocular", "weapon", 0.01 },
  662. { "ItemFlashlightRed", "military", 0.02 },
  663. { "ItemKnife", "military", 0.01 },
  664. { "ItemGPS", "weapon", 0.01 },
  665. { "ItemMap", "military", 0.01 },
  666. { "Binocular_Vector", "military", 0.01 },
  667. { "DZ_ALICE_Pack_EP1", "object", 0.03 },
  668. { "DZ_TK_Assault_Pack_EP1", "object", 0.02 },
  669. { "DZ_British_ACU", "object", 0.02 },
  670. { "DZ_CivilBackpack_EP1", "object", 0.02 },
  671. { "DZ_Backpack_EP1", "object", 0.01 },
  672. { "DZ_LargeGunBag_EP1", "object", 0.01 },
  673. { "", "medical", 0.05 },
  674. { "", "generic", 0.05 },
  675. { "", "military", 0.13 },
  676. { "PipeBomb", "magazine", 0.01 },
  677. { "Sa58V_RCO_EP1", "weapon", 0.01 },
  678. { "Sa58V_CCO_EP1", "weapon", 0.01 },
  679. { "G36_C_SD_camo", "weapon", 0.01 },
  680. { "M40A3", "weapon", 0.01 },
  681. { "100Rnd_762x54_PK", "magazine", 0.01 },
  682. { "", "militaryclothes", 0.05 },
  683. { "WeaponHolder_ItemMachete", "object", 0.02 },
  684. { "SCAR_H_LNG_Sniper_SD", "weapon", 0.01 },
  685. { "2000Rnd_762x51_M134", "magazine", 0.01 },
  686. { "KSVK_DZE", "weapon", 0.01 },
  687. { "m240_scoped_EP1_DZE", "weapon", 0.01 }
  688. };
  689. };
  690.  
  691. #include "CfgBuildingPos.hpp"
  692. //If you want to copypast your loottable to your mission w/o
  693. //changing something on the lootPos then use the a include instead of copypasting the CfgBuildingPos.hpp
  694.  
  695. //#include "\dayz_epoch_b\CfgBuildingPos.hpp"
  696. };
Add Comment
Please, Sign In to add comment