ZeGamingCuber, in your example, a closing brace is missing at the end.
Otherwise, the script works. If it's in the right folder: 'addons\catalogs\stars'



ZeGamingCuber, in your example, a closing brace is missing at the end.
Otherwise, the script works. If it's in the right folder: 'addons\catalogs\stars'
what is a closing brace?
is it this? }

Now the game crashes upon "initializing stars"ZeGamingCuber, in your example, a closing brace is missing at the end.
Otherwise, the script works. If it's in the right folder: 'addons\catalogs\stars'
// Creates a new object – a solitary star.
Star "Fetu"
{
RA 16 10 45 // right ascension
Dec -25 12 11 // declination
Dist 1000.0 // distance from the Sun
Class "O1V" // spectral class
Lum 10.00 // luminosity, or
//AbsMagn -10.00 // absolute magnitude, or
//AppMagn -1.00 // apparent magnitude
RadSol 9.78 // radius in Solar radii
MassSol 30.0 // mass in Solar masses
Teff 30000 // surface temperature in Kelvin
}
does it require the colors? if so notepad++ won't put in the colors.If your script looks like this, then it should work:It works for me.Code: Select all// Creates a new object – a solitary star. Star "Fetu" { RA 16 10 45 // right ascension Dec -25 12 11 // declination Dist 1000.0 // distance from the Sun Class "O1V" // spectral class Lum 10.00 // luminosity, or //AbsMagn -10.00 // absolute magnitude, or //AppMagn -1.00 // apparent magnitude RadSol 9.78 // radius in Solar radii MassSol 30.0 // mass in Solar masses Teff 30000 // surface temperature in Kelvin }


StarBarycenter "Buraco"
{
RA 19 50 18 // right ascension
Dec 28 18 47 // declination
Dist 251.652 // distance from the Sun
// That’s enough, the StarBarycenter tag doesn’t need the other parameters (see below).
}Star "Buraco A"
{
ParentBody "Buraco"
Class "X" // spectral class
Orbit
{
RefPlane "Equator"
SemiMajorAxis 0.000559188
Period 0.00552661
Eccentricity 0.0372924
Inclination -1.02792
AscendingNode 146.489
ArgOfPericenter 121.789
MeanAnomaly -50.2132
}
}
Star "Buraco B"
{
ParentBody "Buraco"
Class "X" // spectral class
Orbit
{
RefPlane "Equator"
SemiMajorAxis 0.000142906
Period 0.00148401
Eccentricity 0.0363699
Inclination 0.813517
AscendingNode -161.075
ArgOfPericenter 72.6816
MeanAnomaly -155.521
}
}
I added them, but they still don't exist in the gameYou forgot closing brackets for both Stars "Buraco A" and "Buraco B".
