Jump to content

[1.8.1-1] [PLEASE FORK ME] Kopernicus & KittopiaTech


Thomas P.

Recommended Posts

I was trying to make an ocean planet from textures I made from PQS exports. I can't seem to get it make an actual liquid ocean. Here's what I have right now:

Spoiler

@Kopernicus:AFTER[KOPERNICUS] 
{
    Body
    {
        name = Lorien
        cacheFile = ERU/ERU_Configs/KopernicusConfigs/Lorien_cache.bin
        Template
        {
            name = Laythe //note that the atmosphere is the same as Laythe's so far.
            removeAllPQSMods = true
            removeOcean = true
        }
        Properties
        {
            description = A habitable waterworld. It is definitely not inhabited by elves!
            radius = 493000
            geeASL = 0.586905
            rotates = true
            rotationPeriod = 3600
            tidallyLocked = false
            inverseRotation = false
            timeWarpAltitudeLimits = 40000 40000 40000 60000 95000 150000 220000 300000
            ScienceValues
            {
                landedDataValue = 30
                flyingLowDataValue = 29
                flyingHighDataValue = 27
                inSpaceLowDataValue = 26
                inSpaceHighDataValue = 24
                recoveryValue = 38
                flyingAltitudeThreshold = 20000
                spaceAltitudeThreshold =  208000                
            }
        }
        ScaledVersion
        {
            type = Atmospheric
            fadeStart = 45000
            fadeEnd = 48000
            Material
            {    
                texture = ERU/PlanetTextures/Lorien/Lorien_Color
                normals = ERU/PlanetTextures/Lorien/Lorien_Normal
                Gradient
                {
                    0.0 = 0.113,0.116,0.9,1
                    0.5 = 0.055,0.054,0.55,1
                    1.0 = 0.0196,0.0196,0.0196,1.0
                }
                rimPower = 2.4
                rimBlend = 1.05
                shininess = 0.2
                specular = 0.5,0.5,0.5,1
            }
        }
        Orbit
        {
            referenceBody = Sun
            color = 0.113,0.116,0.7,1
            inclination = 1.3334
            eccentricity = 0.048600541
            semiMajorAxis = 12000000000
            longitudeOfAscendingNode = 180
            argumentOfPeriapsis = 0
            meanAnomalyAtEpoch = 0
            epoch = 0
        }
        PQS
        {
            Mods
            {
                VertexHeightOffset
                {
                    offset = -800
                    enabled = true
                    order = 26
                }
                FlattenOcean
                {
                    oceanRadius = 1
                    order = 25
                    enabled = true
                }
                VertexHeightMap
                {
                    enabled = true
                    map = ERU/PlanetTextures/Lorien/Lorien_Height.png
                    deformity = 5000
                    order = 6
                }
                VertexColorMap
                {
                    enabled = true
                    map = ERU/PlanetTextures/Lorien/Lorien_Color.png
                    order = 7
                }
                VertexHeightNoise
                {
                    type = RiggedMultiFractal
                    seed = 9238467
                    deformity = 5000
                    frequency = 1.5
                    luncarity = 3.0
                    persistance = 5.0
                    octaves = 3
                    enabled = true
                    order = 1
                }
                VertexSimplexHeightAbsolute
                {
                    name = Hills
                    seed = 192874
                    deformity = 60 
                    octaves = 8
                    persistence = 0.5
                    frequency = 6
                    enabled = true
                    order = 3
                }
                VertexSimplexHeightAbsolute
                {
                    name = Mountains
                    seed = 5739293
                    deformity = 2000
                    octaves = 6
                    persistence = 0.3
                    frequency = 6
                    enabled = true
                    order = 4
                }
                HeightColorMap
                {
                    blend = 0.1
                    enabled = true
                    order = 5
                    LandClasses
                    {
                        Class
                        {
                            name = BelowSea
                            altitudeStart = 0
                            altitudeEnd = 0.8
                            color = 0.3,0.4,0.8,1.0
                            lerpToNext = false
                        }
                        Class
                        {
                            name = Midlands
                            altitudeStart = 0.8
                            altitudeEnd = 1.3
                            color = 0.3,0.7,0.3,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = Mountains
                            altitudeStart = 1.3
                            altitudeEnd = 2.0
                            color = 0.7,0.7,0.7,1.0
                            lerpToNext = false
                        }
                    }
                }
            }  
        }
    }
}
 

The result looks like this:

Looks a little cheesy right now, but I'm going to edit the color texture as soon as I get the ocean working.

Am I missing something in the config?

Link to comment
Share on other sites

Just installed KSS and Kopernicus just as the instructions said, but when I want to create a new game or even just click on "Settings" tab in the menu, the game goes into an infinite black loading screen with the loading text on the right bottom corner. I googled a little bit and found out that the issue lies within Kopernicus and that multiple people have had it and it's apparently a known bug.
So people suggested I should delete the settings.cfg and generate a new one... didn't help. People also said I should update to the newest version of Kopernicus... already running the latest version via CKAN.
What can I do to solve this?

 

Link to comment
Share on other sites

On 26.7.2017 at 6:14 PM, UranianBlue said:

Maybe the next Kopernicus update should include ways to tilt planets.

Haha, that's a good one.

It's not possible to do this without replacing celestial body and vessel orbit logic entirely (like Principia does). KSP assumes that all bodies have a fixed axial tilt. It is possible to change how the planet rotates, but for example a vessel that is landed on the surface would still moves, because it doesnt know that the planet is tilted (so the planet rotates below the vessel). If it would be possible I would implement it, but it simply isn't.

Link to comment
Share on other sites

@Thomas P. @The White Guardian @Sigma88 I broke Trappist-1b. You know the drill...

Config:

Spoiler

@Kopernicus:AFTER[Kopernicus]
{
    Body
    {
		name = Theros
		cacheFile = IA_Revived/TRAPPIST-1System/Theros/Cache/Theros.bin

		Template
        {
            name = Duna
			removeAllPQSMods = true
        }

		Orbit
		{
            referenceBody = TRAPPIST-1
            inclination = 0.1
            eccentricity = 0.03
            semiMajorAxis = 1.66e+08
            longitudeOfAscendingNode = 90
            argumentOfPeriapsis = 0
            meanAnomalyAtEpoch = 0
            epoch = 0
            color = 1,0.7,0.0,1
		}
		Properties
		{
            description = Theros, aka TRAPPIST-1b, was the first planet found in the TRAPPIST-1 system and was found to have an atmosphere two days after its discovery. It was originally thought to be habitable due to sheer media hype, but those claims were later debunked...until detailed observations showed that Theros DID have life. A huge portion of the planet's mass is water, and thanks to volcanoes, the ingredients of life have come together into odd sulfur-based bacterium.
            radius = 691891
			mass = 4.71788e+22
			rotationPeriod = 33249.5612
			rotates = true
			tidallyLocked = true
			initialRotation = 0
			isHomeWorld = false
			timewarpAltitudeLimits = 0 50000 50000 50000 64000 75000 86000 99000
			
			ScienceValues
			{
				landedDataValue = 41
				splashedDataValue = 41
				flyingLowDataValue = 40
				flyingHighDataValue = 39
				inSpaceLowDataValue = 37
				inSpaceHighDataValue = 36
				recoveryValue = 37.5
				flyingAltitudeThreshold = 50000
				spaceAltitudeThreshold = 100000
			}
		}
		Atmosphere
		{
            ambientColor = RGBA(240,209,141,255)
			lightColor = RGBA(231,207,156,225)
            enabled = true
            oxygen = false
			altitude = 50000
			pressureCurveIsNormalized = False
			staticPressureASL = 66.460
			temperatureSeaLevel = 442
			pressureCurve
			{
				key = 0 66.460 0 -0.0007
				key = 12000 2.375-0.000223 -0.000223
				key = 20000 0.241 -4.22E-05 -4.22E-05
				key = 35000 0.085 -2.787075E-06 -2.787075E-06
				key = 50000 0 0 0
			}
			temperatureCurve
			{
				key = 0 442 0 -0.0004261126
				key = 1000 430.1 -0.000573325 -0.000573325
				key = 25000 400.1 -0.001877083 -0.001877083
				key = 30000 399 0 0
				key = 45000 420 0 0
				key = 50000 300 0.003746914 0
			}
			temperatureLatitudeBiasCurve
			{
				key = 0 20 0 -0.0957164
				key = 50 0 -0.950278 -0.950278
				key = 70 -30 -1.955704 -1.955704
				key = 90 -50 -0.02418368 0
			}
			AtmosphereFromGround
			{
				waveLength = 0.3089887,0.5114341,0.8033707,0
			}
		}
		
        PQS
        {
            maxQuadLengthsPerFrame = 0.03
            minLevel = 2
            maxLevel = 12
            minDetailDistance = 8
            // Custom PQS material
            materialType = AtmosphericOptimized
            Material
            {
                saturation = 1
                contrast = 1.5
                tintColor = 1.000,1.000,1.000,0.000
                powerNear = 0.6
                powerFar = 0.2
                groundTexStart = 0
                groundTexEnd = 1000
                steepPower = 2
                steepTexStart = 0
                steepTexEnd = 50000
                steepTex = CTTP/Textures/cracked
                steepBumpMap = CTTP/Textures/cracked_normal
                steepNearTiling = 8000
                steepTiling = 500
                lowTex = CTTP/Textures/cracked
                lowBumpMap = CTTP/Textures/cracked_normal
                lowNearTiling = 2000
                lowMultiFactor = 10
                lowBumpNearTiling = 2000
                lowBumpFarTiling = 10
                midTex = CTTP/Textures/cracked
                midBumpMap = CTTP/Textures/cracked_normal
                midNearTiling = 4000
                midMultiFactor = 10
                midBumpNearTiling = 8000
                midBumpFarTiling = 10
                highTex = CTTP/Textures/cracked
                highBumpMap = CTTP/Textures/cracked_normal
                highNearTiling = 4000
                highMultiFactor = 10
                highBumpNearTiling = 4000
                highBumpFarTiling = 10
                lowStart = 0
                lowEnd = 0.3
                highStart = 0.8
                highEnd = 1
                globalDensity = -5E-06
                fogColorRamp = BUILTIN/desert_atmogradient
			}
            Mods
			{
				VertexSimplexHeightAbsolute
				{
					deformity = 500
					frequency = 15
					octaves = 6
					persistence = 0.5
					seed = 4234532
					order = 30
					enabled = True
					name = _FineDetail
					index = 0
				}
				VertexSimplexHeight
				{
					deformity = 400
					frequency = 25
					octaves = 8
					persistence = 0.550000011920929
					seed = 12435453
					order = 11
					enabled = True
					name = _HeightNoise
					index = 0
				}
				VertexHeightNoiseVertHeightCurve2
				{
					deformity = 5000
					ridgedAddFrequency = 24
					ridgedAddLacunarity = 2
					ridgedAddOctaves = 2
					ridgedAddSeed = 1968186156
					ridgedMode = Low
					ridgedSubFrequency = 24
					ridgedSubLacunarity = 2
					ridgedSubOctaves = 2
					ridgedSubSeed = 484009382
					simplexFrequency = 24
					simplexHeightEnd = 5000
					simplexHeightStart = 250
					simplexOctaves = 4
					simplexPersistence = 0.600000023841858
					simplexSeed = 661000047
					order = 12
					enabled = True
					name = _HeightNoise
					index = 0
					simplexCurve
					{
						key = 0 0 0 0
						key = 1 1 2 2
					}
				}
                VoronoiCraters
                {
                    deformation = 4000
                    voronoiSeed = 9912451
                    voronoiDisplacement = 0
                    voronoiFrequency = 1.3
					CraterCurve
					{
						key = -0.9982381 -0.741178 -0.4099868 -0.4099868
						key = -0.9332262 -0.767832 3.078513 3.078513
						key = -0.8990405 -0.543334 11.04789 11.04789
						key = -0.7445966 1.854991 6.299723 6.299723
						key = -0.4015177 0.85 -4.159815 -4.159815
						key = -0.2297457 0.4 -1.548222 -1.548222
						key = 0.2724952 0.004238 -0.3350353 -0.3350353
						key = 0.9998434 0.004091 -0.000202104 -0.000202104
					}
                    simplexSeed = 116457
                    simplexOctaves = 9
                    simplexPersistence = 0.5
                    simplexFrequency = 120
                    jitter = 0
                    jitterHeight = 1
                    rFactor = 1
                    rOffset = 1
                    colorOpacity = 0.2
                    DebugColorMapping = false
                    enabled = true
                    order = 100
                }
				HeightColorMap
				{
					blend = 0.7
					order = 201
					enabled = True
					name = _Color
					index = 0
					LandClasses
					{
						Class
						{
							name = AbyPl
							color = 1,0,0,1
							altitudeStart = 0
							altitudeEnd = 0.6
							lerpToNext = True
							delete = False
						}
						Class
						{
							name = Beach
							color = 0,1,0,1
							altitudeStart = 0.6
							altitudeEnd = 0.7
							lerpToNext = True
							delete = False
						}
						Class
						{
							name = Beach2
							color = 0,0,1,1
							altitudeStart = 0.7
							altitudeEnd = 0.85
							lerpToNext = True
							delete = False
						}
						Class
						{
							name = Meow
							color = 1,1,1,1
							altitudeStart = 0.85
							altitudeEnd = 1
							lerpToNext = False
							delete = False
						}
					}
				}
			}
		}
	}
}

 

Output log:

Spoiler

//===============================================================================================================//
//=====  Kopernicus 1.3.0-2 - (BuildDate: 30.05.2017 15:47:01; AssemblyHash: E+WSVBMBJeWSff7wEYRQXdZAzIs=)  =====//
//===============================================================================================================//
[LOG 17:40:30]: Logger "Theros.Body" was created
[LOG 17:40:30]: Parsing Target name in (Kopernicus.Configuration.Body) as (System.String)
[LOG 17:40:30]: Parsing Target Template in (Kopernicus.Configuration.Body) as (Kopernicus.Configuration.TemplateLoader)
[LOG 17:40:30]: Parsing Target name in (Kopernicus.Configuration.TemplateLoader) as (System.String)
[LOG 17:40:30]: Parsing Target removePQS in (Kopernicus.Configuration.TemplateLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target removeAtmosphere in (Kopernicus.Configuration.TemplateLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target removeOcean in (Kopernicus.Configuration.TemplateLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target removePQSMods in (Kopernicus.Configuration.TemplateLoader) as (Kopernicus.StringCollectionParser)
[LOG 17:40:30]: Parsing Target removeAllPQSMods in (Kopernicus.Configuration.TemplateLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target removeProgressTree in (Kopernicus.Configuration.TemplateLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target removeCoronas in (Kopernicus.Configuration.TemplateLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: [Kopernicus]: Configuration.Template: Using Template "Duna"
[LOG 17:40:30]: Removing mods from pqs Duna
[LOG 17:40:30]: Creating blacklist
[LOG 17:40:30]: Blacklist count = 4
[LOG 17:40:30]: Adding all found PQSMods in pqs Duna
[LOG 17:40:30]: Adding to removelist: PQSMod_VertexHeightMap
[LOG 17:40:30]: Adding to removelist: PQSMod_VertexSimplexHeightAbsolute
[LOG 17:40:30]: Adding to removelist: PQSMod_VertexHeightNoiseVertHeightCurve2
[LOG 17:40:30]: Adding to removelist: PQSMod_AltitudeAlpha
[LOG 17:40:30]: Adding to removelist: PQSLandControl
[LOG 17:40:30]: Adding to removelist: PQSMod_VertexColorMapBlend
[LOG 17:40:30]: Adding to removelist: PQSMod_VertexSimplexNoiseColor
[LOG 17:40:30]: Adding to removelist: PQSMod_AerialPerspectiveMaterial
[LOG 17:40:30]: Adding to removelist: PQSCity
[LOG 17:40:30]: Adding to removelist: PQSMod_MapDecal
[LOG 17:40:30]: Removed mod PQSMod_VertexHeightMap
[LOG 17:40:30]: Removed mod PQSMod_VertexSimplexHeightAbsolute
[LOG 17:40:30]: Removed mod PQSMod_VertexHeightNoiseVertHeightCurve2
[LOG 17:40:30]: Removed mod PQSMod_VertexHeightNoiseVertHeightCurve2
[LOG 17:40:30]: Removed mod PQSMod_VertexHeightNoiseVertHeightCurve2
[LOG 17:40:30]: Removed mod PQSMod_AltitudeAlpha
[LOG 17:40:30]: Removed mod PQSLandControl
[LOG 17:40:30]: Removed mod PQSMod_VertexColorMapBlend
[LOG 17:40:30]: Removed mod PQSMod_VertexSimplexNoiseColor
[LOG 17:40:30]: Removed mod PQSMod_AerialPerspectiveMaterial
[LOG 17:40:30]: Removed mod PQSCity
[LOG 17:40:30]: Removed mod PQSCity
[LOG 17:40:30]: Removed mod PQSCity
[LOG 17:40:30]: Removed mod PQSCity
[LOG 17:40:30]: Removed mod PQSMod_MapDecal
[LOG 17:40:30]: Parsing Target cacheFile in (Kopernicus.Configuration.Body) as (System.String)
[LOG 17:40:30]: Parsing Target cbNameLater in (Kopernicus.Configuration.Body) as (System.String)
[LOG 17:40:30]: Parsing Target flightGlobalsIndex in (Kopernicus.Configuration.Body) as (Kopernicus.NumericParser`1[System.Int32])
[LOG 17:40:30]: Parsing Target finalizeOrbit in (Kopernicus.Configuration.Body) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target randomMainMenuBody in (Kopernicus.Configuration.Body) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target Properties in (Kopernicus.Configuration.Body) as (Kopernicus.Configuration.PropertiesLoader)
[LOG 17:40:30]: Parsing Target description in (Kopernicus.Configuration.PropertiesLoader) as (System.String)
[LOG 17:40:30]: Parsing Target radius in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target geeASL in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target mass in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target gravParameter in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target rotates in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target rotationPeriod in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target tidallyLocked in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target initialRotation in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target inverseRotThresholdAltitude in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target albedo in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target emissivity in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target coreTemperatureOffset in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target isHomeWorld in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target timewarpAltitudeLimits in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericCollectionParser`1[System.Single])
[LOG 17:40:30]: Parsing Target sphereOfInfluence in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target hillSphere in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target solarRotationPeriod in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target navballSwitchRadiusMult in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target navballSwitchRadiusMultLow in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target ScienceValues in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.Configuration.ScienceValuesLoader)
[LOG 17:40:30]: Parsing Target landedDataValue in (Kopernicus.Configuration.ScienceValuesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target splashedDataValue in (Kopernicus.Configuration.ScienceValuesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target flyingLowDataValue in (Kopernicus.Configuration.ScienceValuesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target flyingHighDataValue in (Kopernicus.Configuration.ScienceValuesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target inSpaceLowDataValue in (Kopernicus.Configuration.ScienceValuesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target inSpaceHighDataValue in (Kopernicus.Configuration.ScienceValuesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target recoveryValue in (Kopernicus.Configuration.ScienceValuesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target flyingAltitudeThreshold in (Kopernicus.Configuration.ScienceValuesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target spaceAltitudeThreshold in (Kopernicus.Configuration.ScienceValuesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target biomeMap in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.Configuration.MapSOParser_RGB`1[CBAttributeMapSO])
[LOG 17:40:30]: Parsing Target nonExactThreshold in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Parsing Target exactSearch in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target useTheInName in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target displayName in (Kopernicus.Configuration.PropertiesLoader) as (System.String)
[LOG 17:40:30]: Parsing Target selectable in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target RDVisibility in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.EnumParser`1[Kopernicus.Configuration.PropertiesLoader+RDVisibility])
[LOG 17:40:30]: Parsing Target maxZoom in (Kopernicus.Configuration.PropertiesLoader) as (Kopernicus.NumericParser`1[System.Single])
[LOG 17:40:30]: Via mass, set gravParam to 3148750855040, surface G to 0.670721549651867
[LOG 17:40:30]: --------- Science Values ------------
[LOG 17:40:30]: LandedDataValue = 41
[LOG 17:40:30]: SplashedDataValue = 41
[LOG 17:40:30]: FlyingLowDataValue = 40
[LOG 17:40:30]: FlyingHighDataValue = 39
[LOG 17:40:30]: InSpaceLowDataValue = 37
[LOG 17:40:30]: InSpaceHighDataValue = 36
[LOG 17:40:30]: RecoveryValue = 37.5
[LOG 17:40:30]: flyingAltitudeThreshold = 50000
[LOG 17:40:30]: spaceAltitudeThreshold = 100000
[LOG 17:40:30]: --------------------------------------
[LOG 17:40:30]: Found Biome: Poles : RGBA(1.000, 1.000, 1.000, 1.000) : 0
[LOG 17:40:30]: Found Biome: Midlands : RGBA(0.988, 0.549, 0.349, 1.000) : 0
[LOG 17:40:30]: Found Biome: Lowlands : RGBA(0.914, 0.416, 0.192, 1.000) : 0
[LOG 17:40:30]: Found Biome: Craters : RGBA(0.718, 0.396, 0.004, 1.000) : 0
[LOG 17:40:30]: Found Biome: Highlands : RGBA(1.000, 0.667, 0.514, 1.000) : 0
[LOG 17:40:30]: Found Biome: Midland Sea : RGBA(1.000, 0.569, 0.008, 1.000) : 0
[LOG 17:40:30]: Found Biome: Northern Basin : RGBA(0.710, 0.161, 0.133, 1.000) : 0
[LOG 17:40:30]: Found Biome: Southern Basin : RGBA(0.824, 0.290, 0.263, 1.000) : 0
[LOG 17:40:30]: Found Biome: Northern Shelf : RGBA(0.580, 0.071, 0.043, 1.000) : 0
[LOG 17:40:30]: Found Biome: Midland Canyon : RGBA(0.733, 0.345, 0.035, 1.000) : 0
[LOG 17:40:30]: Found Biome: Eastern Canyon : RGBA(0.600, 0.267, 0.000, 1.000) : 0
[LOG 17:40:30]: Found Biome: Western Canyon : RGBA(0.435, 0.192, 0.000, 1.000) : 0
[LOG 17:40:30]: Found Biome: Polar Highlands : RGBA(0.902, 0.902, 0.902, 1.000) : 0
[LOG 17:40:30]: Found Biome: Polar Craters : RGBA(0.745, 0.745, 0.745, 1.000) : 0
[LOG 17:40:30]: Added Progress Tree
[LOG 17:40:30]: Parsing Target Orbit in (Kopernicus.Configuration.Body) as (Kopernicus.Configuration.OrbitLoader)
[LOG 17:40:30]: Parsing Target referenceBody in (Kopernicus.Configuration.OrbitLoader) as (System.String)
[LOG 17:40:30]: Parsing Target inclination in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target eccentricity in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target semiMajorAxis in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target longitudeOfAscendingNode in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target argumentOfPeriapsis in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target meanAnomalyAtEpoch in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target meanAnomalyAtEpochD in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target epoch in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target color in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.ColorParser)
[LOG 17:40:30]: Parsing Target iconColor in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.ColorParser)
[LOG 17:40:30]: Parsing Target mode in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.EnumParser`1[OrbitRenderer+DrawMode])
[LOG 17:40:30]: Parsing Target icon in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.EnumParser`1[OrbitRenderer+DrawIcons])
[LOG 17:40:30]: Parsing Target cameraSmaRatioBounds in (Kopernicus.Configuration.OrbitLoader) as (Kopernicus.NumericCollectionParser`1[System.Single])
[LOG 17:40:30]: Parsing Target ScaledVersion in (Kopernicus.Configuration.Body) as (Kopernicus.Configuration.ScaledVersionLoader)
[LOG 17:40:30]: Parsing Target Atmosphere in (Kopernicus.Configuration.Body) as (Kopernicus.Configuration.AtmosphereLoader)
[LOG 17:40:30]: Parsing Target enabled in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target addAFG in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target oxygen in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.NumericParser`1[System.Boolean])
[LOG 17:40:30]: Parsing Target staticDensityASL in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target adiabaticIndex in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target maxAltitude in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target altitude in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target atmosphereDepth in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target gasMassLapseRate in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target atmosphereMolarMass in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.NumericParser`1[System.Double])
[LOG 17:40:30]: Parsing Target pressureCurve in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.FloatCurveParser)
[LOG 17:40:30]: Exception Was Recorded: Unknown char: -
  at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in <filename unknown>:0 
  at System.Single.Parse (System.String s) [0x00000] in <filename unknown>:0 
  at FloatCurve.Load (.ConfigNode node) [0x00000] in <filename unknown>:0 
  at Kopernicus.FloatCurveParser.Kopernicus.IParserEventSubscriber.Apply (.ConfigNode node) [0x00000] in <filename unknown>:0 
  at Kopernicus.Parser.LoadObjectFromConfigurationNode (System.Object o, .ConfigNode node, System.String modName, Boolean getChilds) [0x00000] in <filename unknown>:0 
  at Kopernicus.Parser.CreateObjectFromConfigNode (System.Type type, .ConfigNode node, System.String modName, Boolean getChilds) [0x00000] in <filename unknown>:0 
  at Kopernicus.Parser.LoadObjectMemberFromConfigurationNode (System.Reflection.MemberInfo member, System.Object o, .ConfigNode node, System.String modName, Boolean getChilds) [0x00000] in <filename unknown>:0 
  at Kopernicus.Parser.LoadObjectFromConfigurationNode (System.Object o, .ConfigNode node, System.String modName, Boolean getChilds) [0x00000] in <filename unknown>:0 
  at Kopernicus.Parser.CreateObjectFromConfigNode (System.Type type, .ConfigNode node, System.String modName, Boolean getChilds) [0x00000] in <filename unknown>:0 
  at Kopernicus.Parser.LoadObjectMemberFromConfigurationNode (System.Reflection.MemberInfo member, System.Object o, .ConfigNode node, System.String modName, Boolean getChilds) [0x00000] in <filename unknown>:0 
  at Kopernicus.Parser.LoadObjectFromConfigurationNode (System.Object o, .ConfigNode node, System.String modName, Boolean getChilds) [0x00000] in <filename unknown>:0 
  at Kopernicus.Configuration.Loader.Kopernicus.IParserEventSubscriber.PostApply (.ConfigNode node) [0x00000] in <filename unknown>:0 
 

I've already taken a look at both files and I can't figure out what went wrong. This time, it definitely was not by accidentally putting a "." when there should've been a comma.

Link to comment
Share on other sites

@ProtoJeb21 why are you using 1.3.0-2 instead of the latest release?

 

also, the error is in the pressure curve

[LOG 17:40:30]: Parsing Target pressureCurve in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.FloatCurveParser)
[LOG 17:40:30]: Exception Was Recorded: Unknown char: -

 

also, please don't post logs directly into the forum comments, it breaks the forums

 

 

you lost a space in the pressure curve

 

key = 12000 2.375-0.000223 -0.000223

Edited by Sigma88
Link to comment
Share on other sites

10 minutes ago, Sigma88 said:

@ProtoJeb21 why are you using 1.3.0-2 instead of the latest release?

 

also, the error is in the pressure curve


[LOG 17:40:30]: Parsing Target pressureCurve in (Kopernicus.Configuration.AtmosphereLoader) as (Kopernicus.FloatCurveParser)
[LOG 17:40:30]: Exception Was Recorded: Unknown char: -

 

also, please don't post logs directly into the forum comments, it breaks the forums

 

 

you lost a space in the pressure curve

 

key = 12000 2.375-0.000223 -0.000223

Okay, thanks for the help. But...how did I miss ANOTHER Kopernicus update?

Link to comment
Share on other sites

I cloned and compiled the Github HEAD in the hopes of doing some dev on it, but when I run this version, I get lots of exceptions in the log:

[LOG 14:53:49.809] [Kopernicus]: Post-Spawn
[ERR 14:53:49.810] Exception handling event OnPSystemReady in class Injector:System.NullReferenceException: Object reference not set to an instance of an object
  at Kopernicus.Injector.PostSpawnFixups () [0x00000] in <filename unknown>:0 
  at EventVoid.Fire () [0x00000] in <filename unknown>:0 

[EXC 14:53:49.812] NullReferenceException: Object reference not set to an instance of an object
        Kopernicus.Injector.PostSpawnFixups ()
        EventVoid.Fire ()
        UnityEngine.Debug:LogException(Exception)
        EventVoid:Fire()
       :MoveNext()
        UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
[LOG 14:53:49.823] [UIMasterController]: HideUI
[LOG 14:53:49.826] [HighLogic]: =========================== Scene Change : From LOADING to MAINMENU =====================
...
[LOG 14:53:56.738] [HighLogic]: =========================== Scene Change : From MAINMENU to SPACECENTER (Async) =====================
[EXC 14:53:56.739] NullReferenceException: Object reference not set to an instance of an object
        Kopernicus.StarComponent.IsActiveStar ()
        Kopernicus.StarLightSwitcher.Update ()
[LOG 14:53:56.876] [AddonLoader]: Instantiating addon 'AtmosphereFixer' from assembly 'Kopernicus'
[LOG 14:53:56.876] [UIMasterController]: HideUI
[EXC 14:53:57.084] NullReferenceException: Object reference not set to an instance of an object
        Kopernicus.StarComponent.IsActiveStar ()
        Kopernicus.StarLightSwitcher.Update ()
[EXC 14:53:57.085] NullReferenceException: Object reference not set to an instance of an object
        Kopernicus.StarComponent.IsActiveStar ()
        Kopernicus.StarLightSwitcher.Update ()
...
[LOG 14:54:00.537] [OD] <--- ScaledSpaceDemand.UnloadTextures destroying snowydwarfplanet00 and snowydwarfplanet01
[EXC 14:54:00.691] NullReferenceException: Object reference not set to an instance of an object
        Kopernicus.StarComponent.IsActiveStar ()
        Kopernicus.StarLightSwitcher.Update ()
[EXC 14:54:00.699] NullReferenceException: Object reference not set to an instance of an object
        GalaxyCubeControl.Update ()
[ERR 14:54:00.717] [SurfaceObject]: Cannot return to original parent, it no longer exists.
...
[LOG 14:54:00.747] [UIApp] OnDestroy: ContractsApp
[EXC 14:54:00.803] NullReferenceException: Object reference not set to an instance of an object
        Kopernicus.StarComponent.IsActiveStar ()
        Kopernicus.StarLightSwitcher.Update ()
[EXC 14:54:00.803] NullReferenceException: Object reference not set to an instance of an object
        GalaxyCubeControl.Update ()
[LOG 14:54:00.803] [MessageSystem] Reposition 0.02 6923
[EXC 14:54:00.881] NullReferenceException: Object reference not set to an instance of an object
        Kopernicus.StarComponent.IsActiveStar ()
        Kopernicus.StarLightSwitcher.Update ()
[EXC 14:54:00.881] NullReferenceException: Object reference not set to an instance of an object
        GalaxyCubeControl.Update ()

Is this a known issue? Am I missing some piece? The list of files in GameData/Kopernicus is identical to when I run the 1.3.0-4 release, which doesn't cause these exceptions.

Mods installed:

  • ModuleManager 2.8.1
  • Self-compiled Kopernicus (HEAD, Release version)
  • Self-compiled ModularFlightIntegrator from Kopernicus folder (HEAD, Release version)
  • Rings Example from KopernicusExamples (which works fine)
Link to comment
Share on other sites

I downloaded Kscale2, sigma and MFI 2 times. Doesn't seem to work ( the Set orbit widget is at 68750 for kerbin not 130000 like it was) so I don't think it's working, yet has in the past on this install, worked perfectly fine in 1.2.2. Logs: https://www.dropbox.com/s/hllrp1nlqp21e26/Kerbin.Body.log?dl=0 https://www.dropbox.com/s/3rj2rv3zy7yvj70/KSP.log?dl=0 https://www.dropbox.com/s/6eyex4u2ivy8d9t/Kopernicus.log?dl=0

Gamedata: http://imgur.com/a/ETlDo

@Thomas P.

Link to comment
Share on other sites

On 7/25/2017 at 1:03 PM, JadeOfMaar said:

But then I got the reminder... Kopernicus only reads a 1px high row from the texture so I got epic banding like on this.

It's not quite a row; it's a thin diagonal strip from one corner of the texture to the opposite corner (Uvs is the list of texture coordinates, Vector2.zero is (0,0), Vector2.one is (1,1)):

https://github.com/Kopernicus/Kopernicus/blob/master/Kopernicus/Kopernicus.Components/Ring.cs#L88-L93

On 7/25/2017 at 1:40 PM, Sigma88 said:

As far as I can tell this is not an issue with kopernicus but an issue with the shaders used by kopernicus.

The ring shaders may or may not be perfect, but the above loop in Kopernicus would need a few changes to make use of the whole texture.

Link to comment
Share on other sites

37 minutes ago, Kerbal01 said:

I downloaded Kscale2, sigma and MFI 2 times. Doesn't seem to work ( the Set orbit widget is at 68750 for kerbin not 130000 like it was) so I don't think it's working, yet has in the past on this install, worked perfectly fine in 1.2.2. Logs: https://www.dropbox.com/s/hllrp1nlqp21e26/Kerbin.Body.log?dl=0 https://www.dropbox.com/s/3rj2rv3zy7yvj70/KSP.log?dl=0 https://www.dropbox.com/s/6eyex4u2ivy8d9t/Kopernicus.log?dl=0

Gamedata: http://imgur.com/a/ETlDo

@Thomas P.

It's KScale2. Last I looked at his sigma cfgs, the dev doesn't seem to know how to use MM. In fact, he doesn't use MM in his cfg at all. And he doesn't make his cfg overwrite the default sigma settings. So basically, you have 2 sigma setting cfgs and they probably aren't working properly together. This may have not been an issue in the past, but the latest SD might not allow that. 

Edited by Galileo
Link to comment
Share on other sites

Just now, Galileo said:

It's KScale2. Last I looked at his sigma cfgs, the dev doesn't seem to know how to use MM. In fact, he doesn't use MM in his cfg. So basically, you have 2 sigma setting cfgs and they probably aren't working properly together

What do I do then? Thanks for the response.

Link to comment
Share on other sites

On 7/25/2017 at 1:03 PM, JadeOfMaar said:

@GalileoBut then I got the reminder... Kopernicus only reads a 1px high row from the texture so I got epic banding like on this.

I'm not gonna ask that Kopernicus gain a feature or update to allow this. But I thought I'd simply share my little misadventure as a budding texture modder and perform more Inception on everyone. :) 

On 8/1/2017 at 1:56 PM, HebaruSan said:

The ring shaders may or may not be perfect, but the above loop in Kopernicus would need a few changes to make use of the whole texture.

Pull request to (optionally) use the whole texture (and render rings with non-zero thickness):

This is one way of doing it, but it probably needs some improvement before merging. I'm especially interested in feedback on the texture coordinate scheme. I don't know what the best practices are in this area (other than maintaining roughly equal texel density in different parts of the mesh, which is difficult because these meshes are extremely configurable), and the current scheme simply isn't possible to extend in a compatible way, so I came up with this:

            /// The texture is split into sections, each of which
            /// is tiled over different parts of the mesh.
            /// The tiling is top-to-bottom.
            ///
            /// |      |            |            |
            /// | side |   inner    |   outer    |
            /// |      |            |            |

I went with widths of 20%, 40%, and 40% for those sections because it works for my purposes, but I assume folks will have different opinions on sensible ways of dividing it up.

Link to comment
Share on other sites

Just now, Poodmund said:

I presume the Side is the top and bottom (what we currently see) in this case? Would it be possible to split the faces of the mesh onto separate textures?

Yes, "side" refers to the top and bottom. It would be possible in principle to have separate areas of the texture for the top and the bottom, but I didn't do that since I didn't know of a use case for it. Would you want them to be different in your planet pack, and if so, can you describe why?

Link to comment
Share on other sites

I was just thinking in terms of that it'd probably be most useful from an extensibility and current modding usage slant to have this '3D' behavior set at a toggleable optio through a config i.e. thickRing = true or something. When false, by default, you'd specify a texture as we do currently that would be read just to show as the 'side' but when true you could specify side, inner and outer individually.

Rings
{
	Ring
	{
		thickRing = false
		texture
		{
			side = ring.png
		}
	}
}
Rings
{
	Ring
	{
		thickRing = true
		texture
		{
			side = ring.png
			inner = inner.png
			outer = outer.png
		}
	}
}

 

Link to comment
Share on other sites

16 minutes ago, Poodmund said:

I was just thinking in terms of that it'd probably be most useful from an extensibility and current modding usage slant to have this '3D' behavior set at a toggleable optio through a config i.e. thickRing = true or something. When false, by default, you'd specify a texture as we do currently that would be read just to show as the 'side' but when true you could specify side, inner and outer individually.

But were you serious about texturing the top and bottom separately? That pull request already addresses those other concerns in various ways, but if it needs to be able to separate the top and bottom, then that's important to know.

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...