195 lines
4.2 KiB
Lua
195 lines
4.2 KiB
Lua
|
-- Explorer by glitchdetector, Jun. 2020
|
||
|
|
||
|
-- Blips that are masked by the fog of war
|
||
|
-- These are automatically hidden if you've yet to discover an area
|
||
|
-- They will fade in when the player uncovers an area
|
||
|
-- https://docs.fivem.net/docs/game-references/blips/
|
||
|
BlipTypes = {
|
||
|
11, -- Butikker
|
||
|
38, -- GoKarting
|
||
|
40, -- Huse/Lejligheder
|
||
|
50, -- Storage
|
||
|
51, -- Pill
|
||
|
52, -- Butikker
|
||
|
|
||
|
-- 56, -- Taxa
|
||
|
59, -- Butikker
|
||
|
-- 60, -- Politistationer
|
||
|
-- 61, -- Hospitaler
|
||
|
|
||
|
66, -- Ukendt
|
||
|
67, -- Ukendt
|
||
|
68, -- Impound
|
||
|
|
||
|
-- 71, -- Frisør
|
||
|
|
||
|
72, -- Los Santos Customs
|
||
|
|
||
|
-- 73, -- Tøjbutikker
|
||
|
-- 75, -- Tattoo
|
||
|
|
||
|
76, -- A
|
||
|
77, -- L
|
||
|
78, -- M
|
||
|
79, -- T
|
||
|
80, -- H
|
||
|
84, -- Kranie
|
||
|
85, -- Bus
|
||
|
86, -- F
|
||
|
88, -- F
|
||
|
89, -- C
|
||
|
90, -- Lufthavn
|
||
|
93, -- Bar
|
||
|
94, -- Faldskærm
|
||
|
|
||
|
100, -- Bilvask
|
||
|
-- 102, -- Plastikkirurg
|
||
|
106, -- Burgershot
|
||
|
108, -- Bank
|
||
|
121, -- Stripklubber
|
||
|
126, -- Kyllingefarm
|
||
|
135, -- Biograf
|
||
|
136, -- Musik
|
||
|
140, -- Smoke on the water
|
||
|
141, -- Jagt
|
||
|
-- 161, -- Politi-ping
|
||
|
198, -- Taxa
|
||
|
207, -- Banker V1
|
||
|
|
||
|
-- 225, -- Bilshop
|
||
|
|
||
|
238, -- Farming V1
|
||
|
|
||
|
-- 251, -- Flybutik
|
||
|
|
||
|
267, -- P
|
||
|
269, -- Up'n'Atom
|
||
|
273, -- Kyllingefabrik
|
||
|
277, -- Banker V2
|
||
|
285, -- Farming V2
|
||
|
304, -- Postarbejde
|
||
|
307, -- Lufthavn
|
||
|
311, -- Fitness
|
||
|
313, -- Ammunation
|
||
|
|
||
|
-- 317, -- Impound
|
||
|
-- 318, -- Skraldejob
|
||
|
-- 326, -- Bilbutik
|
||
|
|
||
|
350, -- Hus
|
||
|
355, -- D
|
||
|
356, -- Båd pladser
|
||
|
357, -- Garager
|
||
|
359, -- Fly pladser
|
||
|
360, -- Helikopter pladser
|
||
|
361, -- Tankstationer
|
||
|
|
||
|
365, -- Genbrugsplads
|
||
|
-- 366, -- Tøjbutikker V2
|
||
|
|
||
|
369, -- Garage
|
||
|
370, -- Helikopter depot
|
||
|
371, -- Båd depot
|
||
|
372, -- Fly depot
|
||
|
|
||
|
374, -- Ejendomsmægler
|
||
|
375, -- Hus/Lejlighed til salg
|
||
|
402, -- Mekaniker
|
||
|
|
||
|
-- 407, -- Jobcenter
|
||
|
-- 409, -- Politiblip
|
||
|
-- 410, -- Bådbutik
|
||
|
|
||
|
431, -- Pawnshop
|
||
|
436, -- Støberi
|
||
|
442, -- Animals
|
||
|
-- 458, -- Polititracker
|
||
|
465, -- Vingård
|
||
|
467, -- Vask/Panorerings job
|
||
|
475, -- Motel
|
||
|
476, -- Lejlighed
|
||
|
|
||
|
-- 477, -- Truck forhandler
|
||
|
|
||
|
478, -- Kyllingesalg
|
||
|
|
||
|
-- 487, -- Borgerservice
|
||
|
-- 488, -- Hayes
|
||
|
489, -- UwU Cafe
|
||
|
-- 492, -- Ejet lejlighed
|
||
|
|
||
|
513, -- Busjob
|
||
|
521, -- Arcade
|
||
|
527, -- Mine
|
||
|
541, -- Gartner
|
||
|
-- 544, -- Mekaniker
|
||
|
566, -- Juvel skæring
|
||
|
597, -- Dykning
|
||
|
617, -- Juveler
|
||
|
642, -- Recycling / Genbrug
|
||
|
728, -- Farming
|
||
|
-- 812, -- Politiblip
|
||
|
}
|
||
|
|
||
|
-- Remember what areas the player has discovered
|
||
|
-- If set to true, the client stored discovered areas
|
||
|
-- If set to false, the player needs to re-discover everything again after they disconnect
|
||
|
Persist = true
|
||
|
|
||
|
-- If Persist is true, this is used to prevent cross-server discovery
|
||
|
ServerCode = "HP_Dev"
|
||
|
|
||
|
-- Offsets to start from
|
||
|
MapOffsetX = -7500
|
||
|
MapOffsetY = -5000
|
||
|
|
||
|
-- Size of the map
|
||
|
MapWidth = 15000
|
||
|
MapHeight = 15000
|
||
|
|
||
|
-- How many cells the map contains
|
||
|
MapCellsWidth = 80
|
||
|
MapCellsHeight = 80
|
||
|
|
||
|
-- What area around the player should be discovered (rather than just their own cell)
|
||
|
-- # represents current block of cells's affected areas
|
||
|
-- Comment out from bottom to the top which parts you don't want
|
||
|
CoverArea = {
|
||
|
-- Their current cell, do not comment out lol, the script won't work
|
||
|
{ 0, 0}, -- their current cell (P)
|
||
|
-- + formation (5 cells)
|
||
|
-- #
|
||
|
-- #P#
|
||
|
-- #
|
||
|
{-1, 0}, -- cell to the west
|
||
|
{ 1, 0}, -- cell to the east
|
||
|
{ 0, -1}, -- cell north (could be inverse idk)
|
||
|
{ 0, 1}, -- cell south
|
||
|
-- 3x3 formation (9 cells)
|
||
|
-- #-#
|
||
|
-- -P-
|
||
|
-- #-#
|
||
|
{-1, -1}, -- north west
|
||
|
{ 1, -1}, -- north east
|
||
|
{-1, 1}, -- south west
|
||
|
{ 1, 1}, -- south east
|
||
|
-- 5x5 circle formation (13 cells)
|
||
|
-- #
|
||
|
-- ---
|
||
|
-- #-P-#
|
||
|
-- ---
|
||
|
-- #
|
||
|
{-2, 0}, -- west
|
||
|
{ 2, 0}, -- east
|
||
|
{ 0, -2}, -- north
|
||
|
{ 0, 2}, -- south
|
||
|
}
|
||
|
|
||
|
-- Enable debugging
|
||
|
-- Shows a trail where you've discovered areas among other random stuff
|
||
|
-- You should probably not enable this unless you're modifying the script
|
||
|
Debug = false
|
||
|
|
||
|
-- Enable flashing of Blips when getting into view
|
||
|
FlashDiscovered = false
|