Location Preview Settings
Overview
This sections offers a lot of Settings related to the Location Preview.
Whether you want to use the Location Preview Feature.
USE_LOCATION_PREVIEW = true
Possible values:
true
= enabled: This Feature can be used.false
= disabled: all Settings below will not be used.
Choose the button that needs to be pressed to show the Location Preview of the current Location.
SHOW_LOCATION_BUTTON = Input::USE
Possible values:
Input::JUMPUP
Input::JUMPDOWN
Input::SPECIAL
Input::AUX1
Input::AUX2
Whether you can trigger the Location Preview if the Location hasn't been visited yet. (This Setting has no effect if NO_UNVISITED_MAP_INFO is set to false).
CAN_VIEW_INFO_UNVISITED_MAPS = true
Possible values:
true
= enabled: the Location Preview can be triggered for Unvisited Locations.false
= disabled: You can only trigger the Location Preview for Visited Locations.
If the Setting above is set to true
, this Setting can be used to set what text to show if the Location hasn't been visited yet.
UNVISITED_MAP_INFO_TEXT = _INTL("No information Available")
Possible value:
any
"text"
you want inside_INTL("")
.
Set the max lines the Location Description can take.
MAX_DESCRIPTION_LINES = 3
Possible value:
any number above 1.
Add an offset to the X and Y position used for the Location Description Text.
DESCRIPTION_TEXT_OFFSET_X = 0
DESCRIPTION_TEXT_OFFSET_Y = 0
Possible value:
Any number (can be negative too).
Change the Color used for the Location Description Text.
DESCRIPTION_TEXT_MAIN = Color.new(248, 248, 248)
DESCRIPTION_TEXT_SHADOW = Color.new(0, 0, 0)
Possible value:
3 numbers between 0 and 255
Whether the Location Description Text should be centered vertically when it's smaller in lines than the Map Icon (if used.
CENTER_DESCRIPTION_TEXT = true
Possible values:
true
= enabled: the Location Description Text will be centered vertically.false
= disabled.
Set the max height of a Location Icon can take.
MAX_ICON_HEIGHT = 96
Possible values:
the number equal to PREVIEW_LINE_HEIGHT * MAX_DESCRIPTION_LINES
Add an offset to the X and Y position used for the Location Icon.
ICON_OFFSET_X = 0
ICON_OFFSET_Y = 0
Possible values:
any number (can be negative too
Whether the Location Icon should be centered vertically when it's smaller than the Location Description (in lines). (Similar to CENTER_DESCRIPTION_TEXT Setting)
CENTER_ICON = true
Possible values:
true
= enabled: the Location Icon will be centered vertically.false
= disabled.
Set the spacing between the Location Description and the Location Direction Text.
DIRECTION_HEIGHT_SPACING = 16
Possible values:
any number above 0
Whether you want to have a Dash Line drawn between the Location Description and the Location Direction Text.
DRAW_DASH_IMAGES = true
Possible values:
true
= enabled: there will be a Dash Line drawn between the Location Description and the Location Direction Text using themapLocationPreviewDash.png
image.false
= disabled.
Add an offset to the X and y position of the Dash Line.
DASH_OFFSET_X = 0
DASH_OFFSET_Y = 0
Possible value:
Any number (can be negative too).
Set the max lines the Location Directions can take.
MAX_DIRECTION_LINES = 2
Possible value:
Any number above 0
Add an offset to the X and Y position used for the Location Direction Text.
DIRECTION_TEXT_OFFSET_X = 0
DIRECTION_TEXT_OFFSET_Y = 0
Possible value:
Any number (can be negative too).
Change the Color used for the Location Direction Text.
DIRECTION_TEXT_MAIN = Color.new(248, 248, 248)
DIRECTION_TEXT_SHADOW = Color.new(0, 0, 0)
Possible value:
3 numbers between 0 and 255
Set the amount of Spaces between each direction for a Location should be used.
LOCATION_DIRECTION_SPACES = 3
Possible value:
any number above 0.
Last updated