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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-20-10, 05:45 AM   #11
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Quote:
Originally Posted by TheDarkWraith View Post
Here's our new digital clock. It will read out GMT time or Local time. You click anywhere in the black box (where the time is) to toggle between local/GMT time...
Wow! TDW, mate, you're quicker then lightning!
There is one thing to it though: knowing the difference between local and GMT time down to this precision enables you to precisely figure out your longitudinal position circumventing navigator's fix errors, with that given the time display should be either locked to GMT or the 'real-world hardcore' option is to make the 'local' time clock reflect nautical time zones (you shift the clock by one hour every time you move 15 degrees longitudinally east or west).
Here is the formula for 'local' time reflecting current nautical time-zone based on the last navigator's fix:
Code:
{
int sign = 1;
if (' longitude from the last fix is Western ') then
   sign = -1;

int long = ' integer of longitude from the last fix ';

//Now get the number of hours you have to add (or subtract)
hours_difference = sign * int(long/15); 

nautical_time_zone_time = GMT_time + hours_difference;
}
As far as I remember the navigator (or logbook, or something else) also gives you the sunrise and sunset times. These as well should be adjusted to the last fix and 'local' time or disabled with real navigation on. The formulae for those are much more complicated. I've got to get my head around it to post them, give me some time.
Vanilla is offline   Reply With Quote
 

Tags
dbrn, favorite, new ui


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 04:07 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.