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 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-02-19, 07:15 PM   #1
skirich
Chief
 
Join Date: Aug 2019
Location: Patroling the south pacific
Posts: 321
Downloads: 75
Uploads: 0
Default Coordinates Conversion in Missions

Anyone know the conversion formula to change whats written in the .MIS files into real Long/Lat?


It appears the files are saving a long float number, and the game changes it to real long/lat.


The mission editor has the coordinates on the bottom of the screen in both game version and long/lat. I cant see a correlation and the normal ways to convert various coordinate types dosent seem to fit here so I assume these numbers are custom to the game.
game versions example ...

Long=13819427.000000
Lat=723967.375000
skirich is offline   Reply With Quote
Old 10-04-19, 09:53 PM   #2
Pyryck
Watch
 
Join Date: Sep 2019
Location: Austin, TX
Posts: 17
Downloads: 12
Uploads: 0
Default

Hopefully someone in the know will provide a definitive answer.

I recently tried to circumvent the notorious save game TC corruption by "moving" my sub from Luzon Straights down to Fremantle so I could save the awesomely long list of sunk ships without having to journey 4000nm with only 256 TC. Didn't work and all I got for my effort was a CTD.

I'll figure out a way to get past the corruption in the save game files one of these days.
Pyryck is offline   Reply With Quote
Old 10-05-19, 12:46 AM   #3
ETR3(SS)
Ocean Warrior
 
Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,021
Downloads: 175
Uploads: 16
Default

It's a measurement in meters from the equator and prime meridian.
__________________


USS Kentucky SSBN 737 (G)
Comms Div 2003-2006
Qualified 19 November 03

Yes I was really on a submarine.
ETR3(SS) is offline   Reply With Quote
Old 10-05-19, 01:37 AM   #4
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,743
Downloads: 439
Uploads: 2


Default

... I thought I had posted here, but "ditto" what ETR3(SS) said... If you go east from Prime Meridian, the "highest" number is 21600000 (???), but if you go west, you only get to 21599998 - I think... can't find my notes from yesterday now... but anyway, the game can't "share" the coordinates, so you've got 180°00'E, and then the 179°59'59"W, or as SH4 says, -179.999283 or some-such... I also had the usable latitude (for what that's worth), which is short of 90°, but I can't find my notes. Don't forget that the SH4 "world" is flat... er - sort of... more like a cylinder that you can only go around one and a half times... I don't know what kind of formula you could use... Minutes of longitude are roughly a nautical mile, 2025 yards, or 1842 meters, correct?... er-TILT! math is not my strong suit
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 10-05-19, 03:09 AM   #5
Pyryck
Watch
 
Join Date: Sep 2019
Location: Austin, TX
Posts: 17
Downloads: 12
Uploads: 0
Default

Quote:
Originally Posted by ETR3(SS) View Post
It's a measurement in meters from the equator and prime meridian.
Damn, in the Pacific we're a long ways away from Greenwich in England. At least we're fairly close to the equator for most activities in game.

Time to find a global map overlayed with meters...or just stick some pins in the map of the Pacific and record the coords that way.

break...

Propbeanie - FYI, that measurement of longitude applies only at the equator. The further north or south you go, distance between lines of longitude shrinks. So always measure distance on the side of a chart around the center of the latitude entries since distances between lines of latitude don't change.

dayum, 34yrs since QM "A" school in Orlando and I still remember a little!
Pyryck is offline   Reply With Quote
Old 10-05-19, 09:45 AM   #6
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,743
Downloads: 439
Uploads: 2


Default

Exactly... unless you're using the SH4 map and its version of the Mercator Projection...
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 10-07-19, 11:36 AM   #7
Pisces
Silent Hunter
 
Join Date: Dec 2004
Location: AN9771
Posts: 4,892
Downloads: 300
Uploads: 0
Default

Quote:
Originally Posted by ETR3(SS) View Post
It's a measurement in meters from the equator and prime meridian.
On the map each degree in longitude or latitude is 120km, or 120,000. meters. Divide that by 1852 to get in nautical miles.

Check the coordinates on the map of any clear protruding peninsula near pole-circle areas (or any meridian far from Greenwich) and you'll find that those match up pretty nicely with degree-coordinates in Google Earth/Maps. As far as the resolution goes anyway.
__________________
My site downloads: https://ricojansen.nl/downloads
Pisces is offline   Reply With Quote
Reply


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 09:16 PM.


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