altv-issues
altv-issues copied to clipboard
Custom Map on Radar is not Full Loading.
Client/server version
Build #4.0-DEV8, branch DEV
Current behavior The Custom Map/Minimap is not Showing at many Points on the Radar after Spawn. (see Screenshot) When i drive arround the Map and come back to the point he is not Loading, is she loaded. On the ESC/Paused Menu is the Map Full Showing without Issues.
Expected behavior The Custom Minimap would full loading at spawn and show it right. and on the ESC/Paused Menu is the Map Full Showing without Issues.
Steps to reproduce I use the Tutorial at the Discord from Channel #scripting-info. and i use the MapZoomData API with right data from my old FiveM Project and under FiveM its work the Minimap without issues.
Context (environment)
Screenshots:
Possible solution
I have this problem too, but i saw the same unloaded area on the Pause menu map before using MapZoomData API. Maybe it gives some starting point.
Sometimes when we go to the pause menu map and zoom in fully, the minimap is fixed
At the moment we also cannot stream minimaps that are outwith default map quadrants, for example: https://www.gta5-mods.com/misc/atlas-colored-map-with-radar-for-vice-cry-lorenvidican
Would be awesome if we could have this functionality. If not possible server-side, then perhaps allow players to load these mods themselves client-side?
It's a long time ago, but give new information for a fix ? or can planned for the next update ?
After driving about for some time, the minimap displays properly, it seems it's very hit or miss
Hi, any news ?
I can confirm this issue
Works in dev/15.0-dev11
I don't know if I did something wrong but 15.16 release still has some of it Map tested be the https://github.com/omgugly/dlk_maps_fivem/tree/main/map-atlas
Running following code (with/without does same thing)
static setMapZoomDataLevel(level: string, zoomScale: number, zoomSpeed: number, scrollSpeed: number, tilesX: number, tilesY: number) {
const zoomData = alt.MapZoomData.get(level);
zoomData.fZoomScale = zoomScale;
zoomData.fZoomSpeed = zoomSpeed;
zoomData.fScrollSpeed = scrollSpeed;
zoomData.vTilesX = tilesX;
zoomData.vTilesY = tilesY;
}
static async fixMap() {
this.setMapZoomDataLevel('ZOOM_LEVEL_0', 0.96, 0.9, 0.08, 0.0, 0.0);// -- Level 0
this.setMapZoomDataLevel('ZOOM_LEVEL_1', 1.6, 0.9, 0.08, 0.0, 0.0);// -- Level 1
this.setMapZoomDataLevel('ZOOM_LEVEL_2', 8.6, 0.9, 0.08, 0.0, 0.0);// -- Level 2
this.setMapZoomDataLevel('ZOOM_LEVEL_3', 12.3, 0.9, 0.08, 0.0, 0.0);// -- Level 3
this.setMapZoomDataLevel('ZOOM_LEVEL_4', 24.3, 0.9, 0.08, 0.0, 0.0);// -- Level 4
this.setMapZoomDataLevel('ZOOM_LEVEL_GOLF_COURSE', 55.0, 0.0, 0.1, 2.0, 1.0);// -- ZOOM_LEVEL_GOLF_COURSE
this.setMapZoomDataLevel('ZOOM_LEVEL_INTERIOR', 450.0, 0.0, 0.1, 1.0, 1.0);// -- ZOOM_LEVEL_INTERIOR
this.setMapZoomDataLevel('ZOOM_LEVEL_GALLERY', 4.5, 0.0, 0.0, 0.0, 0.0);// -- ZOOM_LEVEL_GALLERY
this.setMapZoomDataLevel('ZOOM_LEVEL_GALLERY_MAXIMIZE', 11.0, 0.0, 0.0, 2.0, 3.0);// -- ZOOM_LEVEL_GALLERY_MAXIMIZE
const radarZoomLevel: number = 1100;
alt.setInterval(() => {
const onFoot = native.isPedOnFoot(player);
if (onFoot) return native.setRadarZoom(radarZoomLevel);
const insideVehicle = native.isPedInAnyVehicle(player, false);
if (insideVehicle) return native.setRadarZoom(radarZoomLevel);
}, 0);
}
(I'm sorry for testing on release but I read in this issue that it is fixed in v15...)
It was fixed in early v15-dev but is now broken again
Is another bug fix planned?
The status fixed has been removed, but why has it not been included on a new roadmap? I mean it was fixed why is the error back?
gives newer Information ?