Advertisement
Guest User

Untitled

a guest
Dec 12th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 7.48 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, HLCMuzzleAttachments
  85. 150, HLCOpticAttachments
  86. 150, HLCLightMachineGuns
  87. 150, HLCAssaultRifles
  88. 150, HLCSniperRifles
  89. 150, HLCAmmunition
  90. 150, TRYKUniforms
  91. 150, TRYKVests
  92. 150, TRYKHeadgear
  93. 150, TRYKBackpacks
  94.  
  95. ///////////////////////////////////////////////////////////////////////////////
  96. // Apartments, Offices etc.
  97. ///////////////////////////////////////////////////////////////////////////////
  98. > CivillianUpperClass
  99. 30, Trash
  100. 28, Food
  101. 10, Drinks
  102. 8, Pistols
  103. 5, PistolAmmo
  104. 3, PistolAttachments
  105. 4, SMG
  106. 3, SMGAmmo
  107. 3, SMGAttachments
  108. 3, Rifles
  109. 3, RifleAmmo
  110. 3, RifleAttachments
  111. 20, CivilianClothing
  112. 11, CivilianBackpacks
  113. 5, CivilianVests
  114. 20, CivilianHeadgear
  115. 10, CivilianItems
  116. 10, Chemlights
  117. 10, RoadFlares
  118. 1, Restraints
  119. 150, HLCMuzzleAttachments
  120. 150, HLCOpticAttachments
  121. 150, HLCLightMachineGuns
  122. 150, HLCAssaultRifles
  123. 150, HLCSniperRifles
  124. 150, HLCAmmunition
  125. 150, TRYKUniforms
  126. 150, TRYKVests
  127. 150, TRYKHeadgear
  128. 150, TRYKBackpacks
  129.  
  130.  
  131. ///////////////////////////////////////////////////////////////////////////////
  132. // Kiosks, Supermarkets etc.
  133. ///////////////////////////////////////////////////////////////////////////////
  134. > Shop
  135. 30, Trash
  136. 15, Food
  137. 15, Drinks
  138. 10, Pistols
  139. 2, PistolAmmo
  140. 1, PistolAttachments
  141. 5, SMG
  142. 1, SMGAmmo
  143. 1, SMGAttachments
  144. 5, CivilianBackpacks
  145. 1, CivilianClothing
  146. 3, CivilianHeadgear
  147. 1, CivilianVests
  148. 7, CivilianItems
  149. 5, Chemlights
  150. 5, RoadFlares
  151. 4, SmokeGrenades
  152. 3, IndustrialItems
  153. 3, Restraints
  154. 3, MedicalItems
  155. 150, HLCMuzzleAttachments
  156. 150, HLCOpticAttachments
  157. 150, HLCLightMachineGuns
  158. 150, HLCAssaultRifles
  159. 150, HLCSniperRifles
  160. 150, HLCAmmunition
  161. 150, TRYKUniforms
  162. 150, TRYKVests
  163. 150, TRYKHeadgear
  164. 150, TRYKBackpacks
  165.  
  166.  
  167. ///////////////////////////////////////////////////////////////////////////////
  168. // Construction Sites, Warehouses, Research etc.
  169. ///////////////////////////////////////////////////////////////////////////////
  170. > Industrial
  171. 30, Trash
  172. 40, IndustrialItems
  173. 25, Vehicle
  174. 15, RoadFlares
  175. 5, Restraints
  176. 150, HLCMuzzleAttachments
  177. 150, HLCOpticAttachments
  178. 50, HLCLightMachineGuns
  179. 150, HLCAssaultRifles
  180. 150, HLCSniperRifles
  181. 150, HLCAmmunition
  182. 150, TRYKUniforms
  183. 150, TRYKVests
  184. 150, TRYKHeadgear
  185. 150, TRYKBackpacks
  186.  
  187.  
  188. ///////////////////////////////////////////////////////////////////////////////
  189. // Factories
  190. ///////////////////////////////////////////////////////////////////////////////
  191. > Factories
  192. 10, Electronics
  193. 40, Trash
  194. 50, IndustrialItems
  195. 150, HLCMuzzleAttachments
  196. 150, HLCAssaultRifles
  197. 150, HLCSniperRifles
  198. 150, HLCAmmunition
  199. 150, TRYKUniforms
  200. 150, TRYKVests
  201. 150, TRYKHeadgear
  202. 150, TRYKBackpacks
  203.  
  204.  
  205. ///////////////////////////////////////////////////////////////////////////////
  206. // Fuel Stations, Garages, Workshops etc.
  207. ///////////////////////////////////////////////////////////////////////////////
  208. > VehicleService
  209. 30, Trash
  210. 25, IndustrialItems
  211. 40, Vehicle
  212. 15, RoadFlares
  213. 5, Restraints
  214. 150, HLCMuzzleAttachments
  215. 150, HLCOpticAttachments
  216. 150, HLCLightMachineGuns
  217. 150, HLCAssaultRifles
  218. 150, HLCSniperRifles
  219. 150, HLCAmmunition
  220. 150, TRYKUniforms
  221. 150, TRYKVests
  222. 150, TRYKHeadgear
  223. 150, TRYKBackpacks
  224.  
  225.  
  226. ///////////////////////////////////////////////////////////////////////////////
  227. // Towers, Barracks, Hangars etc.
  228. ///////////////////////////////////////////////////////////////////////////////
  229. > Military
  230. 100, Trash
  231. 4, CivilianItems
  232. 4, GuerillaItems
  233. 1, MilitaryItems
  234. 3, HEGrenades
  235. 3, UGLFlares
  236. 3, UGLSmokes
  237. 3, HandGrenades
  238. 3, SmokeGrenades
  239. 2, Restraints
  240. 2, MedicalItems
  241. 5, GuerillaClothing
  242. 5, MilitaryClothing
  243. 4, GuerillaBackpacks
  244. 3, MilitaryBackpacks
  245. 3, GuerillaVests
  246. 3, MilitaryVests
  247. 3, DLCVests
  248. 3, GuerillaHeadgear
  249. 3, MilitaryHeadgear
  250. 1, Ghillies
  251. 1, DLCGhillies
  252. 1, Rebreathers
  253. 5, Rifles
  254. 3, RifleAmmo
  255. 3, RifleAttachments
  256. 4, LMG
  257. 2, LMGAmmo
  258. 3, Snipers
  259. 2, SniperAmmo
  260. 2, SniperAttachments
  261. 3, DLCRifles
  262. 2, DLCAmmo
  263. 2, DLCOptics
  264. 2, DLCSupressor
  265. 2, Bipods
  266. 5, Explosives
  267. 300, HLCMuzzleAttachments
  268. 300, HLCOpticAttachments
  269. 300, HLCLightMachineGuns
  270. 300, HLCAssaultRifles
  271. 300, HLCSniperRifles
  272. 300, HLCAmmunition
  273. 150, TRYKUniforms
  274. 150, TRYKVests
  275. 150, TRYKHeadgear
  276. 150, TRYKBackpacks
  277.  
  278.  
  279. ///////////////////////////////////////////////////////////////////////////////
  280. // Hospital, Medevac etc.
  281. ///////////////////////////////////////////////////////////////////////////////
  282. > Medical
  283. 30, Trash
  284. 70, MedicalItems
  285. 150, HLCMuzzleAttachments
  286. 150, HLCOpticAttachments
  287. 150, HLCLightMachineGuns
  288. 150, HLCAssaultRifles
  289. 150, HLCSniperRifles
  290. 150, HLCAmmunition
  291. 150, TRYKUniforms
  292. 150, TRYKVests
  293. 150, TRYKHeadgear
  294. 150, TRYKBackpacks
  295.  
  296.  
  297. ///////////////////////////////////////////////////////////////////////////////
  298. // Light Houses + Life Guard Towers + Castles
  299. ///////////////////////////////////////////////////////////////////////////////
  300. > Tourist
  301. 10, MilitaryBackpacks
  302. 10, MilitaryHeadgear
  303. 5, Ghillies
  304. 5, DLCGhillies
  305. 20, Snipers
  306. 2, SniperAmmo
  307. 2, SniperAttachments
  308. 20, DLCRifles
  309. 2, DLCAmmo
  310. 2, DLCOptics
  311. 2, DLCSupressor
  312. 4, CivilianItems
  313. 4, HandGrenades
  314. 4, Restraints
  315. 4, MedicalItems
  316. 4, Explosives
  317. 150, HLCMuzzleAttachments
  318. 150, HLCOpticAttachments
  319. 150, HLCLightMachineGuns
  320. 150, HLCAssaultRifles
  321. 150, HLCSniperRifles
  322. 150, HLCAmmunition
  323. 150, TRYKUniforms
  324. 150, TRYKVests
  325. 150, TRYKHeadgear
  326. 150, TRYKBackpacks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement