.XYZ editor issues
Posted: 14.06.2006, 05:48
I'm creating a fictional solar system for fun, and decided I wanted to make a spacecraft for it.
I downloaded a .xyz file editor, and I started to try to plot a small course for a lunar reconaissance spacecraft. I set the points from a planet past its moon, and I ensure that the time is different on each of the points. Now I write the .ssc file for the spacecraft, open Celestia 1.4.0 and check it out. The spacecraft is 2,349 light years away. It still follows the same course though, it's just bloated up to interstellar travel rather than solar travel.
So I looked that the spacecraft.ssc file for some inspiration. It all looked like what I had, so I just copied the whole thing and pasted it at the bottem of the file. I changed the "beginning" line to the first julian date on the new .xyz file I made, and where it had "sampleorbit" I put in the name of my .xyz file. Quite satisfied and hoping it would work, I opened Celestia again, and the spacecraft was, once again, 2,349 lght years away.
I'm rather confused, but I think that it might be kinda like when you tell a planet to orbit 400,000 AU from the star. I think that maybe the .xyz editor is accidentally telling my computer to write the distance in AU when it's actually killometers in Celestia. I tried to put it in orbit of the planet ("Kaladria/Skathi"), but then the spacecraft was no longer in Celestia.
"Explorer1" "Kaladria"
{
Class "spacecraft"
Mesh "new_horizons_jpg.cmod"
Radius 0.011
Beginning 2453898.56422620314
SampledOrbit "explorer1.xyz"
RotationPeriod 1e9
}
Not sure if it will help any, but I pasted the .ssc part of the spacecraft. Maybe somebody can spot something. The .xyz and the .ssc files are both in the "data" folder in Celestia.
Any suggestions would be greatly appreciated.
I downloaded a .xyz file editor, and I started to try to plot a small course for a lunar reconaissance spacecraft. I set the points from a planet past its moon, and I ensure that the time is different on each of the points. Now I write the .ssc file for the spacecraft, open Celestia 1.4.0 and check it out. The spacecraft is 2,349 light years away. It still follows the same course though, it's just bloated up to interstellar travel rather than solar travel.
So I looked that the spacecraft.ssc file for some inspiration. It all looked like what I had, so I just copied the whole thing and pasted it at the bottem of the file. I changed the "beginning" line to the first julian date on the new .xyz file I made, and where it had "sampleorbit" I put in the name of my .xyz file. Quite satisfied and hoping it would work, I opened Celestia again, and the spacecraft was, once again, 2,349 lght years away.
I'm rather confused, but I think that it might be kinda like when you tell a planet to orbit 400,000 AU from the star. I think that maybe the .xyz editor is accidentally telling my computer to write the distance in AU when it's actually killometers in Celestia. I tried to put it in orbit of the planet ("Kaladria/Skathi"), but then the spacecraft was no longer in Celestia.
"Explorer1" "Kaladria"
{
Class "spacecraft"
Mesh "new_horizons_jpg.cmod"
Radius 0.011
Beginning 2453898.56422620314
SampledOrbit "explorer1.xyz"
RotationPeriod 1e9
}
Not sure if it will help any, but I pasted the .ssc part of the spacecraft. Maybe somebody can spot something. The .xyz and the .ssc files are both in the "data" folder in Celestia.
Any suggestions would be greatly appreciated.