Page 41 of 73

Help with creating Mods and Addons

Posted: 17 May 2018 10:17
by HeitorBarbosa47842
I really can not solve my gas giant's problem with Saturn's rings, here's my script. If anyone can help me.

Help with creating Mods and Addons

Posted: 17 May 2018 10:39
by GeoPlayer123YT
did you fix the problems that they pointed out?
Also, I tried making a copy of the earth script in mySystem.sc file and I put it in and saved it and restarted SE and when I went seacrh it i couldnt find it. I just copied Earth's script, and put the parent to saturn.

Help with creating Mods and Addons

Posted: 17 May 2018 13:27
by Mosfet
HeitorBarbosa47842 wrote:
Source of the post  If anyone can help me.

There's always the same closing bracket missing. Copy the code JackDole corrected for you in a new file and see the difference between the two scripts.

Help with creating Mods and Addons

Posted: 02 Jun 2018 11:55
by Kspeher
Hello I need help with my addon. As I am trying to make an custom system and wanted add a planet around a binary system. However, as soon as I make the parent body the barycenter (which has the correct mass by adding the 2 major bodies together) I get and extremely high orbital period. Although for and body around an ~1.2 solar mass object the orbital period is not >230 years. I also made sure that the period line in orbital parameters is removed. So that the game should calculate the period by itself, although it changed nothing. The object name is AA1.
scr00000.jpg

I'm also having the same problem with other objects which orbit around barycenters. Although this only applies to planets/dwarf planets and asteroids. If you want to check it out yourself here are the files.
Into-Planets= 
(S-T-N-E-S-C-Z) Systems V0.1.sc
(450.7 KiB) Downloaded 141 times
(Barycenters located in here. Name is for AA1 Claud-Zejad Barycenter)
Claud-Zejad Barycenter.sc
(2.92 KiB) Downloaded 125 times
(object AA1 located in here)
Into-Stars= 
Central Sternenwart Bary.sc
(148 Bytes) Downloaded 118 times


Thank you for your time.

Help with creating Mods and Addons

Posted: 02 Jun 2018 12:12
by PlutonianEmpire
It's a known bug, sadly. :( Until the bug is fixed, OrbitalPeriods must be calculated manually for objects orbiting Barycenters

Help with creating Mods and Addons

Posted: 02 Jun 2018 13:58
by JackDole
Kspeher wrote:
Source of the post  I also made sure that the period line in orbital parameters is removed. So that the game should calculate the period by itself, although it changed nothing.

As PlutonianEmpire says, it's a bug. SpaceEngine can not calculate the orbital period correctly when the object circles around a barycenter.
You can insert
        Period                0.02513794 

in the 'Orbit' tag.

Help with creating Mods and Addons

Posted: 02 Jun 2018 15:01
by kham132
Hello! I need help with cloud shaders. I'm trying to make the clouds generate only around the equator, and the poles. I think I found out where to edit the code, but I'm stuck. Any help is appreciated!

Download the attached file and fine "HeightMapCloudsTerra2".

Help with creating Mods and Addons

Posted: 02 Jun 2018 15:45
by Kspeher
JackDole wrote:
Kspeher wrote:
Source of the post  I also made sure that the period line in orbital parameters is removed. So that the game should calculate the period by itself, although it changed nothing.

As PlutonianEmpire says, it's a bug. SpaceEngine can not calculate the orbital period correctly when the object circles around a barycenter.
You can insert
        Period                0.02513794 

in the 'Orbit' tag.

Thank you for your help :D

Help with creating Mods and Addons

Posted: 03 Jun 2018 08:27
by Ryan Style
[font=Roboto, sans-serif]Hello I need help with my addon. I am creating a custom solar system, I am trying to create Barycenters around my star because I would like to have a radial velocity effect on some planets. Does anyone know how to make a Barycenters?[/font]

Help with creating Mods and Addons

Posted: 03 Jun 2018 08:30
by Ryan Style
[font=Roboto, sans-serif]Hello I need help with my addon. I am creating a custom solar system, I am trying to create Barycenters around my star because I would like to have a radial velocity effect on some planets. Does anyone know how to make a Barycenters?[/font]

Help with creating Mods and Addons

Posted: 03 Jun 2018 08:32
by Ryan Style
Here's the Barycenter script:

[code]Barycenter    "MyBarycenter"
{
ParentBody "MyStar" 
  RA      78 07 31
    Dec     97 15 23
    Dist    11
    
    Mass    0.811
    AppMagn 5.88
}[/code]

Help with creating Mods and Addons

Posted: 03 Jun 2018 08:38
by HeitorBarbosa47842
Ryan Style wrote:
Aqui está o script do Barycenter:

Barycenter    "MyBarycenter"
{
    ParentBody   "MyStar" 
    RA      78 07 31
    Dec     97 15 23
    Dist    11
    
    Mass    0.811
    AppMagn 5.88
}



you can not add ParentBody to an object that has coordinates, so you need to put in the catalog of planets because your script is creating an object for the Star catalog. then your script should look like this:
Put the script on planet catalog folder

Barycenter    "MyBarycenter"
{
    ParentBody     "MyStar"

    Mass            0.811
    
    Orbit
    {
        Epoch          2443000
        Period         0.009724533474
        SemiMajorAxis  0.004484625668
        Eccentricity   0.0101
        Inclination    0.47
        AscendingNode  101.087
        LongOfPericen  155.512
        MeanLongitude  176.377
    }
}

If the problem persists, verify that the file extension is sc.

Help with creating Mods and Addons

Posted: 03 Jun 2018 08:42
by Ryan Style
Now I see my error I was putting the file in the cfg extension and was putting in the wrong folder. now that I remembered that catalog objects will only work if the extension is sc and they will be in the right folder. But thanks for the help.

Help with creating Mods and Addons

Posted: 03 Jun 2018 08:49
by HeitorBarbosa47842
Ryan Style wrote:
Now I see my error I was putting the file in the cfg extension and was putting in the wrong folder. now that I remembered that catalog objects will only work if the extension is sc and they will be in the right folder. But thanks for the help.

this is normal, this problem is very common for beginners of Space Engine, when I started to create mods for Space Engine I had some difficulties in the beginning to create addons. But this happens.

Help with creating Mods and Addons

Posted: 04 Jun 2018 19:52
by Propulsion Disk
Hello, I'm trying to import my ship (The Charioteer) to space engine but it's not working. I looked through the ship tutorial like 28 times and did everything it said but it still doesn't work. I'm pretty sure the problem is that my obj and stl files are not converting to .sm and .sml files for some reason, I know that they are supposed to automatically convert to those files but for some odd reason they're not, maybe it's the way that they're opened or something else I'm not sure but I was hoping someone would help with this because I have been trying for days now and I had kinda enough now. (PS) by "the way they're opened" I mean like if they should be opened in like notepad or something. Anyway, thank you and I hope you can help because so far no one has asked this question and was kinda thinking that it was because no one knew. But anyway, THANKS again!