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 04-18-10, 07:53 AM   #1
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Hi dark just noticed this in the Page Default Hud script:

PageDefaultHud_MapGroup_InterceptCourseButton.Enab led = False
elif PageDefaultHud_MapGroup.Width > 300 and PageDefaultHud_MapGroup.Height > 200:
if PageDefaultHud_MapGroup_Mapcontrol.SelectedContact != None:
PageDefaultHud_MapGroup_Mapcontrol_SelectedContact GUI.Visible = SelectedContactGUIEnabled

reaper7 is offline   Reply With Quote
Old 04-18-10, 08:13 AM   #2
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

Quote:
Originally Posted by reaper7 View Post
Hi dark just noticed this in the Page Default Hud script:

PageDefaultHud_MapGroup_InterceptCourseButton.Enab led = False
elif PageDefaultHud_MapGroup.Width > 300 and PageDefaultHud_MapGroup.Height > 200:
if PageDefaultHud_MapGroup_Mapcontrol.SelectedContact != None:
PageDefaultHud_MapGroup_Mapcontrol_SelectedContact GUI.Visible = SelectedContactGUIEnabled
elif appears again just a few more lines below the above quoted info. Is elif a valid Python Script expression? Is elif equal to elseif?
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 04-18-10, 08:16 AM   #3
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheBeast View Post
elif appears again just a few more lines below the above quoted info. Is elif a valid Python Script expression?
Unless its an abbreviated else if statement. (Wish I know Python)
reaper7 is offline   Reply With Quote
Old 04-18-10, 08:31 AM   #4
Captain von Keldunk
Sonar Guy
 
Join Date: Dec 2007
Posts: 376
Downloads: 187
Uploads: 21
Default

Quote:
Originally Posted by reaper7 View Post
Unless its an abbreviated else if statement. (Wish I know Python)
faren = input("Enter a temperature ") * 9.0 / 5 + 32
print "That degrees converts to",faren
if faren > 212:
print "Steam"
elif faren > 112:
print "Very Hot Water"
elif faren > 32:
print "Water"
else:
print "Ice"
print "Program completed"
__________________
SH
Captain von Keldunk is offline   Reply With Quote
Old 04-18-10, 08:35 AM   #5
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by Captain von Keldunk View Post
faren = input("Enter a temperature ") * 9.0 / 5 + 32
print "That degrees converts to",faren
if faren > 212:
print "Steam"
elif faren > 112:
print "Very Hot Water"
elif faren > 32:
print "Water"
else:
print "Ice"
print "Program completed"
Ah Ok, So it is an Else IF Staement. Cheers
reaper7 is offline   Reply With Quote
Old 04-18-10, 10:51 AM   #6
Yoram777
A-ganger
 
Join Date: Feb 2008
Location: Kingdom of the Netherlands
Posts: 73
Downloads: 60
Uploads: 2
Default

Some great improvements with V1.2, fantastic work

Some questions/ideas for the SH3 style version:

With 1.2 it's not possible to unselect the officers?

Could you remove the dive buttons with the depth meter?
(can already be seen and controlled with the dials on the right)

And would it be possible to show the map tools on the map instead of next to it?,
(this would save some space on the screen and it would look nicer/cleaner)

Yoram777 is offline   Reply With Quote
Old 04-18-10, 11:36 AM   #7
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by Yoram777 View Post
Some great improvements with V1.2, fantastic work

Some questions/ideas for the SH3 style version:

With 1.2 it's not possible to unselect the officers?

Could you remove the dive buttons with the depth meter?
(can already be seen and controlled with the dials on the right)

And would it be possible to show the map tools on the map instead of next to it?,
(this would save some space on the screen and it would look nicer/cleaner)

Like This . Thats the way I'm doing it in my UI Mod.

reaper7 is offline   Reply With Quote
Old 04-18-10, 12:59 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Yoram777 View Post
Some great improvements with V1.2, fantastic work

Some questions/ideas for the SH3 style version:

With 1.2 it's not possible to unselect the officers?

Could you remove the dive buttons with the depth meter?
(can already be seen and controlled with the dials on the right)

And would it be possible to show the map tools on the map instead of next to it?,
(this would save some space on the screen and it would look nicer/cleaner)

You can unselect the officer's order categories very simply. By clicking on an officer it will hide the current order category that is visible. Say you click on the Chief Engineer (CE). He brings up the order category with the propeller, maneuvers, and reports. Now if you click on NA (navigator) that previous order category bar will disappear.

Remove the dive buttons on the far left side? Why? They are quick shortcuts to useful commands - dive, surface, crash dive, and emergency surface. Trying to remove them would be a little complicated as you would have to do lots of scripting to make it work correctly (if it even would work correctly) and then you'd have a problem with the map tools floating up above when they contracted.

Would it be possible to show the map tools on the mini-map? Yes it's possible. Will it do it? No. Too many complications with it. Since the end-user can resize the mini-map in my mod to any size they want, if I placed the map tools inside the mini-map you could experience strange issues of map tools being visible outside the mini-map if you sized it small enough. Second, why take up the little valuable screen real-estate you have with the mini-map by placing more items in it? Third, where it is now and how it's implemented leaves room to add additional items to the map tools very easily. The mini-map is supposed to be a quick reference to the battle situation. It's not the nav-map. The layout as it is now is simple, elegant, and efficient. There's no need to change it.
TheDarkWraith is offline   Reply With Quote
Old 04-18-10, 03:03 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Yoram777 View Post
Some great improvements with V1.2, fantastic work

Some questions/ideas for the SH3 style version:

With 1.2 it's not possible to unselect the officers?
I've changed the code so that you can now unselect the selected officer. If you have an officer selected and you click on that selected officer again it will unselect them
TheDarkWraith is offline   Reply With Quote
Old 04-18-10, 12:50 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by TheBeast View Post
elif appears again just a few more lines below the above quoted info. Is elif a valid Python Script expression? Is elif equal to elseif?
yes, elif is the python expression for 'else if'. It's a conditional expression statement.
TheDarkWraith is offline   Reply With Quote
Old 04-18-10, 01:01 PM   #11
Defiance
Grey Wolf
 
Join Date: Apr 2005
Location: UK
Posts: 906
Downloads: 673
Uploads: 0
Default

TDW, My max res is 1920x1200, only a 24" mon for now

If you need a tester for anything in that res just gimme a holla and i'll push whatever to the limit :P

Nice to know most mods now are compatible in the 1920x1200 res's (hopefully gone are the days of trying to convert letterbox to widescreen)

Ohh TDW, i hashed a sound click out for "Menu.PlaySound" besides that l'il extra i'm loving the whole feel of the TDC/UI layouts you've created

Cheers
__________________
Have Fun

Bye

Def
Defiance is offline   Reply With Quote
Old 04-18-10, 01:03 PM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Defiance View Post
Ohh TDW, i hashed a sound click out for "Menu.PlaySound" besides that l'il extra i'm loving the whole feel of the TDC/UI layouts you've created

Cheers
hashed a sound click? What do you mean?
TheDarkWraith is offline   Reply With Quote
Old 04-18-10, 01:22 PM   #13
Defiance
Grey Wolf
 
Join Date: Apr 2005
Location: UK
Posts: 906
Downloads: 673
Uploads: 0
Default

Heya,
Hmm over here (UK) we call this sign # a Hash

So all's a did was kinda rem'ed the click sound off when ctrl key is pressed

I had figured it out and was just about to try it then stumbled on a post someone had posted doing the same thing lol

I find A: the clicking loud (i have to wear hearing aids) B: not really needed for added reality (doh i mean realism)

Cheers
__________________
Have Fun

Bye

Def
Defiance is offline   Reply With Quote
Old 04-18-10, 01:26 PM   #14
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Brunos View Post
What does the option to toggle between Fat/Lut does ?
when you have the pattern running torpedoes, in each tube that has a pattern runner you'll see a green button below that says 'Toggle FaT/LuT'. When you press that button it will show the pattern runner dials of the TDC so that you can set your pattern running torpedoes patterns.

There is one 'green' button always visible so you can press it to see the pattern running dials at anytime.
TheDarkWraith is offline   Reply With Quote
Old 04-18-10, 01:27 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 Brunos View Post
What does the option to toggle between Fat/Lut does ?
That Fat/Lut button is for Torpedo's that have search patterns. The button brings up the dials that allow you to adjust the search patterns.
__________________
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 10:18 PM.


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.