Liosan / dual-universe-ore-locator

GNU General Public License v3.0
0 stars 1 forks source link

Planet radius + bugs #1

Open kittle31 opened 3 years ago

kittle31 commented 3 years ago

Found a way to figure the planetary radius for each planet. go here: https://www.calculatorsoup.com/calculators/geometry-solids/sphere.php pick "r c v" given A use in game gui to get surface area of planet (24661.38 for Madis). Convert from sq KM to sql Meters result = 44300

But the solutions dont seem to translate well to bookmarks on Madis ::pos{0,1,16.2477,-178.6875,709.3463} 230 ::pos{0,1,16.2442,-178.7961,704.9631} 245 ::pos{0,1,16.1312,-178.7856,697.8754} 180 ::pos{0,1,16.1746,-178.9372,689.4930} 260

Gives a bookmark 630m down when the in game ping shows only 260 away

Lastly - the generated bookmark is hard coded for Ailoth. --> ::pos(0,2 ....

Liosan commented 3 years ago

Hey @kittle31 , thanks for the input :) I know how to do the calculations, but I need measurements for the different planets to be able to calculate it. And, uh, I didn't get to fly there yet, in-game.

Also, I found this: https://github.com/Novean-Institute-of-Standards/dumap/blob/dev/data/planets.json - should help :)

Madis is not supported yet :( The results are not hard coded, should work on all planets once I finish this work, but currently only Alioth and Locobos work correctly.