Advertisement
Guest User

Pixel Labs Raids Config

a guest
Jan 12th, 2024
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.98 KB | None | 0 0
  1. --[[
  2. Welcome to the pxRaids configuration!
  3. Here you can edit the configuration of the script.
  4. remember that you can also modify Client/Server/ => opensource.lua
  5. , commands.lua and strings.lua to your liking.
  6. If you need help, contact us on Discord:
  7. https://discord.gg/GERp78KdKZ
  8. ]]
  9.  
  10. Config = {}
  11.  
  12. -- Debug flag to enable/disable debug mode.
  13. Config.Debug = false
  14.  
  15. -- Configuration options for the interactable ped.
  16. Config.InteractPed = {
  17. enabled = true, -- Whether the ped is enabled or not.
  18. model = 's_m_m_marine_02', -- Model of the ped.
  19. coords = vector3(306.87142944336,-1609.8831787109,30.53212928772), -- Coordinates of the ped.
  20. heading = 50.0, -- Heading of the ped.
  21.  
  22. key = 38, -- Key code to interact with the ped.
  23. distance = 1.5, -- Maximum distance to interact with the ped.
  24. text = 'Press [E] to open the raid menu', -- Text to display when near the ped.
  25. TextUI = {
  26. enabled = true, -- Whether to use OxTextUI for the text display or not.
  27. },
  28. Text3d = {
  29. enabled = false, -- Whether to use 3D text for the text display or not.
  30. distance = 1.5, -- Maximum distance to display the 3D text.
  31. },
  32. Blip = {
  33. show = true, -- Whether to show a blip on the map or not.
  34. sprite= 126, -- Sprite ID of the blip.
  35. color = 1, -- Color of the blip.
  36. scale = 0.9, -- Scale of the blip.
  37. text = "Raids" -- Text to display on the blip.
  38. }
  39. }
  40.  
  41. -- Configuration options for the loot interaction.
  42. Config.LootGlobals = {
  43. key = 38, -- Key code to interact with the loot.
  44. distance = 1.5, -- Maximum distance to interact with the loot.
  45. text = 'Press [E] to search', -- Text to display when near the loot.
  46. progresstext = 'Searching...', -- Text to display while searching.
  47. time = 1000, -- Time in milliseconds for the search action.
  48. Blip = {
  49. show = true, -- Whether to show a blip on the map or not.
  50. sprite= 765, -- Sprite ID of the blip.
  51. color = 2, -- Color of the blip.
  52. scale = 0.6, -- Scale of the blip.
  53. text = "Loot" -- Text to display on the blip.
  54. }
  55. }
  56.  
  57. -- Configuration options for the extraction interaction.
  58. Config.ExtractionGlobals = {
  59. key = 38, -- Key code to interact with the extraction point.
  60. distance = 5.5, -- Maximum distance to interact with the extraction point.
  61. extractedcoords = vector3(306.87142944336,-1609.8831787109,30.53212928772), -- Coordinates where the extraction takes you
  62. progresstext = 'Extracting...', -- Text to display while extracting.
  63. time = 10000, -- Time in milliseconds for the extraction action.
  64. spawnrandom = false, -- Whether to randomly generate an extraction vehicle or not.
  65. displaymarker = {
  66. enabled = true, -- Whether to display a marker or not.
  67. type = 1, -- Type of the marker.
  68. color = {r = 255, g = 255, b = 255, a = 100}, -- Color of the marker.
  69. scale = {x = 6.0, y = 6.0, z = 0.2}, -- Scale of the marker.
  70. },
  71. displaytext = {
  72. enabled = true, -- Whether to display a text or not.
  73. text = 'Press [E] to extract', -- Text to display.
  74. size = 0.6, -- Size of the text.
  75. type = "3D", -- "3D" or "TextUI".
  76. },
  77. Blip = {
  78. show = true, -- Whether to show a blip on the map or not.
  79. sprite= 255, -- Sprite ID of the blip.
  80. color = 6, -- Color of the blip.
  81. scale = 1.1, -- Scale of the blip.
  82. text = 'Press [E] to extract' -- Text to display on the blip.
  83. },
  84. Reward = {
  85. enabled = true, -- Whether to give a reward or not.
  86. Items = {
  87. { name = "bread", label = "Bread",amount = 1},
  88. { name = "water", label = "Water", amount = 1},
  89. },
  90. }
  91. }
  92.  
  93. Config.Zones = {
  94. [1] = {
  95. Name = 'Paleto',
  96. DefaultEnabled = true,
  97. DimensionforPlay = 606,
  98. TimeForStart = 20, -- Time in seconds for the raid to start. [Max value 300 = 5 minutes]
  99. RaidTime = 200, -- Time in seconds for the raid to end. [Max value 3600 = 1 hour]
  100. Image = 'https://cdn.discordapp.com/attachments/1043650938403037235/1186809004022833172/image.png',
  101. ['zone'] = { -- Remember this to create the zones more easyest https://skyrossm.github.io/PolyZoneCreator/
  102. ['type'] = 'poly', -- only avaiable types: poly
  103. ['thickness'] = 100.0,
  104. ['debug'] = false,
  105. ['coords'] = {
  106. vector3(25.38, 6983.71, 31.0),
  107. vector3(-7.58, 6969.70, 31.0),
  108. vector3(-15.91, 6941.67, 31.0),<
  109. vector3(-12.12, 6907.58, 31.0),
  110. vector3(-43.18, 6866.67, 31.0),
  111. vector3(-58.33, 6826.52, 31.0),
  112. vector3(-61.36, 6768.94, 31.0),
  113. vector3(-85.61, 6709.09, 31.0),
  114. vector3(-146.97, 6616.67, 31.0),
  115. vector3(-233.33, 6530.30, 31.0),
  116. vector3(-260.61, 6495.45, 31.0),
  117. vector3(-321.97, 6439.39, 31.0),
  118. vector3(-398.48, 6398.48, 31.0),
  119. vector3(-491.67, 6358.33, 31.0),
  120. vector3(-550.76, 6328.79, 31.0),
  121. vector3(-582.58, 6284.09, 31.0),
  122. vector3(-615.15, 6269.70, 31.0),
  123. vector3(-637.12, 6230.30, 31.0),
  124. vector3(-631.06, 6171.97, 31.0),
  125. vector3(-646.97, 6119.70, 31.0),
  126. vector3(-675.76, 6088.64, 31.0),
  127. vector3(-665.91, 6038.64, 31.0),
  128. vector3(-371.21, 5816.67, 31.0),
  129. vector3(-186.36, 5874.24, 31.0),
  130. vector3(68.18, 5992.42, 31.0),
  131. vector3(243.94, 6137.88, 31.0),
  132. vector3(437.88, 6292.42, 31.0),
  133. vector3(628.79, 6322.73, 31.0),
  134. vector3(853.03, 6322.73, 31.0),
  135. vector3(934.85, 6295.45, 31.0),
  136. vector3(1034.85, 6343.94, 31.0),
  137. vector3(1226.52, 6471.97, 31.0),
  138. vector3(1028.79, 6532.58, 31.0),
  139. vector3(964.39, 6499.24, 31.0),
  140. vector3(910.61, 6538.64, 31.0),
  141. vector3(851.52, 6551.52, 31.0),
  142. vector3(659.09, 6565.15, 31.0),
  143. vector3(615.15, 6555.30, 31.0),
  144. vector3(572.73, 6568.18, 31.0),
  145. vector3(543.94, 6580.30, 31.0),
  146. vector3(514.77, 6583.71, 31.0),
  147. vector3(500.76, 6596.97, 31.0),
  148. vector3(515.15, 6596.97, 31.0),
  149. vector3(511.74, 6600.38, 31.0),
  150. vector3(506.82, 6604.92, 31.0),
  151. vector3(498.86, 6609.47, 31.0),
  152. vector3(496.97, 6625.00, 31.0),
  153. vector3(465.53, 6659.09, 31.0),
  154. vector3(451.89, 6661.74, 31.0),
  155. vector3(431.82, 6677.27, 31.0),
  156. vector3(397.35, 6712.12, 31.0),
  157. vector3(393.18, 6742.80, 31.0),
  158. vector3(367.80, 6746.97, 31.0),
  159. vector3(356.44, 6746.21, 31.0),
  160. vector3(347.35, 6766.29, 31.0),
  161. vector3(320.83, 6782.20, 31.0),
  162. vector3(308.71, 6797.35, 31.0),
  163. vector3(319.70, 6822.35, 31.0),
  164. vector3(278.03, 6878.03, 31.0),
  165. vector3(277.27, 6953.03, 31.0),
  166. vector3(228.41, 6962.88, 31.0),
  167. vector3(191.67, 7004.55, 31.0),
  168. vector3(103.41, 7046.21, 31.0),
  169. vector3(63.26, 7048.48, 31.0),
  170. vector3(34.47, 7031.44, 31.0)
  171. },
  172. ['action'] = {
  173. onEnter = function()
  174. EnterZone()
  175. end,
  176. onExit = function()
  177. ExitZone()
  178. end,
  179. inside = function()
  180. InsideZone()
  181. end,
  182. },
  183. },
  184. teamA = {
  185. TeamName = 'teamA',
  186. Spawns = {
  187. vector3(-458.71713256836,6053.7802734375,30.539218902588),
  188. vector3(-439.43759155273,5976.458984375,30.490163803101),
  189. vector3(-480.72717285156,6214.251953125,12.694846153259),
  190. vector3(-380.48910522461,6086.8725585938,30.599117279053),
  191. vector3(-300.79248046875,6023.578125,30.86337852478),
  192. vector3(-168.47695922852,5987.8515625,85.280715942383),
  193. vector3(-230.42143249512,6115.5434570313,30.445247650146),
  194. vector3(-283.38369750977,6166.98828125,36.314178466797),
  195. vector3(-369.94998168945,6190.4487304688,30.534093856812),
  196. vector3(-467.45989990234,6206.5717773438,28.552825927734),
  197. },
  198. ExtractionZones = {
  199. vector3(739.31359863281,6415.4174804688,29.931631088257),
  200. vector3(238.2140045166,6932.3876953125,11.254295349121),
  201. vector3(1090.5411376953,6491.4545898438,21.052461624146)
  202. },
  203. Vehicles = {
  204. { model = 'cargobob3', label = 'cargobob3' },
  205. { model = 'barrage', label = 'barrage' },
  206. { model = 'vetir', label = 'vetir' }
  207. },
  208. },
  209. teamB = {
  210. TeamName = 'teamB',
  211. Spawns = {
  212. vector3(545.24102783203,6438.07421875,31.032192230225),
  213. vector3(543.88647460938,6584.3364257813,23.58512878418),
  214. vector3(402.63522338867,6640.765625,27.390138626099),
  215. vector3(439.75924682617,6525.5390625,27.152551651001),
  216. vector3(394.92669677734,6448.029296875,28.885608673096),
  217. vector3(335.91598510742,6474.5307617188,28.884422302246),
  218. vector3(297.01480102539,6631.0908203125,28.239093780518),
  219. vector3(233.89543151855,6797.2563476563,17.851636886597),
  220. vector3(141.91581726074,6703.638671875,40.079963684082),
  221. vector3(181.15826416016,6544.8676757813,31.053401947021),
  222. },
  223. ExtractionZones = {
  224. vector3(-475.27081298828,5988.0869140625,31.336683273315),
  225. vector3(-452.59912109375,6190.146484375,29.552824020386),
  226. vector3(-280.30703735352,5999.20703125,36.688930511475),
  227. },
  228. Vehicles = {
  229. { model = 'barracks3', label = 'barracks3' },
  230. { model = 'squaddie', label = 'squaddie' },
  231. { model = 'contender', label = 'contender' }
  232. }
  233. },
  234. Loot = {
  235. {
  236. Position = vector3(35.814, 6475.105, 36.328),
  237. Prop = "ch_prop_ch_case_sm_01x",
  238. Heading = 46.307,
  239. Reward = {Items = {'bread','water'}, amount = 1}
  240. },
  241. {
  242. Position = vector3(-10.364, 6498.708, 36.661),
  243. Prop = "ch_prop_ch_case_sm_01x",
  244. Heading = 227.947,
  245. Reward = {Items = {'bread','water'}, amount = 1}
  246. },
  247. {
  248. Position = vector3(-54.016, 6513.051, 43.357),
  249. Prop = "ch_prop_ch_case_sm_01x",
  250. Heading = 323.589,
  251. Reward = {Items = {'bread','water'}, amount = 1}
  252. },
  253. {
  254. Position = vector3(26.911, 6603.223, 32.470),
  255. Prop = "ch_prop_ch_case_sm_01x",
  256. Heading = 50.231,
  257. Reward = {Items = {'bread','water'}, amount = 1}
  258. },
  259. {
  260. Position = vector3(-20.394, 6581.407, 31.499),
  261. Prop = "ch_prop_ch_case_sm_01x",
  262. Heading = 225.252,
  263. Reward = {Items = {'bread','water'}, amount = 1}
  264. },
  265. {
  266. Position = vector3(44.229, 6578.575, 33.004),
  267. Prop = "ch_prop_ch_case_sm_01x",
  268. Heading = 327.968,
  269. Reward = {Items = {'bread','water'}, amount = 1}
  270. },
  271. {
  272. Position = vector3(93.211, 6357.687, 31.375),
  273. Prop = "ch_prop_ch_case_sm_01x",
  274. Heading = 27.671,
  275. Reward = {Items = {'bread','water'}, amount = 1}
  276. },
  277. {
  278. Position = vector3(52.229, 6331.539, 38.856),
  279. Prop = "ch_prop_ch_case_sm_01x",
  280. Heading = 121.508,
  281. Reward = {Items = {'bread','water'}, amount = 1}
  282. },
  283. {
  284. Position = vector3(-117.006, 6236.615, 43.245),
  285. Prop = "ch_prop_ch_case_sm_01x",
  286. Heading = 30.178,
  287. Reward = {Items = {'bread','water'}, amount = 1}
  288. },
  289. {
  290. Position = vector3(-186.270, 6155.367, 42.637),
  291. Prop = "ch_prop_ch_case_sm_01x",
  292. Heading = 218.89,
  293. Reward = {Items = {'bread','water'}, amount = 1}
  294. },
  295. {
  296. Position = vector3(-79.765, 6130.229, 30.564),
  297. Prop = "ch_prop_ch_case_sm_01x",
  298. Heading = 228.159,
  299. Reward = {Items = {'bread','water'}, amount = 1}
  300. },
  301. {
  302. Position = vector3(-161.568, 6255.543, 33.081),
  303. Prop = "ch_prop_ch_case_sm_01x",
  304. Heading = 320.497,
  305. Reward = {Items = {'bread','water'}, amount = 1}
  306. },
  307. {
  308. Position = vector3(41.435, 6248.061, 32.504),
  309. Prop = "ch_prop_ch_case_sm_01x",
  310. Heading = 290.885,
  311. Reward = {Items = {'bread','water'}, amount = 1}
  312. },
  313. {
  314. Position = vector3(-202.776, 6285.562, 34.323),
  315. Prop = "ch_prop_ch_case_sm_01x",
  316. Heading = 320.219,
  317. Reward = {Items = {'bread','water'}, amount = 1}
  318. },
  319. {
  320. Position = vector3(-239.761, 6360.474, 34.572),
  321. Prop = "ch_prop_ch_case_sm_01x",
  322. Heading = 227.956,
  323. Reward = {Items = {'bread','water'}, amount = 1}
  324. },
  325. {
  326. Position = vector3(-262.011, 6294.861, 35.172),
  327. Prop = "ch_prop_ch_case_sm_01x",
  328. Heading = 45.561,
  329. Reward = {Items = {'bread','water'}, amount = 1}
  330. },
  331. {
  332. Position = vector3(-318.662, 6292.216, 38.966),
  333. Prop = "ch_prop_ch_case_sm_01x",
  334. Heading = 136.029,
  335. Reward = {Items = {'bread','water'}, amount = 1}
  336. },
  337. {
  338. Position = vector3(-277.297, 6226.858, 38.143),
  339. Prop = "ch_prop_ch_case_sm_01x",
  340. Heading = 229.779,
  341. Reward = {Items = {'bread','water'}, amount = 1}
  342. },
  343. {
  344. Position = vector3(-275.906, 6225.359, 31.695),
  345. Prop = "ch_prop_ch_case_sm_01x",
  346. Heading = 44.416,
  347. Reward = {Items = {'bread','water'}, amount = 1}
  348. },
  349. {
  350. Position = vector3(-285.010, 6193.661, 35.554),
  351. Prop = "ch_prop_ch_case_sm_01x",
  352. Heading = 137.332,
  353. Reward = {Items = {'bread','water'}, amount = 1}
  354. },
  355. {
  356. Position = vector3(-317.226, 6195.908, 37.134),
  357. Prop = "ch_prop_ch_case_sm_01x",
  358. Heading = 225.376,
  359. Reward = {Items = {'bread','water'}, amount = 1}
  360. },
  361. {
  362. Position = vector3(-317.226, 6195.908, 37.134),
  363. Prop = "ch_prop_ch_case_sm_01x",
  364. Heading = 225.376,
  365. Reward = {Items = {'bread','water'}, amount = 1}
  366. },
  367. {
  368. Position = vector3(-362.455, 6105.704, 46.374),
  369. Prop = "ch_prop_ch_case_sm_01x",
  370. Heading = 44.859,
  371. Reward = {Items = {'bread','water'}, amount = 1}
  372. },
  373. {
  374. Position = vector3(-310.438, 6166.979, 32.274),
  375. Prop = "ch_prop_ch_case_sm_01x",
  376. Heading = 51.059,
  377. Reward = {Items = {'bread','water'}, amount = 1}
  378. },
  379. {
  380. Position = vector3(-331.850, 6082.566, 31.454),
  381. Prop = "ch_prop_ch_case_sm_01x",
  382. Heading = 226.39,
  383. Reward = {Items = {'bread','water'}, amount = 1}
  384. },
  385. {
  386. Position = vector3(-166.705, 6392.119, 35.647),
  387. Prop = "ch_prop_ch_case_sm_01x",
  388. Heading = 44.317,
  389. Reward = {Items = {'bread','water'}, amount = 1}
  390. },
  391. },
  392. },
  393. [2] = {
  394. Name = 'Military',
  395. DefaultEnabled = false,
  396. DimensionforPlay = 606,
  397. TimeForStart = 300, -- Time in seconds for the raid to start. [Max value 300 = 5 minutes]
  398. RaidTime = 320, -- Time in seconds for the raid to end. [Max value 3600 = 1 hour]
  399. Image = 'https://cdn.discordapp.com/attachments/1043650938403037235/1195041869432901712/image.png',
  400. ['zone'] = {
  401. ['type'] = 'poly', -- only avaiable types: poly
  402. ['thickness'] = 100.0,
  403. ['debug'] = false,
  404. ['coords'] = {
  405. vector3(-2877.27, 3289.39, 32.83),
  406. vector3(-2090.91, 2759.09, 32.83),
  407. vector3(-1833.33, 2759.09, 32.83),
  408. vector3(-1706.06, 2795.45, 32.83),
  409. vector3(-1657.58, 2853.03, 32.83),
  410. vector3(-1651.52, 2963.64, 32.83),
  411. vector3(-1662.12, 3112.12, 32.83),
  412. vector3(-1654.55, 3206.06, 32.83),
  413. vector3(-1856.06, 3322.73, 32.83),
  414. vector3(-1948.48, 3362.12, 32.83),
  415. vector3(-2098.48, 3350.00, 32.83),
  416. vector3(-2207.58, 3368.18, 32.83),
  417. vector3(-2310.61, 3398.48, 32.83),
  418. vector3(-2383.33, 3422.73, 32.83),
  419. vector3(-2563.64, 3336.36, 32.83),
  420. vector3(-2815.15, 3403.03, 32.83)
  421. },
  422. ['action'] = {
  423. onEnter = function()
  424. EnterZone()
  425. end,
  426. onExit = function()
  427. ExitZone()
  428. end,
  429. inside = function()
  430. InsideZone()
  431. end,
  432. },
  433. },
  434. teamA = {
  435. TeamName = 'teamA',
  436. Spawns = {
  437. vector3(-2742.6083984375,3327.4545898438,32.802989959717),
  438. vector3(-2599.6887207031,3322.9680175781,32.804901123047),
  439. vector3(-2638.2514648438,3166.1047363281,32.954040527344),
  440. vector3(-2434.6899414063,2964.525390625,32.951568603516),
  441. vector3(-2441.7331542969,3267.5541992188,32.970840454102),
  442. },
  443. ExtractionZones = {
  444. vector3(-1904.5573730469,2914.4973144531,32.81116104126),
  445. vector3(-1789.2590332031,2961.7001953125,32.809692382813),
  446. vector3(-1864.3760986328,3079.625,32.799419403076)
  447. },
  448. Vehicles = {
  449. { model = 'cargobob3', label = 'cargobob3' },
  450. { model = 'barrage', label = 'barrage' },
  451. { model = 'vetir', label = 'vetir' }
  452. },
  453. },
  454. teamB = {
  455. TeamName = 'teamB',
  456. Spawns = {
  457. vector3(-1849.9167480469,3072.0439453125,32.803329467773),
  458. vector3(-1997.2481689453,3309.6020507813,32.967651367188),
  459. vector3(-2159.6872558594,3317.0073242188,32.817802429199),
  460. vector3(-2239.6103515625,3311.0766601563,32.813842773438),
  461. vector3(-1816.7379150391,3217.4208984375,32.929958343506),
  462. },
  463. ExtractionZones = {
  464. vector3(-2115.3798828125,2834.501953125,32.824798583984),
  465. vector3(-2436.978515625,2993.7517089844,32.791690826416),
  466. vector3(-2793.3518066406,3312.8303222656,32.80001449585),
  467. },
  468. Vehicles = {
  469. { model = 'barracks3', label = 'barracks3' },
  470. { model = 'squaddie', label = 'squaddie' },
  471. { model = 'contender', label = 'contender' }
  472. }
  473. },
  474. Loot = {
  475. {
  476. Position = vector3(-2284.2065429688,3014.7565917969,32.801082611084),
  477. Prop = "ch_prop_ch_case_sm_01x",
  478. Heading = 46.307,
  479. Reward = {Items = {'bread','water'}, amount = 1}
  480. },
  481. },
  482. },
  483. [3] = {
  484. Name = 'Airport',
  485. DefaultEnabled = false,
  486. DimensionforPlay = 606,
  487. TimeForStart = 300, -- Time in seconds for the raid to start. [Max value 300 = 5 minutes]
  488. RaidTime = 320, -- Time in seconds for the raid to end. [Max value 3600 = 1 hour]
  489. Image = 'https://cdn.discordapp.com/attachments/1043650938403037235/1195043740738408519/image.png',
  490. ['zone'] = {
  491. ['type'] = 'poly', -- only avaiable types: poly
  492. ['thickness'] = 100.0,
  493. ['debug'] = false,
  494. ['coords'] = {
  495. vector3(-1386.36, -2168.18, 13),
  496. vector3(-974.24, -2383.33, 13),
  497. vector3(-1104.55, -2640.91, 13),
  498. vector3(-1174.24, -2777.27, 13),
  499. vector3(-1050.00, -2880.30, 13),
  500. vector3(-880.30, -2959.09, 13),
  501. vector3(-959.09, -3143.94, 13),
  502. vector3(-731.82, -3237.88, 13),
  503. vector3(-937.88, -3562.12, 13),
  504. vector3(-998.48, -3537.88, 13),
  505. vector3(-1034.85, -3562.12, 13),
  506. vector3(-1098.48, -3513.64, 13),
  507. vector3(-1777.27, -3165.15, 13),
  508. vector3(-1813.64, -3222.73, 13),
  509. vector3(-1950.00, -3156.06, 13),
  510. vector3(-1916.67, -3086.36, 13),
  511. vector3(-1983.33, -3043.94, 13),
  512. vector3(-1789.39, -2719.70, 13),
  513. vector3(-1686.36, -2689.39, 13),
  514. vector3(-1528.79, -2407.58, 13)
  515. },
  516. ['action'] = {
  517. onEnter = function()
  518. EnterZone()
  519. end,
  520. onExit = function()
  521. ExitZone()
  522. end,
  523. inside = function()
  524. InsideZone()
  525. end,
  526. },
  527. },
  528. teamA = {
  529. TeamName = 'teamA',
  530. Spawns = {
  531. vector3(-936.35900878906,-2969.974609375,13.94510269165),
  532. vector3(-992.35028076172,-2894.4880371094,13.946399688721),
  533. vector3(-1090.8215332031,-2861.7954101563,13.955777168274),
  534. vector3(-826.31549072266,-3195.0346679688,14.127558708191),
  535. vector3(-947.04248046875,-3537.9846191406,14.066370010376),
  536. },
  537. ExtractionZones = {
  538. vector3(-1646.9846191406,-3143.9018554688,13.974136352539),
  539. vector3(-1549.3953857422,-3177.2292480469,13.92343711853),
  540. vector3(-1807.5703125,-2815.4343261719,13.896933555603)
  541. },
  542. Vehicles = {
  543. { model = 'cargobob3', label = 'cargobob3' },
  544. { model = 'barrage', label = 'barrage' },
  545. { model = 'vetir', label = 'vetir' }
  546. },
  547. },
  548. teamB = {
  549. TeamName = 'teamB',
  550. Spawns = {
  551. vector3(-1646.9846191406,-3143.9018554688,13.974136352539),
  552. vector3(-1549.3953857422,-3177.2292480469,13.92343711853),
  553. vector3(-1807.5703125,-2815.4343261719,13.896933555603),
  554. vector3(-1368.8529052734,-2589.9997558594,13.932455062866),
  555. vector3(-1306.0443115234,-2697.0053710938,13.925429344177),
  556. },
  557. ExtractionZones = {
  558. vector3(-936.35900878906,-2969.974609375,13.94510269165),
  559. vector3(-992.35028076172,-2894.4880371094,13.946399688721),
  560. vector3(-1090.8215332031,-2861.7954101563,13.955777168274),
  561. },
  562. Vehicles = {
  563. { model = 'barracks3', label = 'barracks3' },
  564. { model = 'squaddie', label = 'squaddie' },
  565. { model = 'contender', label = 'contender' }
  566. }
  567. },
  568. Loot = {
  569. {
  570. Position = vector3(-1220.7220458984,-3061.6088867188,14.27244758606),
  571. Prop = "ch_prop_ch_case_sm_01x",
  572. Heading = 46.307,
  573. Reward = {Items = {'bread','water'}, amount = 1}
  574. },
  575. },
  576. },
  577. [3] = {
  578. Name = 'Airport',
  579. DefaultEnabled = false,
  580. DimensionforPlay = 606,
  581. TimeForStart = 300, -- Time in seconds for the raid to start. [Max value 300 = 5 minutes]
  582. RaidTime = 320, -- Time in seconds for the raid to end. [Max value 3600 = 1 hour]
  583. Image = 'https://cdn.discordapp.com/attachments/1043650938403037235/1195043740738408519/image.png',
  584. ['zone'] = {
  585. ['type'] = 'poly', -- only avaiable types: poly
  586. ['thickness'] = 100.0,
  587. ['debug'] = false,
  588. ['coords'] = {
  589. vector3(-1386.36, -2168.18, 13),
  590. vector3(-974.24, -2383.33, 13),
  591. vector3(-1104.55, -2640.91, 13),
  592. vector3(-1174.24, -2777.27, 13),
  593. vector3(-1050.00, -2880.30, 13),
  594. vector3(-880.30, -2959.09, 13),
  595. vector3(-959.09, -3143.94, 13),
  596. vector3(-731.82, -3237.88, 13),
  597. vector3(-937.88, -3562.12, 13),
  598. vector3(-998.48, -3537.88, 13),
  599. vector3(-1034.85, -3562.12, 13),
  600. vector3(-1098.48, -3513.64, 13),
  601. vector3(-1777.27, -3165.15, 13),
  602. vector3(-1813.64, -3222.73, 13),
  603. vector3(-1950.00, -3156.06, 13),
  604. vector3(-1916.67, -3086.36, 13),
  605. vector3(-1983.33, -3043.94, 13),
  606. vector3(-1789.39, -2719.70, 13),
  607. vector3(-1686.36, -2689.39, 13),
  608. vector3(-1528.79, -2407.58, 13)
  609. },
  610. ['action'] = {
  611. onEnter = function()
  612. EnterZone()
  613. end,
  614. onExit = function()
  615. ExitZone()
  616. end,
  617. inside = function()
  618. InsideZone()
  619. end,
  620. },
  621. },
  622. teamA = {
  623. TeamName = 'teamA',
  624. Spawns = {
  625. vector3(-936.35900878906,-2969.974609375,13.94510269165),
  626. vector3(-992.35028076172,-2894.4880371094,13.946399688721),
  627. vector3(-1090.8215332031,-2861.7954101563,13.955777168274),
  628. vector3(-826.31549072266,-3195.0346679688,14.127558708191),
  629. vector3(-947.04248046875,-3537.9846191406,14.066370010376),
  630. },
  631. ExtractionZones = {
  632. vector3(-1646.9846191406,-3143.9018554688,13.974136352539),
  633. vector3(-1549.3953857422,-3177.2292480469,13.92343711853),
  634. vector3(-1807.5703125,-2815.4343261719,13.896933555603)
  635. },
  636. Vehicles = {
  637. { model = 'cargobob3', label = 'cargobob3' },
  638. { model = 'barrage', label = 'barrage' },
  639. { model = 'vetir', label = 'vetir' }
  640. },
  641. },
  642. teamB = {
  643. TeamName = 'teamB',
  644. Spawns = {
  645. vector3(-1646.9846191406,-3143.9018554688,13.974136352539),
  646. vector3(-1549.3953857422,-3177.2292480469,13.92343711853),
  647. vector3(-1807.5703125,-2815.4343261719,13.896933555603),
  648. vector3(-1368.8529052734,-2589.9997558594,13.932455062866),
  649. vector3(-1306.0443115234,-2697.0053710938,13.925429344177),
  650. },
  651. ExtractionZones = {
  652. vector3(-936.35900878906,-2969.974609375,13.94510269165),
  653. vector3(-992.35028076172,-2894.4880371094,13.946399688721),
  654. vector3(-1090.8215332031,-2861.7954101563,13.955777168274),
  655. },
  656. Vehicles = {
  657. { model = 'barracks3', label = 'barracks3' },
  658. { model = 'squaddie', label = 'squaddie' },
  659. { model = 'contender', label = 'contender' }
  660. }
  661. },
  662. Loot = {
  663. {
  664. Position = vector3(-1220.7220458984,-3061.6088867188,14.27244758606),
  665. Prop = "ch_prop_ch_case_sm_01x",
  666. Heading = 46.307,
  667. Reward = {Items = {'bread','water'}, amount = 1}
  668. },
  669. },
  670. },
  671. [4] = {
  672. Name = 'Central',
  673. DefaultEnabled = false,
  674. DimensionforPlay = 606,
  675. TimeForStart = 300, -- Time in seconds for the raid to start. [Max value 300 = 5 minutes]
  676. RaidTime = 320, -- Time in seconds for the raid to end. [Max value 3600 = 1 hour]
  677. Image = 'https://cdn.discordapp.com/attachments/1043650938403037235/1195045336088055818/image.png',
  678. ['zone'] = {
  679. ['type'] = 'poly', -- only avaiable types: poly
  680. ['thickness'] = 150.0,
  681. ['debug'] = false,
  682. ['coords'] = {
  683. vector3(2648.48, 1716.67, 17),
  684. vector3(2837.88, 1721.21, 17),
  685. vector3(2847.73, 1606.82, 17),
  686. vector3(2889.39, 1568.94, 17),
  687. vector3(2894.70, 1514.39, 17),
  688. vector3(2907.58, 1482.58, 17),
  689. vector3(2900.76, 1463.64, 17),
  690. vector3(2866.67, 1466.67, 17),
  691. vector3(2852.27, 1409.85, 17),
  692. vector3(2809.09, 1409.09, 17),
  693. vector3(2778.03, 1393.94, 17),
  694. vector3(2765.15, 1371.97, 17),
  695. vector3(2768.18, 1318.94, 17),
  696. vector3(2661.36, 1314.39, 17),
  697. vector3(2641.67, 1329.55, 17),
  698. vector3(2637.88, 1508.33, 17),
  699. vector3(2638.64, 1700.00, 17)
  700. },
  701. ['action'] = {
  702. onEnter = function()
  703. EnterZone()
  704. end,
  705. onExit = function()
  706. ExitZone()
  707. end,
  708. inside = function()
  709. InsideZone()
  710. end,
  711. },
  712. },
  713. teamA = {
  714. TeamName = 'teamA',
  715. Spawns = {
  716. vector3(2833.1459960938,1704.8605957031,24.690269470215),
  717. vector3(2691.2102050781,1676.251953125,24.64598274231),
  718. vector3(2656.9616699219,1593.8940429688,24.479467391968),
  719. vector3(2786.1960449219,1583.1657714844,24.500637054443),
  720. vector3(2854.4064941406,1573.7058105469,24.558757781982),
  721. },
  722. ExtractionZones = {
  723. vector3(2720.5390625,1362.3041992188,24.512294769287),
  724. vector3(2670.9116210938,1432.7834472656,24.493053436279),
  725. vector3(2737.8352050781,1456.2027587891,29.411628723145)
  726. },
  727. Vehicles = {
  728. { model = 'cargobob3', label = 'cargobob3' },
  729. { model = 'barrage', label = 'barrage' },
  730. { model = 'vetir', label = 'vetir' }
  731. },
  732. },
  733. teamB = {
  734. TeamName = 'teamB',
  735. Spawns = {
  736. vector3(2720.5390625,1362.3041992188,24.512294769287),
  737. vector3(2670.9116210938,1432.7834472656,24.493053436279),
  738. vector3(2737.8352050781,1456.2027587891,29.411628723145),
  739. vector3(2794.8854980469,1410.3277587891,24.426965713501),
  740. vector3(2841.8620605469,1466.4138183594,24.541816711426),
  741. },
  742. ExtractionZones = {
  743. vector3(2833.1459960938,1704.8605957031,24.690269470215),
  744. vector3(2691.2102050781,1676.251953125,24.64598274231),
  745. vector3(2656.9616699219,1593.8940429688,24.479467391968),
  746. },
  747. Vehicles = {
  748. { model = 'barracks3', label = 'barracks3' },
  749. { model = 'squaddie', label = 'squaddie' },
  750. { model = 'contender', label = 'contender' }
  751. }
  752. },
  753. Loot = {
  754. {
  755. Position = vector3(2729.6955566406,1491.0780029297,35.131374359131),
  756. Prop = "ch_prop_ch_case_sm_01x",
  757. Heading = 46.307,
  758. Reward = {Items = {'bread','water'}, amount = 1}
  759. },
  760. },
  761. },
  762. }
  763.  
  764. -- Config.Zones table stores the information about different zones.
  765. -- Each zone is represented by a numerical index.
  766. -- Each zone has the following properties:
  767. -- - Name: The name of the zone.
  768. -- - DefaultEnabled: A boolean value indicating whether the zone is enabled by default.
  769. -- - DimensionforPlay: The dimension ID for the zone.
  770. -- - Image: The URL of an image representing the zone.
  771. -- - zone: A table containing information about the zone's shape and coordinates.
  772. -- - type: The type of zone shape (currently only supports 'poly').
  773. -- - thickness: The thickness of the zone shape.
  774. -- - debug: A boolean value indicating whether to enable debug mode for the zone.
  775. -- - coords: An array of vector3 coordinates representing the vertices of the zone shape.
  776. -- - teamA: A table containing information about team A.
  777. -- - TeamName: The name of team A.
  778. -- - Spawns: An array of vector3 coordinates representing the spawn points for team A.
  779. -- - ExtractionZones: An array of vector3 coordinates representing the extraction zones for team A.
  780. -- - Vehicles: An array of tables representing the vehicles available for team A.
  781. -- Each vehicle table has the following properties:
  782. -- - model: The model name of the vehicle.
  783. -- - label: The label/name of the vehicle.
  784. -- - teamB: A table containing information about team B (similar structure as teamA).
  785. -- - Loot: An array of tables representing the loot positions in the zone.
  786. -- Each loot table has the following properties:
  787. -- - Position: The vector3 position of the loot.
  788. -- - Prop: The prop model name for the loot.
  789. -- - Heading: The heading/rotation of the loot.
  790. -- - Reward: A table representing the reward for the loot.
  791. -- - Items: An array of item names.
  792. -- - amount: The amount of each item in the reward.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement