Garry's Mod

Garry's Mod

1,272 ratings
3D Minimap (Navmesh based)
3
4
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
395.851 KB
26 Feb @ 12:43pm
4 Jun @ 7:49pm
7 Change Notes ( view )

Subscribe to download
3D Minimap (Navmesh based)

In 1 collection by Zelektra
Zelektra's Mods
5 items
Description
A (Psuedo) 3D Minimap for GMod!

This addon displays a minimap for ANY map with a NAVMESH.
The 3D effect is not actually real 3D but faked by vertically offsetting rects based on their height.
Pressing M will make the map fullscreen allowing you to look around the map.

Features
-Shows the entire generated navmesh as a minimap
-Large map view by pressing M
-Icons for Players (Based on Player colour), NPCs and other entities
-Displays physics and dynamic props in real time
-Vision cones for NPCs and players
-Trail to show where you and other players have been (Based on player colour or R A I N B O W)
-Culls anything above the ceiling, allowing for easy navigation indoors
-Options for changing position and size
-Compass pointers
-Colour customisation
-Lots of cusomisation options

Controls:
M to toggle full map
LMB and drag to pan
RMB and drag to rotate and zoom
Shift + RMB and drag to change height

The Navmesh MUST be generated for each map.
Use "Regenerate Minimap Data (Server)" button to regenerate data on the server and "Request Minimap Data (Client)" to get the minimap on the client (Time will vary depending on the map size). Use "sv_minimap_minareasize" to determine the minimum size of an area, setting this to high will ignore smaller nav areas but will make the map less detailed.
To speed up loading times on first launch, a "chunking" system is used, nav areas are now sent in batches, customizable with "sv_minimap_chunksize" (Default 25). If this is too high, you run the risk of crashing the client(s) (Nothing I can do about that).

I cannot guarantee high performance on large maps, play around with the settings and zoom levels to suit your needs.

I highly recommend Navmesh Optimiser by StrawWagen
https://sp.zhabite.com/sharedfiles/filedetails/?id=2878197619

Explanation of Fade Type
Fade type determines how the map fades depending on the height.
Fade type 0 is relative to the player, controlled by "Fade Distance".
Fade type 1 takes the distance between the top and bottom most rect and fades based on your elevation between them.
Hope that makes sense, play around and see what works for you!

Options under Utilities > User > 3D Minimap
Popular Discussions View All (2)
15
3 May @ 8:48pm
Bugs
Zelektra
1
24 Apr @ 10:52am
Reveal all npcs/entities in the entire map?
Francis • LUL
98 Comments
Zelektra  [author] 4 Jun @ 8:21pm 
@Spaceman Spiff I'll look into it tomorrow. If you could get some screenshots I'll understand more what's happening, thanks!
Spaceman Spiff 4 Jun @ 8:05pm 
@zelektra it's still has the issue whenever you load a new map. the bugged scaling only applies after loading into a new game. also, holy shit, you work fast.
Zelektra  [author] 4 Jun @ 7:39pm 
@Spaceman Spiff Thank you very much! :)
Spaceman Spiff 4 Jun @ 7:36pm 
@Zelektra cool! thanks a bunch. good luck with fixing the map. love the mod. keep up the good work. :steamthumbsup:
Zelektra  [author] 4 Jun @ 7:35pm 
@Spaceman Spiff I will add an button to reset the settings
Spaceman Spiff 4 Jun @ 7:32pm 
while i'm here, could you please put what the default settings are in the description so i can put it back to default if i want?
Spaceman Spiff 4 Jun @ 7:14pm 
@Zelektra I just saw that it's the reverse for the Y coordinate.
the lower the mini map, the more offset to the left the full map is (as well as having an increased Y scale)
Spaceman Spiff 4 Jun @ 7:10pm 
@Zelektra I figured it out. you have the full map's X position on the screen hooked up to the mini map's X position on the screen, that the further to the right the mini map is, the full map will be offset by the same amount. also, the full map's Y scale seems to somehow be inversely proportional to the mini map's X position value too.
Spaceman Spiff 4 Jun @ 7:03pm 
@Zelektra it was because i have my mini map in the top right instead of the top left... I honestly didn't expect it to be something like that
Spaceman Spiff 4 Jun @ 6:48pm 
@zelektra no, i know that. even after it's done loading, the maximized map still shows literally nothing. the mini map on the hud will show stuff, but the full map is just not there. it's like it's invisible. i think it's conflicting with something. looking into that rn.