01 Feb 2018 21:16
[quote="MagicBalls69"]I have followed the Manual guide for creating a star word for word but the stars from my addons are not loading into space engine. Any idea why this may be?[/quote]
I am getting many syntax errors it seems, but I don't know why. Sorry I'm pretty new to all of this.
System Log:
LOADING PLANETS
[MT] Loading shader "data/shaders/Shaders0980.pak/corona_plane_tex.glsl"
[MT] Loading shader "data/shaders/Shaders0980.pak/corona_plane_proc.glsl"
[MT] Loading shader "data/shaders/Shaders0980.pak/comet_tail.glsl"
[MT] Loading shader "data/shaders/Shaders0980.pak/aurora.glsl" (defines: TEX_NOISE)
[MT] Loading shader "data/shaders/Shaders0980.pak/aurora.glsl" (defines: DETAIL)
[MT] Loading planets catalogs
[MT] Loading script "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc"
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 2: ERROR: Syntax error '“Hole”'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 5: ERROR: Syntax error '“Hole'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 5: ERROR: Syntax error '”'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 6: ERROR: Syntax error '“X”'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 29: ERROR: Syntax error '“Bin'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 29: ERROR: Syntax error '”'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 31: ERROR: Syntax error '“Bin”'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 32: ERROR: Syntax error '“G1V”'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 61: ERROR: Syntax error '“Bin'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 61: ERROR: Syntax error '”'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 63: ERROR: Syntax error '“Bin”'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 64: ERROR: Syntax error '“K0V”'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 3: ERROR: Tag name expected before '{
ParentBody'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 3: ERROR: Star "" no RA value, random value 19.0077 assigned
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 3: ERROR: Star "" no Dec value, random value 43.3697 assigned
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 29: ERROR: Tag name expected after 'Star'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 29: ERROR: Star "" no RA value, random value 17.1675 assigned
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 29: ERROR: Star "" no Dec value, random value 73.7356 assigned
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 61: ERROR: Tag name expected after 'Star'
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 61: ERROR: Star "" no RA value, random value 8.82821 assigned
[MT] "addons/catalogs/Catalogs0980.pak/planets/MyPlans.sc" line 61: ERROR: Star "" no Dec value, random value 55.7358 assigned
MyPlans.sc
// Creates a new object – a solitary black hole with an accretion disk
Star "Hole"
{
ParentBody "Hole system" // = name of StarBarycenter in the stars catalog
Class "X" // black hole “spectral class”
MassSol 15.0 // in Solar units, radius will be computed automatically
//Lum 0.0 // a black hole has zero luminosity – don’t specify any // rotational parameters
Obliquity 16
EqAscNode 64
RotationPeriod 1.0e-7 // black holes rotate really fast!// accretion disk
AccretionDisk
{
Radius 0.00002 // in AU
Temperature 3000 // in Kelvin
Luminosity 150 // in Solar luminosities
Brightness 1 // render brightness scale
Density 8 // some magic value
TwistMagn 60 // some magic value
}
// Orbit tag is skipped, equal to static position in the center of the system
}
// Creates a new object – first component of a binary star system
Star “Bin A”
{
ParentBody “Bin” // = name of StarBarycenter in the stars catalog
Class “G1V”
Luminosity 1.02
MassSol 1.09
RadiusSol 1.1
// rotational parameters
Obliquity 82.2
EqAscendNode 67.726
RotationPeriod 923.6
RotationOffset 64.7
// orbit around the barycenter
Orbit
{
// mutual semimajor axis is 23.52 AU,
// but mass ratio 1.09:0.92 is taken into account!
SemiMajorAxis 10.765 // in AU
Period 79.914 // in years
Eccentricity 0.5179
Inclination 82.986
AscendingNode 67.726
ArgOfPericenter 3.772
MeanAnomaly 200.119
}
}
// Creates a new object – second component of a binary star system
Star “Bin B”
{
ParentBody “Bin” // = name of StarBarycenter in the stars catalog
Class “K0V”
Luminosity 0.29
MassSol 0.92
RadSol 0.90
// rotational parameters
Obliquity 82.6
EqAscendNode 67.726
RotationPeriod 850.5
RotationOffset 127.4
// orbit around the barycenter
Orbit
{
// mutual semimajor axis is 23.52 AU,
// but mass ratio 1.09:0.92 is taken into account!
SemiMajorAxis 12.755 // in AU
Period 79.914 // in years
Eccentricity 0.5179
Inclination 82.986
AscendingNode 67.726
ArgOfPericenter 183.772
MeanAnomaly 200.119
}
}