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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-28-14, 10:21 AM   #34
Ahnenerbe
Electrician's Mate
 
Join Date: Sep 2013
Location: Ostland, Weissruthenien, Grodno
Posts: 139
Downloads: 90
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
 

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 03:09 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.