planet name="Earth" model="Planet" type="Terrestrial" surface="earth" weather="" color="0 66 255" orbitaldistance="1" orbitalposition="180" orbitalperiod="1" class="" radius="6371"
orbitaldistance="1"
AU from the sun
orbitalperiod="1"
Number of Years orbiting.
radius="6371"
Mean Radius of the Planet. For Example Earth is 6371km and Saturn is 58232.
Moons
moon name="Moon" model="Planet" type="Terrestrial" surface="moonb" weather="" color="118 118 118" orbitaldistance=".00257" orbitalposition="70" orbitalperiod=".0748" class="" radius="1738"
orbitaldistance=".00257"
Still in AU, so you might need to recalculate, the Earths Moon is .00257 AU from earth or 384400km.
1 AU is 149597870km.
Maths = KM Distance / 149597870
orbitalperiod=".0748"
This is still in years. so 0.0748 of a year is about 27 days.
Maths for Days orbit= 0.00274 * Number of days
Random 1:
Random 2: Dry grey planet
Random 3: Blue Watery Looking
Random 4: Blue and White
Random 5: Red Planet