F5 StudioF5 Studio
Skip to main content

Features

Streamed tiles

The stream folder contains the coloured map: 65 tile drawables (minimap_*.ydd), the tile texture dictionaries (minimap_0_0 to minimap_2_1 and the matching minimap_sea_* set), minimap_lod_128.ytd, the minimap_main_map.gfx scaleform and int3232302352.gfx. FiveM streams them automatically; the manifest declares only client.lua.

Zoom levels

At start the client sets the nine map zoom levels so the coloured tiles stay sharp when zooming in:

client.lua
SetMapZoomDataLevel(0, 2.75, 0.9, 0.08, 0.0, 0.0)
SetMapZoomDataLevel(1, 2.8, 0.9, 0.08, 0.0, 0.0)
SetMapZoomDataLevel(2, 8.0, 0.9, 0.08, 0.0, 0.0)
SetMapZoomDataLevel(3, 20.0, 0.9, 0.08, 0.0, 0.0)
SetMapZoomDataLevel(4, 35.0, 0.9, 0.08, 0.0, 0.0)
SetMapZoomDataLevel(5, 55.0, 0.0, 0.1, 2.0, 1.0)
SetMapZoomDataLevel(6, 450.0, 0.0, 0.1, 1.0, 1.0)
SetMapZoomDataLevel(7, 4.5, 0.0, 0.0, 0.0, 0.0)
SetMapZoomDataLevel(8, 11.0, 0.0, 0.0, 2.0, 3.0)

The values are taken over from neen-atlasmap and cover the radar zooms, the big map and pause menu, and the special levels the game uses for interiors and the golf course.

Cayo Perico switch

The first line of client.lua is local EnableCayoMiniMap = false. Set it to true to:

  • add two invisible blips on the island so it gets its own map area;
  • every frame, call SetRadarAsExteriorThisFrame and then SetRadarAsInteriorThisFrame for h4_fake_islandx at the island's coordinates, so the island renders its own map fragment.

It is off by default because the per-frame loop only makes sense on servers that use the island.