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 > Silent Hunter III
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-29-20, 01:49 AM   #1
SeniorChiefChef
Swabbie
 
Join Date: Apr 2017
Location: Virginia
Posts: 13
Downloads: 41
Uploads: 0
Icon14 menu_1024_768 Math: Navigation Map-Tools Placement

Hi, guys.

So I'm very close to getting a handle on how the tools on the Navigation Map (Group/Page [G31 I20]) are placed, but the the "math" is just throwing me off.

NB: I'm using the ARBWideGUI1920x1080 mod.

Code:
[G31 I20]
Name=Buttons
Type=1026;Menu group
ItemID=0x311A0000
ParentID=0x31000000
Pos=630,1137,414,42
So, according to the Pos parameter, the location on screen of the 414x42px Menu Group (the group containing the map tools) is 630px right, and 1137px down, so right 630px and down 57px (1137 - 1080 = 57), off screen.

After many many screenshots of the map in-game, using GIMP, and playing with the numbers .... I zeroed out the Menu Group in the vertical ...

Code:
Pos=140,0,414,42;                  That's 140px right, and 0px up/down.
... and moved each of the tools to a vertical (X?) pos of 100, e.g.:

Code:
[G31 I21];                  the "sharpener", i.e. the Tool Helper
Name=Help
Type=1033;Check box
ItemID=0x311A000A
ParentID=0x311A0000
Pos=212,100,160,80;           212px right, and 100px up/down(?).
... And here's what I ended up with in-game:


The guide shows that all of the maps tools are at 980px from the top.

So, the long and the short of it is, if the vertical pos of the Group is zero (0) how is 100 placing the tools at 980px and not 100px?
__________________
Defendi rempublicam adulescens, non deseram senex.


Last edited by SeniorChiefChef; 11-02-20 at 01:19 AM. Reason: Spelling.
SeniorChiefChef is offline   Reply With Quote
 


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 11:55 PM.


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.