Page 1 of 1

How do you define a new planet in the data files?

Posted: 02.06.2002, 02:00
by Mikeydude750
I was wondering how to make one, since I have a new texture for a planet, and I don't know how to put it into Celestia.

Could you also tell me how to define orbits, atmospheres, and planets?

Any help here would be greatly appreciated.

Posted: 02.06.2002, 13:56
by Rassilon
Another person would be best to answer the question on defining an orbit etc...I simply tweak the variables to suit my needs...

On adding a planet...Take the code of another planet..paste it into a blank notepad...modify it and save to the extras folder as a .ssc file NOT a text file...Make sure you choose a star to have it orbit...and name the star in the coding using its primary designation...or maybe the HIP number...

Atmospheres are the RGB value in % value in the form of a decimal...0.0 is the lowest and will be black...1.0 is the highest and will be white...Yellow is [ 1 1 0 ] Pink is [ 1 0.2 0.5 ] etc...

I can give you this much though...

Period is the planets revolution around the sun in years...
SemiMajorAxis is the distance from its sun in AU 1 AU ~ 93 million miles...
Eccentricity is the % amount in decimal form that a planet moves closer and further away from its sun...
Inclination is the degree amount that the orbit inclines...
The rest im not 100% sure of but play with it...

Posted: 02.06.2002, 17:06
by Mikeydude750
Thank you so much! I have been itching to create a nice planet, but I didn't know how to.


Maybe some one should make a program that generates a data file based on the variables. That could be a good project for my programming class in a few months.