Page 1 of 1

Help with solar system add-on

Posted: 23.07.2008, 16:00
by tuggles
Well Im trying to create a new solar system around the G2V class star i Boo. I have my first planet showing up but I cannot get the moon orbiting that planet to show up. Can someone tell me what is wrong with my .SSC file? Here is the file:

Code: Select all

"i Boo a" "i Boo"
{
   Class "planet"
   Texture "exo-class2.jpg"
   Radius 30263.4

   CustomOrbit "i Boo a 30263.4 "
   EllipticalOrbit {
      Period  1.18
      SemiMajorAxis 1.141
      Eccentricity 0.078
      Inclination 2.10732
   }

   RotationPeriod  10.92
   Obliquity  15
   Albedo  0.54



#------------Data Block-----------
#    Mass  32.179  Earth Masses
#    Density  1.6558101394
#    Class Type "Jovian"
#-----------End Data Block--------


}


"i Boo b" "i Boo a"
{
   Class "moon"
   Texture "C:\Program Files\Celestia\textures\medres\earth.png"
   Radius 6217.4

   CustomOrbit "i Boo a 1 6217.4 "
   EllipticalOrbit {
      Period  15.05
      SemiMajorAxis 785639
      Eccentricity 0.014
      Inclination 0.91069
   }

   RotationPeriod  15.72
   Obliquity  15
   Albedo  0.3



#------------Data Block-----------
#    Mass  0.924  Earth Masses
#    Density  5.4832328988
#    Class Type "Terrestrial"
#-----------End Data Block--------


}


Re: Help with solar system add-on

Posted: 23.07.2008, 16:19
by rthorvald
"i Boo b" "i Boo/i Boo a"
{
Class "moon"
Texture "C:\Program Files\Celestia\textures\medres\earth.png"
Radius 6217.4

CustomOrbit "i Boo a 1 6217.4 "
EllipticalOrbit {
Period 15.05
SemiMajorAxis 785639
Eccentricity 0.014
Inclination 0.91069
}

RotationPeriod 15.72
Obliquity 15
Albedo 0.3

That should do it... Your path to the star was broken.

PS: using CustomOrbits are pointless. EllipticalOrbit is correct, CustomOrbit is a custom designation for particular objects in our Solar System.
- rthorvald

Re: Help with solar system add-on

Posted: 23.07.2008, 16:24
by tuggles
that didnt change anything unfortunately. Oh and I just used system maker...and thats what it output so thats why it says what it does.

Code: Select all

"i Boo b" "i Boo/i Boo a"
{
   Class "moon"
   Texture "C:\Program Files\Celestia\textures\medres\earth.png"
   Radius 6217.4

   CustomOrbit "i Boo b 6217.4 "
   EllipticalOrbit {
      Period  15.05
      SemiMajorAxis 785639
      Eccentricity 0.014
      Inclination 0.91069
   }

   RotationPeriod  15.72
   Obliquity  15
   Albedo  0.3



#------------Data Block-----------
#    Mass  0.924  Earth Masses
#    Density  5.4832328988
#    Class Type "Terrestrial"
#-----------End Data Block--------


}

Re: Help with solar system add-on

Posted: 23.07.2008, 16:24
by Cham
And why this path for the texture ? It's useless !

"i Boo b" "i Boo/i Boo a"
{
Class "moon"
Texture "C:\Program Files\Celestia\textures\medres\earth.png"
Radius 6217.4
...

Re: Help with solar system add-on

Posted: 23.07.2008, 16:38
by chris
[quote="tuggles"]that didnt change anything unfortunately. Oh and I just used system maker...and thats what it output so thats why it says what it does.

There are a couple changes that you should make. The corrections suggested by rthorvald and Cham are necessary, and you also need to remove the CustomOrbit line. Not only is it unnecessary, it also prevents the EllipticalOrbit from being used. The definition for your moon should look like this:

Code: Select all

"i Boo b" "i Boo/i Boo a"
{
   Class "moon"
   Texture "earth.png"
   Radius 6217.4

   EllipticalOrbit {
      Period  15.05
      SemiMajorAxis 785639
      Eccentricity 0.014
      Inclination 0.91069
   }

   RotationPeriod  15.72
   Obliquity  15
   Albedo  0.3

#------------Data Block-----------
#    Mass  0.924  Earth Masses
#    Density  5.4832328988
#    Class Type "Terrestrial"
#-----------End Data Block--------
}


--Chris