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, 10:48 AM   #1
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   #2
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
Old 04-27-10, 11:30 AM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

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.
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 11:34 AM   #4
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheDarkWraith View Post
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.

So drag does work with more complex Controls. Does this also hook the recognition Manual when dragging around?
reaper7 is offline   Reply With Quote
Old 04-27-10, 11:42 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
So drag does work with more complex Controls. Does this also hook the recognition Manual when dragging around?
works like a champ!
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 11:47 AM   #6
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheDarkWraith View Post
works like a champ!
Nice . Is that the same code as I've in post 1179.

Also notice that the Toggle button in Pic above for fat/Lut is squiched. Is this set to centered in the Editor properties
reaper7 is offline   Reply With Quote
Old 04-27-10, 11:47 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
Nice . Is that the same code as I've in post 1179.
sure is.
TheDarkWraith 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 01:06 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.