![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
10-27-14, 04:44 PM
|
#1 |
|
Sea Lord
![]() |
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. |
|
|
10-27-14, 04:53 PM
|
#2 |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
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 |
|
|
10-27-14, 08:50 PM
|
#3 |
|
Sea Lord
![]() |
|
|
|
10-28-14, 06:04 AM
|
#4 | |
|
Hellas
![]() |
Quote:
![]() 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 |
|
|
|
10-27-14, 04:55 PM
|
#5 |
|
Sonar Guy
![]() |
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. |
|
|
10-28-14, 10:21 AM
|
#6 | |
|
Electrician's Mate
![]() |
Quote:
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++ |
|
|
|
10-28-14, 01:11 PM
|
#7 | |
|
Sea Lord
![]() |
Quote:
|
|
|
|
10-28-14, 02:18 PM
|
#8 | |
|
Electrician's Mate
![]() |
Quote:
++Ahnenerbe++ |
|
|
|
10-28-14, 06:24 PM
|
#9 |
|
Sonar Guy
![]() |
Update first post: now with arrow for seconds.
Ahnenerbe, спасибо! Очень радуюсь, что сейчас мои часы имеют секунды.
__________________
If you ride like lightning, you're gonna crash like thunder. |
|
|
10-30-14, 08:50 AM
|
#10 | |
|
Electrician's Mate
![]() |
Quote:
, without him and would not have a second hand ......... And for the Russian language too !!
|
|
|
|
02-13-15, 12:54 PM
|
#11 |
|
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
|
![]() 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. |
|
|
![]() |
| Tags |
| clock |
| Thread Tools | |
| Display Modes | |
|
|
