JackDole wrote:ZeGamingCuber wrote:Source of the post That didn't fix it, the barycenter became a black hole with randomly generated planets
Of course you also need a script with the two black holes.
Like this:
// Binary Blackhole
// JackDole
Star "Alpha"
{
ParentBody "Double Hole"
Class "X"
MassSol 4
AccretionDisk{}
Orbit
{
SemiMajorAxis 2.1428571428571e-05
Period 1.336306209562122e-7
Eccentricity 0.001353
Inclination 5.174108
AscendingNode 0
ArgOfPericenter 55.0149
MeanAnomaly 0
}
}
Star "Beta"
{
ParentBody "Double Hole"
Class "X"
MassSol 3
AccretionDisk{}
Orbit
{
SemiMajorAxis 2.8571428571429e-05
Period 1.336306209562122e-7
Eccentricity 0.001353
Inclination 5.174108
AscendingNode 0
ArgOfPericenter 235.0149
MeanAnomaly 0
}
}
(Put this in 'addons\catalogs\planets')
You also have to add a planet if you want one.
scr00069.png
Oh, I see my mistake. I put the two black holes in stars instead of planets.
EDIT: Nope still not fixed.
here's the script:
Planet "Shred"
{
ParentBody "Shredder A"
Radius 16000 // or Mass 1.5
Orbit
{
SemiMajorAxis 20.5 // or Period 2.2
}
}
Star "Shredder A"
{
ParentBody "Shredder" // = name of StarBarycenter in the stars catalog
Class "X" // black hole “spectral class”
MassSol 150.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.002 // in AU
Temperature 3000 // in Kelvin
Luminosity 150 // in Solar luminosities
Brightness 1 // render brightness scale
Density 9 // some magic value
TwistMagn 90 // some magic value
}
Star "Shredder B"
{
ParentBody "Shredder" // = name of StarBarycenter in the stars catalog
Class "X" // black hole “spectral class”
MassSol 7.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 5 // some magic value
TwistMagn 20 // some magic value
}