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

Quote:
Originally Posted by kylania View Post
The problem with that big compass is that it's not scaled properly in SH5. If you noticed in the SH3 screenshot, the inner rings can be used to draw accurate distances quickly.
With regards to scalling has anyone figured out the problem with the Bearing tool only being visible on the 2 most zoomed in levels.
Ie the 2 zoom levels where it displays the Sub a top down graphic rather than the Circle and tail of all the oter zoom levels.

If we could figure what is making it switch between the circle/tail icon and the Sub icon we may find a way to get the 3000m Bearing working.
reaper7 is offline   Reply With Quote
Old 04-27-10, 08:47 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
With regards to scalling has anyone figured out the problem with the Bearing tool only being visible on the 2 most zoomed in levels.
Ie the 2 zoom levels where it displays the Sub a top down graphic rather than the Circle and tail of all the oter zoom levels.

If we could figure what is making it switch between the circle/tail icon and the Sub icon we may find a way to get the 3000m Bearing working.
the MapControl controller controls this. Haven't found a way to make it change the zoom level at which it switches (set at second to last and appears hard coded)
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 08:53 AM   #3
Sonarman
The Old Man
 
Join Date: Mar 2002
Location: Ayr,Scotland,UK
Posts: 1,396
Downloads: 79
Uploads: 0
Default

If the compass is not scalling properly maybe it would be possible to scale it manually to the correct size in Photoshop and use a different image for each level of zoom? That might actually produce better results anyway as it maybe better/sharper than the games inbuilt scaling engine?


I switched to the SH3 style UI today with the min TDC dials mod and found that the teleport controls seem to be all messed up some controls doing nothing when clicked others dumping you off the boat. I previously used the SH5 enhanced UI and all was fine there.
__________________
"The action is simulated...the excitement is real!"
Microprose Simulation Software.
Sonarman is offline   Reply With Quote
Old 04-27-10, 08:58 AM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sonarman View Post
If the compass is not scalling properly maybe it would be possible to scale it manually to the correct size in Photoshop and use a different image for each level of zoom? That might actually produce better results anyway as it maybe better/sharper than the games inbuilt scaling engine?


I switched to the SH3 style UI today with the min TDC dials mod and found that the teleport controls seem to be all messed up some controls doing nothing when clicked others dumping you off the boat. I previously used the SH5 enhanced UI and all was fine there.
interesting I'll have to try it and see for myself
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 09:42 AM   #5
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheDarkWraith View Post
the MapControl controller controls this. Haven't found a way to make it change the zoom level at which it switches (set at second to last and appears hard coded)
Quote:
Originally Posted by Sonarman View Post
If the compass is not scalling properly maybe it would be possible to scale it manually to the correct size in Photoshop and use a different image for each level of zoom? That might actually produce better results anyway as it maybe better/sharper than the games inbuilt scaling engine?
Looks like that may be our only option so. If we create an DDS to correspond to each zoom level, then as we zoom in/out make all the images bar the one we want hidden. Don't see why that wouldn't work.
After all the TAI Map gives us a distance scale, just need to create the bearing to that scale for each level.

Edit: Only snag may be centering it on the sub (Circle/Tails) icon when the map is scrolled around. (Sure its poss)
reaper7 is offline   Reply With Quote
Old 04-27-10, 09:53 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
Looks like that may be our only option so. If we create an DDS to correspond to each zoom level, then as we zoom in/out make all the images bar the one we want hidden. Don't see why that wouldn't work.
After all the TAI Map gives us a distance scale, just need to create the bearing to that scale for each level.

Edit: Only snag may be centering it on the sub (Circle/Tails) icon when the map is scrolled around. (Sure its poss)
yes that snag is a valid one. It's doable but it won't be pretty. You'd have to hook into the AnimationStopped of Page Default Hud and tell it to draw the overlay where the sub is located every update. This would be happening every 0.06 second......highly inefficient. We need to find a better way.

just looked into the Page Default Hud.py file to see if there was a way to hook into the zooming/unzooming of the map and there is:

def ZoomInButton_Clicked( sender ):
PageDefaultHud_MapGroup_Mapcontrol.ZoomIn()

def ZoomOutButton_Clicked( sender ):
PageDefaultHud_MapGroup_Mapcontrol.ZoomOut()

As you can see the Mapcontrol controller takes care of everything.......
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 09:57 AM   #7
Defiance
Grey Wolf
 
Join Date: Apr 2005
Location: UK
Posts: 906
Downloads: 673
Uploads: 0
Default

It just gets better n better

Cheers
__________________
Have Fun

Bye

Def
Defiance is offline   Reply With Quote
Old 04-27-10, 10:04 AM   #8
Sonarman
The Old Man
 
Join Date: Mar 2002
Location: Ayr,Scotland,UK
Posts: 1,396
Downloads: 79
Uploads: 0
Default

Reaper wrote: "After all the TAI Map gives us a distance scale, just need to create the bearing to that scale for each level"

Another snag is that the distance scale on the TAI is currently incorrect measure it with the ruler tool to check and you'll see what I mean. can the distance scale be corrected or is it hardcoded into the map controller?
__________________
"The action is simulated...the excitement is real!"
Microprose Simulation Software.
Sonarman is offline   Reply With Quote
Old 04-27-10, 10:21 AM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sonarman View Post
I switched to the SH3 style UI today with the min TDC dials mod and found that the teleport controls seem to be all messed up some controls doing nothing when clicked others dumping you off the boat. I previously used the SH5 enhanced UI and all was fine there.
I just tested SH3Style with minimal dials and everything worked beautifully. I can't duplicate your problem. I also tried SH3Style with all the TDC modes and everything worked as it should (no teleport problems either).
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 10:32 AM   #10
Sonarman
The Old Man
 
Join Date: Mar 2002
Location: Ayr,Scotland,UK
Posts: 1,396
Downloads: 79
Uploads: 0
Default

Thanks for checking, may be a conflict somewhere with something else I'll try deactivating with JSGME and reactivating to see if things clear up.
__________________
"The action is simulated...the excitement is real!"
Microprose Simulation Software.
Sonarman is offline   Reply With Quote
Old 04-27-10, 10:46 AM   #11
severniae
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Hi TDW,

I checked out that test version you sent me. All good, bearing indicators are all well visible now and looking good. All working rather well! I only have one problem now - the XO - (I use manual targeting) I use him to identify the target and get to the stadimeter to get the range, and then input everything else using your Alldials TDC stuff. However, now when he's selected his dialogue comes up right in the middle of the screen obscuring the periscope view, and as a result, for some reason once he's up I can't right-click to get control from the periscope to the mouse pointer and have to press F1 twice to get the mouse pointer back - Is there any way that I could move his dialogue indicator? (I didn't think it was draggable - I may be wrong)

Anyway, keep up the awesome work. Definitely one of the best SH5 mods so far!
  Reply With Quote
Old 04-27-10, 10:48 AM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by severniae View Post
Hi TDW,

I checked out that test version you sent me. All good, bearing indicators are all well visible now and looking good. All working rather well! I only have one problem now - the XO - (I use manual targeting) I use him to identify the target and get to the stadimeter to get the range, and then input everything else using your Alldials TDC stuff. However, now when he's selected his dialogue comes up right in the middle of the screen obscuring the periscope view, and as a result, for some reason once he's up I can't right-click to get control from the periscope to the mouse pointer and have to press F1 twice to get the mouse pointer back - Is there any way that I could move his dialogue indicator? (I didn't think it was draggable - I may be wrong)

Anyway, keep up the awesome work. Definitely one of the best SH5 mods so far!
What screen res you using?

toggle your messagebox visibility (the L key). He'll move to a better place.

Great idea to make the XO TDC dialog box draggable! I will try that now.
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 11:27 AM   #13
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheDarkWraith View Post
What screen res you using?

toggle your messagebox visibility (the L key). He'll move to a better place.

Great idea to make the XO TDC dialog box draggable! I will try that now.
Have you had any luck with the Menubox dragging. The reason I ask is I've got the code to drag single Bmp Controls around like the compass and that. But if I use the same code to drag a Group around that contains a variety of static Bmp and Bmp Arrays it just won't budge.

Code:
 
def InitializeScript():
 
if Pageobsperiscope_AttackDisc.Handles.Length == 0:
     attackdischandle = Pageobsperiscope_AttackDisc.AddMoveFixedSizeHandle()
     attackdischandle.SetSnapParent( Pageobsperiscope_AttackDisc, MenuItemWrapper.LocationPresets.TopLeft)        
     attackdiscsize = Pageobsperiscope_AttackDisc_attackdisc.Size
     attackdischandle.Resizability = MenuItemWrapper.ResizabilityTypes.NoAspectRatioConstraint
     attackdischandle.Resize( attackdiscsize.Width, attackdiscsize.Height, False )
reaper7 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.