Ultimate space simulation software

 
senuaafo
Astronaut
Astronaut
Topic Author
Posts: 55
Joined: 21 Aug 2018

Making ships stay in place

02 Jan 2022 16:26

What is the significance of choosing a CLASS when making a ship in Space Engine? Is it just some trivial note in the info legend, or does it really make the ship behave differently?

I ask because I want to put an object (not a planet or asteroid) in orbit around a planet that will stay in place and still be there every time I open Space Engine, in spite of any time changes I might make....

thnaks;
 
User avatar
HarbingerDawn
SE Team Member
SE Team Member
Posts: 658
Joined: 22 Aug 2016
Location: CT, USA
Contact:

Making ships stay in place

17 Jan 2022 11:50

Sorry for taking 2 weeks to reply to this...

The following instructions only apply to version 0.990 and later:

Class does not affect ship behavior, it is just used for sorting ships in the ship manager for now. If you want to put a ship in a static orbit, you need to do that via a catalog file, like for any other static object.

Here is an example catalog script from the HST addon from the Steam Workshop:

Spacecraft  "Hubble Space Telescope/HST"
{
    Model          "spacecraft/NASA/HST2.sss"
    ParentBody     "Earth"

    Obliquity       191.5
    EqAscendNode    90.69
    RotationOffset  -30.23

    RotationPeriod  10000

    Orbit
    {
        RefPlane        "Equator"
        Epoch           2457797.39946
        PeriodDays      0.06628359464
        SemiMajorAxisKm 6927.14
        Eccentricity    0.0002496
        Inclination     28.47
        AscendingNode   108.7305
        ArgOfPericenter 278.2126
        MeanAnomaly     55.1263
    }
}


You should also set the spacecraft's type to Type to "StaticReal" (if you want it to be visible in the Planetarium) or "StaticGame" (if you want it to be visible only in Flight Simulator) in the .sss file. If you're using a model of ship that you also want to be able to spawn and pilot separately from the static object, make a copy of the .sss file and rename it and use the copy for the static object.
Ryzen 7 3700X, 64 GB DDR4-3200 RAM, GTX 1080 Ti 11 GB VRAM
Posts on old forum: 8717
 
A-L-E-X
Galaxy Architect
Galaxy Architect
Posts: 3245
Joined: 06 Mar 2017

Making ships stay in place

17 Jan 2022 13:33

This is a tangential question to the above....how do you make a ship maintain a fixed height above the ground while touring a planet?  So let's say I want a ship to always be 1 km above the surface of a planet as it moves over the surface how do I do that?  And why are some ships better at it than others?  Is there a file I can modify to make it easier to do with a given ship?
 
Mr. Abner
World Builder
World Builder
Posts: 623
Joined: 08 Jun 2017
Location: Mississauga

Making ships stay in place

18 Jan 2022 11:21

Also, the ship must be placed in orbit around a catalog object — it will not work with a procedural generated world.
 
User avatar
HarbingerDawn
SE Team Member
SE Team Member
Posts: 658
Joined: 22 Aug 2016
Location: CT, USA
Contact:

Making ships stay in place

24 Jan 2022 20:01

A-L-E-X wrote:
This is a tangential question to the above....how do you make a ship maintain a fixed height above the ground while touring a planet?  So let's say I want a ship to always be 1 km above the surface of a planet as it moves over the surface how do I do that?  And why are some ships better at it than others?  Is there a file I can modify to make it easier to do with a given ship?

There is no way to do that right now.
Ryzen 7 3700X, 64 GB DDR4-3200 RAM, GTX 1080 Ti 11 GB VRAM
Posts on old forum: 8717

Who is online

Users browsing this forum: No registered users and 2 guests