Those two keys are on different keys on my keyboard.
For instance, ¬
, ¦
and `
are all on the one key while #
and ~
are on their own key so `~
isn't going to help me much. A hotkey that's in the same place across most regions (instead of just EN-US layout) such as Insert
might be better. Or even one of the unused Function (F10
, for example) keys.
Whichever key returns the Agrave keycode in the Input module when used.
Once I figure out how to do it, the hotkeys will be bindable in the games keybind menu (or in a new menu if that isn't easily doable; which would be accompanied by a special key item added for convenience)
Note: If anyone wants to take a stab at implementing said feature before I get around to it, there is a branch setup for it already on the github (preferably a self-contained script named
keybinds
in the
scripts/lib
folder)
P.S: F10 isn't unused, that's the console hotkey.
P.P.S: Added a super basic hotkey config in the latest commit. Once using the update, create the following section in the
GameCheats.ini
file:
INI:
[Cheats Mod - Hotkeys]
CheatMenu = F9
If not set, hotkey defaults to Agrave.
For valid keycodes, see the
Data/Scripts/Frames/RVscript/530_Hime_AllKey.rb
file.
Mod-specific keycodes added in the
ModScripts/_Mods/Cheats Mod/scripts/lib/530_HimeAllKeyPlus.rb
file.
To change while ingame, use the following console commands:
$mod_cheats.hotkey = :keycode (keycode used must start with
:
)
To save the new hotkey to the GameCheats.ini:
$mod_cheats.config.writeHotkey
If changed outside the game while it's running:
$mod_cheats.config.readHotkey
Note: readHotkey and writeHotkey do not check if the keycode is valid.
Eg: Say you want to set the menu hotkey to I, the keycode to use is :LETTER_I.
The console command would be
$mod_cheats.hotkey = :LETTER_I
, while the line in the GameCheats.ini would be
CheatMenu = LETTER_I