View Single Post
Old 10-31-10, 06:35 AM   #4801
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