Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Apply this patch after the Kopernicus mod is loaded
- @Kopernicus:FOR[AlternisKerbol]
- {
- // We want to make Tylo occupy the point in space that Duna usually occupies.
- @Body[Tylo]
- {
- @Template
- {
- @name = Duna
- }
- @Template
- {
- removePQSMods = VertexColorMapBlend,PQSLandControl
- }
- @Properties
- {
- radius = 1103000
- geeASL = 4.035
- description = Tylo is an insanely massive so-called "Superkerbin" planet. With four gees of surface gravity and a thin atmosphere, aerospace engineers fear it. Its atmosphere is so thin that it won't slow you down, but it is so thick that it will burn you up on re-entry. Some kerbals have even suggested that landing on Tylo is impossible, let alone returning. The Kerbal Astronomical Society claims to give three golden stars to the first kerbal to make the trip.
- @ScienceValues
- {
- landedDataValue = 18
- splashedDataValue = 1
- flyingLowDataValue = 9
- flyingHighDataValue = 8
- flyingAltitudeThreshold = 25000
- inSpaceLowDataValue = 5
- inSpaceHighDataValue = 4
- }
- }
- @ScaledVersion
- {
- Material
- {
- texture = AlternisKerbol/Tylo/Textures/Tylo_Color
- normals = AlternisKerbol/Tylo/Textures/Tylo_Normal
- rimColorRamp = AlternisKerbol/Rims/ramp_red
- rimPower = 1.06
- rimBlend = 0.3
- }
- }
- @PQS
- {
- Mods
- {
- VoronoiCraters
- {
- name = 1
- deformation = 900
- voronoiSeed = 986
- voronoiDisplacement = 0.1
- voronoiFrequency = 24
- simplexSeed = 123123
- simplexOctaves = 9
- simplexPersistence = 0.5
- simplexFrequency = 120
- jitter = 0.1
- jitterHeight = 3
- rFactor = 1
- rOffset = 1
- colorOpacity = 0.2
- DebugColorMapping = false
- enabled = true
- order = 101
- }
- VertexSimplexNoiseColor
- {
- seed = 45
- blend = 0.5
- colorStart = 0,0,0,0
- //colorEnd = 1,1,1,1
- colorEnd = 0,0,0,0
- octaves = 12.0
- persistence = 0.7
- frequency = 2.0
- enabled = true
- order = 9999994
- }
- VertexColorSolid
- {
- //Thanks Probus.
- blend = 0.0
- //color = 0.01, 0.01, 0.01, 1.0
- color = 0.1, 0.01, 0.01, 0.0
- order = 19
- }
- VertexColorMap
- {
- map = AlternisKerbol/Tylo/PluginData/tylo_newcolor.png
- enabled = true
- }
- VertexHeightMap
- {
- map = AlternisKerbol/Tylo/PluginData/Tylo_Height.png
- deformity = 21500
- enabled = true
- }
- }
- }
- @Atmosphere
- {
- // effectively the ambient lighting color for all objects on the ground of this body (provides a slight tint)
- ambientColor = 0.175,0.15,0.15,1
- // sets the waveLength property in the AtmosphereFromGround component of the scaled version
- // From my picking around in the KSP assemblies, it seems this is fed to the shader in this way:
- //
- // shader.invWaveLength = Color( 1 / r^4, 1 / g^4, 1 / b^4, 0.5);
- //
- // Obviously the code for the shader is not available, and I don't feel like picking through ARB shader IL so we'll need
- // to figure this out experiementally.
- lightColor = 0.4632503906, 0.52200625, 0.52200625, 0.5
- AtmosphereFromGround
- {
- outerRadiusMult = 1.032
- innerRadiusMult = 0.958
- }
- // General atmosphere settings
- enabled = true
- oxygen = False
- altitude = 80000.0
- // Atmosphere Pressure
- // Values for pressure and temperature created with the handy-dandy Atmosphere Calculator by KillAshley
- // pressure (in atm) = multipler * e ^ -(altitude / (scaleHeight * 1000))
- pressureCurve
- {
- key = 0 56.13405 -5.90216365E-03 -5.90216365E-03
- key = 4000 32.5253954 -4.803547025E-03 -4.803547025E-03
- key = 8000 17.7056738 -2.9398841E-03 -2.9398841E-03
- key = 12000 9.0063226 -1.6466819E-03 -1.6466819E-03
- key = 16000 4.5322186 -8.40161775E-04 -8.40161775E-04
- key = 20000 2.2850284 -4.206522E-04 -4.206522E-04
- key = 24000 1.167001 -2.10499225E-04 -2.10499225E-04
- key = 28000 0.6010346 -1.061464E-04 -1.061464E-04
- key = 32000 0.3178298 -5.36272E-05 -5.36272E-05
- key = 36000 0.172017 -2.76446E-05 -2.76446E-05
- key = 40000 0.096673 -1.4632525E-05 -1.4632525E-05
- key = 44000 0.0549568 -8.039925E-06 -8.039925E-06
- key = 48000 0.0323536 -4.5705E-06 -4.5705E-06
- key = 52000 0.0183928 -2.763075E-06 -2.763075E-06
- key = 56000 0.010249 -1.613525E-06 -1.613525E-06
- key = 60000 0.0054846 -9.21025E-07 -9.21025E-07
- key = 64000 0.0028808 -5.05525E-07 -5.05525E-07
- key = 68000 0.0014404 -2.70075E-07 -2.70075E-07
- key = 72000 0.0007202 -1.5235E-07 -1.5235E-07
- key = 76000 0.0002216 -9.0025E-08 -9.0025E-08
- key = 80000 0 -5.54E-08 -5.54E-08
- }
- temperatureCurve
- {
- 0 279.19 -0.00802083375 -0.00802083375
- 9600 205.8567917 -0.0011360735 -0.0011325715
- 16800 205.8567917 0.0011325715 0.0011325715
- 24800 258.2376548 0.000619018 0.000619018
- 44800 258.2376548 -0.000853660375 -0.000853660375
- 64000 178.2377912 -0.0011360735 -0.0011360735
- 72000 178.2377912 0.000592218125 0.000592218125
- 80000 219.1901023 0.000868255125 0.000868255125
- 120000 0 -0.000562011375 -0.000562011375
- }
- // Atmosphere Temperature
- temperatureMultiplier = 1.0
- atmosphereMolarMass = 0.022
- }
- @Orbit
- {
- // Moves Tylo to Duna's position in space.
- // -- Note the "@" on the front of referenceBody. This means edit an existing attribute
- @referenceBody = Sun
- // Other orbit stuff
- inclination = 1.22
- eccentricity = 0.03
- semiMajorAxis = 24708887045
- longitudeOfAscendingNode = 0
- argumentOfPeriapsis = 0
- meanAnomalyAtEpoch = 3.14
- epoch = 0
- color = RGBA(102, 63.75, 38.25, 255)
- }
- }
- }
- @Kopernicus:FOR[AlternisKerbol]:NEEDS[GalacticNeighborhood]
- {
- @Body[Tylo]
- {
- @Properties
- {
- description = Stumbos is one of the largest rocky planets on record. With a very thin atmosphere and a very high gravity, it would be quite the challenge to land on. Not enough air to slow you down, and so much air that you have to worry about re-entry heating. Luckily engineers won't have to worry about landing on it, because it is a distant planet lightyears away.
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment