Page 1 of 1

Additions to solarsys.ssc not working

Posted: 24.09.2019, 02:18
by Joey P.
I would like to add a definition of another planet in our Solar System in my solarsys.ssc using this code:

Code: Select all

"Minerva:Minerva (planet):DannyWorld:VladWorld" "Sol"
{
   Class "planet"
   Texture "charon.*"
   Radius 2554
   Visible true
   Clickable true

   EllipticalOrbit {
      Epoch      2458426.18683 # 2004 Jun 21 00:00UT   
      Period            1.0000
      SemiMajorAxis     32.5000
      Eccentricity      0.0167
      Inclination       0.0001
      AscendingNode   348.739
      LongOfPericenter 102.947
           MeanLongitude   97.464
   }

   BodyFrame { EquatorJ2000 {} }
   CustomRotation "earth-p03lp"

   # Overriden by CustomRotation
   # UniformRotation
   # {
   #    Period         23.93447117
   #    Inclination   -23.4392911
   #    MeridianAngle 280.147
   # }

   Albedo            0.07
}


However, if I add that code to my solarsys.ssc it will not work. If I add it to a separate .ssc file in my extras folder it will work, but I would like to have that code in my solarsys.ssc file in my data folder instead which does not work. I have Celestia 1.6.1.-ED, if that is relevant. How can I fix this "bug"? Thanks.

Posted: 24.09.2019, 04:48
by SpaceFanatic64
Just use it in a separate SSC. No point in adding it to solarsys if it doesn't work.

Posted: 24.09.2019, 21:30
by onetwothree
Works in 1.7.

Posted: 25.09.2019, 00:51
by Joey P.
Got it, that's what I already have

Added after 5 minutes 44 seconds:
But how come it doesn't work with 1.6.1.-ED?

Posted: 25.09.2019, 01:20
by SpaceFanatic64
Have you tried typing this symbol in Celestia? (a tilde, or this: ~) It brings up a log and shows objects loaded or errors if any.

Posted: 25.09.2019, 07:13
by Joey P.
Issue fixed: my -ED version uses a different .ssc file.