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 = truePossible 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::USEPossible values:
Input::JUMPUPInput::JUMPDOWNInput::SPECIALInput::AUX1Input::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 = truePossible 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 = 3Possible 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 = 0Possible 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 = 96Possible 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 = 0Possible 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 = truePossible 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 = 16Possible 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 = truePossible values:
true= enabled: there will be a Dash Line drawn between the Location Description and the Location Direction Text using themapLocationPreviewDash.pngimage.false= disabled.
Add an offset to the X and y position of the Dash Line.
DASH_OFFSET_X = 0
DASH_OFFSET_Y = 0Possible value:
Any number (can be negative too).
Set the max lines the Location Directions can take.
MAX_DIRECTION_LINES = 2Possible 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 = 0Possible 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 = 3Possible value:
any number above 0.
Last updated