need troubleshooting help: fictional planet around real star

General discussion about Celestia that doesn't fit into other forums.
Topic author
Liar
Posts: 25
Joined: 26.03.2006
With us: 18 years 7 months
Location: Melbourne

need troubleshooting help: fictional planet around real star

Post #1by Liar » 29.01.2009, 01:26

(I posted this under "celestia add-ons", then realised it should probably go in this forum, so i deleted and reposted here. Sorry if you were viewing it there and suddenly find it's over here...)

Hey all,

I am trying to draw a fictional planet around a real star (specifically, Procyon A).

I've started by copying the Earth file, and changing "Earth" to "blah" and "Sol" to "Procyon A".

I've tried it a few different ways now, and Celestia will not draw the planet in. None of the searches i made on this topic brought up any troubleshooting; as far as i can see, everyone else finds it easy to do this!

These are the methods i've tried; all have the same result (i.e. nothing):

1) Making no changes to the Earth file except the planet name and star name,
2) Removing the custom orbit line and putting in orbital details from a different fictional planet,
3) Trying 1) and 2) again, but varying the star name to synonyms of Procyon A (which i took from Celestias nearstars.stc file)
4) Trying 1) and 2) again, but using the whole text of the star name as it appears in the nearstars.stc file (i.e. "Procyon A:Elgomaisa A:ALF CMi A:10 CMi A:Gliese 280 A")
5) Trying it with the star name "37279" (which appears beside Procyon A's entry in the nearstars file),
6) Trying it with the star name changed to just "Procyon" (the barycentre name), and inserting the line "OrbitBarycenter "Procyon"" (American spelling and everything...) into the file.

Any thoughts?

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: need troubleshooting help: fictional planet around real star

Post #2by BobHegwood » 29.01.2009, 03:03

See Selden's List of Resources for Celestia which is located HERE.
You need to change and/or add an SSC file and perhaps an STC file.
Have a look at the link provided above.

Thanks, Brain-Dead Bob
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

bdm
Posts: 461
Joined: 22.07.2005
With us: 19 years 3 months
Location: Australia

Re: need troubleshooting help: fictional planet around real star

Post #3by bdm » 29.01.2009, 04:15

If Celestia finds an error in an SSC file, it will not process anything from the point of the error. There is a chance (pretty likely) that you have a syntax error in the SSC file that is causing Celestia to reject it.

Also, for Celestia to recognise the file, it has to be placed into the correct location and Celestia configured to read that location. By default, that is the "extras" directory.

Here is a brief addon that works. PLace this in the Extras directory, run Celestia, and go to Procyon A. The planet "test" should be selectable as a planet around that star.

Code: Select all

"Test" "Procyon A"
{
    Texture "earth.*"
    Radius 5000
    Color [ 0.40 0.60 0.85 ]
    Albedo               0.23

    EllipticalOrbit
    {
        Period            0.253
        SemiMajorAxis     0.322
        Eccentricity      0.022
        Inclination       062.8
        AscendingNode     187.5
        LongOfPericenter  105.2
        MeanLongitude     336.2
    }

    Obliquity            062.8
    EquatorAscendingNode 187.5
    RotationOffset       000.0
    RotationPeriod       27.18
}

Topic author
Liar
Posts: 25
Joined: 26.03.2006
With us: 18 years 7 months
Location: Melbourne

Re: need troubleshooting help: fictional planet around real star

Post #4by Liar » 29.01.2009, 05:49

Ahh bdm, you are a lifesaver!

It turns out that it was because the *.ssc file was not in the "extras" directory; i just had it sitting in the "data" directory. Isn't it always something so close to ones nose that one cannot see it...?

For some reason i remembered putting add-ons into the data directory, but now i see none of them are in there at all. Must have misremembered.


Return to “Celestia Users”