SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Trying to map hotkeys UI actions. (https://www.subsim.com/radioroom/showthread.php?t=181006)

Frontier359 03-05-11 04:00 AM

Trying to map hotkeys to UI actions.
 
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/down...o=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.


All times are GMT -5. The time now is 05:15 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.