![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Ace of the Deep
![]() Join Date: Jul 2005
Location: Germany's oldest city alive
Posts: 1,066
Downloads: 57
Uploads: 0
|
![]()
Hi,
I was about to write a PM to OLC but thought it might be good to ask that in general so somebody who might need this too comes across this question. ![]() At first a little problem: At the nav map (F5) I don't get the speed conversion charts, which is strange as no other mod fiddled with the menu_1024...ini so far and the SpeedTable.tga is also there. I currently played in 1280x1024 resolution but set it back to 1024x768 as I thought a higher resolution interferes with the absolut pixel-related positions of the items in menu_1024...ini. Now the other thing: I just started playing SH3 again and found out about the OLC GUI (1.2.3). I really love it and use it. But a few month ago, I also loved the 6 Dials Sim Feeling mod. I now want to integrate this two into one mod. I know that there's already a kombi mod out there for sliding dials and the OLC GUI, but I like it more if 1. the dials are bigger and 2. there slide in from the right (or at least the bottom more to the right). Don't know why, but I have my gripes with using dials on the left. The "6 Dials ..." mod has a great manual of how to setup up the mod piece by piece. So I followed the instructions and wanted to start out with the big compass on the right (as it is already in GWX 2.0 too, but not anymore with OLC GUI). I added the according sections into the menu_1024...ini as described in the readme.exe of the "6 Dials..." mod. I added it right behind the whole OLC-stuff section, gave it it's unique number etc. I didn't change any position values for this dial item but it appears on the bottom to the left is only seen halfway and doesn't slide out either. Now my question is: what exactly controls WHERE you have to point the cursor to make any item slide out. And where is the point of ordinates in SH3 (0,0) ? In the upper left corner of the screen ? And if you use any screen resolution, does that interfere with those absolute pixel values in the menu_1024...ini ? Thanks in advance, i. ![]() |
![]() |
![]() |
![]() |
#2 | |
Navy Seal
![]() Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
|
![]() Quote:
Top left is 0,0 so all other co-ordinates stem from this point. You can even go into minus numbers, like the draggable flaggen sheet. Resolution has no effect on the menu.ini. All co-ordinates are still in a 1024x768 configuration.
__________________
![]() |
|
![]() |
![]() |
![]() |
#3 | |
Maverick Modder
![]() Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
|
![]() Quote:
![]() SH3 doesn't "translate" higher resolutions down to 1024x768 very well when it comes to the menu file. If your menu ini relies on pixel-perfect positioning (e.g. OLC GUI) then rounding errors at higher resolutions can result in malfunctioning slide-outs.
__________________
Freedom of speech - priceless. For everything else there's Mastercard. |
|
![]() |
![]() |
![]() |
#4 | |
Ace of the Deep
![]() Join Date: Dec 2005
Location: Canada
Posts: 1,124
Downloads: 110
Uploads: 0
|
![]() Quote:
The reason I ask is that I would also love to have the bigger (and slideout) dials but also a few of the other elements of MFD such as the transparent text and command stuff at the bottom. OLC's GUI is terrific, but there are some aspects I prefer from MFD (this is absolutely not a criticism of OLC's GUI, just to be clear, merely personal preference). Anyway, all to say that if you need a hand I'd be happy to help. I have no modding experience or ability (just some very limited idea about how the file structure works), but could eg test or whatever. Even if you just wanted to merge in 6Dials, I could maybe learn enough to figure out how to merge MFD.
__________________
![]() |
|
![]() |
![]() |
![]() |
#5 | |
Ace of the Deep
![]() Join Date: Jul 2005
Location: Germany's oldest city alive
Posts: 1,066
Downloads: 57
Uploads: 0
|
![]()
Thanks for the hints.
I'm currently installing a second SH3 version, which I'm going to use without GWX and Patches to test my results. It just loads way faster than with GWX on top ![]() I think I begin to understand how everything works in this file. If the mod wants to create the switchable 25m-260m depth gauges, it first creates a group to put all needed graphics and controls together. An ItemID and ParentID allow you to reference specific items (menus, dials, ...). So, for the depth gauge group, there is an item of type menu group, that works as the top level item for the whole depth gauge group. Code:
G3F I347 Name=FLB Sale`s 6 Anzeigen, Tiefenmesser Type=1026;Menu group ItemID=0x3F0C0000 ParentID=0x3F000000 Pos=678,344,344,344 Color=0xFFFFFFFF VertSlide=-343 The other items (that refer to this one as their parent item) have position values only relative to this one's. The following items (which still belong to this group) then load the needed graphics, like the dial graphic or backgrounds and pointers. My problem now is, that I copied the whole section of the MyFavDial mod, which has something to do with the depth gauges, at the end of my G3F section in menu_1024_768.ini. I renamed the numbers for the new items, so that they follow the numbering of the G3F section. (It ended at G3F I346 and I named them G3F I347, G3F I348,...). But the dial doesn't get displayed correctly. The only thing that gets displayed is a little digital number which gives my current depth and which slides in and out. If I click somewhere near it I give a speed command, although I don't see the dial. Don't know what is wrong or missing, just inserted the section as the mod does. And I'm using stock SH3 now, so there is no other mod disturbing this. Quote:
![]() As I see, we seem to have the same goals on this. I never did anything with this file before, too. The thing I want to do, is to just integrate the depth gauges, speed dial and compass like it was with the original MFD. As I use OLC GUI, I wanted to adjust the sliding settings, so that for example the speed dial slides further upwards than it did in the original MFD. Because the OLC GUI has this bar at the bottom which would otherwise be in the way of the sliding dial. EDIT: Intelligent as I am, I forgot to include the needed graphics. No wonder that none got displayed if there weren't any... I just forgot that in stock SH3, there where no such big dial graphics but with GWX there where. Depth gauges now working as intended in original MFD. |
|
![]() |
![]() |
![]() |
#6 |
Navy Seal
![]() Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
|
![]()
Have you installed the textures that are required for the larger dials?
__________________
![]() |
![]() |
![]() |
![]() |
#7 |
Ace of the Deep
![]() Join Date: Jul 2005
Location: Germany's oldest city alive
Posts: 1,066
Downloads: 57
Uploads: 0
|
![]()
Now I have, and now the depth gauges work as they should.
I'm currently fiddling with the slide setting. There are two sections: Code:
(G3F I347) Name=FLB Sale`s 6 Anzeigen, Tiefenmesser Type=1026;Menu group ItemID=0x3F0C0000 ParentID=0x3F000000 Pos=678,344,344,344 Color=0xFFFFFFFF VertSlide=-100 (G3F I348) Name=Group feedback Type=1026;Menu group ItemID=0x3F010000 ParentID=0x3F000000 Pos=678,344,344,344 Color=0xFFFFFFFF VertSlide=-100 My respect for the modders increases as it is pretty annoying to start a big application as sh3 everytime you want to test a little change you made ![]() |
![]() |
![]() |
![]() |
#8 | |
Ace of the Deep
![]() Join Date: Dec 2005
Location: Canada
Posts: 1,124
Downloads: 110
Uploads: 0
|
![]() Quote:
edit/add: and let me know if I can help at all (which is already exaggerating my non-existent abilities :rotfl: ). I'll study the posts above on the weekend, RL work interfering now.
__________________
![]() |
|
![]() |
![]() |
![]() |
|
|