• ### Announcements

• #### Note for players regarding Ascension (please open terminal/tribute before ascending)02/04/18

With the latest server update on PC (v276.493), if you're going to attempt ascension, before doing so please make sure you've opened a supply crate/transmitter/obelisk/ basically anything terminal/tribute inventories. It's a temp workaround to characters being lost when ascending whilst we're investigating character issues further.

# Math formula for Map coordinates to teleport coordinates

## Recommended Posts

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?

Edited by 20GT

##### Share on other sites

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.

Edited by Palenor
• 1

##### Share on other sites
`(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>
Edited by Olivar
• 1

##### Share on other sites
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

That would only work for anything that is on the negative side of coordinates. (West or North of 50,50)

• 1

##### Share on other sites

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)
• 1

##### Share on other sites
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.

• 1

##### Share on other sites

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.

• 1

##### Share on other sites

updated my post with the new data

• 1

##### Share on other sites

Thanks I'll check it out when I get home.

##### Share on other sites
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

Edited by 20GT

##### Share on other sites
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.

Edited by 20GT

##### Share on other sites

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?

##### Share on other sites

I've almost have a working calculator.
I just have to fix it to where the answer doesn't use an alert