Log in

View Full Version : Trying to map hotkeys UI actions.


Frontier359
03-05-11, 04:00 AM
I'm trying to map hotkeys to GUI buttons; things you'd find when clicking through officer portrait menus -- weather report, nearest visual contact, depth under keel, etc.

I found and opened the file responsible for this: 'Commands_en.cfg'.

This is an example of what I see:

[Cmd1]
Name=Help
Ctxt=1,2,3,4,5,6,7,8,9,10
Key0=0x70,,"F1(EN)"

At the top of the file it says:

"KeyX = an entry containing <key_code>,<flags chars>,<help text id>"

My question:

Where would I find a list of key codes that the game will recognize?

Robin40
03-05-11, 06:49 AM
Try this

http://www.subsim.com/radioroom/downloads.php?do=file&id=1016

SquareSteelBar
03-05-11, 06:55 AM
...or that one:

http://www.subsim.com/radioroom/showthread.php?t=168297

Frontier359
03-05-11, 01:38 PM
And here I thought I'd have to manually hex/hax the guts of that file. This is brilliant. Than you very much.