REAL 3D Minimap
Hello everyone, I’m back. Today I will show you a crazy thing, the real 3D minimap in FiveM!
Let’s see the video to look at how it works:
Features
- Real 3D map, you can rotate, scale, and move the map.
- Set the waypoint using the left mouse click.
- Add your custom labels to the map.
- Support third-party script to add the labels (Using API).
Installation
- Download or clone the repo from Github: zerodream_3dmap.
- Copy the
zerodream_3dmap
folder to your server resource folder. - Rename the folder to
zerodream_3dmap
if it is not this name. - Add a new line
start zerodream_3dmap
to yourserver.cfg
. - Continue to configuration or restart your server.
The default key to open the minimap is F1, you can change it in the config.lua
.
# NOTE
You should change the key before you load the script. because it using the RegisterKeyMapping function.
After the script loaded, any change of the key will not override the old value. If you already load the script before configuration, you need to change it in the pause menu.
FAQ
How does it work?
The minimap is using WebGL technology to render the 3D map on an HTML page.
Will this minimap reduce my fps?
Usually, no. But if there are a lot of labels on the map, it may use more CPU resources.
Why my map is lagging?
Try to disable your ENB effect, and switch outside the game using Alt+Tab, then switch back.
How many CPU and memory resources this minimap used?
For my test, it used 3% CPU and 94MB memory.
The resources used cannot be seen in the resmon, because it is a WebGL application, you should open the Windows Task Manager to see the “FiveM Chromium subprocess” used resources.
For developer
You can add the labels using API, for the API usage, please read the wiki page.
Credits
- WebGL model viewer by Lorti
- GTA5 3D Map Model by burunduk