SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-05-11, 04:00 AM   #1
Frontier359
Sailor man
 
Join Date: Feb 2011
Posts: 44
Downloads: 12
Uploads: 0
Default 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?
__________________

Let's Play SILENT HUNTER 3

Last edited by Frontier359; 03-05-11 at 04:18 AM. Reason: made title clearer
Frontier359 is offline   Reply With Quote
Old 03-05-11, 06:49 AM   #2
Robin40
Chief
 
Join Date: Aug 2010
Location: Rivoli (Italy)
Posts: 310
Downloads: 162
Uploads: 0
Default

Try this

http://www.subsim.com/radioroom/down...o=file&id=1016
Robin40 is offline   Reply With Quote
Old 03-05-11, 06:55 AM   #3
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 632
Uploads: 0
Default

...or that one:

http://www.subsim.com/radioroom/showthread.php?t=168297
SquareSteelBar is offline   Reply With Quote
Old 03-05-11, 01:38 PM   #4
Frontier359
Sailor man
 
Join Date: Feb 2011
Posts: 44
Downloads: 12
Uploads: 0
Default

And here I thought I'd have to manually hex/hax the guts of that file. This is brilliant. Than you very much.
__________________

Let's Play SILENT HUNTER 3
Frontier359 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06: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.