Skip to content

rifleh700/mradar

Repository files navigation

mradar

Reengineered original GTA:SA radar for MTA:SA

Features

  • default blips and radar areas are supported
  • default blips coloring
  • artificial horizon and altimeter
  • original textures set format
  • modify-friendly
  • no scaling-bugs
  • optional rectangle radar
  • new F11 map
  • waypoint by click (by Southland-FR)
  • map legend
  • map cursor moving

Settings

You can configure radar with predefined global Lua variables. See mradar_main_client.lua script file. Some of important setting see below

  • RADAR_BLIP_COLOR_ENABLED (default is false) - enables blips painting (usually blips have red or black color, u should always define blips color when this feature is enabled)
  • RADAR_RECTANGLE (default is false) - enables rectangle radar (instead of circle)
  • BIGMAP_ENABLED (default is true) - enables new big map (F11)
  • BIGMAP_CURSOR_SWITCHABLE (default is true) - enables cursor switching when big map (F11) is visible
  • BIGMAP_SWITCH_CURSOR_KEY (default is mouse3) - cursor switching key
  • BIGMAP_CURSOR_ENABLED (default is false) - enables cursor by default when big map (F11) is visible
  • BIGMAP_WAYPOINT_ENABLED (default is true - depends on enabled cursor) - enables waypoint blip by click
  • BIGMAP_POST_GUI (defaults is false) - enables big map "post-gui" drawing
  • BIGMAP_SOUND_ENABLED (defaults is false) - enables big map sounds

Exported client-side functions

  • getMRadarVisible()
  • setMRadarVisible(bool visible)

Screenshots

screenshot1 screenshot2 screenshot3 screenshot4 screenshot5 screenshot6