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.
.XYZ editor issues
-
Topic authorHungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
-
Topic authorHungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
The .xyz file editor/generator I am reffering to can be downloaded at the http://www.celestiamotherlode.net/catalog/scripts.php. It is the "XYZ Trajectory Builder" file.
OK Hungry,I think the answer lies in adapting the XYZ Builder.celx file (you can open it with notepad or wordpad) and change the line
entering the name of your fictional star "Kaladria"? in place of Sol.
It's probably a good idea to plot the xyz file in Celestia 1.3.2 and then transfer it to 1.4.2 if you can as I seem to remember having problems with the positions when I used 1.4.0,but this was within our solar system.
Hope this helps,Jestr
Code: Select all
gHELIOFRAME = celestia:newframe("Planetographic", celestia:find("Sol"), 2451545.0)
entering the name of your fictional star "Kaladria"? in place of Sol.
It's probably a good idea to plot the xyz file in Celestia 1.3.2 and then transfer it to 1.4.2 if you can as I seem to remember having problems with the positions when I used 1.4.0,but this was within our solar system.
Hope this helps,Jestr
-
Topic authorHungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
-
- Posts: 1510
- Joined: 07.09.2002
- Age: 59
- With us: 22 years 2 months
- Location: Albany, Oregon
-
Topic authorHungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
-
Topic authorHungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States