Advertisement
Guest User

CfgBuildingLoot.hpp

a guest
Aug 6th, 2014
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.08 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. lootPosSmall[] = {};
  12. lootPosZombie[] = {};
  13. itemType[] = {};
  14. itemChance[] = {};
  15. itemTypeSmall[] = {};
  16. itemChanceSmall[] = {};
  17. hangPos[] = {};
  18. vehPos[] = {};
  19. };
  20. class Residential: Default {
  21. zombieChance = 0.3;
  22. maxRoaming = 2;
  23. zombieClass[] = {"zZombie_Base","z_hunter","z_teacher","z_villager1","z_villager2","z_villager3"};
  24. lootChance = 0.4;
  25. lootPos[] = {};
  26. itemType[] = {
  27. { "ItemWatch","generic" },
  28. { "ItemCompass","generic" },
  29. { "ItemMap","weapon" },
  30. { "pistols","cfglootweapon" },
  31. { "ItemFlashlight","generic" },
  32. { "ItemKnife","generic" },
  33. { "ItemMatchbox_DZE","generic" },
  34. { "","generic" },
  35. { "backpacks","backpack" },
  36. { "tents","single" },
  37. { "","military" },
  38. { "","trash" },
  39. { "Binocular","weapon" },
  40. { "PartPlywoodPack","magazine" },
  41. { "clothes","single" },
  42. { "specialclothes","single" },
  43. { "WeaponHolder_MeleeCrowbar","object" },
  44. { "shotgunsingleshot","cfglootweapon" }
  45. };
  46. itemChance[] = {
  47. 0.04,
  48. 0.03,
  49. 0.02,
  50. 0.1,
  51. 0.01,
  52. 0.04,
  53. 0.01,
  54. 0.36,
  55. 0.04,
  56. 0.01,
  57. 0.02,
  58. 0.17,
  59. 0.02,
  60. 0.02,
  61. 0.01,
  62. 0.01,
  63. 0.03,
  64. 0.06
  65. };
  66. itemTypeSmall[] = {
  67. { "ItemSodaMdew","magazine" },
  68. { "ItemSodaRbull","magazine" },
  69. { "ItemSodaOrangeSherbet","magazine" },
  70. { "ItemWatch","weapon" },
  71. { "ItemCompass","weapon" },
  72. { "ItemMap","weapon" },
  73. { "pistols","cfglootweapon" },
  74. { "ItemFlashlight","weapon" },
  75. { "ItemKnife","weapon" },
  76. { "ItemMatchbox_DZE","weapon" },
  77. { "","generic" },
  78. { "","military" },
  79. { "","trash" },
  80. { "Binocular","weapon" },
  81. { "clothes","single" },
  82. { "specialclothes","single" }
  83. };
  84. itemChanceSmall[] = {
  85. 0.01,
  86. 0.01,
  87. 0.02,
  88. 0.05,
  89. 0.04,
  90. 0.03,
  91. 0.12,
  92. 0.02,
  93. 0.04,
  94. 0.03,
  95. 0.38,
  96. 0.04,
  97. 0.17,
  98. 0.02,
  99. 0.01,
  100. 0.01
  101. };
  102. };
  103. class Office: Default {
  104. maxRoaming = 3;
  105. zombieClass[] = {"z_suit1","z_suit2"};
  106. zombieChance = 0.3;
  107. lootChance = 0.4;
  108. lootPos[] = {};
  109. itemType[] = {
  110. { "ItemWatch","generic" },
  111. { "ItemCompass","generic" },
  112. { "ItemMap","weapon" },
  113. { "pistols","cfglootweapon" },
  114. { "ItemFlashlight","generic" },
  115. { "ItemKnife","generic" },
  116. { "ItemMatchbox_DZE","generic" },
  117. { "","generic" },
  118. { "shotgunsingleshot","cfglootweapon" },
  119. { "backpacks","backpack" },
  120. { "tents","single" },
  121. { "","military" },
  122. { "","trash" },
  123. { "Binocular","weapon" },
  124. { "PartPlywoodPack","magazine" },
  125. { "clothes","single" },
  126. { "specialclothes","single" },
  127. { "WeaponHolder_MeleeCrowbar","object" },
  128. { "ItemBriefcaseEmpty","magazine" }
  129. };
  130. itemChance[] = {
  131. 0.04,
  132. 0.03,
  133. 0.02,
  134. 0.11,
  135. 0.01,
  136. 0.04,
  137. 0.01,
  138. 0.31,
  139. 0.05,
  140. 0.04,
  141. 0.01,
  142. 0.02,
  143. 0.21,
  144. 0.02,
  145. 0.02,
  146. 0.01,
  147. 0.01,
  148. 0.03,
  149. 0.01
  150. };
  151. itemTypeSmall[] = {
  152. { "ItemSodaMdew","magazine" },
  153. { "ItemSodaRbull","magazine" },
  154. { "ItemSodaOrangeSherbet","magazine" },
  155. { "ItemWatch","weapon" },
  156. { "ItemCompass","weapon" },
  157. { "ItemMap","weapon" },
  158. { "pistols","cfglootweapon" },
  159. { "ItemFlashlight","weapon" },
  160. { "ItemKnife","weapon" },
  161. { "ItemMatchbox_DZE","weapon" },
  162. { "","generic" },
  163. { "","military" },
  164. { "","trash" },
  165. { "Binocular","weapon" },
  166. { "clothes","single" },
  167. { "specialclothes","single" },
  168. { "ItemDocument","magazine" }
  169. };
  170. itemChanceSmall[] = {
  171. 0.01,
  172. 0.01,
  173. 0.02,
  174. 0.05,
  175. 0.04,
  176. 0.03,
  177. 0.15,
  178. 0.02,
  179. 0.05,
  180. 0.03,
  181. 0.31,
  182. 0.04,
  183. 0.03,
  184. 0.02,
  185. 0.16,
  186. 0.02,
  187. 0.01
  188. };
  189. };
  190. class Industrial: Default {
  191. zombieChance = 0.4;
  192. zombieClass[] = {"z_worker1","z_worker2","z_worker3"};
  193. maxRoaming = 2;
  194. lootChance = 0.4;
  195. lootPos[] = {};
  196. itemType[] = {
  197. { "ItemGenerator","magazine" },
  198. { "ItemFuelBarrelEmpty","magazine"},
  199. { "","generic" },
  200. { "","trash" },
  201. { "","military" },
  202. { "PartGeneric","magazine" },
  203. { "PartWheel","magazine" },
  204. { "PartFueltank","magazine" },
  205. { "PartEngine","magazine" },
  206. { "PartGlass","magazine" },
  207. { "PartVRotor","magazine" },
  208. { "ItemJerrycan","magazine" },
  209. { "WeaponHolder_ItemHatchet_DZE","object" },
  210. { "ItemKnife","military" },
  211. { "ItemToolbox","weapon" },
  212. { "ItemWire","magazine" },
  213. { "ItemTankTrap","magazine" },
  214. { "ItemKeyKit","weapon" },
  215. { "CinderBlocks","magazine" },
  216. { "MortarBucket","magazine" }
  217. };
  218. itemChance[] = {
  219. 0.01,
  220. 0.01,
  221. 0.17,
  222. 0.25,
  223. 0.04,
  224. 0.04,
  225. 0.05,
  226. 0.02,
  227. 0.02,
  228. 0.04,
  229. 0.01,
  230. 0.04,
  231. 0.07,
  232. 0.07,
  233. 0.06,
  234. 0.01,
  235. 0.04,
  236. 0.01,
  237. 0.03,
  238. 0.01
  239. };
  240. itemTypeSmall[] = {
  241. { "","generic" },
  242. { "","trash" },
  243. { "","military" },
  244. { "ItemKnife","weapon" },
  245. { "ItemKeyKit","weapon" }
  246. };
  247. itemChanceSmall[] = {
  248. 0.5,
  249. 0.28,
  250. 0.14,
  251. 0.07,
  252. 0.01
  253. };
  254. };
  255. class IndustrialFuel: Default {
  256. zombieChance = 0.4;
  257. zombieClass[] = {"z_worker1","z_worker2","z_worker3"};
  258. maxRoaming = 2;
  259. lootChance = 0.4;
  260. lootPos[] = {};
  261. itemType[] = {
  262. { "ItemGenerator","magazine" },
  263. {"ItemFuelPump","magazine"},
  264. { "","generic" },
  265. { "","trash" },
  266. { "","military" },
  267. { "PartGeneric","magazine" },
  268. { "PartWheel","magazine" },
  269. { "PartFueltank","magazine" },
  270. { "PartEngine","magazine" },
  271. { "PartGlass","magazine" },
  272. { "PartVRotor","magazine" },
  273. { "ItemJerrycan","magazine" },
  274. { "WeaponHolder_ItemHatchet_DZE","object" },
  275. { "ItemKnife","military" },
  276. { "ItemToolbox","weapon" },
  277. { "ItemWire","magazine" },
  278. {"ItemTankTrap","magazine"},
  279. {"ItemKeyKit","weapon"}
  280. };
  281. itemChance[] = {
  282. 0.01,
  283. 0.01,
  284. 0.18,
  285. 0.28,
  286. 0.04,
  287. 0.04,
  288. 0.05,
  289. 0.02,
  290. 0.02,
  291. 0.04,
  292. 0.01,
  293. 0.04,
  294. 0.07,
  295. 0.07,
  296. 0.06,
  297. 0.01,
  298. 0.04,
  299. 0.01
  300. };
  301. itemTypeSmall[] = {
  302. { "","generic" },
  303. { "","trash" },
  304. { "","military" },
  305. { "ItemKnife","weapon" },
  306. { "ItemKeyKit","weapon" }
  307. };
  308. itemChanceSmall[] = {
  309. 0.5,
  310. 0.28,
  311. 0.14,
  312. 0.07,
  313. 0.01
  314. };
  315. };
  316. class Farm: Default {
  317. zombieChance = 0.3;
  318. maxRoaming = 3;
  319. zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3"};
  320. lootChance = 0.5;
  321. lootPos[] = {};
  322. itemType[] = {
  323. { "ItemJerrycan","magazine" },
  324. { "","generic" },
  325. { "farmweapons","cfglootweapon" },
  326. { "","trash" },
  327. { "PartPlankPack","magazine" },
  328. { "WeaponHolder_ItemHatchet_DZE","object" },
  329. { "ItemFuelBarrelEmpty","magazine"},
  330. { "WeaponHolder_ItemMachete", "object"},
  331. { "ItemFishingPole","weapon" },
  332. { "ItemLightBulb","magazine"},
  333. { "ItemSledgeHandle","magazine"}
  334. };
  335. itemChance[] = {
  336. 0.05,
  337. 0.3,
  338. 0.18,
  339. 0.26,
  340. 0.06,
  341. 0.05,
  342. 0.01,
  343. 0.03,
  344. 0.02,
  345. 0.02,
  346. 0.02
  347. };
  348. itemTypeSmall[] = {
  349. { "","generic" },
  350. { "","trash" },
  351. { "","military"},
  352. { "ItemLightBulb","magazine"},
  353. { "ItemSledgeHead","magazine"}
  354. };
  355. itemChanceSmall[] = {
  356. 0.79,
  357. 0.14,
  358. 0.05,
  359. 0.01,
  360. 0.01
  361. };
  362. };
  363. class Supermarket: Default {
  364. lootChance = 0.1;
  365. minRoaming = 2;
  366. maxRoaming = 6;
  367. zombieChance = 0.3;
  368. zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
  369. itemType[] = {
  370. { "ItemWatch","generic" },
  371. { "ItemCompass","generic" },
  372. { "ItemMap","weapon" },
  373. { "pistols","cfglootweapon" },
  374. { "ItemFlashlight","generic" },
  375. { "ItemKnife","generic" },
  376. { "ItemMatchbox_DZE","generic" },
  377. { "","generic" },
  378. { "shotgunsingleshot","cfglootweapon" },
  379. { "backpacks","backpack" },
  380. { "tents","single" },
  381. { "","food" },
  382. { "","trash" },
  383. { "Binocular","weapon" },
  384. { "PartPlywoodPack","magazine" }
  385. };
  386. itemChance[] = {
  387. 0.07,
  388. 0.02,
  389. 0.04,
  390. 0.04,
  391. 0.01,
  392. 0.02,
  393. 0.04,
  394. 0.04,
  395. 0.04,
  396. 0.07,
  397. 0.01,
  398. 0.30,
  399. 0.23,
  400. 0.05,
  401. 0.02
  402. };
  403. itemTypeSmall[] = {
  404. { "ItemSodaMdew","magazine" },
  405. { "ItemSodaRbull","magazine" },
  406. { "ItemSodaOrangeSherbet","magazine" },
  407. { "ItemWatch","weapon" },
  408. { "ItemCompass","weapon" },
  409. { "ItemMap","weapon" },
  410. { "pistols","cfglootweapon" },
  411. { "ItemFlashlight","weapon" },
  412. { "ItemKnife","weapon" },
  413. { "ItemMatchbox_DZE","weapon" },
  414. { "","generic" },
  415. { "","food" },
  416. { "","trash" },
  417. { "Binocular","weapon" },
  418. { "ItemMixOil", "magazine"}
  419. };
  420. itemChanceSmall[] = {
  421. 0.01,
  422. 0.01,
  423. 0.03,
  424. 0.07,
  425. 0.03,
  426. 0.05,
  427. 0.08,
  428. 0.01,
  429. 0.02,
  430. 0.04,
  431. 0.21,
  432. 0.24,
  433. 0.16,
  434. 0.02,
  435. 0.02
  436. };
  437. };
  438. class HeliCrash: Default {
  439. zombieChance = 0.4;
  440. maxRoaming = 2;
  441. zombieClass[] = {"z_soldier_pilot"};
  442. lootChance = 0.7;
  443. lootPos[] = {};
  444. itemType[] = {
  445. { "assaultrifles","cfglootweapon" },
  446. { "submachinegun","cfglootweapon" },
  447. { "sniperrifles","cfglootweapon" },
  448. { "machineguns","cfglootweapon" },
  449. { "","military" },
  450. { "","medical" },
  451. { "MAAWS", "weapon" },
  452. { "MedBox0","object" },
  453. { "NVGoggles","weapon" },
  454. { "AmmoBoxSmall_556","object" },
  455. { "AmmoBoxSmall_762","object" },
  456. { "militaryclothes","single" },
  457. { "militaryammo","single" },
  458. { "MAAWS", "magazine" }
  459. };
  460. itemChance[] = {
  461. 0.65,
  462. 0.64,
  463. 0.67,
  464. 0.66,
  465. 0.3,
  466. 0.18,
  467. 0.20,
  468. 0.05,
  469. 0.01,
  470. 0.03,
  471. 0.03,
  472. 0.05,
  473. 0.06,
  474. 0.80
  475. };
  476. };
  477. class HeliCrash_No50s: Default {
  478. zombieChance = 0.4;
  479. maxRoaming = 2;
  480. zombieClass[] = {"z_soldier_pilot"};
  481. lootChance = 0.7;
  482. lootPos[] = {};
  483. itemType[] = {
  484. { "assaultrifles","cfglootweapon" },
  485. { "submachinegun","cfglootweapon" },
  486. { "sniperrifles","cfglootweapon" },
  487. { "machineguns","cfglootweapon" },
  488. { "","military" },
  489. { "","medical" },
  490. { "MAAWS", "weapon" },
  491. { "MedBox0","object" },
  492. { "NVGoggles","weapon" },
  493. { "AmmoBoxSmall_556","object" },
  494. { "AmmoBoxSmall_762","object" },
  495. { "militaryclothes","single" },
  496. { "militaryammo","single" },
  497. { "MAAWS", "magazine" }
  498. };
  499. itemChance[] = {
  500. 0.65,
  501. 0.63,
  502. 0.65,
  503. 0.65,
  504. 0.35,
  505. 0.18,
  506. 0.20,
  507. 0.05,
  508. 0.01,
  509. 0.03,
  510. 0.03,
  511. 0.05,
  512. 0.06,
  513. 0.80
  514. };
  515. };
  516. class Hospital: Default {
  517. zombieChance = 0.4;
  518. minRoaming = 2;
  519. maxRoaming = 6;
  520. zombieClass[] = {"z_doctor","z_doctor","z_doctor"};
  521. lootChance = 1;
  522. lootPos[] = {};
  523. itemType[] = {
  524. { "","trash" },
  525. { "","hospital" },
  526. {"MedBox0","object"}
  527. };
  528. itemChance[] = {
  529. 0.1,
  530. 0.7,
  531. 0.2
  532. };
  533. itemTypeSmall[] = {
  534. { "","trash" },
  535. { "","hospital" }
  536. };
  537. itemChanceSmall[] = {
  538. 0.1,
  539. 0.9
  540. };
  541. };
  542. class Military: Default {
  543. zombieChance = 0.3;
  544. maxRoaming = 6;
  545. zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman"};
  546. lootChance = 0.5;
  547. lootPos[] = {};
  548. itemType[] = {
  549. { "assaultrifleammo","single" },
  550. { "machinegunammo","single" },
  551. { "sniperriflesammo","single" },
  552. { "machinegunammoexpl","single" },
  553. { "pistols","cfglootweapon" },
  554. { "assaultrifles","cfglootweapon" },
  555. { "sniperrifles","cfglootweapon" },
  556. { "shotgunsingleshot","cfglootweapon" },
  557. { "submachinegun","cfglootweapon" },
  558. { "Binocular","weapon" },
  559. { "ItemFlashlightRed","military" },
  560. { "ItemKnife","military" },
  561. { "ItemGPS","weapon" },
  562. { "ItemMap","military" },
  563. { "militarybackpacks","backpack" },
  564. { "","medical" },
  565. { "","generic" },
  566. { "","military" },
  567. { "ItemEtool","weapon" },
  568. { "ItemSandbag","magazine" },
  569. { "machineguns","cfglootweapon" },
  570. { "MAAWS", "weapon" },
  571. { "MAAWS", "magazine" },
  572. { "ItemSodaCoke","magazine" },
  573. { "ItemSodaEmpty","magazine" },
  574. { "FoodCanBakedBeans","magazine" },
  575. { "FoodCanPasta","magazine" }
  576. };
  577. itemChance[] = {
  578. 0.04,
  579. 0.04,
  580. 0.04,
  581. 0.04,
  582. 0.09,
  583. 0.09,
  584. 0.09,
  585. 0.09,
  586. 0.09,
  587. 0.03,
  588. 0.03,
  589. 0.01,
  590. 0.01,
  591. 0.02,
  592. 0.09,
  593. 0.2,
  594. 0.4,
  595. 0.4,
  596. 0.02,
  597. 0.02,
  598. 0.03,
  599. 0.01,
  600. 0.01,
  601. 0.1,
  602. 0.1,
  603. 0.1,
  604. 0.1
  605. };
  606. itemTypeSmall[] = {
  607. { "pistols","cfglootweapon" },
  608. { "Binocular","weapon" },
  609. { "ItemFlashlightRed","weapon" },
  610. { "ItemKnife","weapon" },
  611. { "ItemGPS","weapon" },
  612. { "ItemMap","weapon" },
  613. { "","medical" },
  614. { "","generic" },
  615. { "","military" },
  616. { "submachinegun","cfglootweapon" },
  617. { "ItemEtool","weapon" }
  618. };
  619. itemChanceSmall[] = {
  620. 0.15,
  621. 0.02,
  622. 0.03,
  623. 0.04,
  624. 0.02,
  625. 0.02,
  626. 0.09,
  627. 0.34,
  628. 0.26,
  629. 0.02,
  630. 0.01
  631. };
  632. };
  633. class MilitaryIndustrial: Default {
  634. zombieChance = 0.3;
  635. maxRoaming = 6;
  636. zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman","z_soldier","z_soldier_heavy","z_policeman","z_worker1","z_worker2","z_worker3"};
  637. lootChance = 0.1;
  638. lootPos[] = {};
  639. itemType[] = {
  640. { "pistols","cfglootweapon" },
  641. { "assaultrifles","cfglootweapon" },
  642. { "PartGeneric","magazine" },
  643. { "sniperrifles","cfglootweapon" },
  644. { "shotgunsingleshot","cfglootweapon" },
  645. { "ItemGenerator","magazine" },
  646. { "submachinegun","cfglootweapon" },
  647. { "assaultrifleammo","single" },
  648. { "machinegunammo","single" },
  649. { "sniperriflesammo","single" },
  650. { "machinegunammoexpl","single" },
  651. { "PartWheel","magazine" },
  652. { "Binocular","weapon" },
  653. { "ItemFlashlightRed","military" },
  654. { "ItemKnife","military" },
  655. { "ItemGPS","weapon" },
  656. { "PartVRotor","magazine" },
  657. { "militarybackpacks","backpack" },
  658. { "","medical" },
  659. { "","generic" },
  660. { "","military" },
  661. { "ItemEtool","weapon" },
  662. { "ItemSandbag","magazine" },
  663. { "ItemFuelBarrelEmpty","magazine" },
  664. { "ItemFuelPump","magazine" },
  665. { "machineguns","cfglootweapon" },
  666. { "MAAWS", "weapon" },
  667. { "MAAWS", "magazine" },
  668. { "ItemSodaCoke","magazine" },
  669. { "ItemSodaEmpty","magazine" },
  670. { "FoodCanBakedBeans","magazine" },
  671. { "FoodCanPasta","magazine" }
  672. };
  673. itemChance[] = {
  674. 0.09,
  675. 0.09,
  676. 0.03,
  677. 0.09,
  678. 0.09,
  679. 0.01,
  680. 0.09,
  681. 0.04,
  682. 0.04,
  683. 0.03,
  684. 0.04,
  685. 0.02,
  686. 0.01,
  687. 0.03,
  688. 0.04,
  689. 0.01,
  690. 0.01,
  691. 0.03,
  692. 0.35,
  693. 0.35,
  694. 0.3,
  695. 0.03,
  696. 0.02,
  697. 0.03,
  698. 0.01,
  699. 0.01,
  700. 0.01,
  701. 0.01,
  702. 0.1,
  703. 0.1,
  704. 0.1,
  705. 0.1
  706. };
  707. itemTypeSmall[] = {
  708. { "pistols","cfglootweapon" },
  709. { "Binocular","weapon" },
  710. { "ItemFlashlightRed","weapon" },
  711. { "ItemKnife","weapon" },
  712. { "ItemGPS","weapon" },
  713. { "","medical" },
  714. { "","generic" },
  715. { "","military" },
  716. { "submachinegun","cfglootweapon" },
  717. { "ItemEtool","weapon" }
  718. };
  719. itemChanceSmall[] = {
  720. 0.12,
  721. 0.05,
  722. 0.03,
  723. 0.04,
  724. 0.02,
  725. 0.02,
  726. 0.09,
  727. 0.34,
  728. 0.26,
  729. 0.03
  730. };
  731. };
  732. class IndustrialMilitary: Default {
  733. zombieChance = 0.4;
  734. maxRoaming = 6;
  735. zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman","z_soldier","z_soldier_heavy","z_policeman","z_worker1","z_worker2","z_worker3"};
  736. lootChance = 0.1;
  737. lootPos[] = {};
  738. itemType[] = {
  739. { "assaultrifleammo","single" },
  740. { "machinegunammo","single" },
  741. { "sniperriflesammo","single" },
  742. { "machinegunammoexpl","single" },
  743. { "pistols","cfglootweapon" },
  744. { "assaultrifles","cfglootweapon" },
  745. { "PartGeneric","magazine" },
  746. { "sniperrifles","cfglootweapon" },
  747. { "shotgunsingleshot","cfglootweapon" },
  748. { "ItemGenerator","magazine" },
  749. { "submachinegun","cfglootweapon" },
  750. { "PartWheel","magazine" },
  751. { "Binocular","weapon" },
  752. { "ItemFlashlightRed","military" },
  753. { "ItemKnife","military" },
  754. { "ItemGPS","weapon" },
  755. { "PartVRotor","magazine" },
  756. { "PartFueltank","magazine" },
  757. { "PartEngine","magazine" },
  758. { "PartGlass","magazine" },
  759. { "militarybackpacks","backpack" },
  760. { "","medical" },
  761. { "","generic" },
  762. { "","military" },
  763. { "ItemEtool","weapon" },
  764. { "ItemSandbag","magazine" },
  765. { "ItemFuelBarrelEmpty","magazine" },
  766. { "ItemFuelPump","magazine" },
  767. { "machineguns","cfglootweapon" },
  768. { "MAAWS", "weapon" },
  769. { "MAAWS", "magazine" },
  770. { "ItemSodaCoke","magazine" },
  771. { "ItemSodaEmpty","magazine" },
  772. { "FoodCanBakedBeans","magazine" },
  773. { "FoodCanPasta","magazine" }
  774. };
  775. itemChance[] = {
  776. 0.03,
  777. 0.03,
  778. 0.03,
  779. 0.03,
  780. 0.09,
  781. 0.09,
  782. 0.13,
  783. 0.09,
  784. 0.09,
  785. 0.01,
  786. 0.09,
  787. 0.09,
  788. 0.01,
  789. 0.03,
  790. 0.04,
  791. 0.01,
  792. 0.01,
  793. 0.03,
  794. 0.04,
  795. 0.05,
  796. 0.09,
  797. 0.25,
  798. 0.25,
  799. 0.37,
  800. 0.03,
  801. 0.02,
  802. 0.03,
  803. 0.01,
  804. 0.01,
  805. 0.01,
  806. 0.01,
  807. 0.1,
  808. 0.1,
  809. 0.1,
  810. 0.1
  811. };
  812. itemTypeSmall[] = {
  813. { "pistols","cfglootweapon" },
  814. { "Binocular","weapon" },
  815. { "ItemFlashlightRed","weapon" },
  816. { "ItemKnife","weapon" },
  817. { "ItemGPS","weapon" },
  818. { "","medical" },
  819. { "","generic" },
  820. { "","military" },
  821. { "submachinegun","cfglootweapon" },
  822. { "ItemEtool","weapon" }
  823. };
  824. itemChanceSmall[] = {
  825. 0.12,
  826. 0.05,
  827. 0.03,
  828. 0.04,
  829. 0.02,
  830. 0.02,
  831. 0.09,
  832. 0.34,
  833. 0.26,
  834. 0.03
  835. };
  836. };
  837. class MilitarySpecial: Default {
  838. zombieChance = 0.4;
  839. minRoaming = 2;
  840. maxRoaming = 6;
  841. zombieClass[] = {"z_soldier_heavy"};
  842. lootChance = 0.1;
  843. lootPos[] = {};
  844. itemType[] = {
  845. { "assaultrifleammo","single" },
  846. { "machinegunammo","single" },
  847. { "sniperriflesammo","single" },
  848. { "machinegunammoexpl","single" },
  849. { "assaultrifles","cfglootweapon" },
  850. { "machineguns","cfglootweapon" },
  851. { "pistols","cfglootweapon" },
  852. { "sniperrifles","cfglootweapon" },
  853. { "militaryshotguns","cfglootweapon" },
  854. { "submachinegun","cfglootweapon" },
  855. { "AmmoBoxSmall_556","object" },
  856. { "AmmoBoxSmall_762","object" },
  857. { "Binocular","weapon" },
  858. { "ItemFlashlightRed","military" },
  859. { "ItemKnife","military" },
  860. { "ItemGPS","weapon" },
  861. { "ItemMap","military" },
  862. { "Binocular_Vector","military" },
  863. { "militarybackpacks","backpack" },
  864. { "","medical" },
  865. { "","generic" },
  866. { "","military" },
  867. { "machinegunammo","single" },
  868. { "militaryclothes","single" },
  869. { "NVGoggles","weapon" },
  870. { "MAAWS", "weapon" },
  871. { "MAAWS", "magazine" },
  872. { "ItemSodaCoke","magazine" },
  873. { "ItemSodaEmpty","magazine" },
  874. { "FoodCanBakedBeans","magazine" },
  875. { "FoodCanPasta","magazine" }
  876. };
  877. itemChance[] = {
  878. 0.03,
  879. 0.03,
  880. 0.03,
  881. 0.03,
  882. 0.09,
  883. 0.09,
  884. 0.09,
  885. 0.09,
  886. 0.09,
  887. 0.09,
  888. 0.21,
  889. 0.02,
  890. 0.01,
  891. 0.02,
  892. 0.01,
  893. 0.01,
  894. 0.01,
  895. 0.01,
  896. 0.09,
  897. 0.28,
  898. 0.3,
  899. 0.31,
  900. 0.10,
  901. 0.05,
  902. 0.01,
  903. 0.01,
  904. 0.01,
  905. 0.1,
  906. 0.1,
  907. 0.1,
  908. 0.1
  909.  
  910. };
  911. itemTypeSmall[] = {
  912. { "pistols","cfglootweapon" },
  913. { "AmmoBoxSmall_556","object" },
  914. { "AmmoBoxSmall_762","object" },
  915. { "Binocular","weapon" },
  916. { "ItemFlashlightRed","military" },
  917. { "ItemKnife","military" },
  918. { "ItemGPS","weapon" },
  919. { "ItemMap","weapon" },
  920. { "Binocular_Vector","weapon" },
  921. { "","medical" },
  922. { "","generic" },
  923. { "","military" },
  924. { "5Rnd_86x70_L115A1","magazine"},
  925. { "10Rnd_127x99_m107","magazine"},
  926. { "machinegunammoexpl","single" },
  927. { "militaryclothes","single" },
  928. { "NVGoggles","weapon" },
  929. { "100Rnd_762x54_PK","magazine" }
  930. };
  931. itemChanceSmall[] = {
  932. 0.10,
  933. 0.02,
  934. 0.02,
  935. 0.02,
  936. 0.01,
  937. 0.02,
  938. 0.01,
  939. 0.03,
  940. 0.01,
  941. 0.06,
  942. 0.15,
  943. 0.33,
  944. 0.02,
  945. 0.02,
  946. 0.05,
  947. 0.04,
  948. 0.10,
  949. 0.05,
  950. 0.01,
  951. 0.01
  952. };
  953. };
  954. class Hunting: Default {
  955. zombieChance = 0.4;
  956. minRoaming = 1;
  957. maxRoaming = 3;
  958. zombieClass[] = {"z_hunter","z_hunter","z_hunter"};
  959. lootChance = 1;
  960. lootPos[] = {};
  961. itemType[] = {
  962. {"ItemMap","weapon"},
  963. {"ItemFlashlight","generic"},
  964. {"ItemKnife","generic"},
  965. {"ItemMatchbox_DZE","generic"},
  966. {"farmweapons","cfglootweapon"},
  967. {"","military"},
  968. {"WeaponHolder_ItemMachete", "object"},
  969. {"","hunter"}
  970. };
  971. itemChance[] = {
  972. 0.02,
  973. 0.01,
  974. 0.01,
  975. 0.03,
  976. 0.03,
  977. 0.38,
  978. 0.02,
  979. 0.5
  980. };
  981. itemTypeSmall[] = {
  982. {"ItemMap","weapon"},
  983. {"ItemFlashlight","weapon"},
  984. {"ItemKnife","weapon"},
  985. {"ItemMatchbox_DZE","weapon"},
  986. {"","military"},
  987. {"","hunter"}
  988. };
  989. itemChanceSmall[] = {
  990. 0.02,
  991. 0.02,
  992. 0.02,
  993. 0.04,
  994. 0.4,
  995. 0.5
  996. };
  997. };
  998. class DynamicDebris: Default
  999. {
  1000. lootChance = 0.4;
  1001. minRoaming = 0;
  1002. maxRoaming = 2;
  1003. zombieChance = 0.3;
  1004. zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
  1005. itemType[] = {
  1006. { "ItemWatch","generic" },
  1007. { "ItemCompass","generic" },
  1008. { "ItemMap","weapon" },
  1009. { "Makarov","weapon" },
  1010. { "Colt1911","weapon" },
  1011. { "ItemFlashlight","generic" },
  1012. { "ItemKnife","generic" },
  1013. { "ItemMatchbox_DZE","generic" },
  1014. { "ItemToolbox","weapon" },
  1015. { "","generic" },
  1016. { "","food" },
  1017. { "PartGeneric","magazine" },
  1018. { "PartWheel","magazine" },
  1019. { "PartFueltank","magazine" },
  1020. { "PartEngine","magazine" },
  1021. { "PartGlass","magazine" },
  1022. { "WeaponHolder_ItemJerrycan","object" }
  1023. };
  1024. itemChance[] = {
  1025. 0.191,
  1026. 0.012,
  1027. 0.062,
  1028. 0.024,
  1029. 0.024,
  1030. 0.055,
  1031. 0.055,
  1032. 0.055,
  1033. 0.022,
  1034. 0.169,
  1035. 0.055,
  1036. 0.066,
  1037. 0.055,
  1038. 0.033,
  1039. 0.011,
  1040. 0.078,
  1041. 0.033
  1042. };
  1043. };
  1044.  
  1045. class DynamicDebrisMilitary: Default
  1046. {
  1047. lootChance = 0.4;
  1048. minRoaming = 0;
  1049. maxRoaming = 2;
  1050. zombieChance = 0.3;
  1051. zombieClass[] = {"z_soldier_pilot","z_soldier_heavy"};
  1052. itemType[] = {
  1053. { "ItemEtool","weapon" },
  1054. { "ItemSandbag","magazine"},
  1055. { "","military" },
  1056. { "ItemWatch","generic" },
  1057. { "ItemCompass","generic" },
  1058. { "ItemMap","weapon" },
  1059. { "MakarovSD","weapon" },
  1060. { "Colt1911","weapon" },
  1061. { "ItemFlashlight","generic" },
  1062. { "ItemKnife","generic" },
  1063. { "ItemMatchbox_DZE","generic" },
  1064. { "ItemToolbox","weapon" },
  1065. { "","generic" },
  1066. { "","food" },
  1067. { "PartGeneric","magazine" },
  1068. { "PartWheel","magazine" },
  1069. { "PartFueltank","magazine" },
  1070. { "PartEngine","magazine" },
  1071. { "PartGlass","magazine" },
  1072. { "PartVRotor","magazine" },
  1073. { "WeaponHolder_ItemJerrycan","object" }
  1074. };
  1075. itemChance[] = {
  1076. 0.050,
  1077. 0.100,
  1078. 0.080,
  1079. 0.100,
  1080. 0.020,
  1081. 0.050,
  1082. 0.010,
  1083. 0.020,
  1084. 0.010,
  1085. 0.050,
  1086. 0.050,
  1087. 0.020,
  1088. 0.150,
  1089. 0.050,
  1090. 0.060,
  1091. 0.050,
  1092. 0.030,
  1093. 0.02,
  1094. 0.03,
  1095. 0.02,
  1096. 0.03
  1097. };
  1098. };
  1099. class SupplyDrop: Default {
  1100. zombieChance = 1;
  1101. maxRoaming = 3;
  1102. zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"};
  1103. lootChance = 1;
  1104. lootPos[] = {};
  1105. itemType[] = {
  1106. { "PartPlywoodPack","magazine" },
  1107. { "PartPlankPack","magazine" },
  1108. { "CinderBlocks","magazine" },
  1109. { "MortarBucket","magazine" },
  1110. { "bulk_PartGeneric","magazine" },
  1111. { "bulk_ItemSandbag","magazine"},
  1112. { "bulk_ItemTankTrap","magazine"},
  1113. { "ItemSledge","weapon" },
  1114. };
  1115. itemChance[] = {
  1116. 0.1,
  1117. 0.2,
  1118. 0.1,
  1119. 0.1,
  1120. 0.2,
  1121. 0.1,
  1122. 0.1,
  1123. 0.1
  1124. };
  1125. };
  1126. class MassGrave: Default {
  1127. zombieChance = 1;
  1128. maxRoaming = 3;
  1129. zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"};
  1130. lootChance = 1;
  1131. lootPos[] = {};
  1132. itemType[] = {
  1133. { "M16A2","weapon" },
  1134. { "M16A2GL","weapon" },
  1135. { "M249_EP1_DZ","weapon" },
  1136. { "M9SD","weapon" },
  1137. { "Pecheneg_DZ","weapon"},
  1138. { "AK_74","weapon" },
  1139. { "M4A1_Aim","weapon" },
  1140. { "AKS_74_kobra","weapon" },
  1141. { "AKS_74_U","weapon" },
  1142. { "AK_47_M","weapon" },
  1143. { "M24","weapon" },
  1144. { "SVD_CAMO","weapon" },
  1145. { "M1014","weapon" },
  1146. { "BAF_LRR_scoped","weapon" },
  1147. { "M4SPR","weapon" },
  1148. { "M4A1","weapon" },
  1149. { "M14_EP1","weapon" },
  1150. { "UZI_EP1","weapon" },
  1151. { "Remington870_lamp","weapon" },
  1152. { "glock17_EP1","weapon" },
  1153. { "M240_DZ","weapon" },
  1154. { "M4A1_AIM_SD_camo","weapon" },
  1155. { "M16A4_ACG","weapon" },
  1156. { "M4A1_HWS_GL_camo","weapon" },
  1157. { "Mk_48_DZ","weapon" },
  1158. { "M4A3_CCO_EP1","weapon" },
  1159. //Ammo
  1160. { "AmmoBoxSmall_556","object" },
  1161. { "AmmoBoxSmall_762","object" },
  1162.  
  1163. //{"NVGoggles","weapon"},
  1164. { "Binocular","weapon" },
  1165. { "ItemFlashlightRed","military" },
  1166. { "ItemKnife","military" },
  1167. { "ItemGPS","weapon" },
  1168. { "ItemMap","military" },
  1169. { "Binocular_Vector","military" },
  1170.  
  1171. {"DZ_ALICE_Pack_EP1","object"}, // 16
  1172. {"DZ_TK_Assault_Pack_EP1","object"}, // 16
  1173. {"DZ_British_ACU","object"}, // 18
  1174. {"DZ_CivilBackpack_EP1","object"}, // 24
  1175. {"DZ_Backpack_EP1","object"}, // 30
  1176. {"DZ_LargeGunBag_EP1","object"}, // 45
  1177.  
  1178. { "","medical" },
  1179. { "","generic" },
  1180. { "","military" },
  1181. //{"Body","object"},
  1182. {"PipeBomb","magazine"},
  1183. {"Sa58V_RCO_EP1","weapon"},
  1184. {"Sa58V_CCO_EP1","weapon"},
  1185. {"G36_C_SD_camo","weapon"},
  1186. {"M40A3","weapon"},
  1187. {"100Rnd_762x54_PK","magazine"},
  1188. { "","militaryclothes" },
  1189. {"WeaponHolder_ItemMachete", "object"},
  1190. { "SCAR_H_LNG_Sniper_SD","weapon" },
  1191. {"2000Rnd_762x51_M134","magazine"},
  1192. {"KSVK_DZE","weapon" },
  1193. {"m240_scoped_EP1_DZE","weapon" }
  1194. };
  1195. itemChance[] = {
  1196. 0.03,
  1197. 0.01,
  1198. 0.01,
  1199. 0.02,
  1200. 0.01,
  1201. 0.02,
  1202. 0.01,
  1203. 0.01,
  1204. 0.02,
  1205. 0.02,
  1206. 0.01,
  1207. 0.01,
  1208. 0.02,
  1209. 0.01,
  1210. 0.01,
  1211. 0.01,
  1212. 0.02,
  1213. 0.03,
  1214. 0.01,
  1215. 0.02,
  1216. 0.02,
  1217. 0.01,
  1218. 0.01,
  1219. 0.01,
  1220. 0.01,
  1221. 0.01,
  1222. 0.03,
  1223. 0.03,
  1224. 0.01,
  1225. 0.02,
  1226. 0.01,
  1227. 0.01,
  1228. 0.01,
  1229. 0.01,
  1230. 0.03,
  1231. 0.02,
  1232. 0.02,
  1233. 0.02,
  1234. 0.01,
  1235. 0.01,
  1236. 0.05,
  1237. 0.05,
  1238. 0.13,
  1239. 0.01,
  1240. 0.01,
  1241. 0.01,
  1242. 0.01,
  1243. 0.01,
  1244. 0.01,
  1245. 0.05,
  1246. 0.02,
  1247. 0.01,
  1248. 0.01,
  1249. 0.01, //ksvk
  1250. 0.01 //m240 scoped
  1251. };
  1252. };
  1253. #include "CfgLootPos.hpp"
  1254. //If you want to copypast your loottable to your mission w/o
  1255. //changing something on the lootPos then use the a include instead of copypasting the CfgLootPos.hpp
  1256.  
  1257. //#include "\dayz_epoch_b\CfgLootPos.hpp"
  1258. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement