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 09-13-14, 06:41 PM   #31
BigWalleye
Sea Lord
 
Join Date: Jul 2012
Location: On the Eye-lond, mon!
Posts: 1,987
Downloads: 465
Uploads: 0


Default

Quote:
Originally Posted by niwo View Post
Looks great, but before i start to edit files I have 2 questions?

Is the clock working on all screens?
Can i start/stop/reset it from any screen?

Cheers
niwo
Yes, the "clock" works on all screens. BUT, it it an ordinary pocket watch. It is not a stopwatch (aka, chronometer). It does not start, stop, or reset at all. It shows time-of-day, the same as the clock at the navigator's station.

I have added a sweep second hand. (Pretty easy to do.) That lets me use it effectively for interval timing by the eyeball method. And, because it is availabe at every screen, it is easier to use than the stopwatch or Jonz' chronometer repeater. But it always, and only, shows time-of-day.
BigWalleye is offline   Reply With Quote
Old 10-27-14, 04:02 PM   #32
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Hi BigWalleye,

I have tried to add a second hand, but failed The hand was always stuck at 12:00. What type did you use for the dial?

I used the following entries in dials.cfg:

[Dial93]
Name=Clock seconds
Type=80; DIAL_CLOCK_SECOND
Dial=0x0
CrtVal=0x3FE00001
NewVal=0x0
DialVal=0,360
RealVal=0,60;
Circular=Yes

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

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

And in the menu...ini:

[G3F I391]
Name=Clock Face
Type=1031;Stat bmp array
ItemID=0x3FE00000
ParentID=0x3F000000
Pos=698,35,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 I392]
Name=Clock Sec
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_sec.tga
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I393]
Name=Clock Min
Type=1031;Stat bmp array
ItemID=0x3FE00002
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 I394]
Name=Clock Hours
Type=1031;Stat bmp array
ItemID=0x3FE00003
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

Any help would be highly appreciated.

Regards, LGN1
LGN1 is offline   Reply With Quote
Old 10-27-14, 04:44 PM   #33
BigWalleye
Sea Lord
 
Join Date: Jul 2012
Location: On the Eye-lond, mon!
Posts: 1,987
Downloads: 465
Uploads: 0


Default

I shamelessly stole the code for the functional second hand from Ahnenerbe's 1920x1080 mod for GWX. I added it onto Tycho's Analog Watch mod. The relevant data block in dials.cfg is:

[DialXX]
Name=Clock seconds
Type=9; DIAL_CLOCK_SECONDS
Dial=0x0
CrtVal=0x3FE00003
NewVal=0x0
DialVal=0,21600
RealVal=0,60; seconds
Circular=Yes

And in menu_1024_786.ini:

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

I believe the only significant difference between your code and mine is in the dials.cfg line: DialVal=0,21600 vice DialVal=0,360. Note that 21600 is 60x360. I believe your value makes the second hand move at the same speed as the minute hand. IAC, it is, as I said, lifted straight from Ahnenerbe's mod, and it does work.
BigWalleye is offline   Reply With Quote
Old 10-27-14, 04:53 PM   #34
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Thanks for the reply, BigWalleye

That's a very nice idea/trick from Ahnenerbe; using the 'minute dial' and having it turning with 60x the speed. Very clever

Regards, LGN1
LGN1 is offline   Reply With Quote
Old 10-27-14, 04:55 PM   #35
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

Quote:
Originally Posted by BigWalleye View Post
[DialXX]
Name=Clock seconds
Type=9; DIAL_CLOCK_SECONDS
Dial=0x0
CrtVal=0x3FE00003
NewVal=0x0
DialVal=0,21600
RealVal=0,60; seconds
Circular=Yes
Yep, good trick with minute dial, thanks for sharing. Will do it for myself tomorrow.
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 10-27-14, 08:50 PM   #36
BigWalleye
Sea Lord
 
Join Date: Jul 2012
Location: On the Eye-lond, mon!
Posts: 1,987
Downloads: 465
Uploads: 0


Default

Quote:
Originally Posted by LGN1 View Post
Thanks for the reply, BigWalleye

That's a very nice idea/trick from Ahnenerbe; using the 'minute dial' and having it turning with 60x the speed. Very clever

Regards, LGN1
Yes. Credit to Ahnenerbe for figuring out that elegant solution.
BigWalleye is offline   Reply With Quote
Old 10-28-14, 06:04 AM   #37
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by LGN1 View Post
Thanks for the reply, BigWalleye

That's a very nice idea/trick from Ahnenerbe; using the 'minute dial' and having it turning with 60x the speed. Very clever

Regards, LGN1
yes ,a very clever and a very usefull addition this seconds needle

bravo to Ahnenerbe
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 10-28-14, 10:21 AM   #38
Ahnenerbe
Soundman
 
Join Date: Sep 2013
Location: Ostland, Weissruthenien, Grodno
Posts: 144
Downloads: 80
Uploads: 0


Default

Quote:
Originally Posted by BigWalleye View Post
I shamelessly stole the code for the functional second hand from Ahnenerbe's 1920x1080 mod for GWX. I added it onto Tycho's Analog Watch mod. The relevant data block in dials.cfg is:

[DialXX]
Name=Clock seconds
Type=9; DIAL_CLOCK_SECONDS
Dial=0x0
CrtVal=0x3FE00003
NewVal=0x0
DialVal=0,21600
RealVal=0,60; seconds
Circular=Yes

And in menu_1024_786.ini:

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

I believe the only significant difference between your code and mine is in the dials.cfg line: DialVal=0,21600 vice DialVal=0,360. Note that 21600 is 60x360. I believe your value makes the second hand move at the same speed as the minute hand. IAC, it is, as I said, lifted straight from Ahnenerbe's mod, and it does work.
BigWalleye, well laugh about the "stolen." I do not give a prohibition on the use of one or another of my GUI, moreover, I even offered to place fitzcarraldo final version is ready, but yet I test periodically.

Hello everyone !!!!
I also did not immediately give the desired right move second hand, only the third attempt. Arrow jump every second measure, and (not remember) somewhere either four or ...... And was running and in a quarter of a minute, and I'm out of here already pushed spending calculation: 60 seconds is multiplied by 60 minutes and again multiplied by the 24 hours after the receipt of the sum divide by 4 to arrive at a number 21600. Next already has it easy. Edit in menu.ini problems not accounted for.
Good luck
++Ahnenerbe++
__________________

Ahnenerbe is offline   Reply With Quote
Old 10-28-14, 01:11 PM   #39
BigWalleye
Sea Lord
 
Join Date: Jul 2012
Location: On the Eye-lond, mon!
Posts: 1,987
Downloads: 465
Uploads: 0


Default

Quote:
Originally Posted by Ahnenerbe View Post
BigWalleye, well laugh about the "stolen." I do not give a prohibition on the use of one or another of my GUI, moreover, I even offered to place fitzcarraldo final version is ready, but yet I test periodically.

Hello everyone !!!!
I also did not immediately give the desired right move second hand, only the third attempt. Arrow jump every second measure, and (not remember) somewhere either four or ...... And was running and in a quarter of a minute, and I'm out of here already pushed spending calculation: 60 seconds is multiplied by 60 minutes and again multiplied by the 24 hours after the receipt of the sum divide by 4 to arrive at a number 21600. Next already has it easy. Edit in menu.ini problems not accounted for.
Good luck
++Ahnenerbe++
I said I "stole" it because I wanted to make sure that everyone knew it was your idea and not mine. I never even thought to experiment with the dials.cfg as you did. It's just a small detail and a tiny part of the work you put into your 1920x1080 mod. But it is very useful and functional. Kudos.
BigWalleye is offline   Reply With Quote
Old 10-28-14, 02:18 PM   #40
Ahnenerbe
Soundman
 
Join Date: Sep 2013
Location: Ostland, Weissruthenien, Grodno
Posts: 144
Downloads: 80
Uploads: 0


Default

Quote:
Originally Posted by BigWalleye View Post
I said I "stole" it because I wanted to make sure that everyone knew it was your idea and not mine. I never even thought to experiment with the dials.cfg as you did. It's just a small detail and a tiny part of the work you put into your 1920x1080 mod. But it is very useful and functional. Kudos.
I do not dwell on this, so we are Russian-speaking people, and so we mentallitet, at least for me. Everyone has the right to do with it what he wants, without mentioning my name.
++Ahnenerbe++
__________________

Ahnenerbe is offline   Reply With Quote
Old 10-28-14, 06:24 PM   #41
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

Update first post: now with arrow for seconds.

Ahnenerbe, спасибо! Очень радуюсь, что сейчас мои часы имеют секунды.
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 10-30-14, 08:50 AM   #42
Ahnenerbe
Soundman
 
Join Date: Sep 2013
Location: Ostland, Weissruthenien, Grodno
Posts: 144
Downloads: 80
Uploads: 0


Default

Quote:
Originally Posted by Tycho View Post
Update first post: now with arrow for seconds.

Ahnenerbe, спасибо! Очень радуюсь, что сейчас мои часы имеют секунды.
Not at all, Tycho! And thank you for the mod itself with the clock, without him and would not have a second hand ......... And for the Russian language too !!
__________________

Ahnenerbe is offline   Reply With Quote
Old 02-13-15, 12:54 PM   #43
sublynx
Sea Lord
 
Join Date: Mar 2011
Location: In the conning tower of my VIIC scanning the sea through the periscope
Posts: 1,698
Downloads: 173
Uploads: 7
Default




Thanks Tycho, it's been a long time but I finally got this done. Adding this was no problem thanks to your clear instructions

Edit: Oh yeah, and thanks BigWalleye and Ahnenerbe, I added the arrow for seconds as well. It only took 15 minutes or so.
__________________
[SIGPIC][/SIGPIC]
NYGM+H.sie v16+Stiebler 4C+MaGui WS

Last edited by sublynx; 02-13-15 at 01:20 PM.
sublynx is offline   Reply With Quote
Old 02-21-15, 04:15 AM   #44
dimonuses
Swabbie
 
Join Date: Feb 2015
Location: Ukraine
Posts: 6
Downloads: 180
Uploads: 0
Default

Hello, I am new to your forum,tell me how to add arrow to a clock in the file menu_1024_768 mods Manos GUI v3.4 (Olegka HOME Edition) ?
dimonuses is offline   Reply With Quote
Old 02-21-15, 05:41 AM   #45
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

Quote:
Originally Posted by dimonuses View Post
Hello, I am new to your forum,tell me how to add arrow to a clock in the file menu_1024_768 mods Manos GUI v3.4 (Olegka HOME Edition) ?
In the archive have instruction, how to install the clock.
If you are unable to install it, PM to me, what exactly is the problem?
Or send to me your menu_.ini and dials.cfg files.
You can write in Russian, I understand it.
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Reply

Tags
clock


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 07:01 AM.


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.