Jump to content

[Kopernicus] JebKeb's Planets Development


Guest

Recommended Posts

This is the official thread for the development of my Kopernicus mods, such as Proksolar, Vulkan and KompleteKolar. Thankyou for redirecting yourself.

On the subject of tutorials:

I shall be making one very soon.

Link to comment
Share on other sites

I have a problem. I can't load KSP 1.0.x with Kopernicus. It reaches the end of loading and sits there for ages. Thanks in advance.

Link to comment
Share on other sites

Figured out the last problem, but now, if I add an atmosphere to a planet it doens't show up. Here is the code for my planet:


@Kopernicus:AFTER[Kopernicus]
{
Body
{
name = Proksolar
flightGlobalsIndex = 9400
Properties
{
description = adas
radius = 10000000
geeASL = 5
rotationPeriod = 60000
rotates = true
tidallyLocked = false
initialRotation = 0
isHomeWorld = false
timewarpAltitudeLimits = 0 1000000 1000000 5000000 40000000 150000000 250000000 500000000
ScienceValues
{
landedDataValue = 20
splashedDataValue = 821039812093
flyingLowDataValue = 18
flyingHighDataValue = 14
inSpaceLowDataValue = 10
inSpaceHighDataValue = 6
flyingAltitudeThreshold = 200000
spaceAltitudeThreshold = 1000000
}
}
Orbit
{
referenceBody = Sun
inclination = 118
eccentricity = 0.35
semiMajorAxis = 21000000000
longitudeOfAscendingNode = 0
argumentOfPeriapsis = 0
meanAnomalyAtEpoch = 0
epoch = 0
color = 0.76078431372549019607843137254902,0.34117647058823529411764705882353,0,1
}
Atmosphere
{
ambientColor = 0.85882352941176470588235294117647,0,0.24313725490196078431372549019608,1
lightColor = 0.76862745098039215686274509803922,0.12941176470588235294117647058824,0,1
enabled = true
oxygen = false
altitude = 5000000
pressureCurve
{
key = 0 3000
key = 200000 100
key = 1000000 0.1
key = 5000000 0
}
temperatureCurve
{
key = 0 1200
key = 500000 1000
key = 1000000 10000
key = 3000000 1000000
key = 5000000 1200
}
}
ScaledVersion
{
type = atmospheric
fadeStart = 0.2
fadeEnd = 1
Material
{
texture = ProksolarSystem/Proksolar/Textures/Proksolar_color
shininess = 0
specular = 0,0,0,1
rimPower = 2.06
rimBlend = 0.3
Gradient
{
0 = 1,0,0.41568627450980392156862745098039,1
0.04 = 1,0.21568627450980392156862745098039,0,1
0.2 = 1,0.30196078431372549019607843137255,0,1
0.6 = 1,0.86666666666666666666666666666667,0,0.6
1 = 0.30196078431372549019607843137255,0.12549019607843137254901960784314,0,0.1
}
}
}
}
}

Link to comment
Share on other sites

Can I please have some help? I see no reason why it should mess up, so can someone help? Sorry if I sound whiny, but this thread's been pretty dead since I started it.

Link to comment
Share on other sites

I know, the atmosphere thing has to be directly underneath the Scaled version section, but above the PQS section.

Learned that today, actually.

So no worries, I can help out just a bit if you have any questions.

Link to comment
Share on other sites

I know, the atmosphere thing has to be directly underneath the Scaled version section, but above the PQS section.

Learned that today, actually.

So no worries, I can help out just a bit if you have any questions.

Thanks for solving the problem!

Why would differently ordered modules cause problems?

Link to comment
Share on other sites

Also, for future help you may want to post in the Kopernicus thread directly. You're likely to get way more help that way as it is frequented by more people.

Oh and as for your problem, are you not using a template? I don't recommend doing that unless you really know what you are doing.

Edited by Borisbee
Link to comment
Share on other sites

It still doesn't work. What's happening?


@Kopernicus:AFTER[Kopernicus]
{
Body
{
name = Proksolar
flightGlobalsIndex = 9400
Properties
{
description = adas
radius = 10000000
geeASL = 5
rotationPeriod = 60000
rotates = true
tidallyLocked = false
initialRotation = 0
isHomeWorld = false
timewarpAltitudeLimits = 0 1000000 1000000 5000000 40000000 150000000 250000000 500000000
ScienceValues
{
landedDataValue = 20
splashedDataValue = 1
flyingLowDataValue = 18
flyingHighDataValue = 14
inSpaceLowDataValue = 10
inSpaceHighDataValue = 6
recoveryValue = 5
flyingAltitudeThreshold = 200000
spaceAltitudeThreshold = 1000000
}
}
Orbit
{
referenceBody = Sun
inclination = 118
eccentricity = 0.35
semiMajorAxis = 21000000000
longitudeOfAscendingNode = 0
argumentOfPeriapsis = 0
meanAnomalyAtEpoch = 0
epoch = 0
color = 0.76078431372549019607843137254902,0.34117647058823529411764705882353,0,1
}
ScaledVersion
{
type = atmospheric
fadeStart = 0.2
fadeEnd = 1
Material
{
texture = ProksolarSystem/Proksolar/Textures/Proksolar_color
shininess = 0
specular = 0,0,0,1
rimPower = 2.06
rimBlend = 0.3
Gradient
{
0 = 1,0,0.41568627450980392156862745098039,1
0.04 = 1,0.21568627450980392156862745098039,0,1
0.2 = 1,0.30196078431372549019607843137255,0,1
0.6 = 1,0.86666666666666666666666666666667,0,0.6
1 = 0.30196078431372549019607843137255,0.12549019607843137254901960784314,0,0.1
}
}
}
Atmosphere
{
ambientColor = 0.85882352941176470588235294117647,0,0.24313725490196078431372549019608,1
lightColor = 0.76862745098039215686274509803922,0.12941176470588235294117647058824,0,1
enabled = true
oxygen = false
altitude = 5000000
pressureCurve
{
key = 0 3000
key = 200000 100
key = 1000000 0.1
key = 5000000 0
}
temperatureCurve
{
key = 0 1200
key = 500000 1000
key = 1000000 10000
key = 3000000 1000000
key = 5000000 1200
}
}
}
}

- - - Updated - - -

No template.

Link to comment
Share on other sites

theres some minor errors. I suggest looking at one of the existing planet packs - OPm, Trans-Keptunian, New Horizons & Sentar Expansion, and work from those configs, might be easier to start off with thos stable configs and tweaking them to your needs.

Link to comment
Share on other sites

theres some minor errors. I suggest looking at one of the existing planet packs - OPm, Trans-Keptunian, New Horizons & Sentar Expansion, and work from those configs, might be easier to start off with thos stable configs and tweaking them to your needs.

What are the errors?

Link to comment
Share on other sites

JebKeb, try something like this:

@Kopernicus:AFTER[Kopernicus]
{
Body
{
name = Kinern
flightGlobalsIndex = 354

Orbit
{
referenceBody = Sun
inclination = 0
eccentricity = 0
semiMajorAxis = 91698080426
longitudeOfAscendingNode = 0
argumentOfPeriapsis = 0
meanAnomalyAtEpoch = 0
epoch = 0
color = 0.1,0.1,1,1
}

Properties
{
description = Kinern, a gas planet.
radius = 8000000
geeASL = 1.5
rotationPeriod = 36000
rotates = true
tidallyLocked = false
initialRotation = 0
isHomeWorld = false
timewarpAltitudeLimits = 0 30000 30000 60000 100000 300000 600000 800000

ScienceValues
{
landedDataValue = 8
splashedDataValue = 1
flyingLowDataValue = 5
flyingHighDataValue = 5
inSpaceLowDataValue = 7
inSpaceHighDataValue = 5
recoveryValue = 5
flyingAltitudeThreshold = 12000
spaceAltitudeThreshold = 140000
}
}

ScaledVersion
{
type = Atmospheric
fadeStart = 0
fadeEnd = 0

Material
{
// Common scaled space settings
texture = Astro'sPlanets/KinernSystem/Kinern/Textures/Kinern_color
shininess = 0
specular = 0.0,0.0,0.0,1.0

// Atmosphere settings
rimPower = 2.06
rimBlend = 0.3

// Atmosphere color ramp texture
Gradient
{
0.0 = 0.094,0.220,0.643,1
0.6 = 0.0549,0.0784,0.141,1
1.0 = 0.0196,0.0196,0.0596,1
}
}
}

Atmosphere
{
// effectively the ambient lighting color for all objects on the ground of this body (provides a slight tint)
ambientColor = 0.006,0.187,0.8,1

//
// shader.invWaveLength = Color( 1 / r^4, 1 / g^4, 1 / b^4, 0.5);
//
lightColor = 0.709,0.788,0.543,0

// General atmosphere settings
enabled = true
oxygen = false
altitude = 200000.0

// Atmosphere Pressure
// pressure (in atm) = multipler * e ^ -(altitude / (scaleHeight * 1000))
pressureCurve
{
key = 0 3000
key = 10000 2500
key = 150000 1000
key = 200000 0
}

// temperature Curve
temperatureCurve
{
key = -0.2385731 700
key = 99.73615 160
}
}
}
}

This is the config for a Gas giant/brown dwarf.

I'll update if I find errors in your config.

Update/Edit: Yeah, your orbital info should not be under Properties, but instead above it (for the ease of getting your orbit to be exactly where it's supposed to be).

If you need any help relating to this pack, I can help.

Edited by Astrofox
Link to comment
Share on other sites

Update/Edit: Yeah, your orbital info should not be under Properties, but instead above it (for the ease of getting your orbit to be exactly where it's supposed to be).

Thanks for the help. But why did it work with properties above orbit WITHOUT an atmosphere?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...