Locked Home » Forums » Legacy & Archived » Archived Content » Darkfall Online » DFO - Premium - Discussions

Found this formula for finding way points. : DFO - Premium - Discussions

Posted: April 8th, 2009
evilwatermelon
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)
Posted: April 8th, 2009
User avatar
Total Posts:527 Joined:2005
Hmm I don't know if DFOmate uses the same formula. I have tried to convert it serveral time and its never come out right.

My last test was.

14,40 W 17,34 S

820* -14.6 + 100 = -11872
820* 17.5 + 16290 = 30640

the Mates cords was (in this order) -31787.13, 5022.06, 602.22
Posted: April 8th, 2009
evilwatermelon
wasn't sure, haven't tried it out hehe. was worth a shot though =)
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 1 guest
Locked