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 11-12-14, 06:49 AM   #1
Fahnenbohn
Ace of the Deep
 
Join Date: Sep 2013
Location: France
Posts: 1,072
Downloads: 155
Uploads: 0
Default 24-hour analog clock

Hello every one,

I've recently read the topic about the analog clock by Tycho (http://www.subsim.com/radioroom/showthread.php?t=208895). I found his idea very interesting and the result is very nice. But as we are supposed to sail all over the seas (and sometimes in arctic waters with days without sun or without night), far away of any society, we have to know if it's 8 o'clock AM or 8 o'clock PM. So I've made a 24-hour analog clock, with the same face as in the film "The enemy below" (1957).

Download here : ftp://hartmuthaas.no-ip.org/public/S...DS/FAHNENBOHN/
(User : Maik, Password : Woelfe)



-----------

(First version)

It works perfectly, the numbers are not very clear but the hands are very accurate. I have not added the second hand, as I don't see the point. Here a picture :



If I have enough time and if enough people are interested, I could release this little mod for download. Tell me what you think about.

And thank you Tycho for your detailed explanation in your topic, it has saved me a lot of time !

Greetings,


Fahnenbohn

Last edited by Fahnenbohn; 11-18-14 at 06:24 AM.
Fahnenbohn is offline   Reply With Quote
Old 11-12-14, 11:39 AM   #2
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

Quote:
Originally Posted by Fahnenbohn View Post
I have not added the second hand, as I don't see the point.
With second hand I don't need draggable chrono for 3 min and 15 sec trick, the four bearings method and others time measurements. I recommend you to add second hand.

Don't wait, just release it. I'll point this in first post in my topic, to have various choices is nice.
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 11-12-14, 11:59 AM   #3
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 Tycho View Post
With second hand I don't need draggable chrono for 3 min and 15 sec trick, the four bearings method and others time measurements. I recommend you to add second hand.

Don't wait, just release it. I'll point this in first post in my topic, to have various choices is nice.
I agree with Tycho. I hope you will incorporate this easy addition to your 24-hour clock. I added a second hand to my analog watch so I could make timing measurement "on the fly." The stopwatch is cumbersome, and since it can only be started and stopped on the scope screens, all measurements have to be made on the fly anyway. This way, there is always a seconds clock available, and the minutes difference is actually easier to read than on the stopwatch.

Since Ahnenerbe (Kudos to him!) did the tricky part, figuring out how to add the second hand to dials.cfg, a second hand on any timepiece is a thoroughly useful addition.
BigWalleye is offline   Reply With Quote
Old 11-12-14, 12:53 PM   #4
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by Fahnenbohn View Post
Hello every one,


I've recently read the topic about the analog clock by Tycho (http://www.subsim.com/radioroom/showthread.php?t=208895). I found his idea very interesting and the result is very nice. But as we are supposed to sail all over the seas (and sometimes in arctic waters with days without sun or without night), far away of any society, we have to know if it's 8 o'clock AM or 8 o'clock PM. So I've made a 24-hour analog clock, with the same face as in the film "The enemy below" (1957). It works perfectly, the numbers are not very clear but the hands are very accurate. I have not added the second hand, as I don't see the point. Here a picture :



If I have enough time and if enough people are interested, I could release this little mod for download. Tell me what you think about.

And thank you Tycho for your detailed explanation in your topic, it has saved me a lot of time !

Greetings,


Fahnenbohn
very nice clock - idea Fahnenbohn

as you designing it from scratch why not making it a little bigger ? will be more detailed and much easier to read
__________________
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 11-12-14, 01:18 PM   #5
Fahnenbohn
Ace of the Deep
 
Join Date: Sep 2013
Location: France
Posts: 1,072
Downloads: 155
Uploads: 0
Default

@ Tycho and BigWalleye : OK, I'm going to add a second hand.

@ Manos : Yes, this one is two times smaller than the first one I did. But as it took up too much space on the screen, I reduced it. But it remains perfectly readable ! ...
Fahnenbohn is offline   Reply With Quote
Old 11-12-14, 03:59 PM   #6
Fahnenbohn
Ace of the Deep
 
Join Date: Sep 2013
Location: France
Posts: 1,072
Downloads: 155
Uploads: 0
Default



This is the original size of my clock. It would be nice to make it movable when the mouse goes on the upper edge of the screen, as the white compass. But I still don't know how to do...
Fahnenbohn is offline   Reply With Quote
Old 11-12-14, 04:20 PM   #7
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by Fahnenbohn View Post

This is the original size of my clock. It would be nice to make it movable when the mouse goes on the upper edge of the screen, as the white compass. But I still don't know how to do...
i didn't meant to make it twice bigger. this clock is ,indead, a huge clock.

my suggestion was to make it a little bigger (for example a factor of 1.2 is shown at the pic) just for the seconds marks to be more readable ( maybe i am getting older but were not so clear to me)



about your question: put the clock at the position you want on screen and then add the line ''VertSlide=xxx'' at the end of the clock's menu entry.
the ''xxx'' is determing how many pixels you want your image to slide to upper direction and hide . pay attention to the dimensions of menu entry 'box' as ,by a carefully selection, you can totally hide your image and make it slide out only when you place your cursor real close to screen's edge


ps1: the command ''HorizSlide=xxx'' is for use if you want to make your image slide at a horizontal direction
ps2: what is the ''white compass''?
__________________
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 11-12-14, 05:21 PM   #8
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

off-topic: let me show you my new stopwatch.
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 11-12-14, 05:38 PM   #9
Fahnenbohn
Ace of the Deep
 
Join Date: Sep 2013
Location: France
Posts: 1,072
Downloads: 155
Uploads: 0
Default

@ makman : I've tried your solution, but it doesn't seem to work. Is there anything wrong in my text :

[G3F I345]
Name=Clock Face
Type=1031;Stat bmp array
ItemID=0x3FE00000
ParentID=0x3F000000
Pos=1,740,155,155
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/24_Clock.tga
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
VertSlide=180

And here is the white compass (maybe i didn't well explain myself) :



@ Tycho : very nice dial, you are good at graphic design, I especially like the reflection effect.
Fahnenbohn is offline   Reply With Quote
Old 11-13-14, 02:21 AM   #10
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

I'm away from my computer and SH3 now, but try with menu group, like that:

Quote:
[G3F I344]
Name=Clock Slide out
Type=1026
ItemID=0x3FE0000A
ParentID=0x3F000000
Pos=1,740,155,155
VertSlide=180

[G3F I345]
Name=Clock Face
Type=1031;Stat bmp array
ItemID=0x3FE00000
ParentID=0x3FE0000A
Pos=0,0,155,155
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/24_Clock.tga
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
Parent rest of the elements with Clock Face

Quote:
Originally Posted by Fahnenbohn View Post
@ Tycho : very nice dial, you are good at graphic design, I especially like the reflection effect.
No, this is just from photo of real Hanhart stopwatch. I edit it a little, liked the result, and integrate it in my installation.
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 11-13-14, 03:32 AM   #11
Fahnenbohn
Ace of the Deep
 
Join Date: Sep 2013
Location: France
Posts: 1,072
Downloads: 155
Uploads: 0
Default

Quote:
Originally Posted by Tycho View Post
I'm away from my computer and SH3 now, but try with menu group, like that:

[G3F I344]
Name=Clock Slide out
Type=1026
ItemID=0x3FE0000A
ParentID=0x3F000000
Pos=1,740,155,155
VertSlide=180

[G3F I345]
Name=Clock Face
Type=1031;Stat bmp array
ItemID=0x3FE00000
ParentID=0x3FE0000A
Pos=0,0,155,155
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/24_Clock.tga
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
Thank you Tycho, yes, it already seems much more credible !
I'll try that when I have enough free time (busy right now).
Cheers

Last edited by Fahnenbohn; 11-13-14 at 04:14 AM.
Fahnenbohn is offline   Reply With Quote
Old 11-13-14, 04:27 AM   #12
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by Fahnenbohn View Post
@ makman : I've tried your solution, but it doesn't seem to work. Is there anything wrong in my text :

[G3F I345]
Name=Clock Face
Type=1031;Stat bmp array
ItemID=0x3FE00000
ParentID=0x3F000000
Pos=1,740,155,155
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/24_Clock.tga
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
VertSlide=180

....
the mistake here is that you didn't put the command at the end of the clock's menu entry.
Tycho is correct and is showing you were to put the command (type=26 is the menu entry)
__________________
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 11-13-14, 04:52 AM   #13
Fahnenbohn
Ace of the Deep
 
Join Date: Sep 2013
Location: France
Posts: 1,072
Downloads: 155
Uploads: 0
Default

OK Makman.
I was not competant enough to understand what you were talking about ...
Fahnenbohn is offline   Reply With Quote
Old 11-13-14, 10:04 AM   #14
Fahnenbohn
Ace of the Deep
 
Join Date: Sep 2013
Location: France
Posts: 1,072
Downloads: 155
Uploads: 0
Default

OK. My slippery clock is now working properly.

I would like to add one last option : would it be possible to fix the clock on the screen by clicking on it, once it has come down from the upper edge of the screen ? And then make it disappear again by clicking on it again ?
Fahnenbohn is offline   Reply With Quote
Old 11-13-14, 02:38 PM   #15
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 Fahnenbohn View Post
OK. My slippery clock is now working properly.

I would like to add one last option : would it be possible to fix the clock on the screen by clicking on it, once it has come down from the upper edge of the screen ? And then make it disappear again by clicking on it again ?
I don't know any way to do this, but you could tie it to an officer, so that clicking on the officer brings up the clock. Clicking on another officer, or changing screens, would make the clock vanish.

Alternatively, you could put the clock off-screen, with an invisible "tab" on-screen. Click and drag on the tab to pull the clock on-screen. It then stays on-screen. You could either have it disappear when changing screens or have it remain on-screen until dragged off.

If you are interested in either approach, post and I'll PM you some example menu.ini entries. I imagine it's too esoteric to cover on the public forum.
BigWalleye 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 12:24 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.