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 04-05-12, 07:31 AM   #1
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 72
Uploads: 0
Default

Accorind to my measurments the sun does not follow a real-world pattern (or any sensible pattern for that sake) on the SH5 skies, you can see it for yourself using sextant from TDW UIs mod. This invalidates the whole sky height measurement process. More to that there is a strong possibility that the sun position is dependent on the screen resolution. Even if there is a pattern, I doubt it is possible to see the horizont and the sun simultaneously given the tools we have.

Last edited by Vanilla; 04-05-12 at 07:41 AM.
Vanilla is offline   Reply With Quote
Old 04-05-12, 08:08 AM   #2
silent marshal
Watch
 
Join Date: Aug 2008
Location: Vienna - Austria
Posts: 25
Downloads: 89
Uploads: 0
Default

@ Vanilla: you're exactly right: SH5 doesn't reflect realistic sun behaviour. The process I use is totally independent from SH5 and that's why it works absolut correctly. There must only be a script which prevents the use of the sextant-UI at heavy weather when the sun can't be seen (or at night of course) - but this for realistic gameplay only.

The crucial point of the process ist this:
If you know your exact position, you can calculate the hight of the sun. I do this as the first step (using SH5's exact position data which the player doesn't know) and now you can calibrate your sextant's scala this way that the (dummy) sun touches the horizont with the exact angle - and this for every second of a year.

See the result below: delta [Pos] ist the distance from the exact position of SH5.



I make some tests and the results are awsome. Depending on the accuracy of your input data your graphically located position is in a radius of a few hundret meters (well only if I use the exact calculation values; for real life conditions the accuracy will be 1km up and more - like it is in real world navigation).


I forgot to upload the nautical yearbook which will be written by a routine for a 1-hour period depending on your data input on the sextant-UI.



Here only the period from Minute 00-30 is shown. There will be a second page with the second half of the hour. Still in progress.

It works pretty well, belief me!
silent marshal is offline   Reply With Quote
Old 04-05-12, 11:08 AM   #3
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
Default

very interesting stuff!

__________________


urfisch is offline   Reply With Quote
Old 04-05-12, 12:43 PM   #4
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 72
Uploads: 0
Default

Oh, I see now! Sorry for being dumb in the first place. That's a very interesting idea!
Vanilla is offline   Reply With Quote
Old 04-05-12, 01:02 PM   #5
don1reed
Ace of the Deep
 
Join Date: Dec 2004
Location: Valhalla: Silent Generation
Posts: 1,149
Downloads: 910
Uploads: 0
Default

Excellent work, silent marshal. Very much looking forward to try it out.
__________________
[SIGPIC][/SIGPIC]
During times of universal deceit, telling the truth becomes a revolutionary act.

~ George Orwell
don1reed is offline   Reply With Quote
Old 04-05-12, 02:36 PM   #6
tonschk
Admiral
 
Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
Default

Indeed very intresting
__________________
What we do in life echoes in Eternity
tonschk is offline   Reply With Quote
Old 04-05-12, 05:12 PM   #7
quink99
中国水兵
 
Join Date: Jul 2011
Posts: 278
Downloads: 941
Uploads: 0
Default

As one who has done a bit of RW celestial navigation in both sailboats and aircraft this would be the ultimate in immersion, challenge, and fun.

My congratulations, Silent Marshal! It won't be easy but it will be worth the effort. Good luck!
quink99 is offline   Reply With Quote
Old 04-06-12, 07:02 PM   #8
ETsd4
中国水兵
 
Join Date: Dec 2010
Posts: 278
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by silent marshal View Post
It works pretty well, belief me!
Sorry to say that, but that's not true.
A "graphical solution" for finding the FIXposition depends on Length/distances and arcs. The SHunter-world has different distances and different arcs. THere is a mismatch between the varying mercator-projection of the real world and the constant mercator-projection of SHunter.
The only places where SHunter and the real-world is fairly equivalent is near the equatorial region (real world= 60nm, SHunter= 64.79nm). There will be never ever a "graphical solution" you will draw with SH5 map-tools which your picture implies here ...
ETsd4 is offline   Reply With Quote
Old 04-07-12, 05:28 AM   #9
silent marshal
Watch
 
Join Date: Aug 2008
Location: Vienna - Austria
Posts: 25
Downloads: 89
Uploads: 0
Default

Quote:
Originally Posted by ETsd4 View Post
Sorry to say that, but that's not true.
A "graphical solution" for finding the FIXposition depends on Length/distances and arcs. The SHunter-world has different distances and different arcs. THere is a mismatch between the varying mercator-projection of the real world and the constant mercator-projection of SHunter.
The only places where SHunter and the real-world is fairly equivalent is near the equatorial region (real world= 60nm, SHunter= 64.79nm). There will be never ever a "graphical solution" you will draw with SH5 map-tools which your picture implies here ...
Hello ETsd4!

Thank you for your critical comment. You figured out, what is the difficult part of the problem. It seems that SH5 uses some sort of UTM (Universal Transverse Mercator) coordinate system. That means, that the higer to the north or south you are, the mote distances (width only) are streched. You can check this when you compare distances from SH5 with the ones in google earth. (I know, you are firm with all this, but maybe there are some readers who aren't.) For simming this means that you are travelling a greater distance as you would do in real world.

I have factored in this fact and that's what the "Horizontalversatz" is doing: it corrects the sphere/plane geometry of the "Höhendifferenzmethode" to the UTM system.

How my method works:
The calculation bases on a spherical system. Because of the great distances, we can transform it to a plane system, where circles are lines - that's what you are doeing in real world also. I can do this at the nav-map but consider not the coordinates of default SH5. Now I have to transfer the intersection point - which is the exact position at the sphere - to UTM of SH5 and this is done with the "Horizontalversatz".

I will make some more tests but I wonder if there are any errors left.

Critical comments always welcome! If I am wrong, ashes to my head and I will submerge into the deep of www. If I am right, SH5 will be more exciting.
silent marshal is offline   Reply With Quote
Old 04-07-12, 11:44 AM   #10
don1reed
Ace of the Deep
 
Join Date: Dec 2004
Location: Valhalla: Silent Generation
Posts: 1,149
Downloads: 910
Uploads: 0
Default

Both SH3 and SH4 have MapFiles. In SH3 it's located:

C:/Documents/SH3/data/cfg/Careers/skipper's name/0/_____.Map

In SH4 it's located:

C:/Documents/SH4/date/cfg/SaveGames/00000000/SaveData.Map

There isn't a "Map File" for SH5. (That I know of.)

An amateur mathematician, Celestial Navigation Enthusiast and practicianer; not to mention, an all-around nice guy, Michael Jones, created a script file using Python and Stellarium to take the data from the SH4 Map file and convert the numbers found therein into Geo Coords. Numbers such as:
-1198199.13, 6006413.50,0.00

by dividing these numbers by 120000.

i.e., -1198199.13 / 120000 = -9.9848993. The (-) sign indicates West Longitude and South Latitude. The quocient then becomes: 9°59.1'W.

6006413.50 / 120000 = 50°3.21'N.

Everytime a "save" is done on your computer while playing, it auto-updates your true position on the game chart, even if your boat's icon is hidden.

Alas, SH5 does not have a MAP file that I know of.

And, of course, the Python/Stellarium method of celnav was used because the celestial canopies in SH3 and SH4 are not accurate, whereas, Stellarium's canopy is true.

Once Python obtained your true coordinates, it pulls up Stellarium and presents the correct celestial canopy you would be viewing if you were in fact, at that location. All that was left to do was to take of round of virtual sights of altitude and azimuths of selected bodies and have Nories, or HO Pubs 211, or 229, or 249 and almanac at hand to do the sight-reduction...five times per day, as in real life.

Then again, the next problem was the matter of the Mercator Projection Chart. None are true in the SH games. They're charts meant to fit the resolution of your display. So...forget Dead Reckoning as well.

When Navigators purchase charts from authorized chandlers, the charts they buy are printed to very precise specification and are miniature ratios of the real world, i.e., 1:1,000,000 scale. This is an extremely precise ratio, which means it is accurate to the length of one Toyota Prius to 1M Prius, or 1 nm to 1M nm, or 1cm to 1M cm, etc. One could say it's etched in stone. The chart in these games...not so much.

Edit: I'm looking forward to see this come about and wish you great success.

Cheers,
__________________
[SIGPIC][/SIGPIC]
During times of universal deceit, telling the truth becomes a revolutionary act.

~ George Orwell

Last edited by don1reed; 04-07-12 at 03:32 PM.
don1reed is offline   Reply With Quote
Old 04-08-12, 12:55 AM   #11
Nico71
Medic
 
Join Date: Sep 2001
Location: Germany
Posts: 168
Downloads: 145
Uploads: 0
Default

After so many attempts to get real nav to work in SH by the community - with variing success - I'm inclined to give up on it. I did it successfully in FSX, with sextant, weather ships and whatnot. That being said, I really hope that you get this to work! That'd be really awesome!
Nico71 is offline   Reply With Quote
Old 04-08-12, 05:41 AM   #12
Sartoris
Captain
 
Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
Default

Sounds like there are some problems to overcome, but man, it would be so amazing if you could pull this off!
Sartoris is offline   Reply With Quote
Reply

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 11:20 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.