Ultimate space simulation software

 
User avatar
Mosfet
World Builder
World Builder
Posts: 915
Joined: 24 Oct 2016
Location: Italy

Help with creating Mods and Addons

11 Jan 2018 16:12

No idea, but they look a lot like spaces. I suggest you to open your script with a program like notepad++ if you're using something else and delete/redo spaces in those lines.
"Time is illusion. Lunchtime doubly so". Douglas N. Adams
My mods | My specs: Asus x555ub - cpu i5-6200u, ram 4gb, gpu nvidia geforce 940m 2gb vram | IRC freenode.net canale ##SpaceEngineITA
 
User avatar
JackDole
World Builder
World Builder
Posts: 760
Joined: 02 Nov 2016
Location: Terra

Help with creating Mods and Addons

11 Jan 2018 22:13

ZeGamingCuber,
the problems seem to have been caused mainly by the scripts 'MySystem.sc' and 'mystars.sc'.
Maybe you should post them here for someone to look at them.
 
User avatar
tornadotodd
Space Pilot
Space Pilot
Posts: 118
Joined: 20 Dec 2017
Location: Oklahoma

Help with creating Mods and Addons

11 Jan 2018 23:02

ettore_bilbo wrote:
tornadotodd wrote:
Source of the post The model being full of errors is that why SE would not create the files after loading?

No, I don't think. The errors in the model were related to normals (the direction of the surfaces), this would have made it seem strange and full of holes, but the .sm file would have been created. In addition, the model was very small. Without adapting the scale in SE it would have been less than 3 meters in length.
tornadotodd wrote:
Source of the post What program do you use? How did you spot all of the errors???

I use Blender. It's a very powerful program and it's free :-D there are many tutorials about blender in youtube, so it's easy enough to learn...

tornadotodd wrote:
Source of the post Def make the video! It will help a lot of people


I don't think I can make a video. I'm Italian and my English pronunciation is terrible :-D Moreover I have some problems with my video capture software when I use blender (I don't know why).
I was thinking of doing a step by step guide with images, or a video in my language and then get it subtitled by some other willing user who doesn't need to consult google trad at every sentence :-D

I still cant get my models to show up.. I hope someone makes a video. you could translate in the video with subtitles maybe?  I was very impressed how quick you did that and it did help me understand a bit more but still can not get my ships to show up. That model was one that I just found and didn't create. The original in 3d viewer didn't have the blocky edges so I didn't realize the errors. I purchased 3d max though and they were very apparent. I don't like blender too well. 3d max is very powerful and a much easier interface in my opinion. I am redoing the model that you fixed for me into the pak file and it looks a lot better but it still has that blocky look. I am still learning the program. I hope to smooth the model out once I figure it out so that the shape is completely fluid and life  like just as it looks in the 3d viewer that I have. For instance the cylinder portions are long blocks instead of a perfect cylinder. well you saw it. That's not how it looked in the 3d viewer. When I used blender it was apparent though and even worse showing the errors in 3d max. Yes I couldn't get the sm files or anything. Now I took your pack and opened it and used your obj and mtl and for some reason it did create the files. But now I'm stuck there. Even with the files I am doing something wrong. I noticed in your sss all the description of the model and what not but when I try I cant find those descriptions to properly make the sss out of the files. I cant seem to find the same info that you have for the modules and materials. I unpaked your pak and just tried under a different name to see if I can do it and I still cant.. I really want to learn this back bc I have models ive made that are  high quality. I was just using that to learn since it didn't involve all the textures. I really hope you decide to make that. That was very cool of you and awesome how quick you figured out the issue.
 
ZeGamingCuber
Space Tourist
Space Tourist
Posts: 35
Joined: 23 Apr 2017

Help with creating Mods and Addons

12 Jan 2018 12:31

Mosfet wrote:
No idea, but they look a lot like spaces. I suggest you to open your script with a program like notepad++ if you're using something else and delete/redo spaces in those lines.

The scripts in mysystem.sc and mystars.sc work perfectly fine.
The only spaces in them are the important ones.
// Creates a new object – a solitary star.
Star    "Fetu"
{
    RA       16 10 45  // right ascension
    Dec     -25 12 11  // declination
    Dist     1000.0     // distance from the Sun
    Class   "O1V"      // spectral class
    Lum      10.00      // luminosity, or
    //AbsMagn  -10.00    // absolute magnitude, or
    //AppMagn  -1.00   // apparent magnitude
    RadSol   9.78      // radius in Solar radii
    MassSol  30.0      // mass in Solar masses
    Teff     30000      // surface temperature in Kelvin
}



Planet "Fetu b"
{
 ParentBody     "Fetu"
 Class        "Desert"
 Mass            2.42335
 Radius          4893.85
 InertiaMoment   0.331921
 Obliquity       -0.798878
 EqAscendNode    -60.8638
 TidalLocked     true
 AbsMagn         -4.33362
 SlopeParam      4.50109
 AlbedoBond      0.7
 AlbedoGeom      0.84
 Brightness      2
 Color          (0.622 0.586 0.520)
 Surface
 {
  SurfStyle       0.529678
  OceanStyle      0.565054
  Randomize      (0.109, 0.523, 0.904)
  colorDistMagn   0.0746844
  colorDistFreq   1060.58
  detailScale     22875.5
  colorConversion true
  seaLevel        0.144022
  snowLevel       2
  tropicLatitude  0.0240408
  icecapLatitude  10
  icecapHeight    0.197823
  climatePole     0.5625
  climateTropic   0.5625
  climateEquator  0.6875
  heightTempGrad  0.375
  tropicWidth     0.5
  mainFreq        0.548716
  venusFreq       1.51082
  venusMagn       0
  mareFreq        2.26377
  mareDensity     0.200096
  terraceProb     0.353928
  erosion         0
  montesMagn      0.156668
  montesFreq      544.755
  montesSpiky     0.905316
  montesFraction  0.0759558
  dunesMagn       0.0474438
  dunesFreq       90.4264
  dunesFraction   0.526493
  hillsMagn       0.169281
  hillsFreq       1117.04
  hillsFraction   0
  hills2Fraction  0
  riversMagn      58.0868
  riversFreq      3.13359
  riversSin       6.81408
  riversOctaves   0
  canyonsMagn     0.0698686
  canyonsFreq     221.742
  canyonFraction  0
  cracksMagn      0.0882501
  cracksFreq      1.01102
  cracksOctaves   0
  craterMagn      0.934704
  craterFreq      19.9108
  craterDensity   0
  craterOctaves   0
  volcanoMagn     0.704775
  volcanoFreq     0.743376
  volcanoDensity  0.4
  volcanoOctaves  3
  volcanoActivity 2
  volcanoFlows    0.638885
  volcanoRadius   0.497264
  volcanoTemp     1500.64
  lavaCoverTidal  0
  lavaCoverSun    0.848173
  lavaCoverYoung  0
  stripeZones     1
  stripeTwist     3.5
  cycloneMagn     0.870844
  cycloneDensity  0.342505
  cycloneOctaves  0
  colorSea       (0.640, 0.620, 0.420, 0.000)
  colorShelf     (0.680, 0.620, 0.470, 0.000)
  colorBeach     (0.740, 0.730, 0.610, 0.000)
  colorDesert    (0.450, 0.420, 0.380, 0.000)
  colorLowland   (0.530, 0.480, 0.400, 0.000)
  colorUpland    (0.600, 0.540, 0.420, 0.000)
  colorRock      (0.170, 0.160, 0.160, 0.000)
  colorSnow      (1.000, 1.000, 1.000, 0.769)
  colorLowPlants (0.530, 0.480, 0.400, 0.000)
  colorUpPlants  (0.600, 0.540, 0.420, 0.000)
  BumpHeight      11.9755
  DiffMapAlpha   "Ice"
  SpecBrightWater 0.5
  SpecBrightIce   0.5
  SpecularPower   30
  Hapke           0
  SpotBright      4
  SpotWidth       0.05
  DayAmbient      0.07
 }
 Clouds
 {
  Height          87.1807
  Velocity        157.371
  BumpHeight      6.89678
  Hapke           0.2
  SpotBright      2
  SpotWidth       0.15
  DayAmbient      2
  mainFreq        1.01153
  mainOctaves     10
  Coverage        1
  stripeZones     1
  stripeTwist     3.5
 }
 NoOcean         true
 NoLava          false
 Atmosphere
 {
  Model          "Venus"
  Height          281.52
  Density         954.85
  Pressure        4054.9
  Greenhouse      489.787
  Bright          10
  Opacity         1
  SkyLight        3.33333
  Hue             0.481743
  Saturation      0.563485
  Composition
  {
   CO2 50
   O2 49
   N2 1
  }
 }
 Aurora
 {
  Height      233.999
  NorthLat    85.069
  NorthLon    -38.8082
  NorthRadius 2973.07
  NorthWidth  944.07
  NorthRings  2
  NorthBright 0.3
  NorthParticles 50000
  SouthLat    -68.4887
  SouthLon    137.986
  SouthRadius 2584.52
  SouthWidth  803.691
  SouthRings  5
  SouthBright 0.3
  SouthParticles 50000
  TopColor    (1.000 1.000 1.000)
  BottomColor (0.000 1.000 0.000)
 }
 Rings
 {
  InnerRadius     3698.4
  OuterRadius     13659.6
  RotationPeriod  7.64787
  RotationOffset  0
  FrontBright     10.950118
  BackBright      5.71403
  Density         0.710391
  Brightness      10
 }
 NoAccretionDisk true
 CometTail
 {
  MaxLength   1.58392
  GasToDust   0
  Particles   3300
  GasBright   0.109141
  DustBright  0.0839916
  GasColor   (0.002 0.006 0.010)
  DustColor  (0.050 0.050 0.050)
 }
 Orbit
 {
  RefPlane        "Equator"
  SemiMajorAxis   0.97309
  Period          0.0378056
  Eccentricity    0.713083
  Inclination     100.798878
  AscendingNode   -60.8638
  ArgOfPericenter 131.23
  MeanAnomaly     206.748
 }
}
Moon "Fetu b.1"
{
 ParentBody     "Fetu b"
 Class        "Selena"
 Mass            0.00843978
 Radius          1209.19
 InertiaMoment   0.38123
 Oblateness      0.00428874
 Obliquity       -0.0511147
 EqAscendNode    -138.553
 TidalLocked     true
 AlbedoBond      0.3
 AlbedoGeom      0.36
 Brightness      3.5
 Color          (0.956 0.892 0.780)
 Surface
 {
  SurfStyle       0.741934
  OceanStyle      0.0918214
  Randomize      (-0.471, -0.724, -0.223)
  colorDistMagn   0.0447849
  colorDistFreq   157.053
  detailScale     3110.1
  colorConversion true
  drivenDarkening 0
  seaLevel        0.193393
  snowLevel       2
  tropicLatitude  0.00059802
  icecapLatitude  10
  icecapHeight    0.181492
  climatePole     0.9375
  climateTropic   0.3125
  climateEquator  0.6875
  heightTempGrad  0.625
  tropicWidth     0.07
  mainFreq        2.07316
  venusFreq       1.65191
  venusMagn       0
  mareFreq        0.49103
  mareDensity     0.00890424
  terraceProb     0.367682
  erosion         0
  montesMagn      0.07088
  montesFreq      68.3544
  montesSpiky     0.977285
  montesFraction  0.265439
  dunesMagn       0.0478485
  dunesFreq       1581.35
  dunesFraction   0.15727
  hillsMagn       0.116506
  hillsFreq       143.13
  hillsFraction   0.523216
  hills2Fraction  0
  riversMagn      49.6122
  riversFreq      3.47849
  riversSin       6.31565
  riversOctaves   0
  canyonsMagn     0.524914
  canyonsFreq     0.348522
  canyonFraction  0.855873
  cracksMagn      0.0428955
  cracksFreq      0.361956
  cracksOctaves   0
  craterMagn      0.632981
  craterFreq      3.24923
  craterDensity   0.664598
  craterOctaves   6.89391
  craterRayedFactor 0.158988
  volcanoMagn     0.190274
  volcanoFreq     0.720434
  volcanoDensity  0.4
  volcanoOctaves  3
  volcanoActivity 2
  volcanoFlows    0.147077
  volcanoRadius   0.144563
  volcanoTemp     1350.11
  lavaCoverTidal  0.345122
  lavaCoverSun    0
  lavaCoverYoung  0
  colorSea       (0.470, 0.400, 0.340, 0.000)
  colorShelf     (0.640, 0.600, 0.470, 0.000)
  colorBeach     (0.467, 0.450, 0.353, 0.000)
  colorDesert    (0.497, 0.457, 0.360, 0.000)
  colorLowland   (0.908, 0.539, 0.217, 0.000)
  colorUpland    (0.138, 0.573, 0.782, 0.000)
  colorRock      (0.309, 0.560, 0.260, 0.000)
  colorSnow      (1.000, 1.000, 1.000, 1.000)
  BumpHeight      20
  SpecBrightWater 0
  SpecBrightIce   0.03
  SpecularPower   55
  Hapke           1
  SpotBright      4
  SpotWidth       0.05
  DayAmbient      0.07
 }
 NoClouds        true
 NoOcean         true
 NoLava          true
 NoAtmosphere    true
 NoAurora        true
 NoRings         true
 NoAccretionDisk true
 NoCometTail     true
 Orbit
 {
  RefPlane        "Equator"
  SemiMajorAxis   0.000479442
  Period          0.002379
  Eccentricity    0.0353779
  Inclination     -0.0511147
  AscendingNode   -138.553
  ArgOfPericenter 137.991
  MeanAnomaly     -165.747
 }
}
Planet "Fetu c"
{
 ParentBody     "Fetu"
 Class        "IceGiant"
 Mass            14.4043
 Radius          20794.4
 InertiaMoment   0.255286
 Oblateness      0.3263978
 RotationPeriod  0.5613
 Obliquity       8.93739
 EqAscendNode    -128.981
 AlbedoBond      0.417549
 AlbedoGeom      0.501058
 Brightness      2
 Surface
 {
  SurfStyle       0.291368
  Randomize      (-0.986, 0.409, -0.851)
  detailScale     53484.4
  colorConversion true
  tropicLatitude  0.17306
  icecapLatitude  1
  craterOctaves   0
  volcanoActivity 0
  lavaCoverTidal  0
  lavaCoverSun    0
  lavaCoverYoung  0
  stripeZones     5.27304
  stripeFluct     0.323699
  stripeTwist     11.4891
  cycloneMagn     9.95885
  cycloneFreq     0.591054
  cycloneDensity  0.315599
  cycloneOctaves  1
  colorLayer0    (0.120, 0.200, 0.480, 1.000)
  colorLayer1    (0.330, 0.400, 0.720, 1.000)
  colorLayer2    (0.330, 0.400, 0.720, 1.000)
  colorLayer3    (0.600, 0.600, 0.600, 1.000)
  colorLayer4    (0.350, 0.430, 0.770, 1.000)
  colorLayer5    (0.470, 0.540, 0.850, 1.000)
  colorLayer6    (0.600, 0.650, 0.910, 1.000)
  colorLayer7    (0.990, 0.990, 1.000, 1.000)
  colorLowPlants (0.350, 0.430, 0.770, 1.000)
  colorUpPlants  (0.470, 0.540, 0.850, 1.000)
  BumpHeight      17.1805
  SpecularPower   55
  Hapke           0
  SpotBright      4
  SpotWidth       0.05
  DayAmbient      1
  ModulateColor  (0.000 0.000 0.000 0.000)
 }
 Clouds
 {
  Height          55.334
  Velocity        2367.55
  BumpHeight      38.1528
  Hapke           0
  SpotBright      2
  SpotWidth       0.15
  DayAmbient      1
  mainFreq        1.27737
  mainOctaves     12
  Coverage        0.0877435
  stripeZones     5.27304
  stripeFluct     0.323699
  stripeTwist     11.4891
 }
 NoOcean         true
 NoLava          true
 Atmosphere
 {
  Model          "Neptune"
  Height          207.944
  Density         660.592
  Pressure        120327
  Bright          10
  Opacity         1
  SkyLight        3.33333
  Hue             0.0433961
  Saturation      0.959009
  Composition
  {
   H2     90.9884
   He     8.5916
   CH4    0.339082
   N2     0.0362898
   NH3    0.0288617
   O2     0.00835483
   C2H2   0.00329456
   C2H4   0.00125997
   Ne     0.00108398
   Ar     0.000790295
   C2H6   0.000651401
   C3H8   0.000369198
  }
 }
 Aurora
 {
  Height      199.132
  NorthLat    77.4339
  NorthLon    72.1315
  NorthRadius 6979.31
  NorthWidth  1468.88
  NorthRings  3
  NorthBright 1
  NorthParticles 10000
  SouthLat    -68.2012
  SouthLon    253.619
  SouthRadius 6998.94
  SouthWidth  1919.62
  SouthRings  2
  SouthBright 1
  SouthParticles 10000
  TopColor    (1.000 1.000 1.000)
  BottomColor (1.000 0.000 0.500)
 }
 Rings
 {
  InnerRadius     26758.4
  OuterRadius     47315.4
  RotationPeriod  5.20342
  RotationOffset  0
  FrontBright     0.589691
  BackBright      0.53636
  Density         0.562274
  Brightness      1
 }
 AccretionDisk
 {
  InnerRadius     1.7296
  OuterRadius     7.9068
  AccretionRate   1.07357
  Temperature     371.33
  Density         1.594
  Luminosity      1
  TwistMagn       50
  Brightness      1
 }
 NoCometTail     true
 Orbit
 {
  RefPlane        "Equator"
  SemiMajorAxis   4.5
  Period          4.53586
  Eccentricity    0.0128992
  Inclination     -1.68348
  AscendingNode   -123.531
  ArgOfPericenter 9.09923
  MeanAnomaly     320.447
 }
}
Planet "Fetu d"
{
 ParentBody     "Fetu"
 Class        "Terra"
 Mass            0.235497
 Radius          3970.73
 InertiaMoment   0.328419
 RotationPeriod  4281.28
 Obliquity       -1.0618
 EqAscendNode    -146.575
 AlbedoBond      0.354843
 AlbedoGeom      0.425811
 Brightness      2
 Color          (0.581 0.445 0.612)
 Life
 {
  Class   "Organic"
  Type    "Multicellular"
  Biome   "Marine/Terrestrial"
 }
 Surface
 {
  SurfStyle       0.0084112
  OceanStyle      0.896142
  Randomize      (-0.111, -0.404, -0.751)
  colorDistMagn   0.0901451
  colorDistFreq   547.48
  detailScale     10212.9
  colorConversion true
  seaLevel        0.36035
  snowLevel       0.75506
  tropicLatitude  0.0106585
  icecapLatitude  0.686064
  icecapHeight    0.372159
  climatePole     0.9375
  climateTropic   0.344078
  climateEquator  0.6875
  heightTempGrad  0.593422
  tropicWidth     0.0768605
  mainFreq        1.35616
  venusFreq       1.27283
  venusMagn       0
  mareFreq        4.69632
  mareDensity     0.022406
  terraceProb     0.176606
  erosion         0.138793
  montesMagn      0.213829
  montesFreq      159.825
  montesSpiky     0.934598
  montesFraction  0.109324
  dunesMagn       0.0445365
  dunesFreq       42.9674
  dunesFraction   0.75412
  hillsMagn       0.147735
  hillsFreq       495.757
  hillsFraction   0.654181
  hills2Fraction  0.282229
  riversMagn      63.8711
  riversFreq      3.32826
  riversSin       6.29467
  riversOctaves   2
  canyonsMagn     0.0580803
  canyonsFreq     107.881
  canyonFraction  0.0928474
  cracksMagn      0.138168
  cracksFreq      0.350878
  cracksOctaves   0
  craterMagn      0.568804
  craterFreq      13.9528
  craterDensity   0
  craterOctaves   0
  volcanoMagn     0.73623
  volcanoFreq     0.681518
  volcanoDensity  0.226147
  volcanoOctaves  3
  volcanoActivity 50.249445
  volcanoFlows    0.621845
  volcanoRadius   0.491004
  volcanoTemp     1470.4
  lavaCoverTidal  0
  lavaCoverSun    0
  lavaCoverYoung  0
  stripeZones     1.43631
  stripeTwist     1.56955
  cycloneMagn     1.89864
  cycloneFreq     0.904266
  cycloneDensity  0.405239
  cycloneOctaves  2
  colorSea       (0.000, 0.000, 1.000, 0.500)
  colorShelf     (0.150, 0.460, 0.280, 1.000)
  colorBeach     (0.820, 0.730, 0.570, 0.000)
  colorDesert    (0.420, 0.360, 0.220, 0.000)
  colorLowland   (0.220, 0.230, 0.220, 0.000)
  colorUpland    (0.570, 0.540, 0.420, 0.000)
  colorRock      (0.100, 0.100, 0.100, 0.000)
  colorSnow      (1.000, 1.000, 1.000, 1.308)
  colorLowPlants (0.500, 0.000, 0.500, 0.000)
  colorUpPlants  (0.500, 0.000, 0.500, 0.000)
  BumpHeight      20
  BumpOffset      7.207
  DiffMapAlpha   "Water"
  SpecBrightWater 0.65
  SpecBrightIce   0.85
  SpecularPower   55
  Hapke           0
  SpotBright      4
  SpotWidth       0.05
  DayAmbient      0.07
 }
 Clouds
 {
  Height          4.44653
  Velocity        44.5606
  BumpHeight      4.44645
  Hapke           0.2
  SpotBright      2
  SpotWidth       0.15
  DayAmbient      2
  mainFreq        0.991516
  mainOctaves     10
  Coverage        0.258071
  stripeZones     1.43631
  stripeTwist     1.56955
 }
 Ocean
 {
  Height          9.207
  Hapke           0
  SpotBright      2
  SpotWidth       0.15
  DayAmbient      2
 }
 NoLava          true
 Atmosphere
 {
  Model          "Earth"
  Height          68.6744
  Density         1.20403
  Pressure        1.15653
  Greenhouse      50.39663
  Bright          10
  Opacity         1
  SkyLight        3.33333
  Hue             0.0411582
  Saturation      1
  Composition
  {
   N2 70
   O2 20
   CO2 10
  }
 }
 NoAurora        true
 NoRings         true
 NoAccretionDisk true
 NoCometTail     true
 Orbit
 {
  RefPlane        "Equator"
  SemiMajorAxis   10.334263
  Period          10.244203
  Eccentricity    0.0718782
  Inclination     -1.0618
  AscendingNode   -146.575
  ArgOfPericenter 62.7974
  MeanAnomaly     235.147
 }
}
Moon "Fetu d.1"
{
 ParentBody     "Fetu d"
 Class        "Selena"
 Mass            8.04018e-005
 Radius          331.394
 InertiaMoment   0.399219
 Oblateness      0.00909286
 Obliquity       0.813517
 EqAscendNode    -161.075
 TidalLocked     true
 AlbedoBond      0.3
 AlbedoGeom      0.36
 Brightness      3.5
 Color          (0.620 0.617 0.614)
 Surface
 {
  SurfStyle       0.223795
  OceanStyle      0.902319
  Randomize      (0.502, 0.677, 0.400)
  colorDistMagn   0.0629727
  colorDistFreq   48.0619
  detailScale     852.364
  colorConversion true
  drivenDarkening 0
  seaLevel        0.217169
  snowLevel       2
  tropicLatitude  0.00467067
  icecapLatitude  10
  icecapHeight    0.159862
  climatePole     0.9375
  climateTropic   0.3125
  climateEquator  0.6875
  heightTempGrad  0.625
  tropicWidth     0.07
  mainFreq        1.62924
  venusFreq       1.02406
  venusMagn       0
  mareFreq        0
  mareDensity     0.000133554
  terraceProb     0.468854
  erosion         0
  montesMagn      0.0534928
  montesFreq      17.8209
  montesSpiky     0.943667
  montesFraction  0.146027
  dunesMagn       0.0490548
  dunesFreq       442.466
  dunesFraction   0.0377798
  hillsMagn       0.117389
  hillsFreq       37.0425
  hillsFraction   0.631135
  hills2Fraction  0
  riversMagn      56.4634
  riversFreq      3.59549
  riversSin       6.78727
  riversOctaves   0
  canyonsMagn     0.466202
  canyonsFreq     0.130423
  canyonFraction  0.610906
  cracksMagn      0.0561137
  cracksFreq      0.121965
  cracksOctaves   0
  craterMagn      0.727688
  craterFreq      0.968099
  craterDensity   0.918355
  craterOctaves   8
  craterRayedFactor 0.151572
  volcanoMagn     0.206938
  volcanoFreq     0.799641
  volcanoDensity  0.4
  volcanoOctaves  3
  volcanoActivity 1.69663
  volcanoFlows    0.144894
  volcanoRadius   0.148821
  volcanoTemp     1423.93
  lavaCoverTidal  0
  lavaCoverSun    0
  lavaCoverYoung  0
  colorSea       (0.320, 0.320, 0.320, 0.000)
  colorShelf     (0.370, 0.370, 0.370, 0.000)
  colorBeach     (0.310, 0.308, 0.307, 0.000)
  colorDesert    (0.385, 0.370, 0.350, 0.200)
  colorLowland   (0.416, 0.395, 0.393, 0.500)
  colorUpland    (0.434, 0.413, 0.406, 0.800)
  colorRock      (0.650, 0.610, 0.620, 1.000)
  colorSnow      (1.000, 1.000, 1.000, 1.000)
  BumpHeight      16.5697
  SpecBrightWater 0
  SpecBrightIce   0.03
  SpecularPower   55
  Hapke           1
  SpotBright      4
  SpotWidth       0.05
  DayAmbient      0.07
 }
 NoClouds        true
 NoOcean         true
 NoLava          true
 NoAtmosphere    true
 NoAurora        true
 NoRings         true
 NoAccretionDisk true
 NoCometTail     true
 Orbit
 {
  RefPlane        "Equator"
  SemiMajorAxis   0.000142906
  Period          0.00148401
  Eccentricity    0.0363699
  Inclination     0.813517
  AscendingNode   -161.075
  ArgOfPericenter 72.6816
  MeanAnomaly     -155.521
 }
}
Moon "Fetu d.2"
{
 ParentBody     "Fetu d"
 Class        "Selena"
 Mass            0.00102231
 Radius          677.192
 InertiaMoment   0.398693
 Oblateness      0.00183395
 Obliquity       -1.02792
 EqAscendNode    146.489
 TidalLocked     true
 AlbedoBond      0.3
 AlbedoGeom      0.36
 Brightness      3.5
 Color          (0.834 0.792 0.720)
 Surface
 {
  SurfStyle       0.0894835
  OceanStyle      0.695335
  Randomize      (0.921, -0.696, 0.743)
  colorDistMagn   0.0570803
  colorDistFreq   78.4097
  detailScale     1741.78
  colorConversion true
  drivenDarkening 0
  seaLevel        0.142825
  snowLevel       2
  tropicLatitude  0.0103406
  icecapLatitude  10
  icecapHeight    0.154556
  climatePole     0.9375
  climateTropic   0.3125
  climateEquator  0.6875
  heightTempGrad  0.625
  tropicWidth     0.07
  mainFreq        1.95886
  venusFreq       1.12968
  venusMagn       0
  mareFreq        0.0600678
  mareDensity     0.00146194
  terraceProb     0.27784
  erosion         0
  montesMagn      0.0678449
  montesFreq      24.3678
  montesSpiky     0.874119
  montesFraction  0.0976492
  dunesMagn       0.0382565
  dunesFreq       905.747
  dunesFraction   0.823219
  hillsMagn       0.111257
  hillsFreq       86.5667
  hillsFraction   0.608176
  hills2Fraction  0
  riversMagn      61.6507
  riversFreq      2.40728
  riversSin       5.90061
  riversOctaves   0
  canyonsMagn     0.538829
  canyonsFreq     0.26458
  canyonFraction  0.524154
  cracksMagn      0.0348573
  cracksFreq      0.26274
  cracksOctaves   0
  craterMagn      0.610776
  craterFreq      1.50343
  craterDensity   0.985467
  craterOctaves   9
  craterRayedFactor 0.058948
  volcanoMagn     0.172697
  volcanoFreq     0.785714
  volcanoDensity  0.4
  volcanoOctaves  3
  volcanoActivity 1.89106
  volcanoFlows    0.0242985
  volcanoRadius   0.168602
  volcanoTemp     1305.78
  lavaCoverTidal  0
  lavaCoverSun    0
  lavaCoverYoung  0
  colorSea       (0.320, 0.320, 0.320, 0.000)
  colorShelf     (0.370, 0.370, 0.370, 0.000)
  colorBeach     (0.417, 0.396, 0.360, 0.000)
  colorDesert    (0.517, 0.475, 0.410, 0.200)
  colorLowland   (0.559, 0.507, 0.461, 0.500)
  colorUpland    (0.584, 0.531, 0.475, 0.800)
  colorRock      (0.650, 0.610, 0.620, 1.000)
  colorSnow      (1.000, 1.000, 1.000, 1.000)
  BumpHeight      20
  SpecBrightWater 0
  SpecBrightIce   0.03
  SpecularPower   55
  Hapke           1
  SpotBright      4
  SpotWidth       0.05
  DayAmbient      0.07
 }
 NoClouds        true
 NoOcean         true
 NoLava          true
 NoAtmosphere    true
 NoAurora        true
 NoRings         true
 NoAccretionDisk true
 NoCometTail     true
 Orbit
 {
  RefPlane        "Equator"
  SemiMajorAxis   0.000559188
  Period          0.00552661
  Eccentricity    0.0372924
  Inclination     -1.02792
  AscendingNode   146.489
  ArgOfPericenter 121.789
  MeanAnomaly     -50.2132
 }
}

 
User avatar
JackDole
World Builder
World Builder
Posts: 760
Joined: 02 Nov 2016
Location: Terra

Help with creating Mods and Addons

12 Jan 2018 21:11

ZeGamingCuber wrote:
Source of the post The scripts in mysystem.sc and mystars.sc work perfectly fine.

Your se.log says something else.
There is an editor that produces invisible superfluous characters in a text. I do not know which editor that is, but I have often encountered this problem in the forum with the scripts of other people.
If you copy and paste the text, these invisible characters will probably not be copied. Therefore, you should attach your original files here, so that can be checked.
 
User avatar
Ensabahnur
Astronaut
Astronaut
Posts: 51
Joined: 27 Nov 2016

Help with creating Mods and Addons

13 Jan 2018 11:38

I tried making my own galaxy but it does not show up in Space Engine, can anyone tell me what mistake i've made.
Attachments
TEST GALAXY.sc
(102 Bytes) Downloaded 15 times
 
User avatar
Mosfet
World Builder
World Builder
Posts: 915
Joined: 24 Oct 2016
Location: Italy

Help with creating Mods and Addons

13 Jan 2018 15:05

Ensabahnur wrote:
Source of the post  it does not show up in Space Engine

The absolute magnitude value is too high for a galaxy. It's a very big, very near, very dark elliptical galaxy :)
Here's a screenshot of your galaxy as seen from Earth, but with an absolute magnitude of around -16.
Attachments
scr00021.jpg
TEST Galaxy
"Time is illusion. Lunchtime doubly so". Douglas N. Adams
My mods | My specs: Asus x555ub - cpu i5-6200u, ram 4gb, gpu nvidia geforce 940m 2gb vram | IRC freenode.net canale ##SpaceEngineITA
 
User avatar
tornadotodd
Space Pilot
Space Pilot
Posts: 118
Joined: 20 Dec 2017
Location: Oklahoma

Help with creating Mods and Addons

14 Jan 2018 01:53

Someone please have a look and see what I am doing wrong. I updated a model that someone helped me make a pak because I cant figure out still how to import ships. I finally used his pak of the model, obj, and ssc to redo it all and get the model to show up on my own, so I updated the model in 3d max because it was poor quality with errors and tried to convert the obj using what was for sure the proper file path and instruction and they will not load the updated model. so I am back where I started. I even used his ssc and mtl since it was  the same model updated and it didn't work with his path which works if I use the old obj... Does 3d max mtl not work and force you to create  your own material library or am I somehow doing something wrong in the program. For like4 days solid ive been trying to get this down. I uploaded txt files because the site wouldn't let me upload the actual obj and mtl themselves. I can get his pak to show up but nothing I try on my own. Maybe someone can figure out what it is that I am doing wrong. Whether it is in the program or improper code, idk. Last is the pak file that he helped me with that I used as a template and works 
Attachments
obj.zip
(800.47 KiB) Downloaded 12 times
mtl.txt
(4.22 KiB) Downloaded 9 times
tornado.pak
(1.4 MiB) Downloaded 9 times
 
User avatar
ettore_bilbo
Space Pilot
Space Pilot
Posts: 109
Joined: 11 Nov 2016
Location: Italy

Help with creating Mods and Addons

14 Jan 2018 04:43

tornadotodd wrote:
Source of the post  so I updated the model in 3d max because it was poor quality with errors and tried to convert the obj using what was for sure the proper file path and instruction and they will not load the updated model

I downloaded your obj and imported in SE without problems... it took 3 minutes so the problem it isn't the file...


let's analyze step by step:

did you copy obj in addons/models/spacecraft/what_you_want folder?

did you copy mtl in addons/textures/spacecraft/what_you_want folder?

did you create sss file in addons/models/spacecraft/what_you_want folder?

in sss file did you write the correct path for cfg file? 
is this line: Module  "Main"  { "what_you_want/name_of_the_obj_file.cfg" (1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1) }

at this point, in addons/models/spacecraft/what_you_want folder you have 2 files: the obj and the sss with the same name, in addons/textures/spacecraft/what_you_want folder you have only one file, the mtl with the same name of obj and sss

Now you can open Space Engine and create your new ship. SE load your obj, convert it in sm and create cfg and sml files.
 
User avatar
tornadotodd
Space Pilot
Space Pilot
Posts: 118
Joined: 20 Dec 2017
Location: Oklahoma

Help with creating Mods and Addons

14 Jan 2018 11:19

ettore_bilbo wrote:
tornadotodd wrote:
Source of the post  so I updated the model in 3d max because it was poor quality with errors and tried to convert the obj using what was for sure the proper file path and instruction and they will not load the updated model

I downloaded your obj and imported in SE without problems... it took 3 minutes so the problem it isn't the file...


let's analyze step by step:

did you copy obj in addons/models/spacecraft/what_you_want folder?

did you copy mtl in addons/textures/spacecraft/what_you_want folder?

did you create sss file in addons/models/spacecraft/what_you_want folder?

in sss file did you write the correct path for cfg file? 
is this line: Module  "Main"  { "what_you_want/name_of_the_obj_file.cfg" (1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1) }

at this point, in addons/models/spacecraft/what_you_want folder you have 2 files: the obj and the sss with the same name, in addons/textures/spacecraft/what_you_want folder you have only one file, the mtl with the same name of obj and sss

Now you can open Space Engine and create your new ship. SE load your obj, convert it in sm and create cfg and sml files.

I used your template even removed the pak and deleted cache...addons/tornado/spacecraft/shuttle/tornado..same w textures. Obj in right folder w sss, and the mtl in right folder in textures.. So if has to be in my code somewhere.. this is the sss I made also using yours al template.                        Name    "Tornado"
Class   "Starship"
Pack     "tornado"
Faction  "Shuttle"
Length   60
Offset  (0 0 0)
Quat    (0.70710678 0 -0.70710678 0)
Mass     25000
Albedo   0.01
Exposure 2
Color   (1 1 1)
MainEngines  130
RetroEngines 130
HoverEngines 30
CorrEngines  15
TurnEngines  0.004
WarpBoostLog 11.2
Warpdrive    true
Aerodynamics true
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)}
Module  "Main"  { "tornado/shuttle_tornado.cfg" (0 0 1 0 0 1 0 0 -1 0 0 0 0 0 0 1) }
 
User avatar
tornadotodd
Space Pilot
Space Pilot
Posts: 118
Joined: 20 Dec 2017
Location: Oklahoma

Help with creating Mods and Addons

14 Jan 2018 12:21

Oh wow I did it!!!!  Guess what the problem was.. I was not giving it enough time to load the new model and just because I didn't see anything at fist within the fist 30 seconds I would exit and no files were made.. I let it run for a min and it stopped loading and boom it showed up and files are in place... Thank you very much. I am sure I will have more questions concerning coding in the future. One that I have that is not in the manual.. Where did you come up with this part of the code???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)}    Also how do you figure out Quat. when (0.70710678 0 -0.70710678 0) quat  is different from the manual.. And how do you manually make a materials library for future reference?
 
User avatar
ettore_bilbo
Space Pilot
Space Pilot
Posts: 109
Joined: 11 Nov 2016
Location: Italy

Help with creating Mods and Addons

14 Jan 2018 13:14

tornadotodd wrote:
Source of the post 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

tornadotodd wrote:
Source of the post  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.

tornadotodd wrote:
Source of the post 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.
 
User avatar
tornadotodd
Space Pilot
Space Pilot
Posts: 118
Joined: 20 Dec 2017
Location: Oklahoma

Help with creating Mods and Addons

14 Jan 2018 20:38

How do you rescale or resize an imported model in SE? can you do it in the sss file or have to go back into an editor itself?
 
User avatar
tRetro-Visor
Space Pilot
Space Pilot
Posts: 125
Joined: 03 Nov 2016
Location: Chile
Contact:

Help with creating Mods and Addons

14 Jan 2018 22:09

tornadotodd wrote:
How do you rescale or resize an imported model in SE? can you do it in the sss file or have to go back into an editor itself?

open the editor with shift+f2 and select module settings. at the bottom its the size settings, defined in the x, y, and z axis
 
User avatar
tornadotodd
Space Pilot
Space Pilot
Posts: 118
Joined: 20 Dec 2017
Location: Oklahoma

Help with creating Mods and Addons

15 Jan 2018 01:46

Thanks I got that one down a bit easier. Although I am learning that its much better to do it to scale before importing... I still have not figured out how to add the exhaust lighting though for the engines? is that a code thing and do I have to figure out the exact mesh location and specify code for that?
And is SE is done in meter scale correct? so when a ship in editor says length or in an ssc that in meter? 

Who is online

Users browsing this forum: No registered users and 1 guest