15 Feb 2018 17:44
I'm trying to create new objects as an addon, but they aren't showing up in the game. Following the instructions on the "Creating A Star" page, I've created sc files both with my own names and parameters for stars, and with the exact text in the tutorial. I am running Space Engine 0.9.8.0 on Windows 10.
Example: I made a file called mystars.sc in the path C:\SpaceEngine\addons\catalogs\stars, and copy/pasted the following text in it:
[quote]// Creates a new object – a solitary star.
Star “Mono”
{
RA 16 10 45 // right ascension
Dec -25 12 11 // declination
Dist 100.0 // distance from the Sun
Class “G5V” // spectral class
Lum 0.86 // luminosity, or
//AbsMagn 5.31 // absolute magnitude, or
//AppMagn 10.31 // apparent magnitude
RadSol 0.95 // radius in Solar radii
MassSol 0.91 // mass in Solar masses
Teff 5200 // surface temperature in Kelvin
}
// Creates a new object – a solitary star (black hole) with extra
// parameters (accretion disk) in the planets catalog. Note
// that its name here is “Hole system”, see why below.
StarBarycenter “Hole system”
{
RA 09 31 14 // right ascension
Dec 64 16 38 // declination
Dist 250.0 // distance from the Sun
Class “X” // spectral class – black hole
Lum 150 // luminosity of the whole system (accretion disk)// That’s enough, accretion disks will be described in the planets catalog (see below).
}
// Removes solitary stars from the older catalogs.
Remove “Bin A”
Remove “Bin B”
// Creates a new object – a barycenter of a binary star system,
// which components will be described in the planets catalog (see below).
StarBarycenter “Bin”
{
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).
}[/quote]
However, I cannot navigate to the new stars in the game: when I use the search tool on the left sidebar and search for "Mono," I get an "object not found" message. This happens even after restarting Space Engine, and happens whatever I call the new star. What am I missing here?