Skip to content

Features Highlighting

Albeoris edited this page Feb 12, 2022 · 1 revision

When player character approach interactive object, a pop-up icon appears (an exclamation mark on chest, a dialog bubble on character, etc.).

If player character is in a hidden passage, the passage becomes visible.

The mod allows you to make hidden passages visible or highlight interactive objects even if the character is away from them.

Known Issues

Player character can interact with the highlighted object that is up to 5 cells in front of him. For example, if he is looking at two chests standing next to each other, an attempt to open the closest one may cause the farthest one to open. This is due to the fact that the game is looking for active icons around the character in a large radius (for example, to interact with the innkeeper at the counter). The engine gives us the ability to filter the found objects, and we use only those on which the character stands, or those that are in front of him. But we can't select the nearest object. To do this, we need to rewrite the search for the target, which may break compatibility in the future - it is worth deffer these changes for one year, when the engine is stabilized.

Configuration

Some features are turned off by default. To change them you need to edit the configuration file.

[Highlighting]

## Enables or disables highlighting of interactive objects.
# Setting type: HotkeyGroup
# Default value: CapsLock; CapsLock(Hold)
# Acceptable keys: Ctrl+Alt+Shift+Key: https://docs.unity3d.com/ScriptReference/KeyCode.html
# Acceptable actions: Ctrl+Alt+[Action]+[Action]: [None], [Enter], [Cancel], [Shortcut], [Menu], [Up], [Down], [Left], [Right], [SwitchLeft], [SwitchRight], [PageUp], [PageDown], [Start]
HighlightingKey = CapsLock; CapsLock(Hold)

## Allowed types of highlighted icons.
# Setting type: IReadOnlyList`1
# Default value: GetOn, TreasureBox
# Acceptable values: None, Talk, GetOn, GetOff, TreasureBox, GetOnShip, TreasureBoxOff
HighlightingIcons = GetOn, TreasureBox

## Pressing the key highlights hidden passages.
# Setting type: Boolean
# Default value: false
HighlightHiddenPassages = false