Log in

View Full Version : [WIP] Default Key Commands Plus


Harmsway!
01-01-11, 03:55 PM
Additional key commands for the default key layout. This keeps all the default SH5 keys while adding the following additional ones.

I = Report time to course Intercept
I +Shift = Report range to Intercept

L = Lookouts Report nearest visual contact
B +Shift = Toggle_battle_stations

N = Nearest sound contact
N +Shift = Follow nearest sound contact

X = Toggle Activate Gramophone
X +Shift = Toggle Activate UserRadio

Reason for Mod: Add missing key commands for people who like the SH5 key layout and don't want to use SH3/4 keys.

I might be all alone here but I like using the A,S,D,W keys for moving about. This breaks the logical keys for surface and dive but I made the adjustment and like it. Of course this mod has already been done for myself but there is no sense in uploading it if no one else cares for it.

It is made to work with the Speech fixes and additions (http://www.subsim.com/radioroom//showthread.php?t=174063) so there is no lose of voice for the other commands.

I don't currently use any UI mod so I don't know about compatibility with those.

Vonclik
01-01-11, 04:44 PM
That Is just what I need. If possable , a key to go to the UZO would be nice.:yeah:
Keep up the good work!

Harmsway!
01-01-11, 06:33 PM
That Is just what I need. If possable , a key to go to the UZO would be nice.:yeah:
Keep up the good work!

For some reason the command to the UZO doesn't work. The developers commented out this key probably for that reason. None of the keys will teleport you anywhere and I prefer it that way. It's too bad it won't work while on the bridge though. The binoculars do.

I wanted a way to call to battle stations while on the bridge. The More Crew Commands by Dialog (http://www.subsim.com/radioroom/downloads.php?do=file&id=1671) doesn't have it. So I now have a key for this, only it is different then the battle stations by dialog. The dialog command is a special ability of the EO for efficiency and has an icon that looks like a bell. The key command that I enable brings the crew to battle stations and has an icon that looks like a man (think mensroom). The actual crew on the boat behaves no differently with either one. So I don't know what to think about that. And you can have both at the same time.

I also wanted a key command to zoom on nav map but was unsuccessful. I use a mouse wheel but some may need it. If anyone knows how to get this to work I will put it in. I tried adding a key to command line 70 but no go.

Harmsway!
01-05-11, 08:07 PM
I am now experimenting with New UIs with TDC v6.3.0 (http://www.subsim.com/radioroom/downloads.php?do=file&id=1811) and liking it. However it seems to override the key commands file so I can no longer change my keys. Maybe someone here can tell me how to do that with TheDarkWraith UI mod.

For anyone who is not using any UI mod and would like to change the keys to work as I listed above here's how to do it.

1) Open and edit the commands.cgf file found in Ubisoft\Silent Hunter 5\data\Cfg folder.

2) Look for the following command lines and change as written below;

[Cmd258]
Name=Report_time_to_course_end
Contexts=1
MnID=0x3F250003
Key0=0x49,,"I"

[Cmd259]
Name=Report_range_to_course_end
Contexts=1
MnID=0x3F250004
Key0=0x49,s,"Shift+I"

[Cmd434]
Name=Report_nearest_visual_contact
Contexts=1
Key0=0x4c,C,"L"
MnID=0x3F0A0008
HasDelayedExecution=Yes

[Cmd436]
Name=Toggle_battle_stations
Contexts=1
Key0=0x42,s,"Shift+B"
HasDelayedExecution=Yes
Sound_0=ELO_Helm,MC_CR_SO_01_A;#KarlKoch not working

[Cmd482]
Name=Report_nearest_sound_contact
Contexts=1
MnID=0x3F260003
Key0=0x4E,C,"N"
HasDelayedExecution=Yes

[Cmd485]
Name=Follow_nearest_sound_contact
Contexts=1
MnID=0x3F270003
Key0=0x4E,Cs,"Shift+N"
HasDelayedExecution=Yes
Sound_0=ELO_Helm,MC_RR_HIDRO_01;#KarlKoch

[Cmd561]
Name=Toggle_Activate_UserRadio
Contexts=1
Key0=0x58,s,"Shift+X"

[Cmd562]
Name=Toggle_Activate_Gramophone
Contexts=1
Key0=0x58,,"X"


Notice this works with KarlKoch speach fixes mod.