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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-20-11, 08:46 AM   #1
mido
Engineer
 
Join Date: Nov 2009
Location: Dominican Republic
Posts: 203
Downloads: 191
Uploads: 1
Default How to modify keyboard shortcuts?

I need to travel extensively for the next couple of months but do not want to give up playing SH4. Therefore I need to modify some keyboard shortcuts for my laptop without numeric keypad.
At home the laptop has a nice big monitor and a keyboard plugged but of course not when I am traveling.
Can somebody help me to create a "mini-mod" which changes the keyboard shortcut layout? I need some keys which are only available from the numeric pad changed to a keyboard without numeric keypad.

Thanks in advance for any input!
mido is offline   Reply With Quote
Old 12-20-11, 07:54 PM   #2
HW3
Navy Seal
 
Join Date: Apr 2005
Location: Gresham Oregon
Posts: 6,574
Downloads: 458
Uploads: 0


Default

I am interested in this as well.
__________________


"Some ships are designed to sink...others require our assistance." Nathan Zelk
HW3 is offline   Reply With Quote
Old 12-20-11, 07:59 PM   #3
Klaus
Officer
 
Join Date: Mar 2010
Location: Botosani, Romania
Posts: 242
Downloads: 614
Uploads: 0
Default

Quote:
Originally Posted by mido View Post
I need to travel extensively for the next couple of months but do not want to give up playing SH4. Therefore I need to modify some keyboard shortcuts for my laptop without numeric keypad.
At home the laptop has a nice big monitor and a keyboard plugged but of course not when I am traveling.
Can somebody help me to create a "mini-mod" which changes the keyboard shortcut layout? I need some keys which are only available from the numeric pad changed to a keyboard without numeric keypad.

Thanks in advance for any input!
by editing Data/Cfg/Commands.cfg file
I will try today to make a minimod, but i don't know if i have enough time i have much work these days
What's the keys you want to change? for time compression, Numpad "+", "-" and "enter"?

Last edited by Klaus; 12-21-11 at 04:11 AM.
Klaus is offline   Reply With Quote
Old 12-21-11, 07:38 AM   #4
mido
Engineer
 
Join Date: Nov 2009
Location: Dominican Republic
Posts: 203
Downloads: 191
Uploads: 1
Default

Thanks so much for your reply!

The most needed keys in the numpad are - and + for time compression and and . for turning the UI on and off, and yes, the "Enter" key, too.

Which keys to assign to, well, that's a matter of taste, what ever is available.

Thanks again.
mido is offline   Reply With Quote
Old 12-21-11, 02:40 PM   #5
HW3
Navy Seal
 
Join Date: Apr 2005
Location: Gresham Oregon
Posts: 6,574
Downloads: 458
Uploads: 0


Default

Yes the + and - keys and the . for turning the UI on and off are the big ones. The rest I can work around. Thank you for doing this for us when you do get a chance to do it.

__________________


"Some ships are designed to sink...others require our assistance." Nathan Zelk
HW3 is offline   Reply With Quote
Old 12-21-11, 03:26 PM   #6
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default

This is the answer to all your problems. Make your own key map.
http://www.subsim.com/radioroom/show...t=SH_Keymapper
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 12-21-11, 07:04 PM   #7
mido
Engineer
 
Join Date: Nov 2009
Location: Dominican Republic
Posts: 203
Downloads: 191
Uploads: 1
Default

Quote:
Originally Posted by irish1958 View Post
This is the answer to all your problems. Make your own key map.
http://www.subsim.com/radioroom/show...t=SH_Keymapper
Thanks for that one! Will give it a try right now.
mido is offline   Reply With Quote
Old 12-22-11, 01:35 AM   #8
HW3
Navy Seal
 
Join Date: Apr 2005
Location: Gresham Oregon
Posts: 6,574
Downloads: 458
Uploads: 0


Default

Hum, can't change the . to turn the UI on/off. It must be hard wired.
__________________


"Some ships are designed to sink...others require our assistance." Nathan Zelk
HW3 is offline   Reply With Quote
Old 12-22-11, 08:31 AM   #9
mido
Engineer
 
Join Date: Nov 2009
Location: Dominican Republic
Posts: 203
Downloads: 191
Uploads: 1
Default

Quote:
Originally Posted by HW3 View Post
Hum, can't change the . to turn the UI on/off. It must be hard wired.
I found out the same thing and this is the command you cannot access from anywhere else.

Or???

Where are the experts?
mido is offline   Reply With Quote
Old 12-22-11, 12:39 PM   #10
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default

There is a command to hide the UI, and you should be able to map it with jimimadrid,s program.
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 12-22-11, 02:33 PM   #11
I'm goin' down
Ocean Warrior
 
Join Date: Sep 2008
Location: Notify command we have entered the Grass Sea
Posts: 2,822
Downloads: 813
Uploads: 0
Default

your laptop probably has a keyboard that allows you to access the Num Lock feature. On my loveno laptop the entry is Fn and Num Lock. Then when I hit the "." key, I can insert the crew in the anti aircrapt gun station in TMO. By hitting Fn and Num Lock as second time, the regular keyboard is resurrected and the gun is manned.

If you research your keyboard set up, you should be able to locate the combination required to use the Num Lock feature. The problem is that when you are in Num Lock mod, many keys may be assigned different function, so Keymapper may be the best bet.
I'm goin' down is offline   Reply With Quote
Old 12-22-11, 04:04 PM   #12
HW3
Navy Seal
 
Join Date: Apr 2005
Location: Gresham Oregon
Posts: 6,574
Downloads: 458
Uploads: 0


Default

Quote:
There is a command to hide the UI
I know there is but, it is not listed in the commands.cfg, so the . key shows up in jimimadrid,s program as white with no command listed for it, so therefore we can not move it to a key we do have on our keyboards.
__________________


"Some ships are designed to sink...others require our assistance." Nathan Zelk
HW3 is offline   Reply With Quote
Old 12-22-11, 06:15 PM   #13
mido
Engineer
 
Join Date: Nov 2009
Location: Dominican Republic
Posts: 203
Downloads: 191
Uploads: 1
Default

Quote:
Originally Posted by HW3 View Post
...it is not listed in the commands.cfg...
That is exactly the problem, it is not listed as a command in the commands.cfg file. But the "Esc" key for the "in game menu" is not listed there either so there must be another file where these keys are assigned to certain in game commands.
Maybe somebody knows...
mido is offline   Reply With Quote
Old 12-23-11, 10:10 AM   #14
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default Hiding the UI

I am not sure what the problem is. I have a laptop and I mapped this on my computer. However, I used set keys to do it, but it was at least a couple of years ago and I don't remember how I did it.
SetKeys was developed forSH3, but with some effort it can be made to work with both SH4 and SH5. SetKeys has the advantage in that it can asign a series of commands to one key
When I have time I will look into it and see if I can do it again.
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 12-23-11, 11:31 AM   #15
mido
Engineer
 
Join Date: Nov 2009
Location: Dominican Republic
Posts: 203
Downloads: 191
Uploads: 1
Default

Here is the outcome for me:

I was not able to remap the numpad "." because the "hide UI" command is not handled by the command.cfg but I could remap numpad "+" and "-" (by now without the keymapper program) by making changes in the command.cfg.

To solve the problem with the numpad "." key (hide UI) I used a program called SharpKeys to change the numpad "." to an unused key on my laptop keyboard.

Thanks to all for the help!

Last edited by mido; 12-23-11 at 03:47 PM.
mido is offline   Reply With Quote
Reply


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 11:07 AM.


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.