Features
Setup routine
The loadMap routine runs two seconds after the resource starts and two seconds after every playerSpawned event:
RequestStreamedTextureDict('gta6_graphics'), then wait until it is loaded, at most 5 s.AddReplaceTexture('platform:/textures/graphics', 'radarmasksm', 'gta6_graphics', 'radarmasksm')swaps the radar mask for the rounded rectangle from the streamed dictionary.SetMinimapComponentPosition('minimap', 'L', 'B', -0.0045, 0.002, 0.170, 0.188888)anchors the minimap to the bottom-left with the GTA VI proportions.ReplaceHudColourWithRgba(142, 247, 115, 164, 255)turns HUD colour 142 (route line and waypoint) into the GTA VI pink.SetBigmapActive(true, false)followed bySetBigmapActive(false, false)forces the radar to redraw with the new settings.
Zoom lock
A loop every 500 ms calls SetBigmapActive(false, false) and SetRadarZoom(1000), so the zoom stays constant after entering a vehicle or an interior, or after another script toggles the big map.
What it does not do
- It never calls
DisplayRadar. Whether the radar is visible stays up to the game and your HUD. - It has no config and no in-game toggle; edit the numbers in
client.luato change the position or colour. - It does not change the map tiles. Combine it with gta6_atlasmap for the coloured Atlas map.
Streamed files
| File | Content |
|---|---|
minimap.gfx | Radar scaleform |
minimap.ytd | Radar textures |
gta6_graphics.ytd | Texture dictionary with the rounded-rectangle radarmasksm mask |