Hellstyrant

LootTables.h

May 25th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 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. 5, Pistols
  71. 8, PistolAmmo
  72. 3, PistolAttachments
  73. 2, Shotguns
  74. 1, ShotgunAmmo
  75. 2, SMG
  76. 1, SMGAmmo
  77. 3, SMGAttachments
  78. 20, CivilianClothing
  79. 11, CivilianBackpacks
  80. 5, CivilianVests
  81. 20, CivilianHeadgear
  82. 10, CivilianItems
  83. 1, Restraints
  84. 10, Chemlights
  85. 10, RoadFlares
  86.  
  87. ///////////////////////////////////////////////////////////////////////////////
  88. // Apartments, Offices etc.
  89. ///////////////////////////////////////////////////////////////////////////////
  90. > CivillianUpperClass
  91. 30, Trash
  92. 28, Food
  93. 10, Drinks
  94. 5, Pistols
  95. 8, PistolAmmo
  96. 3, PistolAttachments
  97. 2, Shotguns
  98. 1, ShotgunAmmo
  99. 2, SMG
  100. 1, SMGAmmo
  101. 3, SMGAttachments
  102. 2, Rifles
  103. 1, RifleAmmo
  104. 3, RifleAttachments
  105. 20, CivilianClothing
  106. 11, CivilianBackpacks
  107. 5, CivilianVests
  108. 20, CivilianHeadgear
  109. 10, CivilianItems
  110. 10, Chemlights
  111. 10, RoadFlares
  112. 1, Restraints
  113.  
  114. ///////////////////////////////////////////////////////////////////////////////
  115. // Kiosks, Supermarkets etc.
  116. ///////////////////////////////////////////////////////////////////////////////
  117. > Shop
  118. 30, Trash
  119. 15, Food
  120. 15, Drinks
  121. 7, Pistols
  122. 5, PistolAmmo
  123. 1, PistolAttachments
  124. 2, Shotguns
  125. 1, ShotgunAmmo
  126. 3, SMG
  127. 1, SMGAmmo
  128. 1, SMGAttachments
  129. 5, CivilianBackpacks
  130. 1, CivilianClothing
  131. 3, CivilianHeadgear
  132. 1, CivilianVests
  133. 7, CivilianItems
  134. 5, Chemlights
  135. 5, RoadFlares
  136. 4, SmokeGrenades
  137. 3, IndustrialItems
  138. 3, Restraints
  139. 3, MedicalItems
  140.  
  141. ///////////////////////////////////////////////////////////////////////////////
  142. // Construction Sites, Warehouses, Research etc.
  143. ///////////////////////////////////////////////////////////////////////////////
  144. > Industrial
  145. 15, Trash
  146. 40, IndustrialItems
  147. 20, Vehicle
  148. 15, RoadFlares
  149. 5, Restraints
  150.  
  151. ///////////////////////////////////////////////////////////////////////////////
  152. // Factories
  153. ///////////////////////////////////////////////////////////////////////////////
  154. > Factories
  155. 10, Electronics
  156. 40, Trash
  157. 50, IndustrialItems
  158.  
  159. ///////////////////////////////////////////////////////////////////////////////
  160. // Fuel Stations, Garages, Workshops etc.
  161. ///////////////////////////////////////////////////////////////////////////////
  162. > VehicleService
  163. 30, Trash
  164. 25, IndustrialItems
  165. 40, Vehicle
  166. 15, RoadFlares
  167. 5, Restraints
  168.  
  169. ///////////////////////////////////////////////////////////////////////////////
  170. // Towers, Barracks, Hangars etc.
  171. ///////////////////////////////////////////////////////////////////////////////
  172. > Military
  173. 40, Trash
  174. 4, CivilianItems
  175. 4, GuerillaItems
  176. 2, HEGrenades
  177. 3, UGLFlares
  178. 3, UGLSmokes
  179. 1, HandGrenades
  180. 3, SmokeGrenades
  181. 2, Restraints
  182. 2, MedicalItems
  183. 5, GuerillaClothing
  184. 5, MilitaryClothing
  185. 4, GuerillaBackpacks
  186. 3, MilitaryBackpacks
  187. 3, GuerillaVests
  188. 3, MilitaryVests
  189. 3, DLCVests
  190. 3, GuerillaHeadgear
  191. 3, MilitaryHeadgear
  192. 1, Ghillies
  193. 1, DLCGhillies
  194. 1, Rebreathers
  195. 5, Rifles
  196. 3, RifleAmmo
  197. 3, RifleAttachments
  198. 4, LMG
  199. 2, LMGAmmo
  200. 3, Snipers
  201. 1, SniperAmmo
  202. 2, SniperAttachments
  203. 3, DLCRifles
  204. 2, DLCAmmo
  205. 2, DLCOptics
  206. 2, DLCSupressor
  207. 2, Bipods
  208. 2, Explosives
  209.  
  210. ///////////////////////////////////////////////////////////////////////////////
  211. // Hospital, Medevac etc. (Does not spawn on Altis!)
  212. ///////////////////////////////////////////////////////////////////////////////
  213. > Medical
  214. 30, Trash
  215. 70, MedicalItems
  216.  
  217. ///////////////////////////////////////////////////////////////////////////////
  218. // Light Houses + Life Guard Towers + Castles
  219. ///////////////////////////////////////////////////////////////////////////////
  220. > Tourist
  221. 10, MilitaryBackpacks
  222. 10, MilitaryHeadgear
  223. 5, Ghillies
  224. 5, DLCGhillies
  225. 8, Snipers
  226. 2, SniperAmmo
  227. 1, SniperAttachments
  228. 10, DLCRifles
  229. 2, DLCAmmo
  230. 2, DLCOptics
  231. 2, DLCSupressor
  232. 4, CivilianItems
  233. 2, HandGrenades
  234. 4, Restraints
  235. 4, MedicalItems
  236. 1, Explosives
  237.  
  238. ///////////////////////////////////////////////////////////////////////////////
  239. // Ghost Hotel Buildings
  240. ///////////////////////////////////////////////////////////////////////////////
  241. > Radiation
  242. 10, MilitaryBackpacks
  243. 10, MilitaryHeadgear
  244. 5, Ghillies
  245. 5, DLCGhillies
  246. 30, Snipers
  247. 2, SniperAmmo
  248. 2, SniperAttachments
  249. 30, DLCRifles
  250. 2, DLCAmmo
  251. 2, DLCOptics
  252. 2, DLCSupressor
  253. 4, HandGrenades
  254. 4, Restraints
  255. 4, MedicalItems
  256. 1, Explosives
  257. 4, EpicWeapons
Advertisement
Add Comment
Please, Sign In to add comment