SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Multiple UIs for SH5 with TDC (https://www.subsim.com/radioroom/showthread.php?t=166093)

Sonarman 04-27-10 10:12 AM

If you want to be super smart you could use all 32 points of the compass. Although that may be a little excessive & confusing for newbs.

TheDarkWraith 04-27-10 10:21 AM

Quote:

Originally Posted by Sonarman (Post 1375022)
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).

Sonarman 04-27-10 10:32 AM

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.

TheDarkWraith 04-27-10 10:41 AM

Quote:

Originally Posted by kylania (Post 1374988)
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. In SH5 the scale of it changes so that depending on the zoom level you're at you'll get wildly different values for the same distance of line. I'll try to take some screenshots that show that at work.

Here's the documentation for that compass ruler and how it's supposed to work.

let's try something....no guarantees it will work but I'm highly optimistic it will.
If someone can provide me with the width and height dimensions that this compass should be at each zoom level I'll try and implement it.

severniae 04-27-10 10:46 AM

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!

TheDarkWraith 04-27-10 10:48 AM

Quote:

Originally Posted by severniae (Post 1375153)
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.

reaper7 04-27-10 11:27 AM

Quote:

Originally Posted by TheDarkWraith (Post 1375158)
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 )


TheDarkWraith 04-27-10 11:30 AM

new user option added (XOTDCDialogDraggable). If set to True then the XO TDC dialog box is draggable and the feature of the XO TDC dialog box dynamically repositioning based on messagebox visibility is disabled. The very top bar of the XO TDC dialog box is where you grab to drag it.

You first have to click on the XO to 'open him up'. Then you will be able to drag him where you want him.
http://www.subsim.com/radioroom/pict...pictureid=1926

reaper7 04-27-10 11:34 AM

Quote:

Originally Posted by TheDarkWraith (Post 1375205)
new user option added (XOTDCDialogDraggable). If set to True then the XO TDC dialog box is draggable and the feature of the XO TDC dialog box dynamically repositioning based on messagebox visibility is disabled. The very top bar of the XO TDC dialog box is where you grab to drag it.

You first have to click on the XO to 'open him up'. Then you will be able to drag him where you want him.
http://www.subsim.com/radioroom/pict...pictureid=1926


So drag does work with more complex Controls. Does this also hook the recognition Manual when dragging around?

TheDarkWraith 04-27-10 11:42 AM

Quote:

Originally Posted by reaper7 (Post 1375209)
So drag does work with more complex Controls. Does this also hook the recognition Manual when dragging around?

works like a champ!
http://www.subsim.com/radioroom/pict...pictureid=1927

reaper7 04-27-10 11:47 AM

Quote:

Originally Posted by TheDarkWraith (Post 1375218)
works like a champ!

Nice :up:. Is that the same code as I've in post 1179. :hmmm:

Also notice that the Toggle button in Pic above for fat/Lut is squiched. Is this set to centered in the Editor properties

TheDarkWraith 04-27-10 11:47 AM

Quote:

Originally Posted by reaper7 (Post 1375225)
Nice :up:. Is that the same code as I've in post 1179. :hmmm:

sure is.

reaper7 04-27-10 11:57 AM

Quote:

Originally Posted by TheDarkWraith (Post 1375226)
sure is.

:wah: Why won't mine drag. Strange as the Attack Disc is basically a glorified AOB Dial in regards to how it implemented in the Editor the same as the Aob dial in the XO Dialog box that you've now got dragging.

Hardly anything to do with it being on the Obs Periscope Page - I'm sure it supports dragging :hmmm:.

TheDarkWraith 04-27-10 11:59 AM

Quote:

Originally Posted by reaper7 (Post 1375243)
:wah: Why won't mine drag. Strange as the Attack Disc is basically a glorified AOB Dial in regards to how it implemented in the Editor the same as the Aob dial in the XO Dialog box that you've now got dragging.

Hardly anything to do with it being on the Obs Periscope Page - I'm sure it supports dragging :hmmm:.

any menu item that is a group can be dragged.....

TheDarkWraith 04-27-10 01:24 PM

added a new icon to the top right bar in the TC group: it controls the toggling of the set TC to 1 on new nav map contact:

http://www.subsim.com/radioroom/pict...pictureid=1928

http://www.subsim.com/radioroom/pict...pictureid=1929


All times are GMT -5. The time now is 01:20 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.