SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Multiple UIs for SH5 with TDC (https://www.subsim.com/radioroom/showthread.php?t=166093)

PL_Andrev 12-11-10 09:04 AM

It is part of my save from campaign:
Code:

[Mission]
Year=1939 <<< when start
Month=9  <<< when start
Day=3    <<< when start
Hour=21  <<< when start
Minute=0  <<< when start

CurrentYear=1939 <<< when saved
CurrentMonth=9  <<< when saved
CurrentDay=7    <<< when saved
CurrentHour=10  <<< when saved
CurrentMinute=36 <<< when saved

It looks like the 1st time is mission / patrol start, and 2nd - current game time.
So it looks like we have 'game time' only... and the sun always rises at 6.00, apart from real longitude.

The longitude can be calculated like:
read current position -> change it to current time -> calculate real GMT time -> show difference -> calculate longitude
:down:

TheDarkWraith 12-11-10 09:19 AM

Quote:

Originally Posted by Antar (Post 1551875)
It is part of my save from campaign:
Code:

[Mission]
Year=1939 <<< when start
Month=9  <<< when start
Day=3    <<< when start
Hour=21  <<< when start
Minute=0  <<< when start
 
CurrentYear=1939 <<< when saved
CurrentMonth=9  <<< when saved
CurrentDay=7    <<< when saved
CurrentHour=10  <<< when saved
CurrentMinute=36 <<< when saved

It looks like the 1st time is mission / patrol start, and 2nd - current game time.
So it looks like we have 'game time' only... and the sun always rises at 6.00, apart from real longitude.

The longitude can be calculated like:
read current position -> change it to current time -> calculate real GMT time -> show difference -> calculate longitude
:down:

I can make the digital clock in the top right bar say anything I want. How should I calculate the real time to display then?

What about Otto's integrated chalkboard mod? Does it give any useful information??

PL_Andrev 12-11-10 11:04 AM

Quote:

Originally Posted by TheDarkWraith (Post 1551881)
I can make the digital clock in the top right bar say anything I want. How should I calculate the real time to display then?

Its simple:
At 0 (London) X on map is +/- zero time (GMT or UTC)

Checked on map coordinations:
21600000 is -12 hours
-21600000 is +12 hours

each +500m longitude = - 1 sec to current 'game' time
each -500m longitude = + 1 sec to current 'game' time

Test:
Sankt Petersburg (east end of Baltic Sea) is at 30° 16' E at game is: +3620600 [m].

+3620600 / 500 is 7241.2 sec = 2 hours and 41 sec (2x3600 + 41.2)

GMT (or UTC) for this position is: current game time - 2h. 41 sec
if current time is 12.00 then GMT/UTC time is 12.00.00 - 2.00.41 = 9.59.19

To check it:
UTC+2.00 is f.e. Russia (Kaliningrad near Baltic Sea)
when GMT/UTC is 9.59.19 at Kaliningrad is +2.00 = 11.59.19
we test it for real game time is: 12.00.00

correct calculations :up:

second to time:
8743 sec = ?
8743/3600 = 2.42... hours = 2 hours (7200sec)
8743 - 7200 sec = 1543 sec
1543/60 = 25.71 minutes = 25 minutes (1500 sec)
1543 - 1500 = 43 sec
8743 sec = 2h 25min 43sec

_____________________________

If you show me screen with real time and GMT time we'll think about longitude for real nav.
:03:

TheDarkWraith 12-11-10 11:45 AM

Quote:

Originally Posted by Antar (Post 1551901)
Its simple:
At 0 (London) X on map is +/- zero time (GMT or UTC)

Checked on map coordinations:
21600000 is -12 hours
-21600000 is +12 hours

each +500m longitude = - 1 sec to current 'game' time
each -500m longitude = + 1 sec to current 'game' time

Test:
Sankt Petersburg (east end of Baltic Sea) is at 30° 16' E at game is: +3620600 [m].

+3620600 / 500 is 7241.2 sec = 2 hours and 41 sec (2x3600 + 41.2)

GMT (or UTC) for this position is: current game time - 2h. 41 sec
if current time is 12.00 then GMT/UTC time is 12.00.00 - 2.00.41 = 9.59.19

To check it:
UTC+2.00 is f.e. Russia (Kaliningrad near Baltic Sea)
when GMT/UTC is 9.59.19 at Kaliningrad is +2.00 = 11.59.19
we test it for real game time is: 12.00.00

correct calculations :up:

second to time:
8743 sec = ?
8743/3600 = 2.42... hours = 2 hours (7200sec)
8743 - 7200 sec = 1543 sec
1543/60 = 25.71 minutes = 25 minutes (1500 sec)
1543 - 1500 = 43 sec
8743 sec = 2h 25min 43sec

_____________________________

If you show me screen with real time and GMT time we'll think about longitude for real nav.
:03:

I'll do better than that. I'll send you a test file here shortly :up:

TheDarkWraith 12-11-10 12:13 PM

Working more on SOAN. Decided to add the countries that the ship served in along with the entry and exit dates for it:
http://www.subsim.com/radioroom/pict...pictureid=3380
:rock: :|\\

PL_Andrev 12-11-10 12:43 PM

Quote:

Originally Posted by TheDarkWraith (Post 1551930)
Working more on SOAN. Decided to add the countries that the ship served in along with the entry and exit dates for it

Entry: In service: from 1941.11.12
Exit:
if current date is before exit date: (none)
if not: ... to 1942.02.03

Is possible to insert 'dot' between years-month-day or change the format of these dates?
I don't that it is NOV-12 or DEC-11...
:doh:

BowfinSS287 12-11-10 12:45 PM

hello TheDarkWraith

I've been away for a time, and i see you have been very busy
the SOAN is welcome addition and looks great,but the real
navigation add-on is........speechless, i come to know you never
do anything small, outstanding work, I'm sure you will polish RN
until its off the hook,this is one mod i have been waiting for since
SH5 shipped, its steps the game up into whole new level:salute:

TheDarkWraith 12-11-10 01:06 PM

Ok Antar, I used your formula and now have the clock adjusting in real time to your current position. This is from my TDW Torp Tutorial mission. The game time was 18:00 (as specified by the mission settings box) but now that location is factored in look at what the time is now:
http://www.subsim.com/radioroom/pict...pictureid=3383

Like I said it's real time. So every 500m distance you travel longitudally the clock is adjusted.

How's this for the dates in SOAN:
http://www.subsim.com/radioroom/pict...pictureid=3384

@ Antar - sending you test files now for your time idea :D

TheDarkWraith 12-11-10 02:26 PM

Quote:

Originally Posted by BowfinSS287 (Post 1551948)
hello TheDarkWraith

I've been away for a time, and i see you have been very busy
the SOAN is welcome addition and looks great,but the real
navigation add-on is........speechless, i come to know you never
do anything small, outstanding work, I'm sure you will polish RN
until its off the hook,this is one mod i have been waiting for since
SH5 shipped, its steps the game up into whole new level:salute:

Real navigation is 'teething' currently. I'll get it all sorted out here soon. There's so many new things (and some things that I don't understand) that I just have to work out the bugs/make corrections as people report them. I think Antar's time suggestion just corrected a major problem with the game (and thus real navigation also). Awaiting feedback from him on the test files I sent.

PL_Andrev 12-11-10 02:51 PM

Quote:

Originally Posted by TheDarkWraith (Post 1551962)
Like I said it's real time. So every 500m distance you travel longitudally the clock is adjusted.

Looks good for me. But I think that the better idea is every 5 minutes. Why?
Max speed is near 20kt and it is 10m/s...
Now, after 5 minutes we have distance 3km (with max spped)
Difference between GMT and CGT (current game time) is 6 seconds only...

Now you can check the X map coordinate much much often, right?

About SOAN:
Entry/Exit mean Entry to game / Exit from game
That is the reason why I suggest "Service time" without end of service date if unit is still in service at CGT.
(Player does not know that this ship will be available only 2 days...)

rascal101 12-11-10 04:13 PM

Not sure if this is the right forum for this but any way I am assuming the folowing comes from some part of the Multiple UI mod - or at least the author Mr TDW may know what to do

I've noticed that when attacking on the surface close enough for the suface ships to fire at you they set up a barage of machine gun or cannon fire - this in conjunction with the flares seems to slow down my PC to almost run a frame at a time.

Seems to be a real draain on the system and my PC is not a lightweight - is there a remedy for this - when I do eventually get my sub to submerge then the game returns to normal speed - this affect also seems to happen when surfaced but below decks so it may also have something to do with sound as well as graphics

Hope some one knows what this might be and how to deal with it

Best Regards

Rascal

THE_MASK 12-11-10 04:39 PM

Is local time base time ?
http://img823.imageshack.us/img823/1729/timedd.jpg

col_Kurtz 12-11-10 06:20 PM

Deck gun...
 
Hum...:hmmm:
Don`t you think this 88s is very fast? Too fast? I didn`t measure the time but I think it is about 1 shots per 2-3 seconds - almost chains gun... Boom... boom... boom... boom... Maybe I`m wrong.

Obelix 12-11-10 09:25 PM

Deck gun
 
Quote:

Originally Posted by col_Kurtz (Post 1552107)
Hum...:hmmm:
Don`t you think this 88s is very fast? Too fast? I didn`t measure the time but I think it is about 1 shots per 2-3 seconds - almost chains gun... Boom... boom... boom... boom... Maybe I`m wrong.

Yes, very fast. The deck gun has become a heavy machine gun.:D

TheDarkWraith 12-11-10 10:14 PM

Quote:

Originally Posted by Antar (Post 1551989)
Looks good for me. But I think that the better idea is every 5 minutes. Why?
Max speed is near 20kt and it is 10m/s...
Now, after 5 minutes we have distance 3km (with max spped)
Difference between GMT and CGT (current game time) is 6 seconds only...

Now you can check the X map coordinate much much often, right?

About SOAN:
Entry/Exit mean Entry to game / Exit from game
That is the reason why I suggest "Service time" without end of service date if unit is still in service at CGT.
(Player does not know that this ship will be available only 2 days...)

Don't understand about the 5 minutes.
I can check the X map coordinate whenever I want. I can check it every 0.25 seconds, every minute, every 5 minutes, whatever I want. What are you proposing?

Good idea about SOAN. Didn't think of that. I'll make the change tomorrow night. Heading out snowboarding again tomorrow :rock: Fresh now and more snow coming :D


All times are GMT -5. The time now is 02:33 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.