Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Welcome to the pxRaids configuration!
- Here you can edit the configuration of the script.
- remember that you can also modify Client/Server/ => opensource.lua
- , commands.lua and strings.lua to your liking.
- If you need help, contact us on Discord:
- https://discord.gg/GERp78KdKZ
- ]]
- Config = {}
- -- Debug flag to enable/disable debug mode.
- Config.Debug = false
- -- Configuration options for the interactable ped.
- Config.InteractPed = {
- enabled = true, -- Whether the ped is enabled or not.
- model = 's_m_m_marine_02', -- Model of the ped.
- coords = vector3(306.87142944336,-1609.8831787109,30.53212928772), -- Coordinates of the ped.
- heading = 50.0, -- Heading of the ped.
- key = 38, -- Key code to interact with the ped.
- distance = 1.5, -- Maximum distance to interact with the ped.
- text = 'Press [E] to open the raid menu', -- Text to display when near the ped.
- TextUI = {
- enabled = true, -- Whether to use OxTextUI for the text display or not.
- },
- Text3d = {
- enabled = false, -- Whether to use 3D text for the text display or not.
- distance = 1.5, -- Maximum distance to display the 3D text.
- },
- Blip = {
- show = true, -- Whether to show a blip on the map or not.
- sprite= 126, -- Sprite ID of the blip.
- color = 1, -- Color of the blip.
- scale = 0.9, -- Scale of the blip.
- text = "Raids" -- Text to display on the blip.
- }
- }
- -- Configuration options for the loot interaction.
- Config.LootGlobals = {
- key = 38, -- Key code to interact with the loot.
- distance = 1.5, -- Maximum distance to interact with the loot.
- text = 'Press [E] to search', -- Text to display when near the loot.
- progresstext = 'Searching...', -- Text to display while searching.
- time = 1000, -- Time in milliseconds for the search action.
- Blip = {
- show = true, -- Whether to show a blip on the map or not.
- sprite= 765, -- Sprite ID of the blip.
- color = 2, -- Color of the blip.
- scale = 0.6, -- Scale of the blip.
- text = "Loot" -- Text to display on the blip.
- }
- }
- -- Configuration options for the extraction interaction.
- Config.ExtractionGlobals = {
- key = 38, -- Key code to interact with the extraction point.
- distance = 5.5, -- Maximum distance to interact with the extraction point.
- extractedcoords = vector3(306.87142944336,-1609.8831787109,30.53212928772), -- Coordinates where the extraction takes you
- progresstext = 'Extracting...', -- Text to display while extracting.
- time = 10000, -- Time in milliseconds for the extraction action.
- spawnrandom = false, -- Whether to randomly generate an extraction vehicle or not.
- displaymarker = {
- enabled = true, -- Whether to display a marker or not.
- type = 1, -- Type of the marker.
- color = {r = 255, g = 255, b = 255, a = 100}, -- Color of the marker.
- scale = {x = 6.0, y = 6.0, z = 0.2}, -- Scale of the marker.
- },
- displaytext = {
- enabled = true, -- Whether to display a text or not.
- text = 'Press [E] to extract', -- Text to display.
- size = 0.6, -- Size of the text.
- type = "3D", -- "3D" or "TextUI".
- },
- Blip = {
- show = true, -- Whether to show a blip on the map or not.
- sprite= 255, -- Sprite ID of the blip.
- color = 6, -- Color of the blip.
- scale = 1.1, -- Scale of the blip.
- text = 'Press [E] to extract' -- Text to display on the blip.
- },
- Reward = {
- enabled = true, -- Whether to give a reward or not.
- Items = {
- { name = "bread", label = "Bread",amount = 1},
- { name = "water", label = "Water", amount = 1},
- },
- }
- }
- Config.Zones = {
- [1] = {
- Name = 'Paleto',
- DefaultEnabled = true,
- DimensionforPlay = 606,
- TimeForStart = 20, -- Time in seconds for the raid to start. [Max value 300 = 5 minutes]
- RaidTime = 200, -- Time in seconds for the raid to end. [Max value 3600 = 1 hour]
- Image = 'https://cdn.discordapp.com/attachments/1043650938403037235/1186809004022833172/image.png',
- ['zone'] = { -- Remember this to create the zones more easyest https://skyrossm.github.io/PolyZoneCreator/
- ['type'] = 'poly', -- only avaiable types: poly
- ['thickness'] = 100.0,
- ['debug'] = false,
- ['coords'] = {
- vector3(25.38, 6983.71, 31.0),
- vector3(-7.58, 6969.70, 31.0),
- vector3(-15.91, 6941.67, 31.0),<
- vector3(-12.12, 6907.58, 31.0),
- vector3(-43.18, 6866.67, 31.0),
- vector3(-58.33, 6826.52, 31.0),
- vector3(-61.36, 6768.94, 31.0),
- vector3(-85.61, 6709.09, 31.0),
- vector3(-146.97, 6616.67, 31.0),
- vector3(-233.33, 6530.30, 31.0),
- vector3(-260.61, 6495.45, 31.0),
- vector3(-321.97, 6439.39, 31.0),
- vector3(-398.48, 6398.48, 31.0),
- vector3(-491.67, 6358.33, 31.0),
- vector3(-550.76, 6328.79, 31.0),
- vector3(-582.58, 6284.09, 31.0),
- vector3(-615.15, 6269.70, 31.0),
- vector3(-637.12, 6230.30, 31.0),
- vector3(-631.06, 6171.97, 31.0),
- vector3(-646.97, 6119.70, 31.0),
- vector3(-675.76, 6088.64, 31.0),
- vector3(-665.91, 6038.64, 31.0),
- vector3(-371.21, 5816.67, 31.0),
- vector3(-186.36, 5874.24, 31.0),
- vector3(68.18, 5992.42, 31.0),
- vector3(243.94, 6137.88, 31.0),
- vector3(437.88, 6292.42, 31.0),
- vector3(628.79, 6322.73, 31.0),
- vector3(853.03, 6322.73, 31.0),
- vector3(934.85, 6295.45, 31.0),
- vector3(1034.85, 6343.94, 31.0),
- vector3(1226.52, 6471.97, 31.0),
- vector3(1028.79, 6532.58, 31.0),
- vector3(964.39, 6499.24, 31.0),
- vector3(910.61, 6538.64, 31.0),
- vector3(851.52, 6551.52, 31.0),
- vector3(659.09, 6565.15, 31.0),
- vector3(615.15, 6555.30, 31.0),
- vector3(572.73, 6568.18, 31.0),
- vector3(543.94, 6580.30, 31.0),
- vector3(514.77, 6583.71, 31.0),
- vector3(500.76, 6596.97, 31.0),
- vector3(515.15, 6596.97, 31.0),
- vector3(511.74, 6600.38, 31.0),
- vector3(506.82, 6604.92, 31.0),
- vector3(498.86, 6609.47, 31.0),
- vector3(496.97, 6625.00, 31.0),
- vector3(465.53, 6659.09, 31.0),
- vector3(451.89, 6661.74, 31.0),
- vector3(431.82, 6677.27, 31.0),
- vector3(397.35, 6712.12, 31.0),
- vector3(393.18, 6742.80, 31.0),
- vector3(367.80, 6746.97, 31.0),
- vector3(356.44, 6746.21, 31.0),
- vector3(347.35, 6766.29, 31.0),
- vector3(320.83, 6782.20, 31.0),
- vector3(308.71, 6797.35, 31.0),
- vector3(319.70, 6822.35, 31.0),
- vector3(278.03, 6878.03, 31.0),
- vector3(277.27, 6953.03, 31.0),
- vector3(228.41, 6962.88, 31.0),
- vector3(191.67, 7004.55, 31.0),
- vector3(103.41, 7046.21, 31.0),
- vector3(63.26, 7048.48, 31.0),
- vector3(34.47, 7031.44, 31.0)
- },
- ['action'] = {
- onEnter = function()
- EnterZone()
- end,
- onExit = function()
- ExitZone()
- end,
- inside = function()
- InsideZone()
- end,
- },
- },
- teamA = {
- TeamName = 'teamA',
- Spawns = {
- vector3(-458.71713256836,6053.7802734375,30.539218902588),
- vector3(-439.43759155273,5976.458984375,30.490163803101),
- vector3(-480.72717285156,6214.251953125,12.694846153259),
- vector3(-380.48910522461,6086.8725585938,30.599117279053),
- vector3(-300.79248046875,6023.578125,30.86337852478),
- vector3(-168.47695922852,5987.8515625,85.280715942383),
- vector3(-230.42143249512,6115.5434570313,30.445247650146),
- vector3(-283.38369750977,6166.98828125,36.314178466797),
- vector3(-369.94998168945,6190.4487304688,30.534093856812),
- vector3(-467.45989990234,6206.5717773438,28.552825927734),
- },
- ExtractionZones = {
- vector3(739.31359863281,6415.4174804688,29.931631088257),
- vector3(238.2140045166,6932.3876953125,11.254295349121),
- vector3(1090.5411376953,6491.4545898438,21.052461624146)
- },
- Vehicles = {
- { model = 'cargobob3', label = 'cargobob3' },
- { model = 'barrage', label = 'barrage' },
- { model = 'vetir', label = 'vetir' }
- },
- },
- teamB = {
- TeamName = 'teamB',
- Spawns = {
- vector3(545.24102783203,6438.07421875,31.032192230225),
- vector3(543.88647460938,6584.3364257813,23.58512878418),
- vector3(402.63522338867,6640.765625,27.390138626099),
- vector3(439.75924682617,6525.5390625,27.152551651001),
- vector3(394.92669677734,6448.029296875,28.885608673096),
- vector3(335.91598510742,6474.5307617188,28.884422302246),
- vector3(297.01480102539,6631.0908203125,28.239093780518),
- vector3(233.89543151855,6797.2563476563,17.851636886597),
- vector3(141.91581726074,6703.638671875,40.079963684082),
- vector3(181.15826416016,6544.8676757813,31.053401947021),
- },
- ExtractionZones = {
- vector3(-475.27081298828,5988.0869140625,31.336683273315),
- vector3(-452.59912109375,6190.146484375,29.552824020386),
- vector3(-280.30703735352,5999.20703125,36.688930511475),
- },
- Vehicles = {
- { model = 'barracks3', label = 'barracks3' },
- { model = 'squaddie', label = 'squaddie' },
- { model = 'contender', label = 'contender' }
- }
- },
- Loot = {
- {
- Position = vector3(35.814, 6475.105, 36.328),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 46.307,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-10.364, 6498.708, 36.661),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 227.947,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-54.016, 6513.051, 43.357),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 323.589,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(26.911, 6603.223, 32.470),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 50.231,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-20.394, 6581.407, 31.499),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 225.252,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(44.229, 6578.575, 33.004),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 327.968,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(93.211, 6357.687, 31.375),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 27.671,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(52.229, 6331.539, 38.856),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 121.508,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-117.006, 6236.615, 43.245),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 30.178,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-186.270, 6155.367, 42.637),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 218.89,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-79.765, 6130.229, 30.564),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 228.159,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-161.568, 6255.543, 33.081),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 320.497,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(41.435, 6248.061, 32.504),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 290.885,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-202.776, 6285.562, 34.323),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 320.219,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-239.761, 6360.474, 34.572),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 227.956,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-262.011, 6294.861, 35.172),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 45.561,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-318.662, 6292.216, 38.966),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 136.029,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-277.297, 6226.858, 38.143),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 229.779,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-275.906, 6225.359, 31.695),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 44.416,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-285.010, 6193.661, 35.554),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 137.332,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-317.226, 6195.908, 37.134),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 225.376,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-317.226, 6195.908, 37.134),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 225.376,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-362.455, 6105.704, 46.374),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 44.859,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-310.438, 6166.979, 32.274),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 51.059,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-331.850, 6082.566, 31.454),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 226.39,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- {
- Position = vector3(-166.705, 6392.119, 35.647),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 44.317,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- },
- },
- [2] = {
- Name = 'Military',
- DefaultEnabled = false,
- DimensionforPlay = 606,
- TimeForStart = 300, -- Time in seconds for the raid to start. [Max value 300 = 5 minutes]
- RaidTime = 320, -- Time in seconds for the raid to end. [Max value 3600 = 1 hour]
- Image = 'https://cdn.discordapp.com/attachments/1043650938403037235/1195041869432901712/image.png',
- ['zone'] = {
- ['type'] = 'poly', -- only avaiable types: poly
- ['thickness'] = 100.0,
- ['debug'] = false,
- ['coords'] = {
- vector3(-2877.27, 3289.39, 32.83),
- vector3(-2090.91, 2759.09, 32.83),
- vector3(-1833.33, 2759.09, 32.83),
- vector3(-1706.06, 2795.45, 32.83),
- vector3(-1657.58, 2853.03, 32.83),
- vector3(-1651.52, 2963.64, 32.83),
- vector3(-1662.12, 3112.12, 32.83),
- vector3(-1654.55, 3206.06, 32.83),
- vector3(-1856.06, 3322.73, 32.83),
- vector3(-1948.48, 3362.12, 32.83),
- vector3(-2098.48, 3350.00, 32.83),
- vector3(-2207.58, 3368.18, 32.83),
- vector3(-2310.61, 3398.48, 32.83),
- vector3(-2383.33, 3422.73, 32.83),
- vector3(-2563.64, 3336.36, 32.83),
- vector3(-2815.15, 3403.03, 32.83)
- },
- ['action'] = {
- onEnter = function()
- EnterZone()
- end,
- onExit = function()
- ExitZone()
- end,
- inside = function()
- InsideZone()
- end,
- },
- },
- teamA = {
- TeamName = 'teamA',
- Spawns = {
- vector3(-2742.6083984375,3327.4545898438,32.802989959717),
- vector3(-2599.6887207031,3322.9680175781,32.804901123047),
- vector3(-2638.2514648438,3166.1047363281,32.954040527344),
- vector3(-2434.6899414063,2964.525390625,32.951568603516),
- vector3(-2441.7331542969,3267.5541992188,32.970840454102),
- },
- ExtractionZones = {
- vector3(-1904.5573730469,2914.4973144531,32.81116104126),
- vector3(-1789.2590332031,2961.7001953125,32.809692382813),
- vector3(-1864.3760986328,3079.625,32.799419403076)
- },
- Vehicles = {
- { model = 'cargobob3', label = 'cargobob3' },
- { model = 'barrage', label = 'barrage' },
- { model = 'vetir', label = 'vetir' }
- },
- },
- teamB = {
- TeamName = 'teamB',
- Spawns = {
- vector3(-1849.9167480469,3072.0439453125,32.803329467773),
- vector3(-1997.2481689453,3309.6020507813,32.967651367188),
- vector3(-2159.6872558594,3317.0073242188,32.817802429199),
- vector3(-2239.6103515625,3311.0766601563,32.813842773438),
- vector3(-1816.7379150391,3217.4208984375,32.929958343506),
- },
- ExtractionZones = {
- vector3(-2115.3798828125,2834.501953125,32.824798583984),
- vector3(-2436.978515625,2993.7517089844,32.791690826416),
- vector3(-2793.3518066406,3312.8303222656,32.80001449585),
- },
- Vehicles = {
- { model = 'barracks3', label = 'barracks3' },
- { model = 'squaddie', label = 'squaddie' },
- { model = 'contender', label = 'contender' }
- }
- },
- Loot = {
- {
- Position = vector3(-2284.2065429688,3014.7565917969,32.801082611084),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 46.307,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- },
- },
- [3] = {
- Name = 'Airport',
- DefaultEnabled = false,
- DimensionforPlay = 606,
- TimeForStart = 300, -- Time in seconds for the raid to start. [Max value 300 = 5 minutes]
- RaidTime = 320, -- Time in seconds for the raid to end. [Max value 3600 = 1 hour]
- Image = 'https://cdn.discordapp.com/attachments/1043650938403037235/1195043740738408519/image.png',
- ['zone'] = {
- ['type'] = 'poly', -- only avaiable types: poly
- ['thickness'] = 100.0,
- ['debug'] = false,
- ['coords'] = {
- vector3(-1386.36, -2168.18, 13),
- vector3(-974.24, -2383.33, 13),
- vector3(-1104.55, -2640.91, 13),
- vector3(-1174.24, -2777.27, 13),
- vector3(-1050.00, -2880.30, 13),
- vector3(-880.30, -2959.09, 13),
- vector3(-959.09, -3143.94, 13),
- vector3(-731.82, -3237.88, 13),
- vector3(-937.88, -3562.12, 13),
- vector3(-998.48, -3537.88, 13),
- vector3(-1034.85, -3562.12, 13),
- vector3(-1098.48, -3513.64, 13),
- vector3(-1777.27, -3165.15, 13),
- vector3(-1813.64, -3222.73, 13),
- vector3(-1950.00, -3156.06, 13),
- vector3(-1916.67, -3086.36, 13),
- vector3(-1983.33, -3043.94, 13),
- vector3(-1789.39, -2719.70, 13),
- vector3(-1686.36, -2689.39, 13),
- vector3(-1528.79, -2407.58, 13)
- },
- ['action'] = {
- onEnter = function()
- EnterZone()
- end,
- onExit = function()
- ExitZone()
- end,
- inside = function()
- InsideZone()
- end,
- },
- },
- teamA = {
- TeamName = 'teamA',
- Spawns = {
- vector3(-936.35900878906,-2969.974609375,13.94510269165),
- vector3(-992.35028076172,-2894.4880371094,13.946399688721),
- vector3(-1090.8215332031,-2861.7954101563,13.955777168274),
- vector3(-826.31549072266,-3195.0346679688,14.127558708191),
- vector3(-947.04248046875,-3537.9846191406,14.066370010376),
- },
- ExtractionZones = {
- vector3(-1646.9846191406,-3143.9018554688,13.974136352539),
- vector3(-1549.3953857422,-3177.2292480469,13.92343711853),
- vector3(-1807.5703125,-2815.4343261719,13.896933555603)
- },
- Vehicles = {
- { model = 'cargobob3', label = 'cargobob3' },
- { model = 'barrage', label = 'barrage' },
- { model = 'vetir', label = 'vetir' }
- },
- },
- teamB = {
- TeamName = 'teamB',
- Spawns = {
- vector3(-1646.9846191406,-3143.9018554688,13.974136352539),
- vector3(-1549.3953857422,-3177.2292480469,13.92343711853),
- vector3(-1807.5703125,-2815.4343261719,13.896933555603),
- vector3(-1368.8529052734,-2589.9997558594,13.932455062866),
- vector3(-1306.0443115234,-2697.0053710938,13.925429344177),
- },
- ExtractionZones = {
- vector3(-936.35900878906,-2969.974609375,13.94510269165),
- vector3(-992.35028076172,-2894.4880371094,13.946399688721),
- vector3(-1090.8215332031,-2861.7954101563,13.955777168274),
- },
- Vehicles = {
- { model = 'barracks3', label = 'barracks3' },
- { model = 'squaddie', label = 'squaddie' },
- { model = 'contender', label = 'contender' }
- }
- },
- Loot = {
- {
- Position = vector3(-1220.7220458984,-3061.6088867188,14.27244758606),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 46.307,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- },
- },
- [3] = {
- Name = 'Airport',
- DefaultEnabled = false,
- DimensionforPlay = 606,
- TimeForStart = 300, -- Time in seconds for the raid to start. [Max value 300 = 5 minutes]
- RaidTime = 320, -- Time in seconds for the raid to end. [Max value 3600 = 1 hour]
- Image = 'https://cdn.discordapp.com/attachments/1043650938403037235/1195043740738408519/image.png',
- ['zone'] = {
- ['type'] = 'poly', -- only avaiable types: poly
- ['thickness'] = 100.0,
- ['debug'] = false,
- ['coords'] = {
- vector3(-1386.36, -2168.18, 13),
- vector3(-974.24, -2383.33, 13),
- vector3(-1104.55, -2640.91, 13),
- vector3(-1174.24, -2777.27, 13),
- vector3(-1050.00, -2880.30, 13),
- vector3(-880.30, -2959.09, 13),
- vector3(-959.09, -3143.94, 13),
- vector3(-731.82, -3237.88, 13),
- vector3(-937.88, -3562.12, 13),
- vector3(-998.48, -3537.88, 13),
- vector3(-1034.85, -3562.12, 13),
- vector3(-1098.48, -3513.64, 13),
- vector3(-1777.27, -3165.15, 13),
- vector3(-1813.64, -3222.73, 13),
- vector3(-1950.00, -3156.06, 13),
- vector3(-1916.67, -3086.36, 13),
- vector3(-1983.33, -3043.94, 13),
- vector3(-1789.39, -2719.70, 13),
- vector3(-1686.36, -2689.39, 13),
- vector3(-1528.79, -2407.58, 13)
- },
- ['action'] = {
- onEnter = function()
- EnterZone()
- end,
- onExit = function()
- ExitZone()
- end,
- inside = function()
- InsideZone()
- end,
- },
- },
- teamA = {
- TeamName = 'teamA',
- Spawns = {
- vector3(-936.35900878906,-2969.974609375,13.94510269165),
- vector3(-992.35028076172,-2894.4880371094,13.946399688721),
- vector3(-1090.8215332031,-2861.7954101563,13.955777168274),
- vector3(-826.31549072266,-3195.0346679688,14.127558708191),
- vector3(-947.04248046875,-3537.9846191406,14.066370010376),
- },
- ExtractionZones = {
- vector3(-1646.9846191406,-3143.9018554688,13.974136352539),
- vector3(-1549.3953857422,-3177.2292480469,13.92343711853),
- vector3(-1807.5703125,-2815.4343261719,13.896933555603)
- },
- Vehicles = {
- { model = 'cargobob3', label = 'cargobob3' },
- { model = 'barrage', label = 'barrage' },
- { model = 'vetir', label = 'vetir' }
- },
- },
- teamB = {
- TeamName = 'teamB',
- Spawns = {
- vector3(-1646.9846191406,-3143.9018554688,13.974136352539),
- vector3(-1549.3953857422,-3177.2292480469,13.92343711853),
- vector3(-1807.5703125,-2815.4343261719,13.896933555603),
- vector3(-1368.8529052734,-2589.9997558594,13.932455062866),
- vector3(-1306.0443115234,-2697.0053710938,13.925429344177),
- },
- ExtractionZones = {
- vector3(-936.35900878906,-2969.974609375,13.94510269165),
- vector3(-992.35028076172,-2894.4880371094,13.946399688721),
- vector3(-1090.8215332031,-2861.7954101563,13.955777168274),
- },
- Vehicles = {
- { model = 'barracks3', label = 'barracks3' },
- { model = 'squaddie', label = 'squaddie' },
- { model = 'contender', label = 'contender' }
- }
- },
- Loot = {
- {
- Position = vector3(-1220.7220458984,-3061.6088867188,14.27244758606),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 46.307,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- },
- },
- [4] = {
- Name = 'Central',
- DefaultEnabled = false,
- DimensionforPlay = 606,
- TimeForStart = 300, -- Time in seconds for the raid to start. [Max value 300 = 5 minutes]
- RaidTime = 320, -- Time in seconds for the raid to end. [Max value 3600 = 1 hour]
- Image = 'https://cdn.discordapp.com/attachments/1043650938403037235/1195045336088055818/image.png',
- ['zone'] = {
- ['type'] = 'poly', -- only avaiable types: poly
- ['thickness'] = 150.0,
- ['debug'] = false,
- ['coords'] = {
- vector3(2648.48, 1716.67, 17),
- vector3(2837.88, 1721.21, 17),
- vector3(2847.73, 1606.82, 17),
- vector3(2889.39, 1568.94, 17),
- vector3(2894.70, 1514.39, 17),
- vector3(2907.58, 1482.58, 17),
- vector3(2900.76, 1463.64, 17),
- vector3(2866.67, 1466.67, 17),
- vector3(2852.27, 1409.85, 17),
- vector3(2809.09, 1409.09, 17),
- vector3(2778.03, 1393.94, 17),
- vector3(2765.15, 1371.97, 17),
- vector3(2768.18, 1318.94, 17),
- vector3(2661.36, 1314.39, 17),
- vector3(2641.67, 1329.55, 17),
- vector3(2637.88, 1508.33, 17),
- vector3(2638.64, 1700.00, 17)
- },
- ['action'] = {
- onEnter = function()
- EnterZone()
- end,
- onExit = function()
- ExitZone()
- end,
- inside = function()
- InsideZone()
- end,
- },
- },
- teamA = {
- TeamName = 'teamA',
- Spawns = {
- vector3(2833.1459960938,1704.8605957031,24.690269470215),
- vector3(2691.2102050781,1676.251953125,24.64598274231),
- vector3(2656.9616699219,1593.8940429688,24.479467391968),
- vector3(2786.1960449219,1583.1657714844,24.500637054443),
- vector3(2854.4064941406,1573.7058105469,24.558757781982),
- },
- ExtractionZones = {
- vector3(2720.5390625,1362.3041992188,24.512294769287),
- vector3(2670.9116210938,1432.7834472656,24.493053436279),
- vector3(2737.8352050781,1456.2027587891,29.411628723145)
- },
- Vehicles = {
- { model = 'cargobob3', label = 'cargobob3' },
- { model = 'barrage', label = 'barrage' },
- { model = 'vetir', label = 'vetir' }
- },
- },
- teamB = {
- TeamName = 'teamB',
- Spawns = {
- vector3(2720.5390625,1362.3041992188,24.512294769287),
- vector3(2670.9116210938,1432.7834472656,24.493053436279),
- vector3(2737.8352050781,1456.2027587891,29.411628723145),
- vector3(2794.8854980469,1410.3277587891,24.426965713501),
- vector3(2841.8620605469,1466.4138183594,24.541816711426),
- },
- ExtractionZones = {
- vector3(2833.1459960938,1704.8605957031,24.690269470215),
- vector3(2691.2102050781,1676.251953125,24.64598274231),
- vector3(2656.9616699219,1593.8940429688,24.479467391968),
- },
- Vehicles = {
- { model = 'barracks3', label = 'barracks3' },
- { model = 'squaddie', label = 'squaddie' },
- { model = 'contender', label = 'contender' }
- }
- },
- Loot = {
- {
- Position = vector3(2729.6955566406,1491.0780029297,35.131374359131),
- Prop = "ch_prop_ch_case_sm_01x",
- Heading = 46.307,
- Reward = {Items = {'bread','water'}, amount = 1}
- },
- },
- },
- }
- -- Config.Zones table stores the information about different zones.
- -- Each zone is represented by a numerical index.
- -- Each zone has the following properties:
- -- - Name: The name of the zone.
- -- - DefaultEnabled: A boolean value indicating whether the zone is enabled by default.
- -- - DimensionforPlay: The dimension ID for the zone.
- -- - Image: The URL of an image representing the zone.
- -- - zone: A table containing information about the zone's shape and coordinates.
- -- - type: The type of zone shape (currently only supports 'poly').
- -- - thickness: The thickness of the zone shape.
- -- - debug: A boolean value indicating whether to enable debug mode for the zone.
- -- - coords: An array of vector3 coordinates representing the vertices of the zone shape.
- -- - teamA: A table containing information about team A.
- -- - TeamName: The name of team A.
- -- - Spawns: An array of vector3 coordinates representing the spawn points for team A.
- -- - ExtractionZones: An array of vector3 coordinates representing the extraction zones for team A.
- -- - Vehicles: An array of tables representing the vehicles available for team A.
- -- Each vehicle table has the following properties:
- -- - model: The model name of the vehicle.
- -- - label: The label/name of the vehicle.
- -- - teamB: A table containing information about team B (similar structure as teamA).
- -- - Loot: An array of tables representing the loot positions in the zone.
- -- Each loot table has the following properties:
- -- - Position: The vector3 position of the loot.
- -- - Prop: The prop model name for the loot.
- -- - Heading: The heading/rotation of the loot.
- -- - Reward: A table representing the reward for the loot.
- -- - Items: An array of item names.
- -- - amount: The amount of each item in the reward.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement