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-19-10, 06:04 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sammi79 View Post
wow speechless Is there really only one of you?
Yep, only one of me. I'm very good at what I do . Once I saw that the devs gave us the ability to extend the game via Python I was like a kid in a candy store. SH3 and SH4 were shelved as they offer no way to extend the game (yeah you can add graphics to it but that's not really extending it). Now if I had access to the source code I could do even more wonderful and exciting things.

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:






Now v5.8.0 is ready

Last edited by TheDarkWraith; 12-19-10 at 07:01 PM.
TheDarkWraith is offline   Reply With Quote
Old 12-19-10, 07:03 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v5.8.0 released. See post #1 for details
TheDarkWraith is offline   Reply With Quote
Old 12-19-10, 08:52 PM   #3
Obelix
Seasoned Skipper
 
Join Date: Aug 2010
Location: 49°44´N 129°40´E
Posts: 665
Downloads: 124
Uploads: 7
Default

Hi all!
While I was doing chores, there are already many things have changed! Are now IO strategic map should redo it.
In the meantime, here is Russian translation for version 5.8.0
__________________
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-19-10, 08:53 PM   #4
Captain Can
Soundman
 
Join Date: Aug 2010
Location: Istanbul,Turkey
Posts: 144
Downloads: 65
Uploads: 0
Default

TDW , can we still use Obelix's ' IO_StrategicMap for 5.4.0 ' for 5.8.0 or should we use stock map until a new version comes out from Obelix ?
__________________
Captain Can is offline   Reply With Quote
Old 12-19-10, 08:57 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Captain Can View Post
TDW , can we still use Obelix's ' IO_StrategicMap for 5.4.0 ' for 5.8.0 or should we use stock map until a new version comes out from Obelix ?
wait for now....I'll look it over. Obelix will probably be releasing new version soon as I modified the Page navigation map.py file (had to to get all the cool new supermarks and navigation fixes)
TheDarkWraith is offline   Reply With Quote
Old 12-19-10, 08:58 PM   #6
Obelix
Seasoned Skipper
 
Join Date: Aug 2010
Location: 49°44´N 129°40´E
Posts: 665
Downloads: 124
Uploads: 7
Default

Quote:
Originally Posted by Captain Can View Post
TDW , can we still use Obelix's ' IO_StrategicMap for 5.4.0 ' for 5.8.0 or should we use stock map until a new version comes out from Obelix ?
Now I am focusing on adaptation of IO strategic map for version 5.8.0. Today I will release a new version for 5.8.0
__________________
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-19-10, 09:05 PM   #7
Captain Can
Soundman
 
Join Date: Aug 2010
Location: Istanbul,Turkey
Posts: 144
Downloads: 65
Uploads: 0
Default

ok guys , i am gonna stick with stock map for now. best wishes with the further developments
__________________
Captain Can is offline   Reply With Quote
Old 12-20-10, 05:45 AM   #8
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
Old 12-20-10, 08:03 AM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
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). 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.
Have to say I'm learning much just from making this real navigation add-on mod It appears then that I need to lock the digital clock to either local or GMT time? I have the user option already coded in for specifying what the digital clock is set to at game start so removing the ability to change it in game is easy to do. What are the advantages/disadvantages of locking it in either mode?
What if I added another user option that when enabled didn't let you change the digital clock (in game)? This way I could satisfy everyone's taste for realism. Or is this point moot?
Sunrise and sunset times come from Otto's integrated chalkboard mod. I already adjusted his mod to use local time and your current last position fix for many of his calculations that depend on position.
Currently I have the digital clock updating in real time. By real time I mean every 500m of longitude change the clock is adjusted +- 1 second. You're saying I need to change this? If so, why?

Last edited by TheDarkWraith; 12-20-10 at 08:14 AM.
TheDarkWraith is offline   Reply With Quote
Old 12-20-10, 10:21 AM   #10
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Have to say I'm learning much just from making this real navigation add-on mod It appears then that I need to lock the digital clock to either local or GMT time? I have the user option already coded in for specifying what the digital clock is set to at game start so removing the ability to change it in game is easy to do. What are the advantages/disadvantages of locking it in either mode?
What if I added another user option that when enabled didn't let you change the digital clock (in game)? This way I could satisfy everyone's taste for realism. Or is this point moot?
Sunrise and sunset times come from Otto's integrated chalkboard mod. I already adjusted his mod to use local time and your current last position fix for many of his calculations that depend on position.
Currently I have the digital clock updating in real time. By real time I mean every 500m of longitude change the clock is adjusted +- 1 second. You're saying I need to change this? If so, why?
The thing is that the difference between GMT and exact local time is the method used to determine longitude in navigation. For example if I know that local time is offset by +1 hour 16 minutes and 32 second from GMT time - I immediately know that my longitude is exactly 19 degrees and 8 minutes East. This gives me my longitudinal position down to 1.2km precision without doing anything. So my idea is either to lock out 'local' time leaving only GMT for users who has real nav enabled or instead of continuously updating local time to give them time that is set to current nautical time zone as on a real life ship - it is updated only every 15 degrees of longitude and is precise only down to one hour (1650km error) based on last navigator's fix (1650km + navigator's error). I gave a formula for local time zone time calculation in the previous post.
Vanilla is offline   Reply With Quote
Old 12-20-10, 10:39 AM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
The thing is that the difference between GMT and exact local time is the method used to determine longitude in navigation. For example if I know that local time is offset by +1 hour 16 minutes and 32 second from GMT time - I immediately know that my longitude is exactly 19 degrees and 8 minutes East. This gives me my longitudinal position down to 1.2km precision without doing anything. So my idea is either to lock out 'local' time leaving only GMT for users who has real nav enabled or instead of continuously updating local time to give them time that is set to current nautical time zone as on a real life ship - it is updated only every 15 degrees of longitude and is precise only down to one hour (1650km error) based on last navigator's fix (1650km + navigator's error). I gave a formula for local time zone time calculation in the previous post.
Which is the best way to implement? Locking out local time or implementing nautical time zones for real nav?

On a ship, how are entries in the ship's log kept? Are they recorded in GMT time or local time or the nautical time zone time?
TheDarkWraith is offline   Reply With Quote
Old 12-20-10, 11:13 AM   #12
brandtryan
Engineer
 
Join Date: Feb 2007
Location: Indianapolis, United States
Posts: 214
Downloads: 122
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Which is the best way to implement? Locking out local time or implementing nautical time zones for real nav?

On a ship, how are entries in the ship's log kept? Are they recorded in GMT time or local time or the nautical time zone time?
Something just clicked in my head, though I've probably got it wrong. I just realized (I think), that where I am right now in Indianapolis, that when the sun is at its highest point in the sky, that it won't be precisely noon. I'm GMT-5 time zone--but that's just it--it's a "zone". Somewhere (probably on the meridian that designates the start of GMT-5, precisely at noon, the sun is at it's highest point in the sky to the observer, if they are located exactly on that meridian. But since I"m essentially between meridians--it might be a few minutes before or after noon (local time zone) when the sun is at its highest point as I observe it. It finally occured to me when I was thinking about the local vs GMT clock in game. The local clock isn't going to help much--since it is the time for the local time ZONE. To really find out exactly what time it is at a given location, you have to wait for the sun to reach it's highest point, which would then be "local noon", or better yet, "precise local noon", to set it apart from local time zone time. You then compare that to current GMT, and you've got your answer.

Ok--I"m probably completely wrong--plz someone correct me, so I can know I"m heading in the right or wrong direction! (no pun intended)
__________________
from Brandt
brandtryan is offline   Reply With Quote
Old 12-20-10, 11:43 AM   #13
keper
Nub
 
Join Date: May 2007
Posts: 4
Downloads: 24
Uploads: 0
Default

Hi I've just installed the mod and i saw that when i'm at periscope depth i can't rise the observation periscope over the surface, anyone knows how to fix it?
keper is offline   Reply With Quote
Old 12-20-10, 03:23 PM   #14
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Which is the best way to implement? Locking out local time or implementing nautical time zones for real nav?

On a ship, how are entries in the ship's log kept? Are they recorded in GMT time or local time or the nautical time zone time?
The best is to give current time zone time for real nav. It will be a reflection of real life. Simply lockin out local time when real nav enabled is just that - rough and simple way of locking out a possibility to 'cheat' circumventing the navigator. On the other hand removing the local time altogether is great inconvenience - you will not be able to tell straight away just by looking at the clock what part of the day is now since GMT can be way off. Is that dawn or dusk you're seeing at the moment? How many hours before sunset is left so you can surface? etc. You will always need to do a calculation in your head. That's why time zones are there.
In real life the time kept on ship should reflect local time (should be advanced or reduced every 15 degrees of long):
Quote:
Originally Posted by Wiki-impedia
A ship is required to adopt the standart time of a country when it is in its territorial waters, but must revert to nautical time as soon as it leaves territorial waters. ... ships must obtain GMT from zone time, not zone time from GMT
Summary: with real navigation enabled local ship time should reflect time of the local nautical time zone (formula given before), on mouse hover GMT should be shown.

Regarding the logbooks - you log at local shipborne time (nautical time zone time) but you make note on what is the local time difference at the beginning of each day and when adjusting to the new zone:
Quote:
When starting a new day in the log at midnight local, record the date and time of GMT and the zone description (difference between local time and GMT) so there is no ambiguity as to what time it was when something occurred. This is how its done on US flag ships.
quote from here: http://www.cruisersforum.com/forums/...log-40035.html

Summary: logs are kept using local time with notes at the beginning of each day and after sailing into another time zone stating time difference with GMT

P.S. This all is of course irrelevant if real nav is disabled - we should not force some obscure time thingy on not-so-hardcore players.

P.P.S. I recon we're definitely hi-jacking the thread with all this, should we start a new [TEC] regarding real nav things?


Last edited by Vanilla; 12-20-10 at 03:44 PM.
Vanilla is offline   Reply With Quote
Old 12-20-10, 03:51 PM   #15
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
The best is to give current time zone time for real nav. It will be a reflection of real life. Simply lockin out local time when real nav enabled is just that - rough and simple way of locking out a possibility to 'cheat' circumventing the navigator. On the other hand removing the local time altogether is great inconvenience - you will not be able to tell straight away just by looking at the clock what part of the day is now since GMT can be way off. Is that dawn or dusk you're seeing at the moment? How many hours before sunset is left so you can surface? etc. You will always need to do a calculation in your head. That's why time zones are there.
In real life the time kept on ship should reflect local time (should be advanced or reduced every 15 degrees of long):


Summary: with real navigation enabled local ship time should reflect time of the local nautical time zone (formula given before), on mouse hover GMT should be shown.

Regarding the logbooks - you log at local shipborne time (nautical time zone time) but you make note on what is the local time difference at the beginning of each day and when adjusting to the new zone:
quote from here: http://www.cruisersforum.com/forums/...log-40035.html

Summary: logs are kept using local time with notes at the beginning of each day and after sailing into another time zone stating time difference with GMT

P.S. This all is of course irrelevant if real nav is disabled - we should not force some obscure time thingy on not-so-hardcore players.

P.P.S. I recon we're definitely hi-jacking the thread with all this, should we start a new [TEC] regarding real nav things?

I see no reason to start a new thread. This is all part of the UIs mod

So let's see if my math is correct.....every 15 degrees of longitude is:
15 x 120,000 = 1,800,000 meters or 1,800km. Correct?

I will adjust the digital clock to current nautical time zone in real nav. Thankfully I already have the timers and messagebox reporting in 'current time' so the change will be easy to implement.

I've also added dead-reckoning to the mod. If the navigator can't report position he'll chart out a dead-reckoning fix. Depending on your user options he'll either tell you the new position or he'll plot it as a navigational fix.

But this I see as a problem. I see it as a way to enable GPS navigation again. When the navigator does his dead-reckoning calc I'm thinking about including a small random amount of error so that it will mitigate GPS style navigation. Thoughts?

I also noticed a big problem with the mod (real nav part). Say you have 4 navigational fixes plotted. You adjusted #2's position. All the rest of the navigational fixes don't adjust
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 10:20 PM.


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.