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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-15-14, 06:58 AM   #1
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 377
Downloads: 264
Uploads: 1


Default

Quote:
Originally Posted by Johnfb View Post
Is there a mod for this uploaded?
Not yet, after go home tonight, I'll upload the files and explanation how to install this manually!
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 01-15-14, 09:39 AM   #2
Delta Wolf
Engineer
 
Join Date: Apr 2013
Posts: 209
Downloads: 155
Uploads: 0
Default

Nice work, will give this a try when its released
Delta Wolf is offline   Reply With Quote
Old 01-15-14, 12:03 PM   #3
Johnfb
Commodore
 
Join Date: Mar 2011
Location: Ireland
Posts: 639
Downloads: 295
Uploads: 64
Default

Quote:
Originally Posted by Tycho View Post
Not yet, after go home tonight, I'll upload the files and explanation how to install this manually!
Will use this for sure, thanks
Johnfb is offline   Reply With Quote
Old 01-15-14, 02:56 PM   #4
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 377
Downloads: 264
Uploads: 1


Default

Ok, here are the files: Analog clock

Because my english is very limited, I will use readme from JonZ Draggable Chronometer like template for my explanations.

MANUAL INSTALLATION

Backup Dials.cfg and menu_1024x768.ini.
You need Notepad to manually edit menu_1024x768.ini and Dials.cfg


First choose one of the three versions, and place the graphic files in SH3 directory\data\menu\gui

Now, go to data/menu/cfg

Edit the file Dials.cfg, go to the first lines and increment the Dials numbers by 2 like this example:

[DIALS]
DialsNo=xx+2

in my case:
DialsNo=120; was 118

Now go to the end of the file and copy paste these 2 definitions and replace
the xx by the numbers that follow the before number

My last dial definition was [Dial117] then I replace the xx by 118 and 119

[Dialxx]
Name=Clock minutes
Type=9; DIAL_CLOCK_MINUTE
Dial=0x0
CrtVal=0x3FE00001
NewVal=0x0
DialVal=0,360
RealVal=0,60; minutes
Circular=Yes

[Dialxx]
Name=Clock hours
Type=8; DIAL_CLOCK_HOUR
Dial=0x0
CrtVal=0x3FE00002
NewVal=0x0
DialVal=0,720
RealVal=0,24; hours
Circular=Yes

Save the file!

Now, open the menu_1024x768.ini file (../Data/Menu) and go to the last [G3F Ixx] parameter.

in my case: [G3F I301]

Continue the sequence like you did for Dials.cfg by entering these parameters:

[G3F Ixxx]
Name=Clock Face
Type=1031;Stat bmp array
ItemID=0x3FE00000
ParentID=0x3F000000
Pos=911,165,163,213
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/12_Clock.tga
MatFlags=0x29
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=Clock Min
Type=1031;Stat bmp array
ItemID=0x3FE00001
ParentID=0x3FE00000
Pos=77,-69,17,117
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Clock_min.tga
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=Clock Hours
Type=1031;Stat bmp array
ItemID=0x3FE00002
ParentID=0x3FE00000
Pos=79,-85,13,85
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Clock_hour.tga
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

Save the file!
Test the game!

In [G3F Ixxx]
Name=Clock Face
The line: Pos=911,165,163,213
First two numbers are for position on the screen, in this case the clock is here:

If you want something different, need to play with this numbers 911,165 - first value is for horizontally from left to right, second value is for vertically from bottom to top.

And because this is analog clock, if you want to hide digital one, search in
menu_1024x768.ini file for this two items, and comment them like here:
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 01-15-14, 03:08 PM   #5
Johnfb
Commodore
 
Join Date: Mar 2011
Location: Ireland
Posts: 639
Downloads: 295
Uploads: 64
Default

Thank you very much
Johnfb is offline   Reply With Quote
Old 01-15-14, 04:55 PM   #6
BigWalleye
Sea Lord
 
Join Date: Jul 2012
Location: On the Eye-lond, mon!
Posts: 1,973
Downloads: 465
Uploads: 0


Default

Nice piece of work, Tycho. Thank you.
BigWalleye is offline   Reply With Quote
Old 01-16-14, 01:40 PM   #7
Otto Fuhrmann
Helmsman
 
Join Date: Mar 2012
Location: Ireland
Posts: 104
Downloads: 57
Uploads: 0
Default

Looks great, I will definitely give this a go!
Otto Fuhrmann is offline   Reply With Quote
Old 01-18-14, 07:55 AM   #8
sublynx
Sea Lord
 
Join Date: Mar 2011
Location: In the conning tower of my VIIC scanning the sea through the periscope
Posts: 1,682
Downloads: 173
Uploads: 7
Default

Real nice. I really hope the clock gets adopted to different GUI mods in the future
__________________
[SIGPIC][/SIGPIC]
NYGM+H.sie v16+Stiebler 4C+MaGui WS
sublynx is offline   Reply With Quote
Reply

Tags
clock

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:59 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.