brujo22

loot table

May 27th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.03 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. 7, CivilianItems
  131. 5, Chemlights
  132. 5, RoadFlares
  133. 4, SmokeGrenades
  134. 3, IndustrialItems
  135. 3, Restraints
  136. 3, MedicalItems
  137.  
  138. ///////////////////////////////////////////////////////////////////////////////
  139. // Construction Sites, Warehouses, Research etc.
  140. ///////////////////////////////////////////////////////////////////////////////
  141. > Industrial
  142. 15, Trash
  143. 40, IndustrialItems
  144. 20, Vehicle
  145. 15, RoadFlares
  146. 5, Restraints
  147.  
  148. ///////////////////////////////////////////////////////////////////////////////
  149. // Factories
  150. ///////////////////////////////////////////////////////////////////////////////
  151. > Factories
  152. 10, Electronics
  153. 40, Trash
  154. 50, IndustrialItems
  155.  
  156. ///////////////////////////////////////////////////////////////////////////////
  157. // Fuel Stations, Garages, Workshops etc.
  158. ///////////////////////////////////////////////////////////////////////////////
  159. > VehicleService
  160. 30, Trash
  161. 25, IndustrialItems
  162. 40, Vehicle
  163. 15, RoadFlares
  164. 5, Restraints
  165.  
  166. ///////////////////////////////////////////////////////////////////////////////
  167. // Towers, Barracks, Hangars etc.
  168. ///////////////////////////////////////////////////////////////////////////////
  169. > Military
  170. 40, Trash
  171. 2, HEGrenades
  172. 3, UGLFlares
  173. 3, UGLSmokes
  174. 1, HandGrenades
  175. 2, SmokeGrenades
  176. 2, Restraints
  177. 2, MedicalItems
  178. 3, GuerillaClothing
  179. 4, MilitaryClothing
  180. 3, GuerillaBackpacks
  181. 3, MilitaryBackpacks
  182. 2, GuerillaVests
  183. 3, MilitaryVests
  184. 3, DLCVests
  185. 3, GuerillaHeadgear
  186. 3, MilitaryHeadgear
  187. 1, Ghillies
  188. 1, DLCGhillies
  189. 4, Rifles
  190. 3, RifleAmmo
  191. 5, RifleAttachments
  192. 4, LMG
  193. 2, LMGAmmo
  194. 3, Snipers
  195. 1, SniperAmmo
  196. 2, SniperAttachments
  197. 3, DLCRifles
  198. 2, DLCAmmo
  199. 2, DLCOptics
  200. 2, DLCSupressor
  201. 2, Bipods
  202. 2, Explosives
  203.  
  204. ///////////////////////////////////////////////////////////////////////////////
  205. // Hospital, Medevac etc. (Does not spawn on Altis!)
  206. ///////////////////////////////////////////////////////////////////////////////
  207. > Medical
  208. 30, Trash
  209. 70, MedicalItems
  210.  
  211. ///////////////////////////////////////////////////////////////////////////////
  212. // Light Houses + Life Guard Towers + Castles
  213. ///////////////////////////////////////////////////////////////////////////////
  214. > Tourist
  215. 6, MilitaryBackpacks
  216. 6, MilitaryHeadgear
  217. 5, Ghillies
  218. 5, DLCGhillies
  219. 6, Snipers
  220. 2, SniperAmmo
  221. 2, SniperAttachments
  222. 6, DLCRifles
  223. 2, DLCAmmo
  224. 2, DLCOptics
  225. 2, DLCSupressor
  226. 4, CivilianItems
  227. 2, HandGrenades
  228. 4, Restraints
  229. 4, MedicalItems
  230. 1, Explosives
  231.  
  232. ///////////////////////////////////////////////////////////////////////////////
  233. // Ghost Hotel Buildings
  234. ///////////////////////////////////////////////////////////////////////////////
  235. > Radiation
  236. 10, MilitaryBackpacks
  237. 10, MilitaryHeadgear
  238. 5, Ghillies
  239. 5, DLCGhillies
  240. 30, Snipers
  241. 2, SniperAmmo
  242. 2, SniperAttachments
  243. 30, DLCRifles
  244. 2, DLCAmmo
  245. 2, DLCOptics
  246. 2, DLCSupressor
  247. 4, HandGrenades
  248. 4, Restraints
  249. 4, MedicalItems
  250. 1, Explosives
  251. 4, EpicWeapons
Advertisement
Add Comment
Please, Sign In to add comment