Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glorifiedMap.config.DEBUG_ENABLED = false -- Whether or not debug mode should be enabled
- glorifiedMap.config.USE_WORKSHOP_CONTENT_PACK = true -- Whether the default workshop content pack should be downloaded by the clients; this includes map icons
- glorifiedMap.config.DEFAULT_LOCATION_TEXTURE = "glorifiedmap/mapicon/blank.png" -- The default point of interest texture (if not defined)
- glorifiedMap.config.DEFAULT_LOCATION_COLOUR = Color( 255, 255, 255 ) -- The default location colour texture (if not defined)
- glorifiedMap.config.COMPASS_WIDTH = 200 -- The width of the compass (used in the navigation system)
- glorifiedMap.config.COMPASS_HEIGHT = 200 -- The height of the compass
- glorifiedMap.config.COMPASS_MARGIN_BOTTOM = 20 -- The bottom margin of the compass
- glorifiedMap.config.COMPASS_VISUAL_UNIT_OF_LENGTH = "m" -- The unit of length in the compass, example if you set it to ft it will be '100ft' instead of '100m'
- glorifiedMap.config.COMPASS_DISTANCE_DESTINATION_REACHED = 100 -- How far should you be for the compass to disappear/reach your destination
- glorifiedMap.config.COMPASS_MODEL = "models/maxofs2d/lamp_flashlight.mdl" -- What the navigation compass should look like on the hud
- glorifiedMap.config.DEFAULT_NAVIGATION_MARKER_TEXTURE = "glorifiedmap/mapicon/marker.png" -- The navigation marker texture for when you right click to make a marker
- glorifiedMap.config.DEFAULT_NAVIGATION_MARKER_COLOUR = Color( 255, 255, 255 ) -- The navigation marker colour for when you right click to make a colour
- glorifiedMap.config.KEY_BIND = KEY_M -- Pick any key from this list to toggle the panel: http://wiki.garrysmod.com/page/Enums/BUTTON_CODE
- glorifiedMap.config.KEY_BIND_NICENAME = "M" -- The nice name that appears in the notifications.
- glorifiedMap.config.KEY_BIND_NOTIFICATION = true -- Whether or not to show a hint on how to open the map (the key)
- glorifiedMap.config.NOTIFICATION_LENGTH_TIME = 5 -- What time the notification should be visible in seconds
- glorifiedMap.config.NOTIFICATION_DELAY_TIME = 60 -- The time between showing notifications in seconds
- glorifiedMap.config.MAP_DRAG_DELTA_MANUAL_DIFF = 5 -- This simulates the same behaviour as when you drag to change the render origin of the map
- glorifiedMap.config.PANEL_MARGIN = 100 -- Margin aroun the GlorifiedMap panel
- glorifiedMap.config.PANEL_LEGEND_PADDING = 10 -- Padding between the Legend and the items within
- glorifiedMap.config.POI_CREATION_TITLE_HELP_TEXT = "Think of a catchy title for your Point of Interest:" -- Text used in the POI creation panel
- glorifiedMap.config.POI_CREATION_IS_PUBLIC_HELP_TEXT = "Should your Point of Interest be visible to anyone?"
- glorifiedMap.config.POI_TITLE_MIN_LENGTH = 3 -- Minimum length of a POI title
- glorifiedMap.config.POI_TITLE_MAX_LENGTH = 15 -- Maximum length of a POI title
- --[[ By default, GlorifiedMap hides all entities to prevent abuse.
- Add entities below (such as 'prop_physics') to whitelist them to make them appear again. ]]--
- glorifiedMap.config.ENTITY_WHITELIST = {
- [ "prop_physics" ] = true,
- -- doors
- [ "func_door" ] = true,
- [ "func_door_rotating" ] = true,
- [ "prop_door_rotating" ] = true,
- [ "func_movelinear" ] = true,
- [ "prop_dynamic" ] = true,
- [ "prop_static" ] = true,
- -- vehicles
- [ "prop_vehicle_jeep" ] = true,
- }
- glorifiedMap.config.ENTITY_WHITELIST_IS_BLACKLIST = false -- Whether the whitelist above is a blacklist instead
- glorifiedMap.config.SHOULD_DRAW_LOCATIONS = true
- glorifiedMap.config.SHOULD_DRAW_LEGEND = true
- glorifiedMap.config.TEAM_WHITELIST_ENABLED = false -- Whether the usergroup whitelist is enabled
- glorifiedMap.config.TEAM_WHITELIST = { -- What teams are in the whitelist
- [ "Mayor" ] = true,
- --[ "Hobo" ] = true,
- }
- glorifiedMap.config.TEAM_WHITELIST_IS_BLACKLIST = false -- Whether the team whitelist is a blacklist
- glorifiedMap.config.USERGROUP_WHITELIST_ENABLED = false -- Whether the usergroup whitelist is enabled
- glorifiedMap.config.USERGROUP_WHITELIST = { -- What usergroups are in the whitelist
- [ "vip" ] = true,
- --[ "supervip" ] = true,
- }
- glorifiedMap.config.USERGROUP_WHITELIST_IS_BLACKLIST = false -- Whether the usergroup whitelist is a blacklist
- glorifiedMap.config.MAP_MIN_RENDER_SCALE = { -- The maximum zoom level per map
- [ "rp_downtown_v4c_v2" ] = 2,
- [ "rp_downtown_v4c_v4" ] = 2,
- [ "rp_downtown_v4c_v4_sewers" ] = 2,
- [ "gm_flatgrass" ] = 2,
- }
- glorifiedMap.config.MAP_MAX_RENDER_SCALE = 10 -- The minimum zoom level
- --[[ The hook below is for you to add custom Point of Interests.
- If you wish to view a tutorial on how to create custom Point of Interests, please view this YouTube video:
- https://www.youtube.com/watch?v=M6PB_l4Z5vo ]]--
- hook.Add( "glorifiedMap.registerLocations", glorifiedMap.IDENTIFIER, function()
- glorifiedMap.registerLocation( {
- name = "Police Department",
- texture = "glorifiedmap/mapicon/policebadge.png",
- color = Color( 30, 144, 255 ),
- position = Vector( -1370, 112, -131 ),
- maps = {
- "rp_downtown_v2",
- "rp_downtown_v4c_v2",
- "rp_downtown_v4c_v4"
- }
- } )
- glorifiedMap.registerLocation( {
- name = "Local Player",
- texture = "glorifiedmap/mapicon/user.png",
- color = function()
- return team.GetColor( LocalPlayer():Team() )
- end,
- position = function()
- return LocalPlayer():GetPos()
- end
- } )
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement