#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
# Blizz-ABS Minimap by Blizzard
# Version: 2.0
# Type: Game Playability Improvement
# Date: 7.2.2007
# Date v2.0: 16.4.2009
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
# Compatibility:
#
# 95% compatible with SDK v1.x. 60% compatible with SDK v2.x. This add-on
# NEEDS "Quick Passability Test" by Blizzard. WILL corrupt your old
# savegames. Might not work with special map add-ons. Does NOT work with
# pixel-movement without changing the code.
#
#
# Why this minimap script better is than any other (aka features):
#
# - simple display to avoid lag
# - custom size, position and opacity, changeable even during the game
# - no bitmaps, no pictures to import, only plain script
# - automatically makes use of Blizz-ABSEAL if installed to decrease lag even
# further
#
#
# Explanation:
#
# This add-on will draw a real-time minimap on the specified X and Y
# coordinate on your screen. It will show the player, events that do NOT have
# a comment in their code that says "\nomap", that are not parallel
# process and that are not auto-start and that are not erased yet. Events
# with a teleport/transfer player command will be shown in a different color.
# Any event with and comment with "\spc" in their code will be also
# displayed differently. Blizz-ABS disables this add-on automatically and
# uses the built-in version of the Blizz-ABS Minimap.
#
#
# Instructions:
#
# You can trigger the minimap visible/invisible with F5 during the game.
# Set up the starting configuration below. The colors follow a template of:
#
# WHAT_COLOR =
Color.new(R, G, B)
#
# R - red
# G - green
# B - blue
#
# Change the colors of the dots on the map as you prefer it.
#
# PLAYER_COLOR - the player on the minimap
# EVENT_COLOR - any event on the minimap that is not erased, is not
# auto-start, is not parallel process and does not have a
# comment in its code with the word "no_minimap"
# TELEPORT_COLOR - any event like the one above, but that has a teleport/
# transfer_player command
# SPECIAL_COLOR - any event with a comment with the word "special"
# MINIMAP_X - default X of the minimap on the screen
# MINIMAP_Y - default Y of the minimap on the screen
# MINIMAP_WIDTH - default maximal allowed width of the minimap
# MINIMAP_HEIGHT - default maximal allowed height of the minimap
# MINIMAP_OPACITY - default opacity of the minimap on the screen
#
# You have the possibility to change the minimap's size, coordinates and
# opacity during the game process. The command you need to type in into a
# "Call Script" command window are:
#
# $game_system.set_minimap_coordinates(X, Y)
# $game_system.set_minimap_size(W, H)
# $game_system.set_minimap_opacity(A)
#
# X - new X
# Y - new Y
# W - new width
# H - new height
# A - new opacity
#
# Any changes will be applied instantly. Note that you don't need to use ALL
# commands.
# The minimap mode can be changed using this code:
#
# $game_system.minimap_mode = MODE
#
# MODE - new mode (0 = off; 1 = on; 2 = full map)
#
#
# Note:
#
# Changing X, Y and opacity during the game will result in just moving the
# sprite. The minimap will not work if the maximal allowed size is smaller
# than the map size. (i.e. if your minimap is 160x120, maps like 170x130,
# 180x15 or 20x140 will not work.)
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# Start Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
PLAYER_COLOR =
Color.new(0, 255, 0)
EVENT_COLOR =
Color.new(0, 128, 255)
TELEPORT_COLOR =
Color.new(255, 255, 0)
SPECIAL_COLOR =
Color.new(255, 0, 0)
MINIMAP_X = 0
MINIMAP_Y = 0
MINIMAP_WIDTH = 160
MINIMAP_HEIGHT = 160
MINIMAP_OPACITY = 160
MAP_MOVE_BUTTON = Input::Z
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# End Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::