Advertisement
truemc

events

Dec 6th, 2017
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.10 KB | None | 0 0
  1. class Events
  2. {
  3. /*
  4. A list of events that are active
  5. */
  6. enabledEvents[] = {"IKEA","MilitaryDrop","MoneyDrop","Weed","Drugs","Farming"};
  7.  
  8.  
  9. class MilitaryDrop
  10. {
  11. /*
  12. Drops a supply box on a parachute next to a random airport on the map.
  13. The box may contain items. The box can be transported to a territory
  14. and installed to become a normal storage container.
  15. */
  16. type = "spawn";
  17. function = "ExileServer_system_event_militarydrop_start";
  18. minTime = 40; // minutes
  19. maxTime = 55; // minutes
  20. minimumPlayersOnline = 15;
  21. dropRadius = 500; // 500m around an airport (including the main airport on Altis!)
  22. dropAltitude = 0; // altitude of the drop
  23. markerTime = 10; // minutes
  24.  
  25. /*
  26. These are different types of boxes can be dropped.
  27. You can specify the cargo a box should contain.
  28. The type of box is chosen randomly from the following list.
  29. Add a type multiple times to increase the chance of being used.
  30. */
  31. types[] = {"KSVK_2", "Lynx_2","AS50_2", "L115A3_2","Stinger_2","SPMG_2","M107_2","M320_2","Ak_2","RPG_2"};
  32.  
  33. class BoxTypes5
  34. {
  35. class KSVK_2
  36. {
  37. items[] =
  38. {
  39. {"CUP_srifle_ksvk", 3},
  40. {"CUP_5Rnd_127x108_KSVK_M", 8}
  41. };
  42. };
  43.  
  44. class M320_2
  45. {
  46. items[] =
  47. {
  48. {"CUP_srifle_M110", 1},
  49. {"CUP_muzzle_snds_M110", 1},
  50. {"CUP_20Rnd_762x51_B_M110", 1}
  51. };
  52. };
  53.  
  54. class AS50_2
  55. {
  56. items[] =
  57. {
  58. {"CUP_srifle_AS50", 3},
  59. {"CUP_5Rnd_127x99_as50_M", 12}
  60. };
  61. };
  62.  
  63. class M107_2
  64. {
  65. items[] =
  66. {
  67. {"CUP_srifle_M107_Base", 3},
  68. {"CUP_10Rnd_127x99_M107", 12}
  69. };
  70. };
  71.  
  72. class SPMG_2
  73. {
  74. items[] =
  75. {
  76. {"CUP_srifle_SVD", 2},
  77. {"CUP_10Rnd_762x54_SVD_M", 10}
  78. };
  79. };
  80.  
  81. class Ak_2
  82. {
  83. items[] =
  84. {
  85. {"CUP_arifle_AK107", 3},
  86. {"CUP_arifle_AK47", 3},
  87. {"CUP_arifle_AK74", 3},
  88. {"CUP_arifle_AK74M", 3},
  89. {"CUP_arifle_AKM", 3},
  90. {"CUP_arifle_AKS", 10},
  91. {"CUP_arifle_AKS74",10},
  92. {"CUP_30Rnd_545x39_AK_M", 3},
  93. {"CUP_30Rnd_762x39_AK47_M", 3},
  94. {"CUP_arifle_AKS74U",5}
  95.  
  96.  
  97. };
  98. };
  99.  
  100. class RPG_2
  101. {
  102. items[] =
  103. {
  104. {"CUP_launch_MAAWS", 3},
  105. {"CUP_MAAWS_HEAT_M", 5}
  106.  
  107. };
  108. };
  109.  
  110. };
  111. };
  112.  
  113. class IKEA
  114. {
  115. /*
  116. Drops a supply box on a parachute next to a random airport on the map.
  117. The box may contain items. The box can be transported to a territory
  118. and installed to become a normal storage container.
  119. */
  120. type = "spawn";
  121. function = "ExileServer_system_event_ikea_start";
  122. minTime = 80; // minutes
  123. maxTime = 95; // minutes
  124. minimumPlayersOnline = 15;
  125. dropRadius = 500; // 500m around an airport (including the main airport on Altis!)
  126. dropAltitude = 0; // altitude of the drop
  127. markerTime = 10; // minutes
  128.  
  129. /*
  130. These are different types of boxes can be dropped.
  131. You can specify the cargo a box should contain.
  132. The type of box is chosen randomly from the following list.
  133. Add a type multiple times to increase the chance of being used.
  134. */
  135. types[] = {"Materials1", "Materials2", "Materials3", "SpecialBuildingSupplies", "FortifiedUpgradeSupplies", "FortifiedSupplies"};
  136.  
  137. class BoxTypes2
  138. {
  139. class Materials1
  140. {
  141. items[] =
  142. {
  143. {"Exile_Item_Cement", 2},
  144. {"Exile_Item_Sand", 3},
  145. {"Exile_Item_MetalPole", 2},
  146. {"Exile_Item_WaterCanisterDirtyWater", 5},
  147. {"Exile_Item_FuelCanisterFull", 3}
  148. };
  149. };
  150.  
  151. class Materials2
  152. {
  153. items[] =
  154. {
  155. {"Exile_Item_Cement", 3},
  156. {"Exile_Item_Sand", 2},
  157. {"Exile_Item_MetalPole", 1},
  158. {"Exile_Item_WaterCanisterDirtyWater", 8},
  159. {"Exile_Item_FuelCanisterFull", 2}
  160. };
  161. };
  162.  
  163. class Materials3
  164. {
  165. items[] =
  166. {
  167. {"Exile_Item_Cement", 1},
  168. {"Exile_Item_Sand", 1},
  169. {"Exile_Item_MetalPole", 2},
  170. {"Exile_Item_WaterCanisterDirtyWater", 4},
  171. {"Exile_Item_FuelCanisterFull", 5}
  172. };
  173. };
  174.  
  175. class WoodBox
  176. {
  177. items[] =
  178. {
  179. {"Exile_Item_WoodFloorKit", 1},
  180. {"Exile_Item_WoodWallKit", 2},
  181. {"Exile_Item_WooDDoorKit", 2}
  182. };
  183. };
  184.  
  185. class WoodBox2
  186. {
  187. items[] =
  188. {
  189. {"Exile_Item_WoodFloorKit", 14},
  190. {"Exile_Item_WoodWallKit", 9},
  191. {"Exile_IteM_WoodGateKit", 2}
  192. };
  193. };
  194.  
  195. class ConcreteBuildingSupplies
  196. {
  197. items[] =
  198. {
  199. {"Exile_Item_ConcreteWallKit", 3},
  200. {"Exile_Item_ConcreteDoorKit", 1},
  201. {"Exile_Item_ConcreteFloorKit", 3}
  202. };
  203. };
  204.  
  205. class SpecialBuildingSupplies
  206. {
  207. items[] =
  208. {
  209. {"Exile_Item_CodeLock", 1},
  210. {"Exile_Item_MetalBoard", 4},
  211. {"Exile_Item_CamoTentKit", 3}
  212.  
  213. };
  214. };
  215.  
  216. class FortifiedUpgradeSupplies
  217. {
  218. items[] =
  219. {
  220. {"Exile_Item_MetalPole", 2},
  221. {"Exile_Item_MetalBoard", 3}
  222. };
  223. };
  224.  
  225. class FortifiedSupplies
  226. {
  227. items[] =
  228. {
  229. {"Exile_Item_FortificationUpgrade", 1},
  230. {"Exile_Item_Grinder", 1}
  231. };
  232. };
  233.  
  234. };
  235. };
  236.  
  237. class Weed
  238. {
  239. /*
  240. Drops a supply box on a parachute next to a random airport on the map.
  241. The box may contain items. The box can be transported to a territory
  242. and installed to become a normal storage container.
  243. */
  244. type = "spawn";
  245. function = "ExileServer_system_event_weed_start";
  246. minTime = 30; // minutes
  247. maxTime = 160; // minutes
  248. minimumPlayersOnline = 2;
  249. dropRadius = 150; // 500m around an airport (including the main airport on Altis!)
  250. markerTime = 12; // minutes
  251. };
  252.  
  253. class Drugs
  254. {
  255. type = "spawn";
  256. function = "ExileServer_system_event_drugs_start";
  257. minTime = 30; // minutes
  258. maxTime = 160; // minutes
  259. minimumPlayersOnline = 15;
  260. markerTime = 10; // minutes
  261. };
  262.  
  263. class Farming
  264. {
  265. type = "spawn";
  266. function = "ExileServer_system_event_farming_start";
  267. minTime = 30; // minutes
  268. maxTime = 160; // minutes
  269. minimumPlayersOnline = 15;
  270. markerTime = 10; // minutes
  271. };
  272. };
  273.  
  274.  
  275. class MoneyDrop
  276. {
  277. /*
  278. Drops a supply box on a parachute next to a random airport on the map.
  279. The box may contain items. The box can be transported to a territory
  280. and installed to become a normal storage container.
  281. */
  282. type = "spawn";
  283. function = "ExileServer_system_event_MoneyDrop_start";
  284. minTime = 30; // minutes
  285. maxTime = 160; // minutes
  286. minimumPlayersOnline = 5;
  287. dropRadius = 500; // 500m around an airport (including the main airport on Altis!)
  288. dropAltitude = 0; // altitude of the drop
  289. markerTime = 10; // minutes
  290.  
  291. /*
  292. These are different types of boxes can be dropped.
  293. You can specify the cargo a box should contain.
  294. The type of box is chosen randomly from the following list.
  295. Add a type multiple times to increase the chance of being used.
  296. */
  297. types[] = {"MoneyDrop1","MoneyDrop2","MoneyDrop3","MoneyDrop4","MoneyDrop5","MoneyDrop6","MoneyDrop7"};
  298.  
  299. class BoxTypes4
  300. {
  301. class MoneyDrop1
  302. {
  303. items[] =
  304. {
  305. {"DZS_money", 4}
  306. };
  307. };
  308.  
  309. class MoneyDrop2
  310. {
  311. items[] =
  312. {
  313. {"DZS_money", 5}
  314. };
  315. };
  316.  
  317. class MoneyDrop3
  318. {
  319. items[] =
  320. {
  321. {"DZS_money", 4}
  322. };
  323. };
  324.  
  325. class MoneyDrop4
  326. {
  327. items[] =
  328. {
  329. {"DZS_money", 3}
  330. };
  331. };
  332.  
  333. class MoneyDrop5
  334. {
  335. items[] =
  336. {
  337. {"DZS_money", 6}
  338. };
  339. };
  340.  
  341. class MoneyDrop6
  342. {
  343. items[] =
  344. {
  345. {"Exile_Item_RubberDuck", 1}
  346. };
  347. };
  348.  
  349. class MoneyDrop7
  350. {
  351. items[] =
  352. {
  353. {"Exile_Item_RubberDuck", 2}
  354. };
  355. };
  356.  
  357. };
  358. };
  359.  
  360.  
  361.  
  362. };
  363.  
  364. class Logging
  365. {
  366. /*
  367. If logging is enabled separate logs will be made in the sql logs folder for each type
  368. */
  369. traderLogging = 1;
  370. deathLogging = 1;
  371. territoryLogging = 1;
  372. };
  373. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement