Skip to content

rifleh700/mradar

Repository files navigation

mradar

Reengineered original GTA:SA radar and hud 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
  • localization support
  • new crosshair

Localization

Implemented languages:

  • English (default)
  • Spanish
  • Russian

Choose one of text script files in meta.xml

Settings

You can configure this resource with predefined global Lua variables. See script files.

  • mradar_main_client.lua radar and big map
  • mradar_crosshair_client.lua crosshair
  • mradar_hud_client.lua hud

Some of important settings are 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)
  • getMHudVisible()
  • setMHudVisible(bool visible)

Screenshots

screenshot1 screenshot2 screenshot3 screenshot4 screenshot5 screenshot6 screenshot7 screenshot8 screenshot9

About

Reengineered original GTA:SA radar and hud for MTA:SA

Topics

Resources

License

Stars

18 stars

Watchers

1 watching

Forks

Contributors