Ultimate space simulation software

 
User avatar
tornadotodd
Space Pilot
Space Pilot
Posts: 141
Joined: 20 Dec 2017 19:12
Location: Oklahoma

Help with creating Mods and Addons

15 Jan 2018 03:51

Camera { "Auto" (0 13.43927001953125 79.44869232177734) (1 0 0 0)}
Camera { "Behind" (0.02076197229325771 22.42656707763672 52.8631706237793) (1 0 0 0)}
Camera { "Cockpit" (1.200000166893005 10.53847885131836 -13.69311141967773) (1 0 0 0)}
This lines are information about position of the cameras created with editor in the program. are written by SE
 Also how do you figure out Quat. when (0.70710678 0 -0.70710678 0)
Like before. Quat contains information about orientation of model. They are written by the ship editor of SE
Likewise in the cfg file you can see the information about engine effects created with ship editor.
And how do you manually make a materials library for future reference?
Space Engine use old material like a library: if, in a sml file, you assign to a material the same name of a material contained in an older sml file, SE use the information contained in the oldest file.
You have been a huge help. as soon as I get this down where I know everything and don't sound stupid I am going to make a video for people... my question about camera and qut did you go back and add that to the scc? SE doesn't add to the scc right?
because if it doesn't you would have had to added it to the scc and I am just wandering why to better understand
 
User avatar
ettore_bilbo
Explorer
Explorer
Posts: 206
Joined: 11 Nov 2016 05:33
Location: Italy

Help with creating Mods and Addons

15 Jan 2018 09:55

my question about camera and qut did you go back and add that to the scc? SE doesn't add to the scc right?
scc???? do you mean sss file?
I'm not sure I understood the question...
Anyway... Cameras, orientation of model, size of model, position of model, engine effects and docking ports, these are all things you add and/or change with the editor in game. in Space Engine select your ship and press shift+f2. a window opens on the right side. When you save changes Space Engine automatically update sss file and cfg file, so you do not have to write anything.
For complete information about editor in game you can read the manual, it's the last part, at the bottom of the page
http://spaceengine.org/manual/making-addons/creating-a-ship/
 
X2A3Q
Observer
Observer
Posts: 2
Joined: 15 Jan 2018 15:47

Help with creating Mods and Addons

15 Jan 2018 16:09

Hello, I have an issue with creating an addon for a trinary system of stars. 

Coronak.sc (addons/catalogs/stars): Barycenter file
[code]StarBarycenter    "Coronak"
{
RA     15 39 43  // right ascension
Dec    12 32 20  // declination
Dist   301.652   // distance from the Sun

}[/code]

CoronakStars.sc (addons/catalogs/planets): System file
[code]Star    "Coronak A"
{
ParentBody      "Coronak" 
Class           "O3.5 VI"
Luminosity      3430.02
MassSol         0.79
RadiusSol       1.1

Obliquity       82.6
EqAscendNode    67.726
RotationPeriod  923.6
RotationOffset  64.7

Orbit
{
SemiMajorAxis   60.765 // in AU
Period          115.896 // in years
Eccentricity    0.4179
Inclination     32.986
AscendingNode   60.726
ArgOfPericenter 1.772
MeanAnomaly     200.119
}
}

Star    "Coronak B"
{
ParentBody      "Coronak"
Class           "S4.3"
Luminosity      1000.29
MassSol         15.92
RadiusSol       600.90


Obliquity       82.6
EqAscendNode    67.726
RotationPeriod  850.5
RotationOffset  127.4

Orbit
{
SemiMajorAxis   99.755
Period          115.856
Eccentricity    0.5179
Inclination     82.986
AscendingNode   67.726
ArgOfPericenter 183.772
MeanAnomaly     200.119
}
}
// blah 
Star    "Coronak C"
{
ParentBody      "Coronak"   // = name of StarBarycenter in the stars catalog
Class           "WN10.5"
Luminosity      2000.29
MassSol         8.92
RadSol          400.90

// rotational parameters
Obliquity       82.6
EqAscendNode    67.726
RotationPeriod  850.5
RotationOffset  127.4
// orbit around the barycenter
Orbit
{
// mutual semimajor axis is 23.52 AU,
// but mass ratio 1.09:0.92 is taken into account!
SemiMajorAxis   2000.755 // in AU
Period          17953.3 // in years
Eccentricity    0.2179
Inclination     200.986
AscendingNode   67.726
ArgOfPericenter 183.772
MeanAnomaly     200.119
}
}[/code]

Log file:
[code]LOADING PLANETS
[MT] Loading  shader "data/shaders/Shaders0980.pak/corona_plane_tex.glsl"
[MT] Loading  shader "data/shaders/Shaders0980.pak/corona_plane_proc.glsl"
[MT] Loading  shader "data/shaders/Shaders0980.pak/comet_tail.glsl"
[MT] Loading  shader "data/shaders/Shaders0980.pak/aurora.glsl" (defines: TEX_NOISE)
[MT] Loading  shader "data/shaders/Shaders0980.pak/aurora.glsl" (defines: DETAIL)
[MT] Loading planets catalogs
[MT] Loading script "addons/catalogs/planets/CoronakStars.sc"
[MT] "addons/catalogs/planets/CoronakStars.sc" line 1: ERROR: Syntax error '    "Coronak'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 4: ERROR: Syntax error '.5'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 29: ERROR: Syntax error '.3"'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 30: ERROR: Syntax error '      1000.29'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 31: ERROR: Syntax error '         15.92'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 32: ERROR: Syntax error '       600.90'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 35: ERROR: Syntax error '       82.6'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 36: ERROR: Syntax error '    67.726'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 37: ERROR: Syntax error '  850.5'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 38: ERROR: Syntax error '  127.4'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 42: ERROR: Syntax error '   99.755'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 43: ERROR: Syntax error '          115.856'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 44: ERROR: Syntax error '    0.5179'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 45: ERROR: Syntax error '     82.986'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 46: ERROR: Syntax error '   67.726'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 47: ERROR: Syntax error ' 183.772'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 48: ERROR: Syntax error '     200.119'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 52: ERROR: Syntax error '    "Coronak'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 55: ERROR: Syntax error '.5"'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 56: ERROR: Syntax error '      2000.29'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 57: ERROR: Syntax error '         8.92'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 58: ERROR: Syntax error '          400.90'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 61: ERROR: Syntax error '       82.6'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 62: ERROR: Syntax error '    67.726'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 63: ERROR: Syntax error '  850.5'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 64: ERROR: Syntax error '  127.4'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 70: ERROR: Syntax error '   2000.755'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 71: ERROR: Syntax error '          17953.3'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 72: ERROR: Syntax error '    0.2179'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 73: ERROR: Syntax error '     200.986'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 74: ERROR: Syntax error '   67.726'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 75: ERROR: Syntax error ' 183.772'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 76: ERROR: Syntax error '     200.119'
[MT] "addons/catalogs/planets/CoronakStars.sc" line 1: ERROR: Opening bracket '{' expected in the tag 'Star'
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/Asteroids-bin.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/Asteroids-small.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/Asteroids.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/BlackHoles.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/BrownDwarfs-bin.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/Comets.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/ExoPlanets-custom.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/ExoPlanets-unconfirmed.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/ExoPlanets.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/ExoPlanetsSuns-bin.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/KuiperBelt-small.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/KuiperBelt.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/Moons-small.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/NeutronStars-bin.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/NeutronStars-custom.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/NeutronStars.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/SolarSys.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/Stars-bin.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/planets/WhiteDwarfs-bin.sc"
[MT] Merging duplicate planets
[MT] sc  cat planets: 12038
[MT] sc  del planets: 0
[MT] Merged  planets: 1
[MT] Deleted planets: 0
[MT] Failed  planets: 0
[MT] Final   planets: 12037
DONE

LOADING STARS
[MT] Loading  shader "data/shaders/Shaders0980.pak/star_point.glsl"
[MT] Loading  shader "data/shaders/Shaders0980.pak/star_sprite.glsl"
[MT] Loading  shader "data/shaders/Shaders0980.pak/star_sprite_blur.glsl"
[MT] Loading  shader "data/shaders/Shaders0980.pak/star_map_point.glsl"
[MT] Loading  shader "data/shaders/Shaders0980.pak/star_map_line.glsl"
[MT] Loading  shader "data/shaders/Shaders0980.pak/star_map_mark.glsl"
[MT] Loading star catalogs
[MT] Loading csv file "data/catalogs/Catalogs0980.pak/stars/HIPPARCOS.csv"
[MT] Loading script "addons/catalogs/stars/Coronak.sc"
[MT] "addons/catalogs/stars/Coronak.sc" line 3: ERROR: Syntax error ' '
[MT] "addons/catalogs/stars/Coronak.sc" line 3: ERROR: Syntax error '  '
[MT] "addons/catalogs/stars/Coronak.sc" line 4: ERROR: Syntax error ' '
[MT] "addons/catalogs/stars/Coronak.sc" line 4: ERROR: Syntax error '  '
[MT] "addons/catalogs/stars/Coronak.sc" line 5: ERROR: Syntax error ' '
[MT] "addons/catalogs/stars/Coronak.sc" line 5: ERROR: Syntax error '   '
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/BlackHoles.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/BrownDwarfs-bin.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/BrownDwarfs.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/ExoPlanetsSuns-bin.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/ExoPlanetsSuns.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/NeutronStars-bin.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/NeutronStars-custom.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/NeutronStars.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/Stars-bin.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/Stars.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/WhiteDwarfs-bin.sc"
[MT] Loading script "data/catalogs/Catalogs0980.pak/stars/WhiteDwarfs.sc"
[MT] Merging duplicate stars
[MT] Building stars octree
[MT] bin cat stars: 0
[MT] csv cat stars: 112523
[MT] sc  cat stars: 14383
[MT] sc  del stars: 607
[MT] Merged  stars: 928
[MT] Deleted stars: 220
[MT] Failed  stars: 0
[MT] Final   stars: 125758
[MT] Central stars: 56
DONE[/code]
Upon opening SpaceEngine, nothing seems to crash, but instead of getting the system I want... I get a single O0 0 hypergiant with an immense luminosity:
[img]https://image.prntscr.com/image/F1E-DMa ... 5RL-WA.png[/img]
I can't seem to identify the problem via the log file. Is it an outdated script type or just some minor error I must have missed? If anyone knows what I'm doing wrong feel free to tell me :P
 
X2A3Q
Observer
Observer
Posts: 2
Joined: 15 Jan 2018 15:47

Help with creating Mods and Addons

15 Jan 2018 16:12

(Alright the script in that thing got screwed up. Wish you could edit replies.)
 
User avatar
Mosfet
Star Engineer
Star Engineer
Posts: 1834
Joined: 24 Oct 2016 11:34
Location: Italy
Contact:

Help with creating Mods and Addons

15 Jan 2018 16:53

X2A3Q, for me are working in SE 0980, try using my copy pasted files. If they do work, the issue could be caused by the editor you're using.
Attachments
CoronakStars.sc
(1.51 KiB) Downloaded 278 times
Coronak.sc
(148 Bytes) Downloaded 284 times
"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
tornadotodd
Space Pilot
Space Pilot
Posts: 141
Joined: 20 Dec 2017 19:12
Location: Oklahoma

Help with creating Mods and Addons

15 Jan 2018 20:12

I am trying to figure out if it is possible to assign different sprites to different classes of stars to make a mod. Is that possible or am I wasting my time on that one?
 
User avatar
aFinapple
Astronaut
Astronaut
Posts: 50
Joined: 29 Oct 2017 14:03
Location: Europa

Help with creating Mods and Addons

20 Jan 2018 22:41

I am trying to figure out if it is possible to assign different sprites to different classes of stars to make a mod. Is that possible or am I wasting my time on that one?
I don't really think that's possible, but I may be wrong.
"You're capable of such beautiful dreams, and such horrible nightmares. You feel so lost, so cut off, so alone, only you're not. See, in all our searching, the only thing we've found that makes the emptiness bearable, is each other.”- Carl Sagan
 
User avatar
Himself
Space Tourist
Space Tourist
Posts: 33
Joined: 25 Jan 2017 20:52

Help with creating Mods and Addons

20 Jan 2018 23:58

One of the planets in a system I made has procedural rings that I would like to keep. I know I can export surface and cloud textures, but is there any way of exporting procedural rings?
 
User avatar
tornadotodd
Space Pilot
Space Pilot
Posts: 141
Joined: 20 Dec 2017 19:12
Location: Oklahoma

Help with creating Mods and Addons

21 Jan 2018 01:30

I am trying to figure out if it is possible to assign different sprites to different classes of stars to make a mod. Is that possible or am I wasting my time on that one?
I don't really think that's possible, but I may be wrong.
I think that would be pretty neat to do that or have that option. Like some of the very large stars with astroniki some of the smaller dwarfs nostalgia..
 
User avatar
aFinapple
Astronaut
Astronaut
Posts: 50
Joined: 29 Oct 2017 14:03
Location: Europa

Help with creating Mods and Addons

21 Jan 2018 19:36

I think that would be pretty neat to do that or have that option. Like some of the very large stars with astroniki some of the smaller dwarfs nostalgia..
Yea that would be really cool, maybe you should post this in the suggestion's . It would also be pretty cool if different lens flares associated with different classes of stars, like  whiter stars have a astroniki lens flare, redder ones with like a duality, and bluer ones with nostalgia, etc. 
"You're capable of such beautiful dreams, and such horrible nightmares. You feel so lost, so cut off, so alone, only you're not. See, in all our searching, the only thing we've found that makes the emptiness bearable, is each other.”- Carl Sagan
 
User avatar
tornadotodd
Space Pilot
Space Pilot
Posts: 141
Joined: 20 Dec 2017 19:12
Location: Oklahoma

Help with creating Mods and Addons

21 Jan 2018 19:40

Is there a way to convert an sm file back to obj or something usable in an editor if you have deleted your obj. I can find little information on it and I am working on a mod but have run into this problem since sm files seem to be primarily an se type deal, although similar to cmod if I understand correctly. I would like to covert an sm to use in 3dmax or some other editor. any help would be appreciated.
 
User avatar
Spinecone
Space Tourist
Space Tourist
Posts: 28
Joined: 27 Jul 2017 11:43
Location: France

Help with creating Mods and Addons

24 Jan 2018 15:22

This might be more of a request than actual help but, knowing I am no good in textures yet, I was wondering if anyone would agree to actually make bump/elevation maps for these two old fictional textures of Pluto and Charon? Trying to just turn them in grayscale didn't work well so...
Thank you in advance!
 
User avatar
Mosfet
Star Engineer
Star Engineer
Posts: 1834
Joined: 24 Oct 2016 11:34
Location: Italy
Contact:

Help with creating Mods and Addons

24 Jan 2018 15:45

One of the planets in a system I made has procedural rings that I would like to keep. I know I can export surface and cloud textures, but is there any way of exporting procedural rings?
Use the in-game planet editor when you select the planet (shift-F2) and click the "export script" button, the planet's Rings {} parameters will be saved, as well as the other parameters, into a script file. The procedure is also in the online manual.
Is there a way to convert an sm file back to obj or something usable in an editor if you have deleted your obj.
Unfortunately no, it's a proprietary format that can be used only in one way right now.
"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
tornadotodd
Space Pilot
Space Pilot
Posts: 141
Joined: 20 Dec 2017 19:12
Location: Oklahoma

Help with creating Mods and Addons

24 Jan 2018 17:07

One of the planets in a system I made has procedural rings that I would like to keep. I know I can export surface and cloud textures, but is there any way of exporting procedural rings?
Use the in-game planet editor when you select the planet (shift-F2) and click the "export script" button, the planet's Rings {} parameters will be saved, as well as the other parameters, into a script file. The procedure is also in the online manual.
Is there a way to convert an sm file back to obj or something usable in an editor if you have deleted your obj.
Unfortunately no, it's a proprietary format that can be used only in one way right now.
Thanks, that makes sense... 
Sipnemap,,, Your bump map deal; if you don't find someone experienced to help, I am currently working on and learning the whole map making process myself. Hopefully you can find someone so you can get what you want done sooner, but if not I may be willing  to help in the near future. I have a pretty big interest in learning to make higher res Earth maps, and localized addons like kluds Grand Canyon. I am about to attempt the 30 meter elevation map upgrade for Earth. I figure if I can master a few of my Earth goals, other planets will become pretty easy. Regardless it is definitely time consuming. I have been looking into the possibility of using Lidar data for resolutions higher than 30 meter.. But I am still learning too.. EVERYTHING LOL.
 
User avatar
Himself
Space Tourist
Space Tourist
Posts: 33
Joined: 25 Jan 2017 20:52

Help with creating Mods and Addons

25 Jan 2018 12:36

One of the planets in a system I made has procedural rings that I would like to keep. I know I can export surface and cloud textures, but is there any way of exporting procedural rings?
Use the in-game planet editor when you select the planet (shift-F2) and click the "export script" button, the planet's Rings {} parameters will be saved, as well as the other parameters, into a script file. The procedure is also in the online manual.
That exports the general parameters of the rings such as radii and brightness, but not the specific texture of them, such as where the gaps are.

Who is online

Users browsing this forum: No registered users and 1 guest