Ultimate space simulation software

 
User avatar
greenhand
Space Tourist
Space Tourist
Posts: 29
Joined: 13 Apr 2017 08:13

Help with creating Mods and Addons

13 Apr 2017 08:26

hey Xoran, here.  it's my first try.
Attachments
catalogs.zip
(3.67 KiB) Downloaded 301 times
 
User avatar
JackDole
Star Engineer
Star Engineer
Posts: 1874
Joined: 02 Nov 2016 18:18
Location: Terra

Help with creating Mods and Addons

13 Apr 2017 08:29

longname,
there is another bug in your script.
The orbit parameters of the two objects must be the same.
Except for 'ArgOfPericenter'. This parameter must differ by 180 degrees.
For example:
    Orbit
    {
        RefPlane        "Equator"
        SemiMajorAxis   0.000318534
        Period          0.00127163
        Eccentricity    0.2
        Inclination     -155.327
        AscendingNode   32.3193
        ArgOfPericenter -82.8347
        MeanAnomaly     -139.58
    }
    Orbit
    {
        RefPlane        "Equator"
        SemiMajorAxis   0.000318534
        Period          0.00127163
        Eccentricity    0.2
        Inclination     -155.327
        AscendingNode   32.3193
        ArgOfPericenter 97.1653             // -82 + 180
        MeanAnomaly     -139.58
    }
JackDole's Universe 0.990: http://forum.spaceengine.org/viewtopic.php?f=3&t=546
JackDole's Archive: http://forum.spaceengine.org/viewtopic.php?f=3&t=419
JackDole: Mega structures ... http://old.spaceengine.org/forum/17-3252-1 (Old forum)
 
User avatar
longname
Pioneer
Pioneer
Posts: 381
Joined: 13 Apr 2017 07:20
Location: ∞/The Multiverse/The Universe/Local Cluster/The Milky Way/Orion Arm/Sol System/Earth-Moon/Earth/UK

Help with creating Mods and Addons

13 Apr 2017 08:36

I am having trouble with my Binary Black Hole. Shows up in the catalogue list in-game, but does not show name of barycenter in the parents list, and SE cannot find them. What's wrong?
You have wrong quotes for the name and for the class in your 'StarBarycenter'.
It is:
StarBarycenter    “Black Whirl”
{

RA       19 50 18  // right ascension
Dec      28 18 47  // declination
Dist     42.4242   // distance from the Sun
Class   “X”        // spectral class – black hole
Lum      275       // luminosity of the whole system (accretion disk)

}
And it must be:
StarBarycenter    "Black Whirl"
{
    RA       19 50 18  // right ascension
    Dec      28 18 47  // declination
    Dist     42.4242   // distance from the Sun
    Class   "X"        // spectral class – black hole
    Lum      275       // luminosity of the whole system (accretion disk)
}
Thank you very much. How did you get those quotation marks?
[dah<500,26>dah<180,14>dah<180,21>dah<500,19>dah<180,26>dah<500,21>]
 
User avatar
JackDole
Star Engineer
Star Engineer
Posts: 1874
Joined: 02 Nov 2016 18:18
Location: Terra

Help with creating Mods and Addons

13 Apr 2017 09:00

greenhand,
your editor uses the wrong font code page. You must use the font code page 1252.
Your star script looks with me like this:
/// Create a new object – a solitary star.
Star    “Gentle”
{
    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   // visual magnitude
    RadSol   0.95      // radius in Solar radii
    MassSol  0.91      // mass in Solar masses
    Teff     5200      // surface temperature in Kelvins
}

// Create a new object – a solitary star (black hole) with extra
// parameters (accretion disk) in the planets catalog. Note
// what it’s name here is “Hole system”, read below why.
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 disk will be described in the planets catalog (see below).
}

// Remove solitary stars from the older catalogs.
Remove “Bin A”
Remove “Bin B”

// Create 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, StarBarycenter tag may not have other parameters (see below).
}
It must look like this:
// Create a new object - a solitary star.
Star    "Gentle"
{
    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   // visual magnitude
    RadSol   0.95      // radius in Solar radii
    MassSol  0.91      // mass in Solar masses
    Teff     5200      // surface temperature in Kelvins
}

// Create a new object - a solitary star (black hole) with extra
// parameters (accretion disk) in the planets catalog. Note
// what it's name here is "Hole system", read below why.
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 disk will be described in the planets catalog (see below).
}

// Remove solitary stars from the older catalogs.
Remove "Bin A"
Remove "Bin B"

// Create 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, StarBarycenter tag may not have other parameters (see below).
}
[hr]
The manual seems to use a different codepage. Therefore, the quotation marks (") must be corrected when you copy code from the manual. Possibly also hyphens (-) and apostrophes (').
JackDole's Universe 0.990: http://forum.spaceengine.org/viewtopic.php?f=3&t=546
JackDole's Archive: http://forum.spaceengine.org/viewtopic.php?f=3&t=419
JackDole: Mega structures ... http://old.spaceengine.org/forum/17-3252-1 (Old forum)
 
User avatar
JackDole
Star Engineer
Star Engineer
Posts: 1874
Joined: 02 Nov 2016 18:18
Location: Terra

Help with creating Mods and Addons

13 Apr 2017 09:06

How did you get those quotation marks?
On my keyboard it is 'Shift 2'. Maybe your editor uses an incorrect font code page. It must be 1252. Or ANSI.
JackDole's Universe 0.990: http://forum.spaceengine.org/viewtopic.php?f=3&t=546
JackDole's Archive: http://forum.spaceengine.org/viewtopic.php?f=3&t=419
JackDole: Mega structures ... http://old.spaceengine.org/forum/17-3252-1 (Old forum)
 
User avatar
longname
Pioneer
Pioneer
Posts: 381
Joined: 13 Apr 2017 07:20
Location: ∞/The Multiverse/The Universe/Local Cluster/The Milky Way/Orion Arm/Sol System/Earth-Moon/Earth/UK

Help with creating Mods and Addons

13 Apr 2017 09:10

How did you get those quotation marks?
On my keyboard it is 'Shift 2'. Maybe your editor uses an incorrect font code page. It must be 1252. Or ANSI.
The guide uses 66 & 99 quotation marks, while my keyboard uses shift+2 for straight quote marks.
[dah<500,26>dah<180,14>dah<180,21>dah<500,19>dah<180,26>dah<500,21>]
 
User avatar
JackDole
Star Engineer
Star Engineer
Posts: 1874
Joined: 02 Nov 2016 18:18
Location: Terra

Help with creating Mods and Addons

13 Apr 2017 09:20

The guide uses 66 & 99 quotation marks, while my keyboard uses shift+2 for straight quote marks.
That is the reason. The manual uses the wrong quotation marks. They must be corrected when you copy the code.
JackDole's Universe 0.990: http://forum.spaceengine.org/viewtopic.php?f=3&t=546
JackDole's Archive: http://forum.spaceengine.org/viewtopic.php?f=3&t=419
JackDole: Mega structures ... http://old.spaceengine.org/forum/17-3252-1 (Old forum)
 
User avatar
longname
Pioneer
Pioneer
Posts: 381
Joined: 13 Apr 2017 07:20
Location: ∞/The Multiverse/The Universe/Local Cluster/The Milky Way/Orion Arm/Sol System/Earth-Moon/Earth/UK

Help with creating Mods and Addons

13 Apr 2017 09:47

longname,
there is another bug in your script.
The orbit parameters of the two objects must be the same.
Except for 'ArgOfPericenter'. This parameter must differ by 180 degrees.
For example:
    Orbit
    {
        RefPlane        "Equator"
        SemiMajorAxis   0.000318534
        Period          0.00127163
        Eccentricity    0.2
        Inclination     -155.327
        AscendingNode   32.3193
        ArgOfPericenter -82.8347
        MeanAnomaly     -139.58
    }
    Orbit
    {
        RefPlane        "Equator"
        SemiMajorAxis   0.000318534
        Period          0.00127163
        Eccentricity    0.2
        Inclination     -155.327
        AscendingNode   32.3193
        ArgOfPericenter 97.1653             // -82 + 180
        MeanAnomaly     -139.58
    }
Black holes are next to each other.
[dah<500,26>dah<180,14>dah<180,21>dah<500,19>dah<180,26>dah<500,21>]
 
User avatar
JackDole
Star Engineer
Star Engineer
Posts: 1874
Joined: 02 Nov 2016 18:18
Location: Terra

Help with creating Mods and Addons

13 Apr 2017 10:09

longname,
your system looks with your script with me like this:
scr00013.png
That is not correct.

It should look something like this.
scr00015.png
JackDole's Universe 0.990: http://forum.spaceengine.org/viewtopic.php?f=3&t=546
JackDole's Archive: http://forum.spaceengine.org/viewtopic.php?f=3&t=419
JackDole: Mega structures ... http://old.spaceengine.org/forum/17-3252-1 (Old forum)
 
User avatar
Xoran
Pioneer
Pioneer
Posts: 383
Joined: 17 Jan 2017 11:54
Location: Copenhagen, Denmark

Help with creating Mods and Addons

13 Apr 2017 10:52

greenhand,  i think i got Gentle 1 to stop being black :)
Put mysystem.sc in addons/catalogs/planets
Put mystars.sc in addons/catalogs/stars

Also, it works now  :)
Attachments
mysystem.sc
(7.08 KiB) Downloaded 286 times
mystars.sc
(1.44 KiB) Downloaded 275 times
Space is too big to understand, so do not try to understand.
 
cameronbodart1
Observer
Observer
Posts: 19
Joined: 02 Nov 2016 14:19
Location: vedrin
Contact:

Help with creating Mods and Addons

13 Apr 2017 11:25

Merci
Attachments
myplans.sc
(2.34 KiB) Downloaded 284 times
mystars.sc
(1.44 KiB) Downloaded 266 times
myplans.sc
(2.34 KiB) Downloaded 266 times
mysystem.sc
(7.08 KiB) Downloaded 270 times
 
jasperhb
Space Tourist
Space Tourist
Posts: 38
Joined: 03 Feb 2017 19:00
Location: Orlando, FL
Contact:

Help with creating Mods and Addons

13 Apr 2017 18:55

How do I put the name of a star if it has a non-Latin or Cyrillic name? (Such as Zeta Reticuli)
 
User avatar
JackDole
Star Engineer
Star Engineer
Posts: 1874
Joined: 02 Nov 2016 18:18
Location: Terra

Help with creating Mods and Addons

14 Apr 2017 02:39

How do I put the name of a star if it has a non-Latin or Cyrillic name? (Such as Zeta Reticuli)
'ZET Reticuli'
The first three letters. If the name has only two letters, such as 'MU', of course only two.
JackDole's Universe 0.990: http://forum.spaceengine.org/viewtopic.php?f=3&t=546
JackDole's Archive: http://forum.spaceengine.org/viewtopic.php?f=3&t=419
JackDole: Mega structures ... http://old.spaceengine.org/forum/17-3252-1 (Old forum)
 
User avatar
Mosfet
Star Engineer
Star Engineer
Posts: 1832
Joined: 24 Oct 2016 11:34
Location: Italy
Contact:

Help with creating Mods and Addons

14 Apr 2017 04:08

Yep. Also for the constellation name you need three, in your case "ZET Ret", assuming you're referring to scripts.
Last edited by Mosfet on 14 Apr 2017 11:42, edited 1 time in total.
"Time is illusion. Lunchtime doubly so". Douglas N. Adams
| My mods: http://forum.spaceengine.org/viewtopic.php?f=3&t=80 | My specs: Asus x555ub - cpu i5-6200u, ram 12gb, gpu nvidia geforce 940m 2gb vram |
 
User avatar
JackDole
Star Engineer
Star Engineer
Posts: 1874
Joined: 02 Nov 2016 18:18
Location: Terra

Help with creating Mods and Addons

14 Apr 2017 05:06

Also for the constellation name you need three, in your case "ZET Ret"
If you want that the constellation name is translated into your language.
scr00011b.png
JackDole's Universe 0.990: http://forum.spaceengine.org/viewtopic.php?f=3&t=546
JackDole's Archive: http://forum.spaceengine.org/viewtopic.php?f=3&t=419
JackDole: Mega structures ... http://old.spaceengine.org/forum/17-3252-1 (Old forum)

Who is online

Users browsing this forum: No registered users and 2 guests