sgtlarson

Untitled

Jan 18th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 13.74 KB | None | 0 0
  1. /*
  2.     ///////////////////////////////////////////////////////////////////////////////
  3.     // Class Names
  4.     ///////////////////////////////////////////////////////////////////////////////
  5.  
  6.     Remember that item class names, group names and loot table names cannot
  7.     contain spaces. Also be 100% sure to have the exact same name as in Arma,
  8.     as they are *case sensive*.
  9.  
  10.     ///////////////////////////////////////////////////////////////////////////////
  11.     // Item Groups
  12.     ///////////////////////////////////////////////////////////////////////////////
  13.  
  14.     You can link one group of items to loot tables.
  15.     One item should only be in one group.
  16.  
  17.     Syntax:
  18.     = <Group Name>
  19.     <Spawn Chance Within Group>,<Item Class Name>
  20.  
  21.     ///////////////////////////////////////////////////////////////////////////////
  22.     // Propability
  23.     ///////////////////////////////////////////////////////////////////////////////
  24.  
  25.     <Spawn Chance>,<Item>
  26.  
  27.     10, Banana
  28.     20, Tomato
  29.     30, Cherry
  30.  
  31.     Sum of chances:
  32.     10 + 20 + 30 = 60 = 100%
  33.  
  34.     Spawn chances:
  35.     Banana  10 : 60 = 10 * 100 / 60 = 16.67%
  36.     Tomato  20 : 60 = 20 * 100 / 60 = 33.33%
  37.     Cherry  30 : 60 = 30 * 100 / 60 = 50%
  38.  
  39.     In words:
  40.     If Exile should spawn an item of the above group, it has a 33.33%
  41.     chance to spawn a Banana.
  42.  
  43.     ///////////////////////////////////////////////////////////////////////////////
  44.     // Loot Tables
  45.     ///////////////////////////////////////////////////////////////////////////////
  46.  
  47.     Defines which item group spawns in which building type. The loot table itself
  48.     is linked with a building in exile_server_config.pbo/config/CfgBuildings. Spawn
  49.     chances work like for items.
  50.  
  51.     Syntax:
  52.     > <Loot Table Name>
  53.     <Spawn Chance Within Loot Table>,<Group Name>
  54. */
  55.  
  56.  
  57.  
  58. /*
  59.     Loot Tables
  60. */
  61.  
  62. ///////////////////////////////////////////////////////////////////////////////
  63. // Slums/Ghetto, Farms, Village Houses, Castle etc.
  64. // Spawn Guerilla things :)
  65. ///////////////////////////////////////////////////////////////////////////////
  66. > CivillianLowerClass
  67. 30, Trash
  68. 28, Food
  69. 10, Drinks
  70. 8, Pistols
  71. 5, PistolAmmo
  72. 3, PistolAttachments
  73. 4, SMG
  74. 3, SMGAmmo
  75. 3, SMGAttachments
  76. 20, CivilianClothing
  77. 11, CivilianBackpacks
  78. 5, CivilianVests
  79. 20, CivilianHeadgear
  80. 10, CivilianItems
  81. 1, Restraints
  82. 10, Chemlights
  83. 10, RoadFlares
  84. 150, CUPMuzzleAttachments
  85. 150, CUPOpticAttachments
  86. 150, CUPAmmunition
  87. 50, CUPPistols
  88. 150, CUPLightMachineGuns
  89. 150, CUPAssaultRifles
  90. 300, CUPSniperRifles
  91. 50, HLCMuzzleAttachments
  92. 150, HLCOpticAttachments
  93. 50, HLCLightMachineGuns
  94. 300, HLCSniperRifles
  95. 150, HLCAmmunition
  96. 50, MASHeadgear
  97. 50, MASPointerAttachments
  98. 50, MASMuzzleAttachments
  99. 150, MASOpticAttachments
  100. 150, MASTools
  101. 150, MASBackpacks
  102. 150, MASAmmunition
  103. 150, MASLightMachineGuns
  104. 50, MASAssaultRifles
  105. 300, MASSniperRifles
  106. 150, R3FBipodAttachments
  107. 150, R3FMuzzleAttachments
  108. 150, R3FOpticAttachments
  109. 150, R3FAmmunition
  110. 150, R3FAssaultRifles
  111. 300, R3FSniperRifles
  112. 300, R3FLaunchers
  113. 150, RHSUniforms
  114. 150, RHSVests
  115. 150, RHSHeadgear
  116. 50, RHSBipodAttachments
  117. 150, RHSMuzzleAttachments
  118. 150, RHSOpticAttachments
  119. 150, RHSLightMachineGuns
  120. 300, RHSSniperRifles
  121. 150, RHSAmmunition
  122. 300, TRYKUniforms
  123. 150, TRYKVests
  124. 150, TRYKHeadgear
  125. 300, TRYKBackpacks
  126.  
  127. ///////////////////////////////////////////////////////////////////////////////
  128. // Apartments, Offices etc.
  129. ///////////////////////////////////////////////////////////////////////////////
  130. > CivillianUpperClass
  131. 30, Trash
  132. 28, Food
  133. 10, Drinks
  134. 8, Pistols
  135. 5, PistolAmmo
  136. 3, PistolAttachments
  137. 4, SMG
  138. 3, SMGAmmo
  139. 3, SMGAttachments
  140. 3, Rifles
  141. 3, RifleAmmo
  142. 3, RifleAttachments
  143. 20, CivilianClothing
  144. 11, CivilianBackpacks
  145. 5, CivilianVests
  146. 20, CivilianHeadgear
  147. 10, CivilianItems
  148. 10, Chemlights
  149. 10, RoadFlares
  150. 1, Restraints
  151. 150, CUPMuzzleAttachments
  152. 150, CUPOpticAttachments
  153. 150, CUPAmmunition
  154. 150, CUPLightMachineGuns
  155. 150, CUPAssaultRifles
  156. 300, CUPSniperRifles
  157. 50, CUPExplosive
  158. 50, HLCMuzzleAttachments
  159. 150, HLCOpticAttachments
  160. 50, HLCLightMachineGuns
  161. 300, HLCSniperRifles
  162. 150, HLCAmmunition
  163. 50, MASHeadgear
  164. 50, MASPointerAttachments
  165. 50, MASMuzzleAttachments
  166. 150, MASOpticAttachments
  167. 150, MASTools
  168. 150, MASBackpacks
  169. 150, MASAmmunition
  170. 150, MASLightMachineGuns
  171. 50, MASAssaultRifles
  172. 300, MASSniperRifles
  173. 50, R3FBipodAttachments
  174. 150, R3FMuzzleAttachments
  175. 150, R3FOpticAttachments
  176. 150, R3FAmmunition
  177. 50, R3FAssaultRifles
  178. 300, R3FSniperRifles
  179. 300, R3FLaunchers
  180. 150, RHSUniforms
  181. 150, RHSVests
  182. 150, RHSHeadgear
  183. 150, RHSBipodAttachments
  184. 150, RHSMuzzleAttachments
  185. 150, RHSOpticAttachments
  186. 150, RHSLightMachineGuns
  187. 300, RHSSniperRifles
  188. 150, RHSAmmunition
  189. 300, TRYKUniforms
  190. 150, TRYKVests
  191. 150, TRYKHeadgear
  192. 150, TRYKBackpacks
  193.  
  194.  
  195. ///////////////////////////////////////////////////////////////////////////////
  196. // Kiosks, Supermarkets etc.
  197. ///////////////////////////////////////////////////////////////////////////////
  198. > Shop
  199. 30, Trash
  200. 15, Food
  201. 15, Drinks
  202. 10, Pistols
  203. 2, PistolAmmo
  204. 1, PistolAttachments
  205. 5, SMG
  206. 1, SMGAmmo
  207. 1, SMGAttachments
  208. 5, CivilianBackpacks
  209. 1, CivilianClothing
  210. 3, CivilianHeadgear
  211. 1, CivilianVests
  212. 7, CivilianItems
  213. 5, Chemlights
  214. 5, RoadFlares
  215. 4, SmokeGrenades
  216. 3, IndustrialItems
  217. 3, Restraints
  218. 3, MedicalItems
  219. 150, CUPMuzzleAttachments
  220. 150, CUPOpticAttachments
  221. 150, CUPAmmunition
  222. 150, CUPLightMachineGuns
  223. 150, CUPAssaultRifles
  224. 300, CUPSniperRifles
  225. 50, CUPExplosive
  226. 50, HLCMuzzleAttachments
  227. 150, HLCOpticAttachments
  228. 50, HLCLightMachineGuns
  229. 300, HLCSniperRifles
  230. 150, HLCAmmunition
  231. 50, MASHeadgear
  232. 50, MASPointerAttachments
  233. 50, MASMuzzleAttachments
  234. 150, MASOpticAttachments
  235. 150, MASTools
  236. 150, MASBackpacks
  237. 150, MASAmmunition
  238. 150, MASLightMachineGuns
  239. 50, MASAssaultRifles
  240. 300, MASSniperRifles
  241. 50, R3FBipodAttachments
  242. 150, R3FMuzzleAttachments
  243. 150, R3FOpticAttachments
  244. 150, R3FAmmunition
  245. 50, R3FAssaultRifles
  246. 300, R3FSniperRifles
  247. 300, R3FLaunchers
  248. 150, RHSVests
  249. 150, RHSHeadgear
  250. 50, RHSBipodAttachments
  251. 150, RHSMuzzleAttachments
  252. 150, RHSOpticAttachments
  253. 150, RHSLightMachineGuns
  254. 300, RHSSniperRifles
  255. 150, RHSAmmunition
  256. 150, TRYKUniforms
  257. 300, TRYKVests
  258. 150, TRYKHeadgear
  259. 150, TRYKBackpacks
  260.  
  261.  
  262. ///////////////////////////////////////////////////////////////////////////////
  263. // Construction Sites, Warehouses, Research etc.
  264. ///////////////////////////////////////////////////////////////////////////////
  265. > Industrial
  266. 30, Trash
  267. 40, IndustrialItems
  268. 25, Vehicle
  269. 15, RoadFlares
  270. 5, Restraints
  271. 150, CUPMuzzleAttachments
  272. 150, CUPOpticAttachments
  273. 150, CUPAmmunition
  274. 150, CUPLightMachineGuns
  275. 150, CUPAssaultRifles
  276. 300, CUPSniperRifles
  277. 50, HLCMuzzleAttachments
  278. 150, HLCOpticAttachments
  279. 50, HLCLightMachineGuns
  280. 300, HLCSniperRifles
  281. 150, HLCAmmunition
  282. 50, MASHeadgear
  283. 50, MASPointerAttachments
  284. 50, MASMuzzleAttachments
  285. 150, MASOpticAttachments
  286. 150, MASTools
  287. 150, MASBackpacks
  288. 150, MASAmmunition
  289. 150, MASLightMachineGuns
  290. 50, MASAssaultRifles
  291. 300, MASSniperRifles
  292. 50, R3FBipodAttachments
  293. 150, R3FMuzzleAttachments
  294. 150, R3FOpticAttachments
  295. 150, R3FAmmunition
  296. 50, R3FAssaultRifles
  297. 300, R3FSniperRifles
  298. 300, R3FLaunchers
  299. 50, RHSUniforms
  300. 150, RHSVests
  301. 150, RHSHeadgear
  302. 50, RHSBipodAttachments
  303. 150, RHSMuzzleAttachments
  304. 150, RHSOpticAttachments
  305. 150, RHSLightMachineGuns
  306. 300, RHSSniperRifles
  307. 150, RHSAmmunition
  308. 150, TRYKUniforms
  309. 300, TRYKVests
  310. 300, TRYKHeadgear
  311. 150, TRYKBackpacks
  312.  
  313.  
  314. ///////////////////////////////////////////////////////////////////////////////
  315. // Factories
  316. ///////////////////////////////////////////////////////////////////////////////
  317. > Factories
  318. 10, Electronics
  319. 40, Trash
  320. 50, IndustrialItems
  321. 150, CUPMuzzleAttachments
  322. 150, CUPOpticAttachments
  323. 150, CUPAmmunition
  324. 150, CUPLightMachineGuns
  325. 150, CUPAssaultRifles
  326. 300, CUPSniperRifles
  327. 50, CUPExplosive
  328. 50, HLCMuzzleAttachments
  329. 150, HLCOpticAttachments
  330. 50, HLCLightMachineGuns
  331. 300, HLCSniperRifles
  332. 150, HLCAmmunition
  333. 50, MASHeadgear
  334. 50, MASPointerAttachments
  335. 50, MASMuzzleAttachments
  336. 150, MASOpticAttachments
  337. 150, MASTools
  338. 150, MASBackpacks
  339. 150, MASAmmunition
  340. 150, MASLightMachineGuns
  341. 50, MASAssaultRifles
  342. 300, MASSniperRifles
  343. 50, R3FBipodAttachments
  344. 150, R3FMuzzleAttachments
  345. 150, R3FOpticAttachments
  346. 150, R3FAmmunition
  347. 50, R3FAssaultRifles
  348. 300, R3FSniperRifles
  349. 300, R3FLaunchers
  350. 150, RHSUniforms
  351. 150, RHSVests
  352. 50, RHSHeadgear
  353. 150, RHSBipodAttachments
  354. 150, RHSMuzzleAttachments
  355. 150, RHSOpticAttachments
  356. 150, RHSLightMachineGuns
  357. 300, RHSSniperRifles
  358. 150, RHSAmmunition
  359. 300, TRYKUniforms
  360. 300, TRYKVests
  361. 300, TRYKHeadgear
  362. 150, TRYKBackpacks
  363.  
  364.  
  365. ///////////////////////////////////////////////////////////////////////////////
  366. // Fuel Stations, Garages, Workshops etc.
  367. ///////////////////////////////////////////////////////////////////////////////
  368. > VehicleService
  369. 30, Trash
  370. 25, IndustrialItems
  371. 40, Vehicle
  372. 15, RoadFlares
  373. 5, Restraints
  374. 150, CUPMuzzleAttachments
  375. 150, CUPOpticAttachments
  376. 150, CUPAmmunition
  377. 150, CUPLightMachineGuns
  378. 150, CUPAssaultRifles
  379. 300, CUPSniperRifles
  380. 50, CUPExplosive
  381. 50, HLCMuzzleAttachments
  382. 150, HLCOpticAttachments
  383. 50, HLCLightMachineGuns
  384. 300, HLCSniperRifles
  385. 150, HLCAmmunition
  386. 50, MASHeadgear
  387. 50, MASPointerAttachments
  388. 50, MASMuzzleAttachments
  389. 150, MASOpticAttachments
  390. 150, MASTools
  391. 150, MASBackpacks
  392. 150, MASAmmunition
  393. 150, MASLightMachineGuns
  394. 50, MASAssaultRifles
  395. 300, MASSniperRifles
  396. 50, R3FBipodAttachments
  397. 150, R3FMuzzleAttachments
  398. 150, R3FOpticAttachments
  399. 150, R3FAmmunition
  400. 50, R3FAssaultRifles
  401. 300, R3FSniperRifles
  402. 300, R3FLaunchers
  403. 50, RHSUniforms
  404. 150, RHSVests
  405. 50, RHSHeadgear
  406. 50, RHSBipodAttachments
  407. 150, RHSMuzzleAttachments
  408. 150, RHSOpticAttachments
  409. 150, RHSLightMachineGuns
  410. 300, RHSSniperRifles
  411. 150, RHSAmmunition
  412. 50, TRYKUniforms
  413. 50, TRYKVests
  414. 150, TRYKHeadgear
  415. 150, TRYKBackpacks
  416.  
  417.  
  418. ///////////////////////////////////////////////////////////////////////////////
  419. // Towers, Barracks, Hangars etc.
  420. ///////////////////////////////////////////////////////////////////////////////
  421. > Military
  422. 100, Trash
  423. 4, CivilianItems
  424. 4, GuerillaItems
  425. 1, MilitaryItems
  426. 3, HEGrenades
  427. 3, UGLFlares
  428. 3, UGLSmokes
  429. 3, HandGrenades
  430. 3, SmokeGrenades
  431. 2, Restraints
  432. 2, MedicalItems
  433. 5, GuerillaClothing
  434. 5, MilitaryClothing
  435. 4, GuerillaBackpacks
  436. 3, MilitaryBackpacks
  437. 3, GuerillaVests
  438. 3, MilitaryVests
  439. 3, DLCVests
  440. 3, GuerillaHeadgear
  441. 3, MilitaryHeadgear
  442. 1, Ghillies
  443. 1, DLCGhillies
  444. 1, Rebreathers
  445. 5, Rifles
  446. 3, RifleAmmo
  447. 3, RifleAttachments
  448. 4, LMG
  449. 2, LMGAmmo
  450. 3, Snipers
  451. 2, SniperAmmo
  452. 2, SniperAttachments
  453. 3, DLCRifles
  454. 2, DLCAmmo
  455. 2, DLCOptics
  456. 2, DLCSupressor
  457. 2, Bipods
  458. 5, Explosives
  459. 150, CUPMuzzleAttachments
  460. 150, CUPOpticAttachments
  461. 150, CUPAmmunition
  462. 150, CUPLightMachineGuns
  463. 150, CUPAssaultRifles
  464. 300, CUPSniperRifles
  465. 50, CUPExplosive
  466. 50, HLCMuzzleAttachments
  467. 150, HLCOpticAttachments
  468. 50, HLCLightMachineGuns
  469. 300, HLCSniperRifles
  470. 150, HLCAmmunition
  471. 50, MASHeadgear
  472. 50, MASPointerAttachments
  473. 50, MASMuzzleAttachments
  474. 150, MASOpticAttachments
  475. 150, MASTools
  476. 150, MASBackpacks
  477. 150, MASAmmunition
  478. 150, MASLightMachineGuns
  479. 50, MASAssaultRifles
  480. 300, MASSniperRifles
  481. 50, R3FBipodAttachments
  482. 150, R3FMuzzleAttachments
  483. 150, R3FOpticAttachments
  484. 150, R3FAmmunition
  485. 50, R3FAssaultRifles
  486. 300, R3FSniperRifles
  487. 300, R3FLaunchers
  488. 50, RHSUniforms
  489. 150, RHSVests
  490. 50, RHSHeadgear
  491. 150, RHSBipodAttachments
  492. 150, RHSMuzzleAttachments
  493. 150, RHSOpticAttachments
  494. 150, RHSLightMachineGuns
  495. 300, RHSSniperRifles
  496. 150, RHSAmmunition
  497. 150, TRYKUniforms
  498. 300, TRYKVests
  499. 300, TRYKHeadgear
  500. 300, TRYKBackpacks
  501.  
  502.  
  503. ///////////////////////////////////////////////////////////////////////////////
  504. // Hospital, Medevac etc.
  505. ///////////////////////////////////////////////////////////////////////////////
  506. > Medical
  507. 30, Trash
  508. 70, MedicalItems
  509. 150, CUPMuzzleAttachments
  510. 150, CUPOpticAttachments
  511. 150, CUPAmmunition
  512. 150, CUPLightMachineGuns
  513. 150, CUPAssaultRifles
  514. 300, CUPSniperRifles
  515. 50, CUPExplosive
  516. 50, HLCMuzzleAttachments
  517. 150, HLCOpticAttachments
  518. 50, HLCLightMachineGuns
  519. 300, HLCSniperRifles
  520. 150, HLCAmmunition
  521. 50, MASHeadgear
  522. 50, MASPointerAttachments
  523. 50, MASMuzzleAttachments
  524. 150, MASOpticAttachments
  525. 150, MASTools
  526. 150, MASBackpacks
  527. 150, MASAmmunition
  528. 150, MASLightMachineGuns
  529. 50, MASAssaultRifles
  530. 300, MASSniperRifles
  531. 50, R3FBipodAttachments
  532. 150, R3FMuzzleAttachments
  533. 150, R3FOpticAttachments
  534. 150, R3FAmmunition
  535. 50, R3FAssaultRifles
  536. 300, R3FSniperRifles
  537. 300, R3FLaunchers
  538. 50, RHSUniforms
  539. 150, RHSVests
  540. 50, RHSHeadgear
  541. 50, RHSBipodAttachments
  542. 150, RHSMuzzleAttachments
  543. 150, RHSOpticAttachments
  544. 150, RHSLightMachineGuns
  545. 300, RHSSniperRifles
  546. 150, RHSAmmunition
  547. 150, TRYKUniforms
  548. 50, TRYKVests
  549. 150, TRYKHeadgear
  550. 150, TRYKBackpacks
  551.  
  552.  
  553. ///////////////////////////////////////////////////////////////////////////////
  554. // Light Houses + Life Guard Towers + Castles
  555. ///////////////////////////////////////////////////////////////////////////////
  556. > Tourist
  557. 10, MilitaryBackpacks
  558. 10, MilitaryHeadgear
  559. 5, Ghillies
  560. 5, DLCGhillies
  561. 20, Snipers
  562. 2, SniperAmmo
  563. 2, SniperAttachments
  564. 20, DLCRifles
  565. 2, DLCAmmo
  566. 2, DLCOptics
  567. 2, DLCSupressor
  568. 4, CivilianItems
  569. 4, HandGrenades
  570. 4, Restraints
  571. 4, MedicalItems
  572. 4, Explosives
  573. 150, CUPMuzzleAttachments
  574. 150, CUPOpticAttachments
  575. 150, CUPAmmunition
  576. 150, CUPLightMachineGuns
  577. 150, CUPAssaultRifles
  578. 300, CUPSniperRifles
  579. 50, CUPExplosive
  580. 50, HLCMuzzleAttachments
  581. 150, HLCOpticAttachments
  582. 50, HLCLightMachineGuns
  583. 300, HLCSniperRifles
  584. 150, HLCAmmunition
  585. 50, MASHeadgear
  586. 50, MASPointerAttachments
  587. 50, MASMuzzleAttachments
  588. 150, MASOpticAttachments
  589. 150, MASTools
  590. 150, MASBackpacks
  591. 150, MASAmmunition
  592. 50, MASAssaultRifles
  593. 300, MASSniperRifles
  594. 50, R3FBipodAttachments
  595. 150, R3FMuzzleAttachments
  596. 150, R3FOpticAttachments
  597. 150, R3FAmmunition
  598. 50, R3FAssaultRifles
  599. 300, R3FSniperRifles
  600. 300, R3FLaunchers
  601. 150, RHSUniforms
  602. 150, RHSVests
  603. 50, RHSHeadgear
  604. 50, RHSBipodAttachments
  605. 150, RHSMuzzleAttachments
  606. 150, RHSOpticAttachments
  607. 150, RHSLightMachineGuns
  608. 300, RHSSniperRifles
  609. 150, RHSAmmunition
  610. 300, TRYKUniforms
  611. 150, TRYKVests
  612. 300, TRYKHeadgear
  613. 50, TRYKBackpacks
Add Comment
Please, Sign In to add comment