0 of 0

File information

Last updated

Original upload

Created by

hypermorphic

Uploaded by

hypermorphic

Virus scan

Safe to use

Tags for this mod

About this mod

Use a hotkey to toggle the High Contrast Gameplay setting in Accessibility Options.

Requirements
Permissions and credits
High Contrast Gameplay replaces characters and interactive objects with brightly colored silhouettes that are easy to see.   It's an always-on or always-off setting, but not everyone wants this.  This mod lets you turn it on or off as needed without digging through menus.

The script binds 2 hotkeys.

  • toggleKey (default: End) - Turns the setting on or off each time it's pressed.
  • delayKey (default: PageDown) - Turns the setting on for a period of time (default 5 seconds) then back off.  Before the timer runs out, you can press:
    • delayKey again - Restarts the shutoff timer
    • toggleKey once - Disables the shutoff timer so the setting stays on
    • toggleKey twice - Turns the setting off

Install

Extract the contents of the archive to <game folder>\Phoenix\Binaries\Win64\Mods (this folder should already be created by UE4SS)

If you want to customize the keys or the delay period, edit HighContrastHotkey\Scripts\main.lua

Example, change the delayKey to / and toggleKey to ?

-- Toggle switch key for manual on/off
toggleKey = Key.OEM_TWO
-- Uncomment one line below to choose a modifier key
-- toggleModifier = { } -- no modifier
-- toggleModifier = { ModifierKey.ALT }
toggleModifier = { ModifierKey.SHIFT }
-- toggleModifier = { ModifierKey.CONTROL }


-- Timed activation key, turns the option on for a set period and then back off
delayKey = Key.OEM_TWO
-- Uncomment one line below to choose a modifier key
delayModifier = { }
-- delayModifier = { ModifierKey.ALT }
-- delayModifier = { ModifierKey.SHIFT }
-- delayModifier = { ModifierKey.CONTROL }

Restart the game after making changes to the script.  It should print "HighContrastHotkey ready" to the console during startup.