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

Reply
 
Thread Tools Display Modes
Old 10-31-10, 05:50 AM   #1
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Keyboard layout discrepancies

Maybe this has been covered before, don't know, but this is what's bugging me:

For a lengthy time I've been using a modded keyboard layout, adjusted commands.cfg, keyboard_binds.dds and keyboard_binds_shift.dds (for F1 help) myself to my liking. This worked great until I started using TDW's UI mod. This mod seems to somehow overrule part of the settings in commands.cfg. Even when I apply the keyboard mod after TDW's UI mod I don't get my "private" keyboard settings back, at least part of them.
It seems TDW has set some keyboard settings in some .py file(s) that will not be overruled by a later installed commands.cfg. This results in discrepancy between F1 help displays and actual keyboard functions.

Is it feasable for a user to edit the appropriate .py file(s) to adjust to one's private preference/commands.cfg? If yes, where in in the .py's are the settings?
If this is not wise, where can I find all the keyboard settings fixed in TDW's UI mod, so I can adopt them into my F1 help files (and command.cfg) to work consistently?
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 10-31-10, 06:35 AM   #2
SashaKA001
中国水兵
 
Join Date: Mar 2010
Location: 47°46′46″N, 37°14′51″E
Posts: 271
Downloads: 231
Uploads: 0
Default

Quote:
Originally Posted by ustahl View Post
Maybe this has been covered before, don't know, but this is what's bugging me:

For a lengthy time I've been using a modded keyboard layout, adjusted commands.cfg, keyboard_binds.dds and keyboard_binds_shift.dds (for F1 help) myself to my liking. This worked great until I started using TDW's UI mod. This mod seems to somehow overrule part of the settings in commands.cfg. Even when I apply the keyboard mod after TDW's UI mod I don't get my "private" keyboard settings back, at least part of them.
It seems TDW has set some keyboard settings in some .py file(s) that will not be overruled by a later installed commands.cfg. This results in discrepancy between F1 help displays and actual keyboard functions.

Is it feasable for a user to edit the appropriate .py file(s) to adjust to one's private preference/commands.cfg? If yes, where in in the .py's are the settings?
If this is not wise, where can I find all the keyboard settings fixed in TDW's UI mod, so I can adopt them into my F1 help files (and command.cfg) to work consistently?
You can change the file TheDarkWraithUserOptions.py can open notepad, look for the word Keys and change the letters

example

# if you wanted to enable this without shift required:
# MostFuelEfficientSpeedHotKey = [ True, MenuKeyManagerWrapper.Keys.M, False ]
#
# if you wanted to disable this:
# MostFuelEfficientSpeedHotKey = [ False, MenuKeyManagerWrapper.Keys.M, False ]
#
# Note: Keys.M is used by the Navigation Map in the stock game! It was used only as example here. Also the hotkey will only be recognized if the sub is surfaced
#
change here
MostFuelEfficientSpeedHotKey = [ False, MenuKeyManagerWrapper.Keys.M, False ] # change the M to whatever you want. You can't use M!
SashaKA001 is offline   Reply With Quote
Old 10-31-10, 07:57 AM   #3
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default

Sasha, thank you. Have to dig into that. Will use ConTEXT, which seems better suited for editing .py files than Notepad.
Hopefully all commands hitherto contained in commands.cfg are contained in ...Options.py, we'll see. Obviously editing ...Options.py + adjusting the F1 help files is the only way to make everything consistent. Commands.cfg plays 2nd fiddle in this context, right?
TDW's migration tool will be even more valuable in future.
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 10-31-10, 08:48 AM   #4
SashaKA001
中国水兵
 
Join Date: Mar 2010
Location: 47°46′46″N, 37°14′51″E
Posts: 271
Downloads: 231
Uploads: 0
Default

Quote:
Originally Posted by ustahl View Post
Commands.cfg plays 2nd fiddle in this context, right?
Yes, but Commands.cfg can also be set up under him, I do not look at this help, because I myself have set up Commands.cfg
SashaKA001 is offline   Reply With Quote
Old 10-31-10, 10:44 AM   #5
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default

Quote:
Originally Posted by SashaKA001 View Post
Yes, but Commands.cfg can also be set up under him, I do not look at this help, because I myself have set up Commands.cfg
Hmm, I don't quite follow you here. I too have initially set up my Commands.cfg, and those graphical help files accordingly. Do you mean you know your commands so well you need not use those F1 help graphics?
With TDW's UI mod some of the old commands don't work any longer, like F5, F6, F7 for manning the deck & AA guns etc. Hopefully that can be fixed in ...Options.py.
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 10-31-10, 11:07 AM   #6
SashaKA001
中国水兵
 
Join Date: Mar 2010
Location: 47°46′46″N, 37°14′51″E
Posts: 271
Downloads: 231
Uploads: 0
Default

Quote:
Originally Posted by ustahl View Post
Hmm, I don't quite follow you here. I too have initially set up my Commands.cfg, and those graphical help files accordingly. Do you mean you know your commands so well you need not use those F1 help graphics?
With TDW's UI mod some of the old commands don't work any longer, like F5, F6, F7 for manning the deck & AA guns etc. Hopefully that can be fixed in ...Options.py.
I only need these commands: on pereskop depth. to surface, speed, target identification, fire. map. pereskop up and down, turning the rudders, weather, Chronometer, back to the courses, by the look, and yet what is the key and everything, and the 14 - 16 keys.

I know them by heart
SashaKA001 is offline   Reply With Quote
Old 10-31-10, 11:10 AM   #7
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default

Quote:
Originally Posted by SashaKA001 View Post
I know them by heart
OK, that's what I thought.
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 10:12 AM.


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