SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 4: Wolves of the Pacific (https://www.subsim.com/radioroom/forumdisplay.php?f=202)
-   -   Laptop Keyboard Shortcuts (https://www.subsim.com/radioroom/showthread.php?t=155336)

Paul Roberts 08-24-09 08:06 AM

Laptop Keyboard Shortcuts
 
Hi all,

Now that I'm playing SH4 on a laptop, I discover that I miss my numpad keys. (My laptop has no numerical keypad.)

Is there an (easy) way to remap the shortcut keys for "time compression" and "hide interface" (which was Numpad Delete) to new keys?

Thanks!

Munchausen 08-24-09 12:29 PM

Quote:

Originally Posted by Paul Roberts (Post 1157683)
(My laptop has no numerical keypad.)

:hmmm: Most laptops have "blue keys" ... you hold down the "Function" (Fn) key while pressing whatever key has a blue label. The Numpad "Del" key is also the Numpad "." key ... try using the corresponding Function key and see if it hides the orders bar.

If it doesn't work, you can remap keys by editing the (IIRC) "commands.cfg" file.

Paul Roberts 08-24-09 01:45 PM

Thanks.

I seem to have no blue function-enabled keys (other than the function row at the top of the keyboard). There's no "shadow" numpad on my Dell.

Is there a simple tutorial for keymapping in SH4 available? I searched but did not find.

Munchausen 08-25-09 12:13 PM

  • Find the correct file (I think it's called commands.cfg) in your game folder.
  • Drag a backup copy of the file to your Desktop.
  • Open the in-game file using Notepad.
  • Examine the file carefully ... determine how keys are mapped.
  • Find the key you want to remap.
  • Find a mapped key you never plan to use.
  • Modify the file by switching keymap functions.*
  • Save the file.
  • Launch the game and test your mod.
If it works, congratulations. If it doesn't, replace your modded file with the backup you dragged to Desktop.

* Either that, or determine which keys have not yet been mapped and use one of them instead. Some keys are disabled (via the semicolon in front of the command line) ergo, you have a ready-made key and its corresponding keycode.

green_abobo 12-18-16 03:03 AM

If your laptop is like mine, i have to do FN + home / num lk key, in order to alternate between navigational controls (heading to view & 0 rudder) & attack periscope, (up / down) or vice versa.

They both use the same buttons on my keypad. :k_confused:

Happy holidays.

Col7777 12-18-16 05:16 AM

You can buy numerical keypads that plug in the USB, they are not expensive:



https://www.google.co.uk/search?q=nu...e=off&tbm=shop

Deputy 12-18-16 01:53 PM

Quote:

Originally Posted by Col7777 (Post 2452961)
You can buy numerical keypads that plug in the USB, they are not expensive:



https://www.google.co.uk/search?q=nu...e=off&tbm=shop

Probably your best bet. As Col says, they are not expensive and a lot easier to use.

jldjs 12-21-16 08:10 AM

Also, DL SHKeymapper from the downloads section and use it to change commands.cfg. It's easier than TextEdit on that file.


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