Configuration
You can edit the following variables in the file: config.lua
LANGUAGE
The active locale name.
LANGUAGE = "en"
DEFAULTKEY_CURSOR
The key to show the cursor. (See the list of keys)
DEFAULTKEY_CURSOR = "LMENU"
RANGE
The range at which interactions can be triggered.
RANGE = 1.5
PEDESTRIAN
Toggle interactions on pedestrians. (If false, the indicators won't show)
PEDESTRIAN = true
ENTITY_SPRITE
The indicators' customization.
DICT
: string, texture dictionary.NAME
: string, texture name.WIDTH
: number, indicator's width.HEIGHT
: number, indicator's height.ROT
: number (deg), indicator's rotation.COLOR_R
: integer (0-255), Red amount in RGBA.COLOR_G
: integer (0-255), Green amount in RGBA.COLOR_B
: integer (0-255), Blue amount in RGBA.COLOR_A
: integer (0-255), Alpha amount in RGBA.
ENTITY_SPRITE = {
DICT = "mpfclone_common",
NAME = "component_selector",
WIDTH = 0.02,
HEIGHT = 0.02*GetAspectRatio(false),
ROT = 45.0,
COLOR_R = 41,
COLOR_G = 155,
COLOR_B = 255,
COLOR_A = 255
}
ENTITY_SPRITE_HOVER
The indicators' customization when hovered.
DICT
: string, texture dictionary.NAME
: string, texture name.WIDTH
: number, indicator's width.HEIGHT
: number, indicator's height.ROT
: number (deg), indicator's rotation.COLOR_R
: integer (0-255), Red amount in RGBA.COLOR_G
: integer (0-255), Green amount in RGBA.COLOR_B
: integer (0-255), Blue amount in RGBA.COLOR_A
: integer (0-255), Alpha amount in RGBA.
ENTITY_SPRITE_HOVER = {
DICT = "mpfclone_common",
NAME = "decyphered_selector",
WIDTH = 0.02,
HEIGHT = 0.02*GetAspectRatio(false),
ROT = 45.0,
COLOR_R = 41,
COLOR_G = 155,
COLOR_B = 255,
COLOR_A = 255
}
Last updated