SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
10-02-19, 07:15 PM | #1 |
Chief
Join Date: Aug 2019
Location: Patroling the south pacific
Posts: 321
Downloads: 75
Uploads: 0
|
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 |
10-04-19, 09:53 PM | #2 |
Watch
Join Date: Sep 2019
Location: Austin, TX
Posts: 17
Downloads: 12
Uploads: 0
|
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. |
10-05-19, 12:46 AM | #3 |
Ocean Warrior
Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,021
Downloads: 175
Uploads: 16
|
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. |
10-05-19, 01:37 AM | #4 |
CTD - it's not just a job
|
... 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
|
10-05-19, 03:09 AM | #5 | |
Watch
Join Date: Sep 2019
Location: Austin, TX
Posts: 17
Downloads: 12
Uploads: 0
|
Quote:
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! |
|
10-05-19, 09:45 AM | #6 |
CTD - it's not just a job
|
Exactly... unless you're using the SH4 map and its version of the Mercator Projection...
|
10-07-19, 11:36 AM | #7 | |
Silent Hunter
Join Date: Dec 2004
Location: AN9771
Posts: 4,892
Downloads: 300
Uploads: 0
|
Quote:
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 |
|
|
|