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] quick fix to add SH3 style compass to interface (https://www.subsim.com/radioroom/showthread.php?t=163077)

TheDarkWraith 03-04-10 01:02 AM

[REL] quick fix to add SH3 style compass to interface
 
Title says it all. A quick fix to add a workable SH3 style compass to your interface. At least you'll know which way you're heading and you can order up specific headings. It's not perfect, it was a quick fix to get something up. I'm still working on sorting this mess they call a supposed game out :down:

http://www.filefront.com/15735863/Co...DarkWraith.7z/

unzip straight to mods folder (JSGME enabled!)

TheDarkWraith

http://i228.photobucket.com/albums/e...DarkWraith.jpg

SH3 style compass above

EDIT:

to change placement of the dial:

edit the 'Page layout.ini' (\data\Menu\Pages) file, to place it in a better location for you. You want to edit this:

[G3F I2]
Name=Group feedback
Type=1026;Menu group
ItemID=0x3F010000
ParentID=0x3F000000
Pos=512,-710,512,58
Zone= 512 58 512 58 0 1 0x3F000000 0.3 -1 0x3F010000 -1 1 0 0

The red line controls placement. The 0.3 value is what you want to change to move it horizontally (values < 0.3 move it left, > 0.3 move it right - use small increments as these are like %s of the total value! - values like 0.05 increments to start). The -1 value right after it you would change to change the vertical position (values < -1 will move it up - use small increments as these are like %s of the total value! - values like 0.05 increments to start). You can probably get it bigger by using a bigger TGA image of the dial.

Can someone completely decipher that Zone= line? I have a very basic understanding of it.

EDIT2:

This dial and the other SH3/4 dials (among other items) are already included in the Page layout.ini file in case anyone was wondering. Even the TGAs were where they were supposed to be. Hell, even the sliding shortcuts (SH3) exist but aren't functional (yet).

ddrgn 03-04-10 01:09 AM

Awesome, can you show a pic?

ddrgn 03-04-10 01:12 AM

Just awesome, thanks!

TheDarkWraith 03-04-10 01:15 AM

I made this @ 1920 X 1200 res settings so I hope it scales correctly for lower (or higher) resolutions. The Zone= line in the .ini files still trips me up. Anyone got a definitive guide as to how to read that line and what everything means?

ddrgn 03-04-10 01:16 AM

Tested 100%, best mod yet!!!!

Now can you figure out how to add the old spread dials to the periscope view or any view for that matter ;]

UberMatz 03-04-10 01:21 AM

Dl'd... shall install it in the morning! Good God you guys are fast!!! Many thanks for these efforts, where would the SH series be without y'all!?!?!
:salute:
Matz

Highbury 03-04-10 01:24 AM

Thank you TheDarkWraith, nice way to start out on the forums! As a God! :salute:

gutted 03-04-10 01:27 AM

Awesome.

It's a bit small at 1680x1050, and not exactly placed in what i'd consider the best location.... but its definately a start!!

At my res, its more to the left and alittle bit more down. it's resting slightly on the speed portion of the Hud.

THANKS!

sergei 03-04-10 01:30 AM

Good work my friend, I'll give it a go:up:

TheDarkWraith 03-04-10 01:31 AM

Quote:

Originally Posted by gutted (Post 1291993)
Awesome.

It's a bit small at 1680x1050, and not exactly placed in what i'd consider the best location.... but its definately a start!!

At my res, its more to the left and alittle bit more down. it's resting slightly on the speed Hud.

THANKS!

you can edit the 'Page layout.ini' file, to place it in a better location for you. You want to edit this:

[G3F I2]
Name=Group feedback
Type=1026;Menu group
ItemID=0x3F010000
ParentID=0x3F000000
Pos=512,-710,512,58
Zone= 512 58 512 58 0 1 0x3F000000 0.3 -1 0x3F010000 -1 1 0 0

The red line controls placement. The 0.3 value is what you want to change to move it horizontally (values < 0.3 move it left, > 0.3 move it right - use small increments as these are like %s of the total value! - values like 0.05 increments to start). The -1 value right after it you would change to change the vertical position (values < -1 will move it up - use small increments as these are like %s of the total value! - values like 0.05 increments to start). You can probably get it bigger by using a bigger TGA image of the dial.
Like I said it was a quick hack to get SOMETHING up to tell me where I was heading and to be able to order directions.

CCIP 03-04-10 01:33 AM

Lovely! And so it begins.

I hope that with some help, we can have the other dials soon as well.

Highbury 03-04-10 01:38 AM

Quote:

Originally Posted by TheDarkWraith (Post 1291999)
Like I said it was a quick hack to get SOMETHING up to tell me where I was heading and to be able to order directions.

A quick hack works more then well enough for now. Of course refining it in size and placement when other dials become available is inevitable, but for now it adds one of the most major oversights back into the game. Even at a rudimentary level it is awesome.

Thanks again.

Ducimus 03-04-10 03:05 AM

YESS!!!

Thank you!

reaper7 03-04-10 03:23 AM

And so it begins :D Cheers DarkWraith.

urfisch 03-04-10 03:51 AM

finally one who took care of the interface crap...nice!

:yeah:


All times are GMT -5. The time now is 08:46 PM.

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