@Kopernicus
{
	Body
	{
		Template
		{
			name = Tylo
			removeBiomes = True
		}
		name = Caseoh
		cacheFile = Carina/Cache/Caseoh.bin // Will generate automatically
		barycenter = False
		implements = 
		finalizeOrbit = False
		randomMainMenuBody = False
		contractWeight = 30
		Properties
		{
			description = His kerbal-accurate size
			radius = 156960000000
			geeASL = 160
			rotates = True
			rotationPeriod = 300000
			tidallyLocked = False
			initialRotation = 180
			inverseRotThresholdAltitude = 100000
			albedo = 0.1
			emissivity = 0.65
			coreTemperatureOffset = 0
			timewarpAltitudeLimits = 5000 10000 10000 30000 50000 100000 200000 300000
			sphereOfInfluence = 1569600000000
			solarRotationPeriod = False
			navballSwitchRadiusMult = 0.06
			navballSwitchRadiusMultLow = 0.055
			useTheInName = False
			displayName = Caseoh^N
			selectable = True
			RnDVisibility = Visible
			RnDRotation = False
			maxZoom = 60000
			ScienceValues
			{
				landedDataValue = 15 // Science multiplier for landed science.
				splashedDataValue = 30 // Science multiplier for splashed down science.
				flyingLowDataValue = 15 // Science multiplier for flying low science.
				flyingHighDataValue = 14.5 // Science multiplier for flying high science.
				inSpaceLowDataValue = 12 // Science multiplier for in space low science.
				inSpaceHighDataValue = 10 // Science multiplier for in space high science.
				recoveryValue = 10
				flyingAltitudeThreshold = 18000 // Altitude when "flying at <body>" transitions from/to "from <body>'s upper atmosphere"
				spaceAltitudeThreshold = 80000 // Altitude when "in space low" transitions from/to "in space high"
			}

			}
Orbit
		{
			referenceBody = Sun // The body that this body is orbiting around.
			inclination = 0
			eccentricity = 0.02
			semiMajorAxis = 1000004959824281.6 // The altitude of the highest point in the orbit
			longitudeOfAscendingNode = 70 // The position of the highest point on the orbit circle
			argumentOfPeriapsis = 15
			meanAnomalyAtEpoch = 3.14000010490417
			meanAnomalyAtEpochD = 179.908753681645
			epoch = 0
			color = 1,1,0,1 // The color of the orbit line in the Tracking Station
			nodeColor = 1,1,0,1 // The color of the circle that marks the Caseohs current position on the orbit
			cameraSmaRatioBounds = 0.03 25
			period = 0
		}

		ScaledVersion
		{
			type = Atmospheric
			fadeStart = 150000
			fadeEnd = 200000
			sphericalModel = False
			deferMesh = False
			invisible = False
			Material
			{
				color = .07,.07,.07,1
				specColor = 0.03,0.03,0.03,1
				shininess = 0.1661175
				texture = Carina/Textures/PluginData/caseohClr.dds
				mainTexScale = 1,1
				mainTexOffset = 0,0
				normals = Carina/Textures/PluginData/caseohNrm.dds
				bumpMapScale = 1,1
				bumpMapOffset = 0,0
				opacity = 1
				rimPower = 3
				rimBlend = .3
				rimColorRampScale = 1,1
				rimColorRampOffset = 0,0
				localLightDirection = -0.617191017,0.0226955116,-0.78648591,0
				resourceMapScale = 1,1
				resourceMapOffset = 0,0        
			}
		}
		PQS
		{
				minLevel = 2
			maxLevel = 11
			minDetailDistance = 8
			maxQuadLengthsPerFrame = 0.03
			fadeStart = 40000
			fadeEnd = 110000
			deactivateAltitude = 150000
			mapMaxHeight = 4096
			materialType = AtmosphericTriplanarZoomRotation
			Material
			{
				factor = 9
				factorBlendWidth = 0.05
				factorRotation = 0
				saturation = 0
				contrast = 0
				tintColor = 0,0,0,0
				specularColor = 0,0,0,0
				albedoBrightness = 1
				steepPower = 3
				steepTexStart = 0
				steepTexEnd = 0
				steepTex = CTTP/Textures/PluginData/cliff.dds
				steepTexScale = 1,1
				steepTexOffset = 0,0
				steepBumpMap = CTTP/Textures/PluginData/cliff_normal.dds
				steepBumpMapScale = 1,1
				steepBumpMapOffset = 0,0
				steepNearTiling = 100
				steepTiling = 50
				lowTex = BUILTIN/laytheLow_diff
				lowTexScale = 1,1
				lowTexOffset = 0,0
				lowTiling = 20000
				midTex = CTTP/Textures/PluginData/cracked.dds
				midTexScale = 1,1
				midTexOffset = 0,0
				midTiling = 40000
				midBumpMap = CTTP/Textures/PluginData/cracked_normal.dds
				midBumpMapScale = 1,1
				midBumpMapOffset = 0,0
				midBumpTiling = 40000
				highTex = CTTP/Textures/PluginData/rock.dds
				highTexScale = 1,1
				highTexOffset = 0,0
				highTiling = 1000
				lowStart = 0
				lowEnd = 0.1
				highStart = 0.6
				highEnd = 1
				globalDensity = 0
				planetOpacity = 0.002323827
				oceanFogDistance = 0
			}
			FallbackMaterial
			{
				saturation = 1
				contrast = 1.55
				tintColor = 1,1,1,0
				texTiling = 1000
				texPower = 0.5
				multiPower = 0.3
				groundTexStart = 20000
				groundTexEnd = 60000
				multiFactor = 0.5
				mainTex = BUILTIN/SandyGround
				mainTexScale = 1,1
				mainTexOffset = 0,0
				planetOpacity = 1
			}
			Mods
			{
				AerialPerspectiveMaterial
				{
					atmosphereDepth = 105000
					DEBUG_SetEveryFrame = True
					globalDensity = -1E-05
					heightFalloff = 6.75
					oceanDepth = 0
					order = 101
					enabled = True
					name = _Material_AerialPerspective
				}
				VertexHeightNoise
				{
					deformity = 400
					frequency = 18
					octaves = 4
					persistence = 0.7
					seed = 1238999999
					noiseType = RiggedMultifractal
					mode = Low
					lacunarity = 3
					order = 21
					enabled = True
					name = _HeightNoise
				}
				VertexSimplexHeightMap
				{
					deformity = 900
					frequency = 12
					heightEnd = 1
					heightStart = 0.6
					map = Carina/Textures/PluginData/caseohHgt.dds
					octaves = 8
					persistence = 0.5
					seed = 57545
					order = 20
					enabled = True
					name = _HeightNoise
				}
				VertexHeightNoiseVertHeight
				{
					heightStart = 0.2
					heightEnd = 1
					deformity = 150
					frequency = 400
					octaves = 2
					persistance = 0.7
					seed = 3246788
					mode = Low
					noiseType = Billow
					lacunarity = 2
					order = 30
					enabled = True
					name = _FineDetail
				}
				VertexMitchellNetravaliHeightMap
				{
					map = Carina/Textures/PluginData/caseohHgt.dds
					offset = 0
					deformity = 23000
					scaleDeformityByRadius = false
					order = 1
					enabled = true

					B = 1
					C = 0
				}
			}
		}
	}
}
