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, 07:57 AM   #1
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   #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
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   #3
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   #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
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   #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
I know them by heart
OK, that's what I thought.
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 10-31-10, 03:55 PM   #6
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default Keyboard Command Issues

TDW, thanks a million for this mod, I refuse to play without it.
There are, however, certain keyboard issues I would like solved or clarified.

With this mod enabled, is it possible to toggle Deck gun, Flak gun and crew management with function keys F5, F6 and F7 respectively? These earlier settings from Commands.cfg seem defunct now.

I took a look at TheDarkWraithUserOptions.py to make relevant changes there, but Line 18 says:

# F1-F11 functions keys are unavailable even though MenuKeyManagerWrapper says they are available. Do not try to use F1-F11.

This sort of stunned me. Acc. to that line keys F1-F11 are unusable. Nevertheless keys F1-F4 do work (help, boat, nav map, conning tower), and that's how it should be. But why not the rest? Consistency? I want to key toggle Deck gun, Flak gun etc. Are keys F5-F11 intentionally meant to be dead & useless? Or is there a way to make them available?

Are all other keys (except function keys) supposed to work exactly as set in Commands.cfg, like before?
I have a feeling that this UI mod somehow "overrules" some of the key commands set in Commands.cfg, even if the keyboard mod with Commands.cfg is added after this UI mod. It seems some commands are determined by Commands.cfg and other by the UI mod. Is there a rule?

I have touched this issue in some other postings, but haven't got to the bottom of it yet. TDW, can you pls shed some light on this?
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 10-31-10, 05:16 PM   #7
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
# F1-F11 functions keys are unavailable even though MenuKeyManagerWrapper says they are available. Do not try to use F1-F11.
You can find those buttons in Commands.cfg if they are registered there then it should work. if not then there is nothing to change these.

Quote:
[Cmd574]
Name=Ability_1
Contexts=1
Key0=0x74,,"F5"

[Cmd575]
Name=Ability_2
Contexts=1
Key0=0x75,,"F6"

[Cmd576]
Name=Ability_3
Contexts=1
Key0=0x76,,"F7"

[Cmd577]
Name=Ability_4
Contexts=1
Key0=0x77,,"F8"

[Cmd578]
Name=Ability_5
Contexts=1
Key0=0x78,,"F9"

[Cmd579]
Name=Ability_6
Contexts=1
Key0=0x79,,"F10"

[Cmd580]
Name=Ability_7
Contexts=1
Key0=0x7A,,"F11"

[Cmd581]
Name=Ability_8
Contexts=1
Key0=0x7B,,"F12"
SashaKA001 is offline   Reply With Quote
Old 11-01-10, 12:01 AM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by ustahl View Post
TDW, thanks a million for this mod, I refuse to play without it.
There are, however, certain keyboard issues I would like solved or clarified.

With this mod enabled, is it possible to toggle Deck gun, Flak gun and crew management with function keys F5, F6 and F7 respectively? These earlier settings from Commands.cfg seem defunct now.

I took a look at TheDarkWraithUserOptions.py to make relevant changes there, but Line 18 says:

# F1-F11 functions keys are unavailable even though MenuKeyManagerWrapper says they are available. Do not try to use F1-F11.
You cannot assign keys F1-F12 as hot keys in the user options file. Game will not recognize them as valid keys. That being said I do nothing with those keys. If they are not working then something else is wrong. All the game's default values for those function keys work fine for me (using v4.9.0 of the mod)
TheDarkWraith is offline   Reply With Quote
Old 11-01-10, 03:50 PM   #9
Illyustrator
中国水兵
 
Join Date: May 2010
Location: BY
Posts: 271
Downloads: 80
Uploads: 1
Default

TheDarkWraith, I understand your employment over work on creation Mega-Mod but if there will be a free minute, I think, it is necessary to pay attention to the offer quad5.
Illyustrator is offline   Reply With Quote
Old 11-01-10, 04:08 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Illyustrator View Post
TheDarkWraith, I understand your employment over work on creation Mega-Mod but if there will be a free minute, I think, it is necessary to pay attention to the offer quad5.
actually finishing up the new tutorial feature and expanding Automation. There are some major changes to Automation happening. Since I've added tutorials I've seen the need for sub categories in categories for Automation. Thus all Automation scripts will have to be updated to the new format or they will be unusable. I hate making drastic changes like this but had to in order to add the tutorial feature. The new format now also forces use to include a description with your script.

You'll find a new column just to the right of categories in Automation: sub categories.
TheDarkWraith is offline   Reply With Quote
Old 11-03-10, 04:12 PM   #11
Berlusconek
Swabbie
 
Join Date: Sep 2010
Posts: 6
Downloads: 47
Uploads: 0
Default

Happend after implementing NewUI 4.8.0 ... under Vista - no matter if opened as an administrator.




Game reinstalation didnt solve a problem.
Deploying of the new campain also.
Other mods working fine ...

Please help.
Berlusconek is offline   Reply With Quote
Old 11-03-10, 04:21 PM   #12
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 Berlusconek View Post
Happend after implementing NewUI 4.8.0 ... under Vista - no matter if opened as an administrator.




Game reinstalation didnt solve a problem.
Deploying of the new campain also.
Other mods working fine ...

Please help.
must begin at the port, then it will not, not in the middle of the job.
SashaKA001 is offline   Reply With Quote
Old 11-03-10, 04:41 PM   #13
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Berlusconek View Post
Happend after implementing NewUI 4.8.0 ... under Vista - no matter if opened as an administrator.
install patch 2

Did you edit the options file? Did you install any of the add-on mods?
TheDarkWraith is offline   Reply With Quote
Old 11-03-10, 04:57 PM   #14
Capt Sinbad
Loader
 
Join Date: Aug 2008
Location: Yorkshire, UK
Posts: 84
Downloads: 24
Uploads: 0
Default

Quote:
Originally Posted by Berlusconek View Post
Happend after implementing NewUI 4.8.0 ... under Vista - no matter if opened as an administrator.




Game reinstalation didnt solve a problem.
Deploying of the new campain also.
Other mods working fine ...

Please help.

exactly same problem i had
Capt Sinbad is offline   Reply With Quote
Old 11-03-10, 10:11 PM   #15
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

Quote:
Originally Posted by Berlusconek View Post
Happend after implementing NewUI 4.8.0 ... under Vista - no matter if opened as an administrator.

Game reinstalation didnt solve a problem.
Deploying of the new campain also.
Other mods working fine ...

Please help.
You either have a type error or conflicting settings in the Options file.

Also, make sure you are not mapping keys in your Commands.cfg that are being mapped in the options file.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast 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 06:13 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.