Found this formula for finding way points.
Posted: April 8th, 2009, 6:19 am
Found this formula for way points. Haven't tried it myself, but might be some use to others.
From a linear regression on my waypoints, I have the following formulae:
Code:
X = 820 * [longitude] + 100
Z = 820 * [latitude] + 16290
The in-game coordinates are given in a [minutes]' [seconds]" [direction] format. There are two things to note when converting the in-game coordinates to a decimal representation. First note that for longitude, west is negative and east is positive. Similarly, for latitude, south is negative and north is positive. Secondly, there are 60 seconds in one minute, so we must take this into consideration when converting. For example, given the in-game location
Code:
1'6" W, 10'54" S
we find the X and Z coordinates as follows:
Code:
longitude = [direction] * ([minutes] + [seconds]/60) = [-1] * ([1] + [6]/60) = -1.1
latitude = [direction] * ([minutes] + [seconds]/60) = [-1] * ([10] + [54]/60) = -10.9
X = 820 * [longitude] + 100 = 820 * -1.1 + 100 = -802
Z = 820 * [latitude] + 16290 = 820 * -10.9 + 16290 = 7352
For the Y coordinate, you're on your own. The safer approach would be to teleport below the ground (roughly Y coordinate set to 0) with falling disabled and teleport up to the surface when you've determined it to be safe. The highest Y coordinate I have in my waypoints is less than 500, so I'd suggest using that as a starting point if you want to parachute in. Some mountains are about 1000 coords high, so you might start even higher than 500. The final coordinate that you'd teleport to would be
Code:
(-802, 0, 7352)
From a linear regression on my waypoints, I have the following formulae:
Code:
X = 820 * [longitude] + 100
Z = 820 * [latitude] + 16290
The in-game coordinates are given in a [minutes]' [seconds]" [direction] format. There are two things to note when converting the in-game coordinates to a decimal representation. First note that for longitude, west is negative and east is positive. Similarly, for latitude, south is negative and north is positive. Secondly, there are 60 seconds in one minute, so we must take this into consideration when converting. For example, given the in-game location
Code:
1'6" W, 10'54" S
we find the X and Z coordinates as follows:
Code:
longitude = [direction] * ([minutes] + [seconds]/60) = [-1] * ([1] + [6]/60) = -1.1
latitude = [direction] * ([minutes] + [seconds]/60) = [-1] * ([10] + [54]/60) = -10.9
X = 820 * [longitude] + 100 = 820 * -1.1 + 100 = -802
Z = 820 * [latitude] + 16290 = 820 * -10.9 + 16290 = 7352
For the Y coordinate, you're on your own. The safer approach would be to teleport below the ground (roughly Y coordinate set to 0) with falling disabled and teleport up to the surface when you've determined it to be safe. The highest Y coordinate I have in my waypoints is less than 500, so I'd suggest using that as a starting point if you want to parachute in. Some mountains are about 1000 coords high, so you might start even higher than 500. The final coordinate that you'd teleport to would be
Code:
(-802, 0, 7352)