Jump to content

Joostan

Alpha Tester
  • Posts

    53
  • Joined

  • Last visited

Posts posted by Joostan

  1. Thanks for this, what you could do for calculating the distances would be to stick the planet data into a table and then use a for k,v in pairs.

     

    function getPlanetData()
        local planets = {} 
        planets[1] = { ["name"] = "Alioth", x = -4.000, y = -4.000, z = -60534.000, grav = 9.891} 
        planets[2] = { ["name"] = "Ion", x = 2865536.000, y = -99034464.000, z = -934464.000, grav = 3.5325} 
        planets[3] = { ["name"] = "Symeon", x = 14165536.000, y = -85634464.000, z = -934464.000, grav = 3.8465} 
        planets[4] = { ["name"] = "Talemai", x = -13234464.000, y = 55765536.000, z = 465536.000, grav = 4.553} 
        planets[5] = { ["name"] = "Teoma", x = 80865536.000, y = 54665536.000, z = -934464.000, grav = 4.7885} 
        planets[6] = { ["name"] = "Lacobus", x = 98865536.000, y = -13534464.000, z = -934464.000, grav = 4.4745} 
        planets[7] = { ["name"] = "Feli", x = -43534464.000, y = 22565536.000, z = -48934464.000, grav = 4.71} 
        planets[8] = { ["name"] = "Thades", x = 29165536.000, y = 10865536.000, z = 65536.000, grav = 4.867} 
        planets[9] = { ["name"] = "Madis", x = 17465536.000, y = 22665536.000, z = -34464.000, grav = 3.5325} 
        planets[10] = { ["name"] = "Jago", x = -94134464.000, y = 12765536.000, z = -3634464.000, grav = 4.9455} 
        planets[11] = { ["name"] = "Sicari", x = 52765536.000, y = 27165536.000, z = 52065536.000, grav = 4.0035} 
        planets[12] = { ["name"] = "Sinnen", x = 58665536.000, y = 29665536.000, z = 58165536.000, grav = 4.3175}
        return planets
    end
    pos = core.getConstructWorldPos()
    planet = getPlanetData()
    
    for k,v in pairs(planet) do
    	    dist = string.format("%.2f", math.sqrt((planet[k].x - pos[1])^2+(planet[k].y - pos[2])^2+(planet[k].z - pos[3])^2)/200000)
        	mapdata = mapdata .. [[
        		<tr><td>]]..planet[k].name..[[</td><td>]]..dist..[[</td></tr>
        	]]
    end

     

  2. I so like that idea but think they might just start off with remote cameras that you can tap into via a camera view as opposed to screens but screens would be way cooler.

  3. Just thought I would say a quick hi to you all. Originally backed this game with the Silver package back in 2016, been following the progress ever since. Finally bit the bullet and purchased the Patron pack last week as I cannot wait to try this out and hope I can contribute to the development.
    Been playing most space games since the original Elite back in 1984 on the good old BBC Micro, and have not stopped since (All Elites, All the X series, EVE, Space Engineers and many more).

    Cannot wait to get out there in space ........ 

  4. Ok, DualUniverse have hit goal and all is great but now what?

     

    Can DU please let us know of their estimated road map is for Alpha, Beta release etc.?

    Being someone who designs computer systems, I know that times will slip but I still want to know how many sleeps I have until I can test this baby! :D

     

    Also would there be any mechanism for any of the people that have already pledged and would like to up their pledge for Alpha release?

×
×
  • Create New...