20GT Posted October 3, 2017 Share Posted October 3, 2017 What is the mathematical formula for converting GPS coordinates into teleport coordinates? https://jdimensional.com/ark/map/ is based on a formula, does anyone know it? Link to comment Share on other sites More sharing options...
Palenor Posted October 3, 2017 Share Posted October 3, 2017 That is a very good question, one that enquiring minds have wanted to know the answer to for some time. Been a while since I looked, like 18 months or so, had no luck then, Best I figured out is as follows. 50,50 is center of map at 0,0 Each full grid is to the west of 50,50 is 80,000 for 10 degrees. Each degree is equal to 8,000 and each .1 degree is equal to 800. Problem is when you go east of 50,50, the first full grid is 100,000, not 80,000 so it throws off all formulas. Link to comment Share on other sites More sharing options...
Olivar Posted October 3, 2017 Share Posted October 3, 2017 (map coordinate - 50) * map_coordinate_factor That's the formula for converting coordinates of the minimap to the ingame UR coordinates. The map_coordinate_factor is as following: Map Y Factor X Factor The Island 8000 8500 Scorched Earth 8000 The Center Ragnarok 13100 Some examples for the Island <50 50> minimap = <0, 0> UR <80, 80> minimap = <320000, 340000> <10, 10> minimap = <-320000, -340000> Link to comment Share on other sites More sharing options...
Palenor Posted October 3, 2017 Share Posted October 3, 2017 19 minutes ago, Olivar said: (map coordinate - 50) * map_factor That's the formula for converting coordinates of the minimap to the ingame UR coordinates. The map_factor is as following: The Island 8,000 Scorched Earth 8,000 Ragnarok 13,100 Google and the wiki are your friends That would only work for anything that is on the negative side of coordinates. (West or North of 50,50) Link to comment Share on other sites More sharing options...
Olivar Posted October 3, 2017 Share Posted October 3, 2017 No that works for anything, as you said, 50, 50 is the center of the map, which is mapped to the coordinates of 0,0. You can use the link from the OP to verify this: <50, 50> => <0, 0> <10, 10> on minimap => <-32000, -32000> in UR coordinates (-40 * 8000) <80, 80> on minimap => <32000, 32000> in UR coordinqtes (40 * 8000) Link to comment Share on other sites More sharing options...
Palenor Posted October 3, 2017 Share Posted October 3, 2017 2 minutes ago, Olivar said: No that works for anything, as you said, 50, 50 is the center of the map, which is mapped to the coordinates of 0,0. You can use the link from the OP to verify this: <50, 50> => <0, 0> <10, 10> on minimap => <-32000, -32000> in UR coordinates (-40 * 8000) <80, 80> on minimap => <32000, 32000> in UR coordinqtes (40 * 8000) Not trying to be difficult here. However, 80,80 on the referenced map is actually 260,000 x 240,000 and 90,90 is 340,000 x 320,000. This is due to the first full grid to the East of 50,50 (60, any) is actually 100,000 instead of 80,000. This messed with me in the game for the longest time until I found this same map referenced by OP above. Link to comment Share on other sites More sharing options...
Olivar Posted October 3, 2017 Share Posted October 3, 2017 The map is not squared then. I rerun the numbers, and they match for the Y coordinate, as the coordinates stop at 320000 there. Which matches the 8000 mapfactor for the Island. For the X coordinates there's up to 340000 coordinates in both directions. This means the map_factor becomes 8500. This is for the Island only at the moment, haven't checked the other maps as their dimensions might be different as well. Link to comment Share on other sites More sharing options...
Olivar Posted October 3, 2017 Share Posted October 3, 2017 updated my post with the new data Link to comment Share on other sites More sharing options...
20GT Posted October 3, 2017 Author Share Posted October 3, 2017 Thanks I'll check it out when I get home. Link to comment Share on other sites More sharing options...
20GT Posted October 10, 2017 Author Share Posted October 10, 2017 On 10/3/2017 at 8:46 AM, Olivar said: (map coordinate - 50) * map_coordinate_factor That's the formula for converting coordinates of the minimap to the ingame UR coordinates. The map_coordinate_factor is as following: Map Y Factor X Factor The Island 8000 8500 Scorched Earth 8000 The Center Ragnarok 13100 Some examples for the Island <50 50> minimap = <0, 0> UR <80, 80> minimap = <320000, 340000> <10, 10> minimap = <-320000, -340000> So according to the formula. (38 - 50) * 13100 (31.8 - 50 * 13100 38−50 = −12 (−12)×13,100 = −157,200 31.8−50 = −18.2 (−18.2)×13,100 = −238,420 Setplayerpos −157200 −238420 0 (does it need this zero at the end) should work? I'll try when I get home Link to comment Share on other sites More sharing options...
20GT Posted October 11, 2017 Author Share Posted October 11, 2017 15 hours ago, 20GT said: Setplayerpos −157200 −238420 0 Didn't work. It teleported me to a spot inside a rock. whats a good general overall number for Z. I think I tried higher numbers for Z but did so much yesterday I've forgotten. But the result still didn't work for me. Link to comment Share on other sites More sharing options...
20GT Posted October 11, 2017 Author Share Posted October 11, 2017 It's too bad that jdimensional didn't add this feature to his map page. Does anyone have a steam account and will ask him to add it? Link to comment Share on other sites More sharing options...
20GT Posted October 13, 2017 Author Share Posted October 13, 2017 I've almost have a working calculator. I just have to fix it to where the answer doesn't use an alert MAP to GPS coordinates calculator Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.