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

Reply
 
Thread Tools Display Modes
Old 12-11-10, 09:04 AM   #5341
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

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
__________________

PL_Andrev is offline   Reply With Quote
Old 12-11-10, 09:19 AM   #5342
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
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
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??
TheDarkWraith is offline   Reply With Quote
Old 12-11-10, 11:04 AM   #5343
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
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

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.
__________________


Last edited by PL_Andrev; 12-11-10 at 11:15 AM.
PL_Andrev is offline   Reply With Quote
Old 12-11-10, 11:45 AM   #5344
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
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

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.
I'll do better than that. I'll send you a test file here shortly
TheDarkWraith is offline   Reply With Quote
Old 12-11-10, 12:13 PM   #5345
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Working more on SOAN. Decided to add the countries that the ship served in along with the entry and exit dates for it:

TheDarkWraith is offline   Reply With Quote
Old 12-11-10, 12:43 PM   #5346
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
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...
__________________

PL_Andrev is offline   Reply With Quote
Old 12-11-10, 12:45 PM   #5347
BowfinSS287
Planesman
 
Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
Default

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
BowfinSS287 is offline   Reply With Quote
Old 12-11-10, 01:06 PM   #5348
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

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:


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:


@ Antar - sending you test files now for your time idea
TheDarkWraith is offline   Reply With Quote
Old 12-11-10, 02:26 PM   #5349
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BowfinSS287 View Post
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
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.
TheDarkWraith is offline   Reply With Quote
Old 12-11-10, 02:51 PM   #5350
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
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...)
__________________

PL_Andrev is offline   Reply With Quote
Old 12-11-10, 04:13 PM   #5351
rascal101
Grey Wolf
 
Join Date: Jun 2006
Posts: 769
Downloads: 200
Uploads: 0
Default

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
rascal101 is offline   Reply With Quote
Old 12-11-10, 04:39 PM   #5352
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

Is local time base time ?
THE_MASK is offline   Reply With Quote
Old 12-11-10, 06:20 PM   #5353
col_Kurtz
XO
 
Join Date: Mar 2008
Posts: 424
Downloads: 341
Uploads: 0
Default Deck gun...

Hum...
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.
__________________


DRM it`s a horror, horror... col. Kurtz Apocalypse Now
WinXP Pro SP3 2x1GB Geil 800Mhz DDR2, ATI 4850 Asus Top, E2160 1.80 Ghz overlocked to 2.79Ghz MoBo Asus P5b
col_Kurtz is offline   Reply With Quote
Old 12-11-10, 09:25 PM   #5354
Obelix
Seasoned Skipper
 
Join Date: Aug 2010
Location: 49°44´N 129°40´E
Posts: 665
Downloads: 124
Uploads: 7
Default Deck gun

Quote:
Originally Posted by col_Kurtz View Post
Hum...
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.
__________________
Speed squadron is the speed of the slowest ship ... but only so long as on the trail of the squadron did not sit submarines ...
Obelix is offline   Reply With Quote
Old 12-11-10, 10:14 PM   #5355
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
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 Fresh now and more snow coming
TheDarkWraith is offline   Reply With Quote
Reply

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 02:56 PM.


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.