@Kopernicus:FOR[OPX-SarnusPlus]:HAS[@OPX_SarnusPlus_Settings:HAS[#UseInnerPseudobodies[True]]]
{
    Body
    {
        name = I2-Gibb
        cacheFile = OPX-SarnusPlus/Cache/Pseudobodies/Gibb.bin
        Template
		{
			name = Mun
			removeAllPQSMods = True
		}
		Properties
		{
			displayName = #LOC_OPX-SP_Gibb_Name
			description = #LOC_OPX-SP_Gibb_Desc
			radius = 4000
			tidallyLocked = True
			mass = 5.25607e+15
			sphereOfInfluence = 29000
			biomeMap = OPX-SarnusPlus/Textures/PluginData/Empty_Biome.png
			Biomes
			{
				Biome
				{
					name = Surface
					displayName = #LOC_OPX-SP_Common_Biome_S
					value = 1
					color = RGBA(127,127,127,255)
				}
			}
			ScienceValues
			{
				landedDataValue = 9
                @landedDataValue *= 0.2
				inSpaceLowDataValue = 8
                @inSpaceLowDataValue *= 0.2
				inSpaceHighDataValue = 7
                @inSpaceHighDataValue *= 0.2
				recoveryValue = 8
				spaceAltitudeThreshold = 40000 // mwahahaha
			}
		}
		ScaledVersion
		{
			type = Vacuum
			fadeStart = 13500
			fadeEnd = 14000
			OnDemand
			{
				texture = OPX-SarnusPlus/Textures/PluginData/Gibb_Color.dds
				normals = OPX-SarnusPlus/Textures/PluginData/Gibb_Normal.dds
			}
			Material
			{
				shininess = 0.05
				specular = 0,0,0,1
			}
		}
        Orbit
		{
			referenceBody = Sarnus
			semiMajorAxis = 12169413
			eccentricity = 0.0098
			inclination = 0.351
			meanAnomalyAtEpoch = 3.87
			longitudeOfAscendingNode = 133
			argumentOfPeriapsis = 192
			color = 0.4, 0.4, 0.4, 1.0
            iconTexture = OPX-SarnusPlus/Textures/PluginData/Small.png
		}
		PQS
		{
			maxQuadLengthsPerFrame = 0.03
			minLevel = 2
			maxLevel = 10
			minDetailDistance = 8
			deactivateAltitude = 14500
			fadeStart = 14000
			fadeEnd = 14500

			materialType = AtmosphericTriplanarZoomRotation
			Material
			{
				factor = 6
				factorBlendWidth = 0.1
				factorRotation = 45
				
				saturation = 1
				contrast = 1
				tintColor = 1,1,1,0
				specularColor = 0,0,0,0
				albedoBrightness = 3.0
				
				steepPower = 1
				steepTexStart = 0
				steepTexEnd = 0
				steepTex = BUILTIN/terrain_rock00
				steepTexScale = 1,1
				steepTexOffset = 0,0
				steepBumpMap = BUILTIN/Cliff (Layered Rock)_NRM
				steepBumpMapScale = 1,1
				steepBumpMapOffset = 0,0
				steepNearTiling = 1
				steepTiling = 1
				
				lowTex = BUILTIN/gillyMedTerrain_diffuse
				lowTexScale = 1,1
				lowTexOffset = 0,0
				lowTiling = 70000
				
				midTex = BUILTIN/gillyMedTerrain_diffuse
				midTexScale = 1,1
				midTexOffset = 0,0
				midTiling = 70000
				midBumpMap = BUILTIN/gillyMedTerrain_nrm
				midBumpMapScale = 1,1
				midBumpMapOffset = 0,0
				midBumpTiling = 70000
				
				highTex = BUILTIN/gillyMedTerrain_diffuse
				highTexScale = 1,1
				highTexOffset = 0,0
				highTiling = 70000
				
				lowStart = -1
				lowEnd = -1
				highStart = 2
				highEnd = 2
				
				globalDensity = 1
				
				fogColorRamp =
				fogColorRampScale = 1,1
				fogColorRampOffset = 0,0
				
				planetOpacity = 1
				oceanFogDistance = 1000
			}
			Mods
			{
				VertexColorMap
				{
					map = OPX-SarnusPlus/Textures/PluginData/Gibb_Color.dds
					order = 14959787
					enabled = true
				}
				VertexMitchellNetravaliHeightMap
				{
					map = OPX-SarnusPlus/Textures/PluginData/Gibb_Height.dds
					offset = 0
					deformity = 3000
					scaleDeformityByRadius = false
					order = 10
					enabled = true
				}
				VertexSimplexHeight
				{
					seed = 71481794
					deformity = 22
					octaves = 12.0
					persistence = 0.7
					frequency = 10
					enabled = true
					order = 100
				}
			}
		}
    }
}
