Page 51 of 69

Help with creating Mods and Addons

Posted: 12 Feb 2019 03:25
by Duke_Countu
Still no luck, this is all I get:

Help with creating Mods and Addons

Posted: 12 Feb 2019 03:29
by Duke_Countu
I can't find the edit post button so here is the screenshot I meant to post:

[img]https://cdn.discordapp.com/attachments/178908141730136064/544841834359160834/stillnoluck.PNG[/img]

Help with creating Mods and Addons

Posted: 12 Feb 2019 03:52
by Mosfet
Check if you're using straight quotes. If you're copying your code from the online manual, it's using curly quotes that unfortunately SE doesn't like.
All information regarding what's wrong can be somehow retrieved by looking at the console (tilde key) and in your se.log, you could use pastebin.com to upload it and share it here.

Help with creating Mods and Addons

Posted: 12 Feb 2019 04:03
by Duke_Countu
Well, your suggestion solved the naming problem, thnks.

Unfortunately it does not create the ship and no files have been generated, here is the log file:

https://pastebin.com/HN2qsLQe

Help with creating Mods and Addons

Posted: 12 Feb 2019 06:56
by JackDole
Duke_Countu wrote:
Source of the post Unfortunately it does not create the ship and no files have been generated,

Can you post your current .sss script and your .cfg script?

Help with creating Mods and Addons

Posted: 12 Feb 2019 07:10
by Duke_Countu
[quote="JackDole"][quote="Duke_Countu"][post]26932[/post] Unfortunately it does not create the ship and no files have been generated,[/quote]
Can you post your current .sss script and your .cfg script?[/quote]

Here os the .sss:

Name "Cobra"
Class "Starship"
Pack "40K"
Faction "ImperialNavy"
Length 0000.000
Offset (0 0 0)
Quat (1 0 0 0)
Mass 2000000
Albedo 0.1
Exposure 3
Color (1 1 1)MainEngines 30
RetroEngines 0
HoverEngines 0
CorrEngines 0.5
TurnEngines 0.002
WarpBoostLog 0
Hyperdrive false
Aerodynamics false
Module "Cobra Destroyer" { "40k/CobraDestroyer/CobraDestroyer.cfg" (-1 0 0 0 0 1 0 0 0 0 -1 0 5 15 0 1) }

According to the guide I don't have to create the cfg as Space Engine generates that for me the first time I build, or did I misread?

Help with creating Mods and Addons

Posted: 12 Feb 2019 10:16
by Mosfet
You are correct. Check also if your .obj file is right, triangulation of faces is important:

Image

This is what I used with Blender:

Help with creating Mods and Addons

Posted: 12 Feb 2019 12:05
by Duke_Countu
Thanks gamer, it seemed to work, I also changed the name of the .cfg specified in the .sss to match the .obj I exported

Help with creating Mods and Addons

Posted: 12 Feb 2019 23:57
by xingqiu1
Excuse me, how can we set or edit planets'orbits in SE so that they can move around their own equators? For example, the northern hemisphere is always day, the southern hemisphere is always night. How can we do that?

Help with creating Mods and Addons

Posted: 13 Feb 2019 01:07
by JackDole
xingqiu1 wrote:
Source of the post For example, the northern hemisphere is always day, the southern hemisphere is always night.

On this planet, the North Pole should always be day.
scr00210.jpg

The 'Obliquity' must be 90°, 'EqAscendNode' -90° so that the planet with the north pole points to the sun.
The 'Precession' must be the same as the orbital 'Period', in this case one year, but negative.
// Filename: NDSys.sc
// JackDole 2019.02.13 09:10:27

// Put this in 'addons\catalogs\planets'.

//------------------------------------------------------------------------------

Planet"Night & Day"
{
    ParentBody  "ND's Sun"
    Class       "Terra"
    
    Mass            1
    Radius          6186.06
    InertiaMoment   0.329762

    Oblateness      0.00300507
    
    RotationPeriod  24
    
    // Important !
    Obliquity       90
    EqAscendNode    -90
    Precession      -1

    Life
    {
        Class   "Organic"
        Type    "Multicellular"
        Biome   "Terrestrial"
        Panspermia "true"
    }

    Surface
    {
        BumpHeight      21.3977
        BumpOffset      12.7024
    }
    
    Ocean
    {
        Height          13.7024
    }
    
    NoRings         true
    
    Orbit
    {
        RefPlane        "ExtraSolar"
        SemiMajorAxis   1
        Period          1       // !
        Inclination     0
        Eccentricity    0
        Epoch           2451545
    }
}

//------------------------------------------------------------------------------

NDSys.sc
(1.13 KiB) Downloaded 47 times

The sun for the planet:
// Filename: NDSun.sc
// JackDole 2019.02.13 09:06:40

// Put in 'addons\catalogs\stars'

//------------------------------------------------------------------------------

Star    "ND's Sun"
{
    RA      0 22 42.00
    Dec     -71 07 25
    
    Dist    407.12
    
    Class       "G2 V"
    RadSol      1
    MassSol     1
}

//------------------------------------------------------------------------------

NDSun.sc
(430 Bytes) Downloaded 48 times

Help with creating Mods and Addons

Posted: 13 Feb 2019 01:21
by xingqiu1
JackDole wrote:
xingqiu1 wrote:
Source of the post For example, the northern hemisphere is always day, the southern hemisphere is always night.

On this planet, the North Pole should always be day. scr00210.jpg
The 'Obliquity' must be 90°, 'EqAscendNode' -90° so that the planet with the north pole points to the sun.
The 'Precession' must be the same as the orbital 'Period', in this case one year, but negative.
// Filename: NDSys.sc
// JackDole 2019.02.13 09:10:27

// Put this in 'addons\catalogs\planets'.

//------------------------------------------------------------------------------

Planet"Night & Day"
{
    ParentBody  "ND's Sun"
    Class       "Terra"
    
    Mass            1
    Radius          6186.06
    InertiaMoment   0.329762

    Oblateness      0.00300507
    
    RotationPeriod  24
    
    // Important !
    Obliquity       90
    EqAscendNode    -90
    Precession      -1

    Life
    {
        Class   "Organic"
        Type    "Multicellular"
        Biome   "Terrestrial"
        Panspermia "true"
    }

    Surface
    {
        BumpHeight      21.3977
        BumpOffset      12.7024
    }
    
    Ocean
    {
        Height          13.7024
    }
    
    NoRings         true
    
    Orbit
    {
        RefPlane        "ExtraSolar"
        SemiMajorAxis   1
        Period          1       // !
        Inclination     0
        Eccentricity    0
        Epoch           2451545
    }
}

//------------------------------------------------------------------------------

NDSys.sc
The sun for the planet:
// Filename: NDSun.sc
// JackDole 2019.02.13 09:06:40

// Put in 'addons\catalogs\stars'

//------------------------------------------------------------------------------

Star    "ND's Sun"
{
    RA      0 22 42.00
    Dec     -71 07 25
    
    Dist    407.12
    
    Class       "G2 V"
    RadSol      1
    MassSol     1
}

//------------------------------------------------------------------------------

NDSun.sc

thank you

Help with creating Mods and Addons

Posted: 13 Feb 2019 01:24
by xingqiu1
Everybody, somebody knows how to change the direction of the comet tail? For example, how to add a comet tail to a planet and make the comet tail perpendicular to the planet?

Help with creating Mods and Addons

Posted: 13 Feb 2019 11:01
by JackDole
xingqiu1 wrote:
Source of the post somebody knows how to change the direction of the comet tail?

I do not think that's possible.
In principle, it is the sun's radiation pressure that directs a comet tail away from the sun.
Planets have no radiation pressure.
Maybe it would be possible, if you change the 'comet_tail' shader.
But I do not know that.

Help with creating Mods and Addons

Posted: 14 Feb 2019 08:16
by xingqiu1
Everybody.how can we place the Arctic horizontally? For example, in the picture below, how can we place the map of the Arctic jet horizontally after reversing it, so that the position of the jet gas is horizontally to the right?

Image

Help with creating Mods and Addons

Posted: 14 Feb 2019 10:03
by JackDole
xingqiu1 wrote:
Source of the post how can we place the map of the Arctic jet horizontally after reversing it, so that the position of the jet gas is horizontally to the right?

Try these parameters for the planet.
    // Important !
    RotationPeriod  24
    Obliquity       90
    EqAscendNode    45
    Precession      -11.8622

Of course, this only works in an orbit around Jupiter.
scr00210.jpg