ENG New site

Advanced search

[ New messages · Forum rules · Members ]
Forum » SpaceEngine » Mods and Addons » JackDole: Mega structures ... (Mega structures and other improbabilities.)
JackDole: Mega structures ...
JackDoleDate: Monday, 05.12.2016, 23:21 | Message # 226
Star Engineer
Group: Local Moderators
Germany
Messages: 1742
Status: Offline
Quoteciccio200125 ()
I really tried to understand but I can not please make a simplified upgrade with the creation of planets / stars / moons or make a different patch because I can not understand

If you want to make a solar system you need:

1. 'Star' or 'StarBarycenter'

Code

StarBarycenter "Tuto System"
{
    RA      15.254208
    Dec      -15.254208
    Dist    100
}

or this:

Code

Star "Tuto"
{
    RA      15.254208
    Dec      -15.254208
    Dist    100
    
    Class   "G2 V"          // Sol like star
    RadSol  1
    MassSol 1
}

This script belong into 'addons\catalogs\stars'

2. Planets

If you have a 'StarBarycenter' you also needs a 'Star' here.

Code

Star "Tuto"
{
    ParentBody  "Tuto System"
    Class   "G2 V"
    
    RadSol  1
    MassSol 1
    
    StaticPosPolar  (0.0 0.0 0.0)       // This can also be omitted.
}

Also you need a 'Planet':

Code

Planet "Peter"
{
    ParentBody  "Tuto"
    
    Class       "Terra"         // for earth-like planet
    Radius      6500
    
    // If the planet should have life
    Life
    {
        Class   "Organic"
        Type    "Multicellular"
        Biome   "Marine/Terrestrial"
    }
    
    Atmosphere      // Values taken from Earth
    {
        Height      60
        Greenhouse  33
        Pressure    1.0
        Density     1.2929
        Adiabat     0.28
        Model      "Earth"
        Bright      10.0
        Opacity     1.0
        SkyLight    3.0    

        Composition
        {
            N2  71.2757715109
            O2  24.4769489253
            Xe  1.01734186284
            H2O 1.51257699728
            CO2 1.71736070365
        }
    }
    
    Orbit
    {
        SemiMajorAxis       1.0     // AU
        Period              1.0     // 1 Jahr
    }
}

and maybe a 'Moon':

Code

Moon "Paul"
{
    ParentBody  "Peter"
    Class       "Selena"
    
    Radius      3000
    //Mass      ????
    
    Orbit       // This values must be the same for planet and moon - except 'ArgOfPericen'
    {
        RefPlane    "Ecliptic"
        //SemiMajorAxis   ????
        Period          0.0136895        // 5 days orbit = 5/365.24218985
        Inclination     0
        Eccentricity    0
        AscendingNode   0
        ArgOfPericen    180
        MeanAnomaly     0
    }
}

You can write it all in one script or make several scripts, in any case they belong into 'addons\catalogs\planets'

3.
If you want to export a procedural system, you must create a position, this is a 'StarBarycenter' or a 'Star'.
In addition, you have to give names to all objects, numbers do not work. That is not easy.

If you are editing a self created planet (like this system), you only need to replace the orginial object with the exported object.

I can not explain better.





Don't forget to look here.

 
Forum » SpaceEngine » Mods and Addons » JackDole: Mega structures ... (Mega structures and other improbabilities.)
Search: