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 03-04-10, 01:02 AM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default [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

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

unzip straight to mods folder (JSGME enabled!)

TheDarkWraith



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).

Last edited by Webster; 03-04-10 at 11:26 PM. Reason: substituted the word fix where the word "hack" was used
TheDarkWraith is offline   Reply With Quote
Old 03-04-10, 01:09 AM   #2
ddrgn
Korvettenkapitän
 
Join Date: Apr 2005
Location: Toronto
Posts: 918
Downloads: 362
Uploads: 30
Default

Awesome, can you show a pic?
ddrgn is offline   Reply With Quote
Old 03-04-10, 01:12 AM   #3
ddrgn
Korvettenkapitän
 
Join Date: Apr 2005
Location: Toronto
Posts: 918
Downloads: 362
Uploads: 30
Default

Just awesome, thanks!
ddrgn is offline   Reply With Quote
Old 03-04-10, 01:15 AM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

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?
TheDarkWraith is offline   Reply With Quote
Old 03-04-10, 01:16 AM   #5
ddrgn
Korvettenkapitän
 
Join Date: Apr 2005
Location: Toronto
Posts: 918
Downloads: 362
Uploads: 30
Default

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 ;]
ddrgn is offline   Reply With Quote
Old 03-04-10, 01:21 AM   #6
UberMatz
Sailor man
 
Join Date: Jan 2006
Location: Fort Worth, Texas
Posts: 50
Downloads: 21
Uploads: 0
Default

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!?!?!

Matz
UberMatz is offline   Reply With Quote
Old 03-04-10, 01:24 AM   #7
Highbury
The Old Man
 
Join Date: Oct 2005
Location: 51.557, -0.102
Posts: 1,311
Downloads: 177
Uploads: 0
Default

Thank you TheDarkWraith, nice way to start out on the forums! As a God!
Highbury is offline   Reply With Quote
Old 03-04-10, 01:27 AM   #8
gutted
The Old Man
 
Join Date: Apr 2005
Location: New Orleans, LA.
Posts: 1,379
Downloads: 487
Uploads: 11
Default

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!
gutted is offline   Reply With Quote
Old 03-04-10, 01:30 AM   #9
sergei
Sea Lord
 
Join Date: May 2008
Location: London UK
Posts: 1,788
Downloads: 405
Uploads: 29
Default

Good work my friend, I'll give it a go
sergei is offline   Reply With Quote
Old 03-04-10, 01:31 AM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gutted View Post
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.
TheDarkWraith is offline   Reply With Quote
Old 03-04-10, 01:33 AM   #11
CCIP
Navy Seal
 
Join Date: Apr 2005
Location: Waterloo, Canada
Posts: 8,700
Downloads: 29
Uploads: 2


Default

Lovely! And so it begins.

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

There are only forty people in the world and five of them are hamburgers.
-Don Van Vliet
(aka Captain Beefheart)
CCIP is offline   Reply With Quote
Old 03-04-10, 01:38 AM   #12
Highbury
The Old Man
 
Join Date: Oct 2005
Location: 51.557, -0.102
Posts: 1,311
Downloads: 177
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
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.
Highbury is offline   Reply With Quote
Old 03-04-10, 03:05 AM   #13
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

YESS!!!

Thank you!
Ducimus is offline   Reply With Quote
Old 03-04-10, 03:23 AM   #14
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

And so it begins Cheers DarkWraith.
reaper7 is offline   Reply With Quote
Old 03-04-10, 03:51 AM   #15
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
Default

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

__________________


urfisch is offline   Reply With Quote
Reply


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 08:45 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.