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 11-25-11, 12:38 AM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
Nice idea
How about when submerged , button reverts to battery icon . If other buttons pressed IE fuel , co2 while submerged then button reverts to battery after X amount of seconds . Same for the Fuel button while surfaced .
I have the automatically reverting to battery level when submerged and fuel level when surfaced working Great idea I added a new user option for it (AutomaticallySwitchBatteryFuelLevels) that defaults to enabled (True). You'll find this user option under the Automatics tab in the options editor/viewer

I can do the automatically switching back to battery or fuel level after another button is pressed no problem. It will take a little more time than your last idea did though I'll work on it tomorrow
TheDarkWraith is offline   Reply With Quote
Old 11-25-11, 05:04 AM   #2
Magic1111
Silent Hunter
 
Join Date: Sep 2008
Location: Germany - Sailing on U-96 in North Atlantic
Posts: 4,516
Downloads: 784
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
I have the automatically reverting to battery level when submerged and fuel level when surfaced working Great idea I added a new user option for it (AutomaticallySwitchBatteryFuelLevels) that defaults to enabled (True). You'll find this user option under the Automatics tab in the options editor/viewer

I can do the automatically switching back to battery or fuel level after another button is pressed no problem. It will take a little more time than your last idea did though I'll work on it tomorrow
Hi TDW!

Will this new User Option work with UI-SH3 Style too?

Best regards,
Magic
__________________
Magic1111 is offline   Reply With Quote
Old 11-25-11, 06:54 AM   #3
ETsd4
中国水兵
 
Join Date: Dec 2010
Posts: 278
Downloads: 91
Uploads: 0
Default

Bugreport for v6.8.0
Changing color of supermark in the program optionviewer from default to grey with 0% opacity results into...
"FF808080",
but correct would be "808080FF", where grey is "808080" and 0% opacity is "FF".
ETsd4 is offline   Reply With Quote
Old 11-25-11, 09:35 AM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by ETsd4 View Post
Bugreport for v6.8.0
Changing color of supermark in the program optionviewer from default to grey with 0% opacity results into...
"FF808080",
but correct would be "808080FF", where grey is "808080" and 0% opacity is "FF".
Color values are ARGB - alpha, red, green, blue. The app does not let you specify alpha thus it always sets the alpha component to 0xFF (0% opacity).
Colors are written in the .exe file as ARGB values. Look at the stock colors in the .exe file and you will find they all start with 0xFF.
TheDarkWraith is offline   Reply With Quote
Old 11-25-11, 04:42 PM   #5
ETsd4
中国水兵
 
Join Date: Dec 2010
Posts: 278
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by ETsd4 View Post
Bugreport for v6.8.0
Changing color of supermark in the program optionviewer from default to grey with 0% opacity results into...
"FF808080",
but correct would be "808080FF", where grey is "808080" and 0% opacity is "FF".
Defining a supermarkcolor in OptionsFileEditorViewer
grey color: x'808080', opacity x'FF'

=>

OptionsFileEditorViewer = x'FF808080'

=>

TheDarkWrathUserOptions.py = x'FF808080'

=>

SH5 NavMap = supermarkcolor in navmap is x'FF8080' = reddish and that's wrong.
ETsd4 is offline   Reply With Quote
Old 11-26-11, 01:11 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by ETsd4 View Post
Defining a supermarkcolor in OptionsFileEditorViewer
grey color: x'808080', opacity x'FF'

=>

OptionsFileEditorViewer = x'FF808080'

=>

TheDarkWrathUserOptions.py = x'FF808080'

=>

SH5 NavMap = supermarkcolor in navmap is x'FF8080' = reddish and that's wrong.
I finally figured out what you were trying to say. This problem has been fixed and it will be available in v6.9.0
TheDarkWraith is offline   Reply With Quote
Old 11-26-11, 01:35 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v6.9.0 released. See post #1 for details
TheDarkWraith is offline   Reply With Quote
Old 11-26-11, 02:23 AM   #8
jrescalante
Watch
 
Join Date: Jan 2010
Location: New Orleans
Posts: 21
Downloads: 60
Uploads: 0
Default Soup On?

Geez......., I can't even finish my soup before someone changes the ingredients. Back to the kitchen.
jrescalante is offline   Reply With Quote
Old 11-25-11, 09:36 AM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Magic1111 View Post
Will this new User Option work with UI-SH3 Style too?
Any UI style
TheDarkWraith is offline   Reply With Quote
Old 11-25-11, 05:00 PM   #10
Magic1111
Silent Hunter
 
Join Date: Sep 2008
Location: Germany - Sailing on U-96 in North Atlantic
Posts: 4,516
Downloads: 784
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
Any UI style
Wonderful, many thanks TDW!

Best regards,
Magic
__________________
Magic1111 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 05:03 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.