diff --git a/Changelog.txt b/Changelog.txt index 7047e01..4e8b74b 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,3 +1,18 @@ +**v0.6.0** + +- Updated to KSP 1.2.1 and Kopernicus 1.2.1-1 +- Overhauled almost all the internal configs +- Added support for name based PQSMod deletion +- Added support for name based PQSMod modification +- Added an option to ignore 'landscape' for some PQSMods +- Simplified syntax for planet specific changes +- Updated Kittopia Exports and moved these files in a PluginData folder +- Fixed behaviour of parameter 'atmoASL' +- Fixed behaviour of parameter 'tempASL' +- AtmosphereFromGround no longer depends on parameter 'Atmosphere' +- Fixed SCANsat compatibility + + **v0.5.0** - Updated to KSP 1.1.2 and Kopernicus 1.0.4 diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/AllowUserDefined.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/AllowUserDefined.cfg deleted file mode 100644 index f82b1fa..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/AllowUserDefined.cfg +++ /dev/null @@ -1,107 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body,* - { - @Template - { - @removeAtmosphere ^= :t:T: - @removeAtmosphere ^= :R:r: - @removeAtmosphere ^= :U:u: - @removeAtmosphere ^= :E:e: - } - %Properties - { - inverseRotThresholdAltitude = 100000 - } - @PQS - { - @Mods - { - @VertexSimplexHeightAbsolute,* - { - %userDefined = 1 - } - @VertexHeightNoiseVertHeightCurve2,* - { - %userDefined = 1 - } - @VertexRidgedAltitudeCurve,* - { - %userDefined = 1 - } - @LandControl,* - { - %userDefined = 1 - @landClasses,* - { - %userDefined = 1 - @Class,* - { - %userDefined = 1 - } - } - } - @AerialPerspectiveMaterial,* - { - %userDefined = 1 - } - @VertexHeightMap,* - { - %userDefined = 1 - } - @VertexSimplexHeightMap,* - { - %userDefined = 1 - } - @VertexPlanet,* - { - %userDefined = 1 - } - @FlattenArea,* - { - %userDefined = 1 - } - @VertexHeightNoise,* - { - %userDefined = 1 - } - @AltitudeAlpha,* - { - %userDefined = 1 - } - @VertexSimplexHeight,* - { - %userDefined = 1 - } - @VertexHeightNoiseVertHeight,* - { - %userDefined = 1 - } - @VertexHeightOffset,* - { - %userDefined = 1 - } - @VoronoiCraters,* - { - %userDefined = 1 - } - @VertexVoronoi,* - { - %userDefined = 1 - } - @MapDecalTangent,* - { - %userDefined = 1 - } - @MapDecal,* - { - %userDefined = 1 - } - @FlattenOcean,* - { - %userDefined = 1 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Bop.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Bop.cfg deleted file mode 100644 index 35da95a..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Bop.cfg +++ /dev/null @@ -1,103 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Bop]]] - { - %Properties - { - rotationPeriod = 544507.428516654 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 24500 24500 24500 40000 60000 80000 100000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 25000 - } - } - %ScaledVersion - { - fadeStart = 135000 - fadeEnd = 140000 - } - %PQS - { - fadeStart = 140000 - fadeEnd = 145000 - deactivateAltitude = 180000 - %Mods - { - FlattenArea - { - sigmaPlaceholder = 1 - } - FlattenArea - { - sigmaPlaceholder = 1 - } - @FlattenArea,0 - { - flattenTo = 2200 - innerRadius = 4000 - outerRadius = 15000 - position = -19468.5,5737.089,61828.13 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @FlattenArea,1 - { - flattenTo = 900 - innerRadius = 15000 - outerRadius = 35000 - position = 2000,5737.089,61828.13 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - !FlattenArea:HAS[#sigmaPlaceholder[1]] {} - %VertexSimplexHeightAbsolute - { - deformity = 24000 - SigmaDimensions = 1 - } - %VertexHeightNoise - { - deformity = 600 - SigmaDimensions = 1 - } - %AltitudeAlpha - { - atmosphereDepth = 8000 - SigmaDimensions = 1 - } - %LandControl - { - vHeightMax = 10000 - SigmaDimensions = 1 - } - MapDecal - { - sigmaPlaceholder = 1 - } - MapDecal - { - sigmaPlaceholder = 1 - } - @MapDecal,0 - { - heightMapDeformity = 10 - position = -19468.5,5737.089,61828.13 - radius = 60000 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @MapDecal,1 - { - heightMapDeformity = 10 - position = 2000,5737.089,61828.13 - radius = 20000 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - !MapDecal:HAS[#sigmaPlaceholder[1]] {} - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Dres.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Dres.cfg deleted file mode 100644 index 56f2162..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Dres.cfg +++ /dev/null @@ -1,61 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Dres]]] - { - %Properties - { - rotationPeriod = 34800 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 10000 10000 30000 50000 100000 200000 300000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 25000 - } - } - %ScaledVersion - { - fadeStart = 95000 - fadeEnd = 100000 - } - %PQS - { - fadeStart = 100000 - fadeEnd = 110000 - deactivateAltitude = 115000 - %Mods - { - %AerialPerspectiveMaterial - { - atmosphereDepth = 150000 - SigmaDimensions = 1 - } - %VertexHeightMap - { - deformity = 4000 - SigmaDimensions = 1 - } - %VertexSimplexHeight - { - deformity = 1700 - SigmaDimensions = 1 - } - %VertexHeightNoise - { - deformity = 1000 - SigmaDimensions = 1 - } - %VertexSimplexHeightAbsolute - { - deformity = 400 - SigmaDimensions = 1 - } - %FlattenOcean - { - oceanRadius = 1 - SigmaDimensions = 1 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Duna.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Duna.cfg deleted file mode 100644 index d83e390..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Duna.cfg +++ /dev/null @@ -1,117 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Duna]]] - { - %Properties - { - rotationPeriod = 65517.859375 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 30000 30000 60000 100000 300000 600000 800000 - %ScienceValues - { - flyingAltitudeThreshold = 12000 - spaceAltitudeThreshold = 140000 - } - } - %ScaledVersion - { - fadeStart = 95000 - fadeEnd = 97000 - } - %PQS - { - fadeStart = 100000 - fadeEnd = 110000 - deactivateAltitude = 120000 - %Mods - { - %VertexHeightMap - { - deformity = 6000 - SigmaDimensions = 1 - } - %VertexSimplexHeightAbsolute - { - deformity = 500 - SigmaDimensions = 1 - } - VertexHeightNoiseVertHeightCurve2 - { - sigmaPlaceholder = 1 - } - VertexHeightNoiseVertHeightCurve2 - { - sigmaPlaceholder = 1 - } - VertexHeightNoiseVertHeightCurve2 - { - sigmaPlaceholder = 1 - } - @VertexHeightNoiseVertHeightCurve2,0 - { - deformity = 1000 - simplexHeightEnd = 6500 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @VertexHeightNoiseVertHeightCurve2,1 - { - deformity = 1000 - simplexHeightEnd = 7500 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @VertexHeightNoiseVertHeightCurve2,2 - { - deformity = 2000 - simplexHeightEnd = 8500 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - !VertexHeightNoiseVertHeightCurve2:HAS[#sigmaPlaceholder[1]] {} - %AltitudeAlpha - { - atmosphereDepth = 11500 - SigmaDimensions = 1 - } - %LandControl {} - @LandControl,* - { - vHeightMax = 3500 - %SigmaDimensions = 1 - %landClasses {} - @landClasses:HAS[!Class[Ice?Caps]] - { - %SigmaDimensions = 1 - Class - { - name = Ice Caps - %SigmaDimensions = 1 - } - } - @landClasses - { - @Class[Ice?Caps] - { - %SigmaDimensions = 1 - alterApparentHeight = 100 - alterRealHeight = 100 - } - } - } - %AerialPerspectiveMaterial - { - atmosphereDepth = 150000 - SigmaDimensions = 1 - } - %MapDecal - { - absoluteOffset = 0 - heightMapDeformity = 100 - position = -123617.5,-294525.7,-42850.8 - radius = 400 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Eeloo.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Eeloo.cfg deleted file mode 100644 index 0bc2922..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Eeloo.cfg +++ /dev/null @@ -1,72 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Eeloo]]] - { - %Properties - { - rotationPeriod = 19460 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 4000 4000 20000 30000 40000 70000 150000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 60000 - } - } - %ScaledVersion - { - fadeStart = 95000 - fadeEnd = 100000 - } - %PQS - { - fadeStart = 100000 - fadeEnd = 110000 - deactivateAltitude = 120000 - %Mods - { - %LandControl - { - vHeightMax = 3500 - SigmaDimensions = 1 - } - %AerialPerspectiveMaterial - { - atmosphereDepth = 150000 - SigmaDimensions = 1 - } - %VertexHeightMap - { - offset = -300 - deformity = 4100 - SigmaDimensions = 1 - } - %VertexSimplexHeight - { - deformity = 600 - SigmaDimensions = 1 - } - %VertexHeightNoise - { - deformity = 400 - SigmaDimensions = 1 - } - %VertexHeightNoiseVertHeight - { - deformity = 140 - SigmaDimensions = 1 - } - %VertexVoronoi - { - deformation = 250 - displacement = 0.00499999988824129 - } - %FlattenOcean - { - oceanRadius = 1 - SigmaDimensions = 1 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Eve.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Eve.cfg deleted file mode 100644 index 56c142b..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Eve.cfg +++ /dev/null @@ -1,80 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Eve]]] - { - %Properties - { - rotationPeriod = 80500 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 - %ScienceValues - { - flyingAltitudeThreshold = 22000 - spaceAltitudeThreshold = 400000 - } - } - %ScaledVersion - { - fadeStart = 105000 - fadeEnd = 110000 - } - %PQS - { - fadeStart = 110000 - fadeEnd = 115000 - deactivateAltitude = 130000 - %Mods - { - %VertexHeightMap - { - offset = -1500 - deformity = 5000 - SigmaDimensions = 1 - } - %VertexSimplexHeight - { - deformity = 500 - SigmaDimensions = 1 - } - %VertexHeightNoiseVertHeightCurve2 - { - deformity = 5000 - simplexHeightEnd = 5000 - simplexHeightStart = 250 - SigmaDimensions = 1 - } - %LandControl - { - vHeightMax = 3500 - SigmaDimensions = 1 - } - %AltitudeAlpha - { - atmosphereDepth = 10000 - SigmaDimensions = 1 - } - AerialPerspectiveMaterial - { - sigmaPlaceholder = 1 - } - AerialPerspectiveMaterial - { - sigmaPlaceholder = 1 - } - @AerialPerspectiveMaterial,0 - { - atmosphereDepth = 150000 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @AerialPerspectiveMaterial,1 - { - atmosphereDepth = 5000 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - !AerialPerspectiveMaterial:HAS[#sigmaPlaceholder[1]] {} - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Eve_atmo.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Eve_atmo.cfg deleted file mode 100644 index 751fa90..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Eve_atmo.cfg +++ /dev/null @@ -1,49 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Eve]],!Template:HAS[#removeAtmosphere[True]]] - { - %Atmosphere {} - @Atmosphere:HAS[~maxAltitude[*]] - { - maxAltitude = 90000 - } - @Atmosphere - { - %pressureCurve {} - %temperatureCurve {} - %temperatureSunMultCurve {} - - %AtmosphereFromGround - { - &innerRadiusMult = 0.975 - &outerRadiusMult = 1.025 - } - @pressureCurve:HAS[~key[*]] - { - key = 0 506.625 -0.08693577 -0.08693577 - key = 9723.525 113.4918 -0.0149408 -0.0149408 - key = 20000 29.0968 -0.003046887 -0.003046887 - key = 45000 0.82 -6.321458E-05 -6.321458E-05 - key = 80000 0.0035 -9.886503E-07 -9.886503E-07 - key = 90000 0 0 0 - } - @temperatureCurve:HAS[~key[*]] - { - key = 0 420 0 -0.01029338 - key = 15000 280 -0.004705439 -0.004705439 - key = 50000 180 0 0 - key = 60000 190 0 0 - key = 70000 160 0 0 - key = 90000 250 0.005894589 0 - } - @temperatureSunMultCurve:HAS[~key[*]] - { - key = 0 1 0 0 - key = 15000 0 0 0 - key = 50000 0 0 0 - key = 70000 1.5 0 0 - key = 90000 2 0 0 - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/General/caseSensitivityFix.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Fixes/caseSensitivityFix.cfg similarity index 56% rename from GameData/Sigma/Dimensions/Configs/General/caseSensitivityFix.cfg rename to GameData/Sigma/Dimensions/Configs/Bodies/Fixes/caseSensitivityFix.cfg index 9a4f797..a232fe7 100644 --- a/GameData/Sigma/Dimensions/Configs/General/caseSensitivityFix.cfg +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Fixes/caseSensitivityFix.cfg @@ -12,6 +12,11 @@ @removeAllPQSMods ^= :R:r: @removeAllPQSMods ^= :U:u: @removeAllPQSMods ^= :E:e: + + @removeAtmosphere ^= :t:T: + @removeAtmosphere ^= :R:r: + @removeAtmosphere ^= :U:u: + @removeAtmosphere ^= :E:e: } @Properties { @@ -31,6 +36,32 @@ @temperatureCurveIsNormalized ^= :R:r: @temperatureCurveIsNormalized ^= :U:u: @temperatureCurveIsNormalized ^= :E:e: + + @addAFG ^= :f:F: + @addAFG ^= :A:a: + @addAFG ^= :L:l: + @addAFG ^= :S:s: + @addAFG ^= :E:e: + } + @PQS + { + @Mods + { + @VertexHeightMap,* + { + @ignorelandscape ^= :t:T: + @ignorelandscape ^= :R:r: + @ignorelandscape ^= :U:u: + @ignorelandscape ^= :E:e: + } + @VertexHeightOblate,* + { + @ignorelandscape ^= :t:T: + @ignorelandscape ^= :R:r: + @ignorelandscape ^= :U:u: + @ignorelandscape ^= :E:e: + } + } } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Fixes/removeDuplicates.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Fixes/removeDuplicates.cfg new file mode 100644 index 0000000..2c33be9 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Fixes/removeDuplicates.cfg @@ -0,0 +1,25 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@PQS] + { + !SDNodeBackups,* {} + SDNodeBackups + { + #../PQS {} + } + !PQS,* {} + #SDNodeBackups/PQS {} + !SDNodeBackups {} + @PQS:HAS[@Mods] + { + !SDNodeBackups,* {} + SDNodeBackups + { + #../Mods {} + } + !Mods,* {} + #SDNodeBackups/Mods {} + !SDNodeBackups {} + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Gilly.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Gilly.cfg deleted file mode 100644 index cdaf4eb..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Gilly.cfg +++ /dev/null @@ -1,51 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Gilly]]] - { - %Properties - { - rotationPeriod = 28255 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 8000 8000 8000 20000 40000 80000 100000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 6000 - } - } - %ScaledVersion - { - fadeStart = 135000 - fadeEnd = 140000 - } - %PQS - { - fadeStart = 140000 - fadeEnd = 145000 - deactivateAltitude = 180000 - %Mods - { - %VertexSimplexHeightAbsolute - { - deformity = 8000 - SigmaDimensions = 1 - } - %VertexHeightNoise - { - deformity = 150 - SigmaDimensions = 1 - } - %AltitudeAlpha - { - atmosphereDepth = 8000 - SigmaDimensions = 1 - } - %LandControl - { - vHeightMax = 10000 - SigmaDimensions = 1 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Ike.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Ike.cfg deleted file mode 100644 index 41a02ab..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Ike.cfg +++ /dev/null @@ -1,56 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Ike]]] - { - %Properties - { - rotationPeriod = 65517.8621348081 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 5000 5000 10000 25000 50000 100000 200000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 50000 - } - } - %ScaledVersion - { - fadeStart = 135000 - fadeEnd = 140000 - } - %PQS - { - fadeStart = 140000 - fadeEnd = 145000 - deactivateAltitude = 180000 - %Mods - { - %VertexSimplexHeightAbsolute - { - deformity = 12000 - SigmaDimensions = 1 - } - %VertexHeightNoise - { - deformity = 1600 - SigmaDimensions = 1 - } - %VertexSimplexHeight - { - deformity = 100 - SigmaDimensions = 1 - } - %AltitudeAlpha - { - atmosphereDepth = 8000 - SigmaDimensions = 1 - } - %LandControl - { - vHeightMax = 10000 - SigmaDimensions = 1 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Jool.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Jool.cfg deleted file mode 100644 index a1bbd86..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Jool.cfg +++ /dev/null @@ -1,22 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Jool]]] - { - %Properties - { - rotationPeriod = 36000 - inverseRotThresholdAltitude = 1000000 - timewarpAltitudeLimits = 0 0 15000 60000 150000 300000 600000 1200000 - %ScienceValues - { - flyingAltitudeThreshold = 120000 - spaceAltitudeThreshold = 4000000 - } - } - %ScaledVersion - { - fadeStart = 29000 - fadeEnd = 30000 - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Kerbin.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Kerbin.cfg deleted file mode 100644 index 6c431fe..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Kerbin.cfg +++ /dev/null @@ -1,137 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Kerbin]]] - { - %Properties - { - rotationPeriod = 21600 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 250000 - } - } - %ScaledVersion - { - fadeStart = 55000 - fadeEnd = 60000 - } - %PQS - { - fadeStart = 60000 - fadeEnd = 120000 - deactivateAltitude = 160000 - %Mods - { - %VertexSimplexHeightAbsolute - { - deformity = 485 - SigmaDimensions = 1 - } - %VertexHeightNoiseVertHeightCurve2 - { - deformity = 4000 - simplexHeightEnd = 4600 - simplexHeightStart = 800 - SigmaDimensions = 1 - } - %VertexRidgedAltitudeCurve - { - deformity = 750 - simplexHeightEnd = 6000 - simplexHeightStart = 0 - SigmaDimensions = 1 - } - %LandControl {} - @LandControl,* - { - vHeightMax = 3500 - %SigmaDimensions = 1 - - %landClasses {} - @landClasses - { - %SigmaDimensions = 1 - %Class[DesertMountains] - { - %SigmaDimensions = 1 - alterApparentHeight = -0.8 - alterRealHeight = 0 - } - %Class[IceCaps] - { - %SigmaDimensions = 1 - alterApparentHeight = 100 - alterRealHeight = 10 - } - } - } - %AerialPerspectiveMaterial - { - atmosphereDepth = 150000 - SigmaDimensions = 1 - } - %VertexHeightMap - { - offset = -1500 - deformity = 5000 - SigmaDimensions = 1 - } - MapDecalTangent - { - sigmaPlaceholder = 1 - } - MapDecalTangent - { - sigmaPlaceholder = 1 - } - @MapDecalTangent,0 - { - heightMapDeformity = 70 - position = 157000,-3000,-570000 - radius = 7500 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @MapDecalTangent,1 - { - absoluteOffset = -85 - heightMapDeformity = 200 - position = 186100,-15810,-570000 - radius = 1200 - smoothHeight = 0.2 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - !MapDecalTangent:HAS[#sigmaPlaceholder[1]] {} - %MapDecal - { - absoluteOffset = 400 - heightMapDeformity = 100 - position = -468960,211164.7,-310261 - radius = 2000 - smoothHeight = 0.1 - SigmaDimensions = 1 - } - %FlattenArea - { - flattenTo = 1300 - innerRadius = 400 - outerRadius = 1000 - position = -468635.1,-68111.1,-370297.1 - SigmaDimensions = 1 - } - } - } - } - @Body[Kerbin] - { - %SpaceCenter - { - heightMapDeformity = 70 - absoluteOffset = 0 - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Laythe.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Laythe.cfg deleted file mode 100644 index 0a9aa6f..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Laythe.cfg +++ /dev/null @@ -1,79 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Laythe]]] - { - %Properties - { - rotationPeriod = 52980.8790593796 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 - %ScienceValues - { - flyingAltitudeThreshold = 10000 - spaceAltitudeThreshold = 200000 - } - } - %ScaledVersion - { - fadeStart = 55000 - fadeEnd = 60000 - } - %PQS - { - fadeStart = 60000 - fadeEnd = 120000 - deactivateAltitude = 160000 - %Mods - { - %LandControl {} - @LandControl,* - { - vHeightMax = 6000 - %SigmaDimensions = 1 - %landClasses {} - @landClasses - { - %SigmaDimensions = 1 - %Class[IceCaps] - { - %SigmaDimensions = 1 - alterApparentHeight = 100 - alterRealHeight = 10 - } - } - } - %AerialPerspectiveMaterial - { - atmosphereDepth = 150000 - SigmaDimensions = 1 - } - %VertexHeightNoise - { - deformity = 800 - SigmaDimensions = 1 - } - %VertexSimplexHeightMap - { - deformity = 900 - SigmaDimensions = 1 - } - %AerialPerspectiveMaterial - { - atmosphereDepth = 5000 - SigmaDimensions = 1 - } - %VertexHeightNoiseVertHeight - { - deformity = 200 - SigmaDimensions = 1 - } - %VertexHeightMap - { - offset = -2000 - deformity = 8000 - SigmaDimensions = 1 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Minmus.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Minmus.cfg deleted file mode 100644 index b22d524..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Minmus.cfg +++ /dev/null @@ -1,47 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Minmus]]] - { - %Properties - { - rotationPeriod = 40400 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 3000 3000 6000 12000 24000 48000 60000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 30000 - } - } - %ScaledVersion - { - fadeStart = 135000 - fadeEnd = 140000 - } - %PQS - { - fadeStart = 140000 - fadeEnd = 145000 - deactivateAltitude = 180000 - %Mods - { - %AltitudeAlpha - { - atmosphereDepth = 8000 - SigmaDimensions = 1 - } - %VertexPlanet - { - colorDeformity = 6000 - deformity = 5000 - SigmaDimensions = 1 - } - %LandControl - { - vHeightMax = 10000 - SigmaDimensions = 1 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Moho.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Moho.cfg deleted file mode 100644 index 3235f82..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Moho.cfg +++ /dev/null @@ -1,68 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Moho]]] - { - %Properties - { - rotationPeriod = 1210000 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 10000 10000 30000 50000 100000 200000 300000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 80000 - } - } - %ScaledVersion - { - fadeStart = 95000 - fadeEnd = 100000 - } - %PQS - { - fadeStart = 100000 - fadeEnd = 110000 - deactivateAltitude = 115000 - %Mods - { - %AltitudeAlpha - { - atmosphereDepth = 7000 - SigmaDimensions = 1 - } - %AerialPerspectiveMaterial - { - atmosphereDepth = 150000 - SigmaDimensions = 1 - } - %VertexHeightMap - { - deformity = 5000 - SigmaDimensions = 1 - } - %VertexSimplexHeight - { - deformity = 500 - SigmaDimensions = 1 - } - %VertexHeightNoiseVertHeightCurve2 - { - deformity = 2500 - simplexHeightEnd = 5500 - simplexHeightStart = 10 - SigmaDimensions = 1 - } - %VertexSimplexHeightAbsolute - { - deformity = 200 - SigmaDimensions = 1 - } - %FlattenOcean - { - oceanRadius = 1 - SigmaDimensions = 1 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Mun.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Mun.cfg deleted file mode 100644 index 718c840..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Mun.cfg +++ /dev/null @@ -1,106 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Mun]]] - { - %Properties - { - rotationPeriod = 138984.376574476 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 5000 5000 10000 25000 50000 100000 200000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 60000 - } - } - %ScaledVersion - { - fadeStart = 55000 - fadeEnd = 60000 - } - %PQS - { - fadeStart = 60000 - fadeEnd = 120000 - deactivateAltitude = 120750 - %Mods - { - %VertexHeightMap - { - deformity = 7500 - SigmaDimensions = 1 - } - %AltitudeAlpha - { - atmosphereDepth = 8000 - SigmaDimensions = 1 - } - %LandControl - { - vHeightMax = 10000 - SigmaDimensions = 1 - } - %VertexSimplexHeight - { - deformity = 400 - SigmaDimensions = 1 - } - %VertexHeightNoiseVertHeight - { - deformity = 400 - SigmaDimensions = 1 - } - FlattenArea - { - sigmaPlaceholder = 1 - } - FlattenArea - { - sigmaPlaceholder = 1 - } - @FlattenArea,0 - { - flattenTo = 4500.25 - innerRadius = 200 - outerRadius = 1000 - position = -6140,-200500,26747 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @FlattenArea,1 - { - flattenTo = 4000.25 - innerRadius = 200 - outerRadius = 1000 - position = 106480,170340,17136 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - !FlattenArea:HAS[#sigmaPlaceholder[1]] {} - VoronoiCraters - { - sigmaPlaceholder = 1 - } - VoronoiCraters - { - sigmaPlaceholder = 1 - } - @VoronoiCraters,0 - { - deformation = 500 - jitterHeight = 3 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @VoronoiCraters,1 - { - deformation = 200 - jitterHeight = 2 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - !VoronoiCraters:HAS[#sigmaPlaceholder[1]] {} - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Pol.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Pol.cfg deleted file mode 100644 index 7d25dfa..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Pol.cfg +++ /dev/null @@ -1,93 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Pol]]] - { - %Properties - { - rotationPeriod = 901902.623531173 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 5000 5000 5000 8000 12000 30000 90000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 22000 - } - } - %ScaledVersion - { - fadeStart = 130000 - fadeEnd = 135000 - } - %PQS - { - fadeStart = 135000 - fadeEnd = 140000 - deactivateAltitude = 180000 - %Mods - { - VertexSimplexHeightAbsolute - { - sigmaPlaceholder = 1 - } - VertexSimplexHeightAbsolute - { - sigmaPlaceholder = 1 - } - @VertexSimplexHeightAbsolute,0 - { - deformity = 3000 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @VertexSimplexHeightAbsolute,1 - { - deformity = 800 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - !VertexSimplexHeightAbsolute:HAS[#sigmaPlaceholder[1]] {} - %VertexHeightNoise - { - deformity = 2600 - SigmaDimensions = 1 - } - %AltitudeAlpha - { - atmosphereDepth = 8000 - SigmaDimensions = 1 - } - %LandControl - { - vHeightMax = 10000 - SigmaDimensions = 1 - } - %VertexHeightOffset - { - offset = -700 - order = 80 - enabled = True - SigmaDimensions = 1 - } - %FlattenOcean - { - oceanRadius = 1 - SigmaDimensions = 1 - } - } - } - } -} -@Kopernicus:BEFORE[Squad] -{ - @Body:HAS[@Template:HAS[#name[Pol]]] - { - @Template:HAS[#removePQSMods[*],~removePQSMods[*VertexHeightOffset*]] - { - @removePQSMods = #$removePQSMods$,VertexHeightOffset - } - @Template:HAS[~removePQSMods[]] - { - removePQSMods = VertexHeightOffset - } - } -} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Sun.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Sun.cfg deleted file mode 100644 index c2b95f2..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Sun.cfg +++ /dev/null @@ -1,24 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Sun]]] - { - %Properties - { - rotationPeriod = 432000 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 3270000 3270000 6540000 1.308E+07 2.616E+07 5.232E+07 6.54E+07 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 1E+09 - } - } - %ScaledVersion - { - %Light - { - sunAU = 13599840256 - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Bop/Bop_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Bop/Bop_DeletedMods.cfg new file mode 100644 index 0000000..5e9f6f8 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Bop/Bop_DeletedMods.cfg @@ -0,0 +1,140 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Bop]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_VertexSimplexHeightAbsolute§_Height§,:,VertexSimplexHeightAbsolute,: + @removePQSMods ^= :,PQSMod_VertexHeightNoise§_Height§,:,VertexHeightNoise,: + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSLandControl§Scatter§,:,LandControl,: + } + + // Remove PQSMods by name + + @Mods:HAS[#removePQSMods[*,PQSMod_FlattenArea§_Crater1§,*]] + { + FlattenArea + { + name = _Crater1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_FlattenArea§_Crater2§,*]] + { + FlattenArea + { + name = _Crater2 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + + @Mods:HAS[#removePQSMods[*,PQSMod_MapDecal§_Crater1§,*]] + { + FlattenArea + { + name = _Crater1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_MapDecal§_Crater2§,*]] + { + FlattenArea + { + name = _Crater2 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,FlattenArea,*]] + { + FlattenArea + { + name = _Crater1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + FlattenArea + { + name = _Crater2 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,MapDecal,*]] + { + MapDecal + { + name = _Crater1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + MapDecal + { + name = _Crater2 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeight,*]] + { + VertexSimplexHeight + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoise,*]] + { + VertexHeightNoise + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = Scatter + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Bop/Bop_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Bop/Bop_PQSNames.cfg new file mode 100644 index 0000000..bb57d10 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Bop/Bop_PQSNames.cfg @@ -0,0 +1,225 @@ +// FlattenArea +@Kopernicus:HAS[@Body:HAS[@Template[Bop]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@FlattenArea:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Bop],@PQS:HAS[@Mods:HAS[@FlattenArea:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@FlattenArea:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @FlattenArea + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!FlattenArea:HAS[#SigmaDimensions[1],#name[_Crater1]]] + { + @FlattenArea + { + &name = _Crater1 + } + } + // Set the name + @Mods:HAS[!FlattenArea:HAS[#SigmaDimensions[1],#name[_Crater2]]] + { + @FlattenArea + { + &name = _Crater2 + } + } + // move processed node to the end + @Mods + { + #FlattenArea {} + !FlattenArea {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// MapDecal +@Kopernicus:HAS[@Body:HAS[@Template[Bop]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Bop],@PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @MapDecal + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!MapDecal:HAS[#SigmaDimensions[1],#name[_Crater1]]] + { + @MapDecal + { + &name = _Crater1 + } + } + // Set the name + @Mods:HAS[!MapDecal:HAS[#SigmaDimensions[1],#name[_Crater2]]] + { + @MapDecal + { + &name = _Crater2 + } + } + // move processed node to the end + @Mods + { + #MapDecal {} + !MapDecal {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeightAbsolute +@Kopernicus:HAS[@Body:HAS[@Template[Bop]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Bop],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeightAbsolute + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexSimplexHeightAbsolute + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeightAbsolute {} + !VertexSimplexHeightAbsolute {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoise +@Kopernicus:HAS[@Body:HAS[@Template[Bop]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Bop],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoise + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoise:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightNoise + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoise {} + !VertexHeightNoise {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Bop]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Bop],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Bop]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Bop],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[Scatter]]] + { + @LandControl + { + &name = Scatter + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Bop/Bop_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Bop/Bop_Values.cfg new file mode 100644 index 0000000..13f3677 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Bop/Bop_Values.cfg @@ -0,0 +1,70 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Bop]] + { + %Properties + { + &radius = 65000 + &geeASL = 0.0600204949543182 + &rotationPeriod = 544507.428516654 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 24500 24500 24500 40000 60000 80000 100000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 25000 + } + } + %Orbit + { + &semiMajorAxis = 128500000 + } + } + @Body:HAS[@Template[Bop]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %FlattenArea[_Crater1] + { + &flattenTo = 900 + &innerRadius = 15000 + &outerRadius = 35000 + } + %FlattenArea[_Crater2] + { + &flattenTo = 2200 + &innerRadius = 4000 + &outerRadius = 15000 + } + %MapDecal[_Crater1] + { + &heightMapDeformity = 10 + &radius = 60000 + } + %MapDecal[_Crater2] + { + &heightMapDeformity = 10 + &radius = 20000 + } + %VertexSimplexHeightAbsolute[_Height] + { + &deformity = 24000 + } + %VertexHeightNoise[_Height] + { + &deformity = 600 + } + %AltitudeAlpha[_Material_ModProjection] + { + &atmosphereDepth = 8000 + } + %LandControl[Scatter] + { + &vHeightMax = 10000 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Dres/Dres_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Dres/Dres_DeletedMods.cfg new file mode 100644 index 0000000..30ad53f --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Dres/Dres_DeletedMods.cfg @@ -0,0 +1,91 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Dres]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_AerialPerspectiveMaterial§_Material_AerialPerspective§,:,AerialPerspectiveMaterial,: + @removePQSMods ^= :,PQSMod_VertexHeightMap§_HeightNoise§,:,VertexHeightMap,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeight§_HeightNoise§,:,VertexSimplexHeight,: + @removePQSMods ^= :,PQSMod_FlattenOcean§_HeightNoise§,:,FlattenOcean,: + @removePQSMods ^= :,PQSMod_VertexHeightNoise§_HeightNoise§,:,VertexHeightNoise,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeightAbsolute§_FineDetail§,:,VertexSimplexHeightAbsolute,: + } + + // Remove PQSMods by name + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,AerialPerspectiveMaterial,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightMap,*]] + { + VertexHeightMap + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeight,*]] + { + VertexSimplexHeight + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,FlattenOcean,*]] + { + FlattenOcean + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoise,*]] + { + VertexHeightNoise + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeightAbsolute,*]] + { + VertexSimplexHeightAbsolute + { + name = _FineDetail + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Dres/Dres_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Dres/Dres_PQSNames.cfg new file mode 100644 index 0000000..8688460 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Dres/Dres_PQSNames.cfg @@ -0,0 +1,209 @@ +// AerialPerspectiveMaterial +@Kopernicus:HAS[@Body:HAS[@Template[Dres]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Dres],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AerialPerspectiveMaterial + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],#name[_Material_AerialPerspective]]] + { + @AerialPerspectiveMaterial + { + &name = _Material_AerialPerspective + } + } + // move processed node to the end + @Mods + { + #AerialPerspectiveMaterial {} + !AerialPerspectiveMaterial {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Dres]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Dres],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexHeightMap + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexHeightMap {} + !VertexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeight +@Kopernicus:HAS[@Body:HAS[@Template[Dres]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Dres],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeight:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexSimplexHeight + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeight {} + !VertexSimplexHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// FlattenOcean +@Kopernicus:HAS[@Body:HAS[@Template[Dres]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Dres],@PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @FlattenOcean + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!FlattenOcean:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @FlattenOcean + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #FlattenOcean {} + !FlattenOcean {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoise +@Kopernicus:HAS[@Body:HAS[@Template[Dres]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Dres],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoise + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoise:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexHeightNoise + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoise {} + !VertexHeightNoise {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeightAbsolute +@Kopernicus:HAS[@Body:HAS[@Template[Dres]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Dres],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeightAbsolute + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],#name[_FineDetail]]] + { + @VertexSimplexHeightAbsolute + { + &name = _FineDetail + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeightAbsolute {} + !VertexSimplexHeightAbsolute {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Dres/Dres_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Dres/Dres_Values.cfg new file mode 100644 index 0000000..e88c077 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Dres/Dres_Values.cfg @@ -0,0 +1,56 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Dres]] + { + %Properties + { + &radius = 138000 + &geeASL = 0.115039284567105 + &rotationPeriod = 34800 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 10000 10000 30000 50000 100000 200000 300000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 25000 + } + } + %Orbit + { + &semiMajorAxis = 40839348203 + } + } + @Body:HAS[@Template[Dres]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %AerialPerspectiveMaterial + { + &atmosphereDepth = 150000 + } + %VertexHeightMap + { + &deformity = 4000 + } + %VertexSimplexHeight + { + &deformity = 1700 + } + %FlattenOcean + { + &oceanRadius = 1 + } + %VertexHeightNoise + { + &deformity = 1000 + } + %VertexSimplexHeightAbsolute + { + &deformity = 400 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Duna_atmo.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_Atmosphere.cfg similarity index 84% rename from GameData/Sigma/Dimensions/Configs/Bodies/Duna_atmo.cfg rename to GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_Atmosphere.cfg index ac75741..f662090 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Duna_atmo.cfg +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_Atmosphere.cfg @@ -1,6 +1,6 @@ @Kopernicus:FOR[SigDim] { - @Body:HAS[@Template:HAS[#name[Duna]],!Template:HAS[#removeAtmosphere[True]]] + @Body:HAS[@Template[Duna]:HAS[~removeAtmosphere[True]]] { %Atmosphere {} @Atmosphere:HAS[~maxAltitude[*]] @@ -9,15 +9,14 @@ } @Atmosphere { + + &staticPressureASL = 6.755 + &temperatureSeaLevel = 250 + %pressureCurve {} %temperatureCurve {} %temperatureSunMultCurve {} - %AtmosphereFromGround - { - &innerRadiusMult = 0.975 - &outerRadiusMult = 1.025 - } @pressureCurve:HAS[~key[*]] { key = 0 6.755 0 -0.0007 diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_DeletedMods.cfg new file mode 100644 index 0000000..976ca02 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_DeletedMods.cfg @@ -0,0 +1,147 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Duna]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_VertexHeightMap§_Height§,:,VertexHeightMap,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeightAbsolute§_Height§,:,VertexSimplexHeightAbsolute,: + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSLandControl§_LandClass§,:,LandControl,: + @removePQSMods ^= :,PQSMod_AerialPerspectiveMaterial§_Material_AerialPerspective§,:,AerialPerspectiveMaterial,: + @removePQSMods ^= :,PQSMod_MapDecal§Pyramid§,:,MapDecal,: + } + + // Remove PQSMods by name + + @Mods:HAS[#removePQSMods[*,PQSMod_VertexHeightNoiseVertHeightCurve2§_Height§,*]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _Height + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_VertexHeightNoiseVertHeightCurve2§_Height;1§,*]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _Height + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_VertexHeightNoiseVertHeightCurve2§_Height;2§,*]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _Height + index = 2 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,VertexHeightMap,*]] + { + VertexHeightMap + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeightAbsolute,*]] + { + VertexSimplexHeightAbsolute + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoiseVertHeightCurve2,*]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _Height + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + VertexHeightNoiseVertHeightCurve2 + { + name = _Height + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + VertexHeightNoiseVertHeightCurve2 + { + name = _Height + index = 2 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = _LandClass + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AerialPerspectiveMaterial,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,MapDecal,*]] + { + MapDecal + { + name = Pyramid + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_PQSNames.cfg new file mode 100644 index 0000000..daeff8a --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_PQSNames.cfg @@ -0,0 +1,263 @@ +// VertexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Duna]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Duna],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightMap + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightMap {} + !VertexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeightAbsolute +@Kopernicus:HAS[@Body:HAS[@Template[Duna]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Duna],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeightAbsolute + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexSimplexHeightAbsolute + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeightAbsolute {} + !VertexSimplexHeightAbsolute {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoiseVertHeightCurve2 +@Kopernicus:HAS[@Body:HAS[@Template[Duna]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Duna],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoiseVertHeightCurve2 + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoiseVertHeightCurve2:HAS[#SigmaDimensions[1],#index[0],#name[_Height]]] + { + @VertexHeightNoiseVertHeightCurve2 + { + &name = _Height + &index = 0 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoiseVertHeightCurve2:HAS[#SigmaDimensions[1],#index[1],#name[_Height]]] + { + @VertexHeightNoiseVertHeightCurve2 + { + &name = _Height + &index = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoiseVertHeightCurve2:HAS[#SigmaDimensions[1],#index[2],#name[_Height]]] + { + @VertexHeightNoiseVertHeightCurve2 + { + &name = _Height + &index = 2 + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoiseVertHeightCurve2 {} + !VertexHeightNoiseVertHeightCurve2 {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Duna]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Duna],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Duna]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Duna],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[_LandClass]]] + { + @LandControl + { + &name = _LandClass + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AerialPerspectiveMaterial +@Kopernicus:HAS[@Body:HAS[@Template[Duna]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Duna],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AerialPerspectiveMaterial + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],#name[_Material_AerialPerspective]]] + { + @AerialPerspectiveMaterial + { + &name = _Material_AerialPerspective + } + } + // move processed node to the end + @Mods + { + #AerialPerspectiveMaterial {} + !AerialPerspectiveMaterial {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// MapDecal +@Kopernicus:HAS[@Body:HAS[@Template[Duna]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Duna],@PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @MapDecal + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!MapDecal:HAS[#SigmaDimensions[1],#name[Pyramid]]] + { + @MapDecal + { + &name = Pyramid + } + } + // move processed node to the end + @Mods + { + #MapDecal {} + !MapDecal {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_Values.cfg new file mode 100644 index 0000000..d1dbadd --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Duna/Duna_Values.cfg @@ -0,0 +1,137 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Duna]] + { + %Properties + { + &radius = 320000 + &geeASL = 0.300102493404406 + &rotationPeriod = 65517.859375 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 30000 30000 60000 100000 300000 600000 800000 + %ScienceValues + { + &flyingAltitudeThreshold = 12000 + &spaceAltitudeThreshold = 140000 + } + } + %Orbit + { + &semiMajorAxis = 20726155264 + } + } + @Body:HAS[@Template[Duna]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods {} + @Mods:HAS[!VertexHeightNoiseVertHeightCurve2[_Height]:HAS[#index[0]]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _Height + index = 0 + } + } + @Mods:HAS[!VertexHeightNoiseVertHeightCurve2[_Height]:HAS[#index[1]]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _Height + index = 1 + } + } + @Mods:HAS[!VertexHeightNoiseVertHeightCurve2[_Height]:HAS[#index[2]]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _Height + index = 2 + } + } + %Mods + { + %VertexHeightMap[_Height] + { + &deformity = 6000 + } + %VertexSimplexHeightAbsolute[_Height] + { + &deformity = 500 + } + @VertexHeightNoiseVertHeightCurve2[_Height]:HAS[#index[0]] + { + &deformity = 1000 + &simplexHeightEnd = 6500 + } + @VertexHeightNoiseVertHeightCurve2[_Height]:HAS[#index[1]] + { + &deformity = 1000 + &simplexHeightEnd = 7500 + } + @VertexHeightNoiseVertHeightCurve2[_Height]:HAS[#index[2]] + { + &deformity = 2000 + &simplexHeightEnd = 8500 + } + %AltitudeAlpha[_Material_ModProjection] + { + &atmosphereDepth = 11500 + } + %LandControl[_LandClass] + { + &vHeightMax = 3500 + %landClasses {} + @landClasses:HAS[!Class[Ice?Caps]] + { + Class + { + name = Ice Caps + } + } + @landClasses + { + %Class[Badlands] + { + &alterApparentHeight = 0 + &alterRealHeight = 0 + } + %Class[Craters] + { + &alterApparentHeight = 0 + &alterRealHeight = 0 + } + @Class[Ice?Caps] + { + &alterApparentHeight = 100 + &alterRealHeight = 100 + } + %Class[Frost] + { + &alterApparentHeight = 0 + &alterRealHeight = 0 + } + #Class[Badlands] {} + #Class[Craters] {} + #Class[Ice?Caps] {} + #Class[Frost] {} + !Class[Badlands] {} + !Class[Craters] {} + !Class[Ice?Caps] {} + !Class[Frost] {} + } + } + %AerialPerspectiveMaterial[_Material_AerialPerspective] + { + &atmosphereDepth = 150000 + } + %MapDecal[Pyramid] + { + &absoluteOffset = 0 + &heightMapDeformity = 100 + &radius = 400 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eeloo/Eeloo_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eeloo/Eeloo_DeletedMods.cfg new file mode 100644 index 0000000..104da0c --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eeloo/Eeloo_DeletedMods.cfg @@ -0,0 +1,111 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Eeloo]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSLandControl§_LandClass§,:,LandControl,: + @removePQSMods ^= :,PQSMod_AerialPerspectiveMaterial§_Material_AerialPerspective§,:,AerialPerspectiveMaterial,: + @removePQSMods ^= :,PQSMod_VertexHeightMap§_Height§,:,VertexHeightMap,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeight§_HeightNoise§,:,VertexSimplexHeight,: + @removePQSMods ^= :,PQSMod_VertexHeightNoise§_HeightNoise§,:,VertexHeightNoise,: + @removePQSMods ^= :,PQSMod_VertexVoronoi§_HeightNoise§,:,VertexVoronoi,: + @removePQSMods ^= :,PQSMod_FlattenOcean§_HeightNoise§,:,FlattenOcean,: + @removePQSMods ^= :,PQSMod_VertexHeightNoiseVertHeight§_FineDetail§,:,VertexHeightNoiseVertHeight,: + } + + // Remove PQSMods by name + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = _LandClass + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AerialPerspectiveMaterial,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightMap,*]] + { + VertexHeightMap + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeight,*]] + { + VertexSimplexHeight + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoise,*]] + { + VertexHeightNoise + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexVoronoi,*]] + { + VertexVoronoi + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,FlattenOcean,*]] + { + FlattenOcean + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoiseVertHeight,*]] + { + VertexHeightNoiseVertHeight + { + name = _FineDetail + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eeloo/Eeloo_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eeloo/Eeloo_PQSNames.cfg new file mode 100644 index 0000000..f35e6c6 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eeloo/Eeloo_PQSNames.cfg @@ -0,0 +1,279 @@ +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[_LandClass]]] + { + @LandControl + { + &name = _LandClass + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AerialPerspectiveMaterial +@Kopernicus:HAS[@Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AerialPerspectiveMaterial + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],#name[_Material_AerialPerspective]]] + { + @AerialPerspectiveMaterial + { + &name = _Material_AerialPerspective + } + } + // move processed node to the end + @Mods + { + #AerialPerspectiveMaterial {} + !AerialPerspectiveMaterial {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightMap + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightMap {} + !VertexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeight +@Kopernicus:HAS[@Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeight:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexSimplexHeight + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeight {} + !VertexSimplexHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoise +@Kopernicus:HAS[@Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoise + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoise:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexHeightNoise + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoise {} + !VertexHeightNoise {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexVoronoi +@Kopernicus:HAS[@Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexVoronoi:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexVoronoi:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexVoronoi:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexVoronoi + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexVoronoi:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexVoronoi + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexVoronoi {} + !VertexVoronoi {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// FlattenOcean +@Kopernicus:HAS[@Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @FlattenOcean + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!FlattenOcean:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @FlattenOcean + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #FlattenOcean {} + !FlattenOcean {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoiseVertHeight +@Kopernicus:HAS[@Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoiseVertHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoiseVertHeight:HAS[#SigmaDimensions[1],#name[_FineDetail]]] + { + @VertexHeightNoiseVertHeight + { + &name = _FineDetail + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoiseVertHeight {} + !VertexHeightNoiseVertHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eeloo/Eeloo_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eeloo/Eeloo_Values.cfg new file mode 100644 index 0000000..973842e --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eeloo/Eeloo_Values.cfg @@ -0,0 +1,66 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Eeloo]] + { + %Properties + { + &radius = 210000 + &geeASL = 0.172058761891442 + &rotationPeriod = 19460 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 4000 4000 20000 30000 40000 70000 150000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 60000 + } + } + %Orbit + { + &semiMajorAxis = 90118820000 + } + } + @Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %LandControl[_LandClass] + { + &vHeightMax = 3500 + } + %AerialPerspectiveMaterial[_Material_AerialPerspective] + { + &atmosphereDepth = 150000 + } + %VertexHeightMap[_Height] + { + &offset = -300 + &deformity = 4100 + } + %VertexSimplexHeight[_HeightNoise] + { + &deformity = 600 + } + %VertexHeightNoise[_HeightNoise] + { + &deformity = 400 + } + %VertexVoronoi[_HeightNoise] + { + &deformation = 250 + &displacement = 0.00499999988824129 + } + %FlattenOcean[_HeightNoise] + { + &oceanRadius = 1 + } + %VertexHeightNoiseVertHeight[_FineDetail] + { + &deformity = 140 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_Atmosphere.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_Atmosphere.cfg new file mode 100644 index 0000000..745dcf0 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_Atmosphere.cfg @@ -0,0 +1,51 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Eve]:HAS[~removeAtmosphere[True]]] + { + %Atmosphere {} + @Atmosphere:HAS[~maxAltitude[*]] + { + maxAltitude = 90000 + } + @Atmosphere + { + + &staticPressureASL = 506.625 + &temperatureSeaLevel = 408 + + %pressureCurve {} + %temperatureCurve {} + %temperatureSunMultCurve {} + + @pressureCurve:HAS[~key[*]] + { + key = 0 506.625 0 -0.04423852 + key = 15000 95.6891 -0.01304926 -0.01304926 + key = 25000 18.07334 -0.003012223 -0.003012223 + key = 40000 3.5 -0.0005689354 -0.0005689354 + key = 50000 0.1217772 -2.02962E-05 -2.02962E-05 + key = 60000 0.02300074 -3.8335E-06 -3.8335E-06 + key = 70000 0.004344278 -7.24E-07 -7.24E-07 + key = 80000 0.0008205283 -1.368E-07 -1.368E-07 + key = 90000 0 -2.58E-08 0 + } + @temperatureCurve:HAS[~key[*]] + { + key = 0 420 0 -0.01029338 + key = 15000 280 -0.004705439 -0.004705439 + key = 50000 180 0 0 + key = 60000 190 0 0 + key = 70000 160 0 0 + key = 90000 250 0.005894589 0 + } + @temperatureSunMultCurve:HAS[~key[*]] + { + key = 0 1 0 0 + key = 15000 0 0 0 + key = 50000 0.5 0 0 + key = 70000 1.5 3.82549E-05 3.82549E-05 + key = 90000 2 0 0 + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_DeletedMods.cfg new file mode 100644 index 0000000..7433847 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_DeletedMods.cfg @@ -0,0 +1,120 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Eve]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_VertexHeightMap§_HeightNoise§,:,VertexHeightMap,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeight§_HeightNoise§,:,VertexSimplexHeight,: + @removePQSMods ^= :,PQSMod_VertexHeightNoiseVertHeightCurve2§_HeightNoise§,:,VertexHeightNoiseVertHeightCurve2,: + @removePQSMods ^= :,PQSLandControl§_LandClass§,:,LandControl,: + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + } + + // Remove PQSMods by name + + @Mods:HAS[#removePQSMods[*,PQSMod_AerialPerspectiveMaterial§_Material_AerialPerspective§,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_AerialPerspectiveMaterial§_Material_AerialPerspective;1§,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,VertexHeightMap,*]] + { + VertexHeightMap + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeight,*]] + { + VertexSimplexHeight + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoiseVertHeightCurve2,*]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = _LandClass + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AerialPerspectiveMaterial,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_PQSNames.cfg new file mode 100644 index 0000000..6a31409 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_PQSNames.cfg @@ -0,0 +1,219 @@ +// VertexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Eve]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eve],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexHeightMap + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexHeightMap {} + !VertexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeight +@Kopernicus:HAS[@Body:HAS[@Template[Eve]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eve],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeight:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexSimplexHeight + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeight {} + !VertexSimplexHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoiseVertHeightCurve2 +@Kopernicus:HAS[@Body:HAS[@Template[Eve]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eve],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoiseVertHeightCurve2 + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoiseVertHeightCurve2:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexHeightNoiseVertHeightCurve2 + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoiseVertHeightCurve2 {} + !VertexHeightNoiseVertHeightCurve2 {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Eve]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eve],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[_LandClass]]] + { + @LandControl + { + &name = _LandClass + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Eve]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eve],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AerialPerspectiveMaterial +@Kopernicus:HAS[@Body:HAS[@Template[Eve]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Eve],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AerialPerspectiveMaterial + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],#index[0],#name[_Material_AerialPerspective]]] + { + @AerialPerspectiveMaterial + { + &name = _Material_AerialPerspective + &index = 0 + } + } + // Set the name + @Mods:HAS[!AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],#index[1],#name[_Material_AerialPerspective]]] + { + @AerialPerspectiveMaterial + { + &name = _Material_AerialPerspective + &index = 1 + } + } + // move processed node to the end + @Mods + { + #AerialPerspectiveMaterial {} + !AerialPerspectiveMaterial {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_Values.cfg new file mode 100644 index 0000000..22c5981 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Eve/Eve_Values.cfg @@ -0,0 +1,80 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Eve]] + { + %Properties + { + &radius = 700000 + &geeASL = 1.7005807760833 + &rotationPeriod = 80500 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 + %ScienceValues + { + &flyingAltitudeThreshold = 22000 + &spaceAltitudeThreshold = 400000 + } + } + %Orbit + { + &semiMajorAxis = 9832684544 + } + } + @Body:HAS[@Template[Eve]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods {} + @Mods:HAS[!AerialPerspectiveMaterial[_Material_AerialPerspective]:HAS[#index[0]]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 0 + } + } + @Mods:HAS[!AerialPerspectiveMaterial[_Material_AerialPerspective]:HAS[#index[1]]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 1 + } + } + %Mods + { + %VertexHeightMap[_HeightNoise] + { + &offset = -1500 + &deformity = 5000 + } + %VertexSimplexHeight[_HeightNoise] + { + &deformity = 500 + } + %VertexHeightNoiseVertHeightCurve2[_HeightNoise] + { + &deformity = 5000 + &simplexHeightEnd = 5000 + &simplexHeightStart = 250 + } + %LandControl[_LandClass] + { + &vHeightMax = 3500 + } + %AltitudeAlpha[_Material_ModProjection] + { + &atmosphereDepth = 10000 + } + @AerialPerspectiveMaterial[_Material_AerialPerspective]:HAS[#index[0]] + { + &atmosphereDepth = 150000 + } + @AerialPerspectiveMaterial[_Material_AerialPerspective]:HAS[#index[1]] + { + &atmosphereDepth = 5000 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Gilly/Gilly_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Gilly/Gilly_DeletedMods.cfg new file mode 100644 index 0000000..14c7b4b --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Gilly/Gilly_DeletedMods.cfg @@ -0,0 +1,71 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Gilly]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_VertexSimplexHeightAbsolute§_Height§,:,VertexSimplexHeightAbsolute,: + @removePQSMods ^= :,PQSMod_VertexHeightNoise§_Height§,:,VertexHeightNoise,: + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSLandControl§Scatter§,:,LandControl,: + } + + // Remove PQSMods by name + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,VertexSimplexHeightAbsolute,*]] + { + VertexSimplexHeightAbsolute + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoise,*]] + { + VertexHeightNoise + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = Scatter + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Gilly/Gilly_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Gilly/Gilly_PQSNames.cfg new file mode 100644 index 0000000..304506b --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Gilly/Gilly_PQSNames.cfg @@ -0,0 +1,139 @@ +// VertexSimplexHeightAbsolute +@Kopernicus:HAS[@Body:HAS[@Template[Gilly]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Gilly],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeightAbsolute + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexSimplexHeightAbsolute + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeightAbsolute {} + !VertexSimplexHeightAbsolute {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoise +@Kopernicus:HAS[@Body:HAS[@Template[Gilly]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Gilly],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoise + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoise:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightNoise + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoise {} + !VertexHeightNoise {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Gilly]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Gilly],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Gilly]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Gilly],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[Scatter]]] + { + @LandControl + { + &name = Scatter + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Gilly/Gilly_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Gilly/Gilly_Values.cfg new file mode 100644 index 0000000..b3faa46 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Gilly/Gilly_Values.cfg @@ -0,0 +1,48 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Gilly]] + { + %Properties + { + &radius = 13000 + &geeASL = 0.00500170791285985 + &rotationPeriod = 28255 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 8000 8000 8000 20000 40000 80000 100000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 6000 + } + } + %Orbit + { + &semiMajorAxis = 31500000 + } + } + @Body:HAS[@Template[Gilly]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %VertexSimplexHeightAbsolute + { + &deformity = 8000 + } + %VertexHeightNoise + { + &deformity = 150 + } + %AltitudeAlpha + { + &atmosphereDepth = 8000 + } + %LandControl + { + &vHeightMax = 10000 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Ike/Ike_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Ike/Ike_DeletedMods.cfg new file mode 100644 index 0000000..8a779f9 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Ike/Ike_DeletedMods.cfg @@ -0,0 +1,81 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Ike]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_VertexSimplexHeightAbsolute§_Height§,:,VertexSimplexHeightAbsolute,: + @removePQSMods ^= :,PQSMod_VertexHeightNoise§_Height§,:,VertexHeightNoise,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeight§_Height§,:,VertexSimplexHeight,: + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSLandControl§Scatter§,:,LandControl,: + } + + // Remove PQSMods by name + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,VertexSimplexHeightAbsolute,*]] + { + VertexSimplexHeightAbsolute + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoise,*]] + { + VertexHeightNoise + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeight,*]] + { + VertexSimplexHeight + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = Scatter + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Ike/Ike_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Ike/Ike_PQSNames.cfg new file mode 100644 index 0000000..954d26e --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Ike/Ike_PQSNames.cfg @@ -0,0 +1,174 @@ +// VertexSimplexHeightAbsolute +@Kopernicus:HAS[@Body:HAS[@Template[Ike]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Ike],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeightAbsolute + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexSimplexHeightAbsolute + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeightAbsolute {} + !VertexSimplexHeightAbsolute {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoise +@Kopernicus:HAS[@Body:HAS[@Template[Ike]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Ike],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoise + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoise:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightNoise + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoise {} + !VertexHeightNoise {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeight +@Kopernicus:HAS[@Body:HAS[@Template[Ike]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Ike],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeight:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexSimplexHeight + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeight {} + !VertexSimplexHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Ike]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Ike],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Ike]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Ike],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[Scatter]]] + { + @LandControl + { + &name = Scatter + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Ike/Ike_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Ike/Ike_Values.cfg new file mode 100644 index 0000000..c019e92 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Ike/Ike_Values.cfg @@ -0,0 +1,52 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Ike]] + { + %Properties + { + &radius = 130000 + &geeASL = 0.112038263210561 + &rotationPeriod = 65517.8621348081 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 5000 5000 10000 25000 50000 100000 200000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 50000 + } + } + %Orbit + { + &semiMajorAxis = 3200000 + } + } + @Body:HAS[@Template[Ike]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %VertexSimplexHeightAbsolute[_Height] + { + &deformity = 12000 + } + %VertexHeightNoise[_Height] + { + &deformity = 1600 + } + %VertexSimplexHeight[_Height] + { + &deformity = 100 + } + %AltitudeAlpha[_Material_ModProjection] + { + &atmosphereDepth = 8000 + } + %LandControl[Scatter] + { + &vHeightMax = 10000 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Jool_atmo.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Jool/Jool_Atmosphere.cfg similarity index 81% rename from GameData/Sigma/Dimensions/Configs/Bodies/Jool_atmo.cfg rename to GameData/Sigma/Dimensions/Configs/Bodies/Templates/Jool/Jool_Atmosphere.cfg index b731732..aa65301 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Jool_atmo.cfg +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Jool/Jool_Atmosphere.cfg @@ -1,6 +1,6 @@ @Kopernicus:FOR[SigDim] { - @Body:HAS[@Template:HAS[#name[Jool]],!Template:HAS[#removeAtmosphere[True]]] + @Body:HAS[@Template[Jool]:HAS[~removeAtmosphere[True]]] { %Atmosphere {} @Atmosphere:HAS[~maxAltitude[*]] @@ -9,18 +9,18 @@ } @Atmosphere { + + &staticPressureASL = 1519.875 + &temperatureSeaLevel = 200 + %pressureCurve {} %temperatureCurve {} %temperatureSunMultCurve {} - %AtmosphereFromGround - { - &innerRadiusMult = 0.975 - &outerRadiusMult = 1.025 - } @pressureCurve:HAS[~key[*]] { - key = 0 1519.875 0 -0.05753474 + key = 0 5066.25 0 -0.6723968 + key = 10000 1519.875 -0.1346587 -0.1346587 key = 29000 628.0436 -0.01449255 -0.01449255 key = 123450 22.26 -0.001562163 -0.001562163 key = 150000 2 -0.0001361465 -0.0001361465 diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Jool/Jool_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Jool/Jool_Values.cfg new file mode 100644 index 0000000..5d95c50 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Jool/Jool_Values.cfg @@ -0,0 +1,23 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Jool]] + { + %Properties + { + &radius = 6000000 + &geeASL = 0.800273295870079 + &rotationPeriod = 36000 + &inverseRotThresholdAltitude = 220000 + &timewarpAltitudeLimits = 0 0 15000 60000 150000 300000 600000 1200000 + %ScienceValues + { + &flyingAltitudeThreshold = 120000 + &spaceAltitudeThreshold = 4000000 + } + } + %Orbit + { + &semiMajorAxis = 68773560320 + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Kerbin_atmo.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_Atmosphere.cfg similarity index 92% rename from GameData/Sigma/Dimensions/Configs/Bodies/Kerbin_atmo.cfg rename to GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_Atmosphere.cfg index b333f8f..38dabd5 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Kerbin_atmo.cfg +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_Atmosphere.cfg @@ -1,6 +1,6 @@ @Kopernicus:FOR[SigDim] { - @Body:HAS[@Template:HAS[#name[Kerbin]],!Template:HAS[#removeAtmosphere[True]]] + @Body:HAS[@Template[Kerbin]:HAS[~removeAtmosphere[True]]] { %Atmosphere {} @Atmosphere:HAS[~maxAltitude[*]] @@ -9,15 +9,14 @@ } @Atmosphere { + + !staticPressureASL,* = DEL + &temperatureSeaLevel = 287 + %pressureCurve {} %temperatureCurve {} %temperatureSunMultCurve {} - %AtmosphereFromGround - { - &innerRadiusMult = 0.975 - &outerRadiusMult = 1.025 - } @pressureCurve:HAS[~key[*]] { key = 0 101.325 0 -0.01501631 @@ -67,4 +66,4 @@ } } } -} +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_DeletedMods.cfg new file mode 100644 index 0000000..66952de --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_DeletedMods.cfg @@ -0,0 +1,147 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_VertexSimplexHeightAbsolute§_HeightNoise§,:,VertexSimplexHeightAbsolute,: + @removePQSMods ^= :,PQSMod_VertexHeightNoiseVertHeightCurve2§_HeightNoise§,:,VertexHeightNoiseVertHeightCurve2,: + @removePQSMods ^= :,PQSMod_VertexRidgedAltitudeCurve§_HeightNoise§,:,VertexRidgedAltitudeCurve,: + @removePQSMods ^= :,PQSLandControl§_LandClassOcean§,:,LandControl,: + @removePQSMods ^= :,PQSMod_AerialPerspectiveMaterial§_Material_AerialPerspective§,:,AerialPerspectiveMaterial,: + @removePQSMods ^= :,PQSMod_VertexHeightMap§_Height§,:,VertexHeightMap,: + @removePQSMods ^= :,PQSMod_MapDecal§KSC2§,:,MapDecal,: + @removePQSMods ^= :,PQSMod_FlattenArea§Pyramids§,:,FlattenArea,: + } + + + // Remove PQSMods by name + + @Mods:HAS[#removePQSMods[*,PQSMod_MapDecalTangent§KSC§,*]] + { + MapDecalTangent + { + name = KSC + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_MapDecalTangent§IslandAirfield§,*]] + { + MapDecalTangent + { + name = IslandAirfield + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,VertexSimplexHeightAbsolute,*]] + { + VertexSimplexHeightAbsolute + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoiseVertHeightCurve2,*]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexRidgedAltitudeCurve,*]] + { + VertexRidgedAltitudeCurve + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = _LandClassOcean + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AerialPerspectiveMaterial,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightMap,*]] + { + VertexHeightMap + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,MapDecalTangent,*]] + { + MapDecalTangent + { + name = KSC + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + MapDecalTangent + { + name = IslandAirfield + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,MapDecal,*]] + { + MapDecal + { + name = KSC2 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,FlattenArea,*]] + { + FlattenArea + { + name = Pyramids + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_PQSNames.cfg new file mode 100644 index 0000000..9d623c4 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_PQSNames.cfg @@ -0,0 +1,322 @@ +// VertexSimplexHeightAbsolute +@Kopernicus:HAS[@Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeightAbsolute + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexSimplexHeightAbsolute + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeightAbsolute {} + !VertexSimplexHeightAbsolute {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoiseVertHeightCurve2 +@Kopernicus:HAS[@Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoiseVertHeightCurve2 + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoiseVertHeightCurve2:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexHeightNoiseVertHeightCurve2 + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoiseVertHeightCurve2 {} + !VertexHeightNoiseVertHeightCurve2 {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexRidgedAltitudeCurve +@Kopernicus:HAS[@Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexRidgedAltitudeCurve:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin],@PQS:HAS[@Mods:HAS[@VertexRidgedAltitudeCurve:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexRidgedAltitudeCurve:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexRidgedAltitudeCurve + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexRidgedAltitudeCurve:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexRidgedAltitudeCurve + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexRidgedAltitudeCurve {} + !VertexRidgedAltitudeCurve {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[_LandClassOcean]]] + { + @LandControl + { + &name = _LandClassOcean + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AerialPerspectiveMaterial +@Kopernicus:HAS[@Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AerialPerspectiveMaterial + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],#name[_Material_AerialPerspective]]] + { + @AerialPerspectiveMaterial + { + &name = _Material_AerialPerspective + } + } + // move processed node to the end + @Mods + { + #AerialPerspectiveMaterial {} + !AerialPerspectiveMaterial {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightMap + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightMap {} + !VertexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// MapDecalTangent +@Kopernicus:HAS[@Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@MapDecalTangent:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin],@PQS:HAS[@Mods:HAS[@MapDecalTangent:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@MapDecalTangent:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @MapDecalTangent + { + %SigmaDimensions = 1 + } + } + // KSC + @Mods:HAS[!MapDecalTangent:HAS[#SigmaDimensions[1],#name[KSC]]] + { + @MapDecalTangent + { + &name = KSC + } + } + // IslandAirfield + @Mods:HAS[!MapDecalTangent:HAS[#SigmaDimensions[1],#name[IslandAirfield]]] + { + @MapDecalTangent + { + &name = IslandAirfield + } + } + // move processed node to the end + @Mods + { + #MapDecalTangent {} + !MapDecalTangent {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// MapDecal +@Kopernicus:HAS[@Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin],@PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @MapDecal + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!MapDecal:HAS[#SigmaDimensions[1],#name[KSC2]]] + { + @MapDecal + { + &name = KSC2 + } + } + // move processed node to the end + @Mods + { + #MapDecal {} + !MapDecal {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// FlattenArea +@Kopernicus:HAS[@Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@FlattenArea:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin],@PQS:HAS[@Mods:HAS[@FlattenArea:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@FlattenArea:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @FlattenArea + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!FlattenArea:HAS[#SigmaDimensions[1],#name[Pyramids]]] + { + @FlattenArea + { + &name = Pyramids + } + } + // move processed node to the end + @Mods + { + #FlattenArea {} + !FlattenArea {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_Values.cfg new file mode 100644 index 0000000..22a2d2a --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Kerbin/Kerbin_Values.cfg @@ -0,0 +1,108 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Kerbin]] + { + %Properties + { + &radius = 600000 + &geeASL = 1.00034160493135 + &rotationPeriod = 21600 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 250000 + } + } + %Orbit + { + &semiMajorAxis = 13599840256 + } + } + @Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %VertexSimplexHeightAbsolute[_HeightNoise] + { + &deformity = 485 + } + %VertexHeightNoiseVertHeightCurve2[_HeightNoise] + { + &deformity = 4000 + &simplexHeightEnd = 4600 + &simplexHeightStart = 800 + } + %VertexRidgedAltitudeCurve[_HeightNoise] + { + &deformity = 750 + &simplexHeightEnd = 6000 + &simplexHeightStart = 0 + } + %LandControl[_LandClassOcean] + { + &vHeightMax = 3500 + + %landClasses + { + %Class[DesertMountains] + { + &alterApparentHeight = -0.8 + &alterRealHeight = 0 + } + %Class[IceCaps] + { + &alterApparentHeight = 100 + &alterRealHeight = 10 + } + } + } + %AerialPerspectiveMaterial[_Material_AerialPerspective] + { + &atmosphereDepth = 150000 + } + %VertexHeightMap[_Height] + { + &offset = -1500 + &deformity = 5000 + } + %MapDecalTangent[KSC] + { + &heightMapDeformity = 70 + &radius = 7500 + } + %MapDecalTangent[IslandAirfield] + { + &absoluteOffset = -85 + &heightMapDeformity = 200 + &radius = 1200 + &smoothHeight = 0.2 + } + %MapDecal[KSC2] + { + &absoluteOffset = 400 + &heightMapDeformity = 100 + &radius = 2000 + &smoothHeight = 0.1 + } + %FlattenArea[Pyramids] + { + &flattenTo = 1300 + &innerRadius = 400 + &outerRadius = 1000 + } + } + } + } + @Body[Kerbin] + { + %SpaceCenter + { + &heightMapDeformity = 70 + &absoluteOffset = 0 + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Laythe_atmo.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_Atmosphere.cfg similarity index 87% rename from GameData/Sigma/Dimensions/Configs/Bodies/Laythe_atmo.cfg rename to GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_Atmosphere.cfg index 112ba9d..dc8f7f0 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Laythe_atmo.cfg +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_Atmosphere.cfg @@ -1,6 +1,6 @@ @Kopernicus:FOR[SigDim] { - @Body:HAS[@Template:HAS[#name[Laythe]],!Template:HAS[#removeAtmosphere[True]]] + @Body:HAS[@Template[Laythe]:HAS[~removeAtmosphere[True]]] { %Atmosphere {} @Atmosphere:HAS[~maxAltitude[*]] @@ -9,15 +9,14 @@ } @Atmosphere { + + &staticPressureASL = 60.795 + &temperatureSeaLevel = 282 + %pressureCurve {} %temperatureCurve {} %temperatureSunMultCurve {} - %AtmosphereFromGround - { - &innerRadiusMult = 0.975 - &outerRadiusMult = 1.025 - } @pressureCurve:HAS[~key[*]] { key = 0 60.795 0 -0.005216384 diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_DeletedMods.cfg new file mode 100644 index 0000000..86c1f23 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_DeletedMods.cfg @@ -0,0 +1,130 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Laythe]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSLandControl§_LandClass§,:,LandControl,: + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSMod_VertexHeightNoise§_HeightNoise§,:,VertexHeightNoise,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeightMap§_HeightNoise§,:,VertexSimplexHeightMap,: + @removePQSMods ^= :,PQSMod_VertexHeightNoiseVertHeight§_FineDetail§,:,VertexHeightNoiseVertHeight,: + @removePQSMods ^= :,PQSMod_VertexHeightMap§_Height§,:,VertexHeightMap,: + } + + // Remove PQSMods by name + + @Mods:HAS[#removePQSMods[*,PQSMod_AerialPerspectiveMaterial§_Material_AerialPerspective§,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_AerialPerspectiveMaterial§_Material_AerialPerspective;1§,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = _LandClass + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AerialPerspectiveMaterial,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoise,*]] + { + VertexHeightNoise + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeightMap,*]] + { + VertexSimplexHeightMap + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoiseVertHeight,*]] + { + VertexHeightNoiseVertHeight + { + name = _FineDetail + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightMap,*]] + { + VertexHeightMap + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_PQSNames.cfg new file mode 100644 index 0000000..2c1f192 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_PQSNames.cfg @@ -0,0 +1,254 @@ +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Laythe]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Laythe],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[_LandClass]]] + { + @LandControl + { + &name = _LandClass + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Laythe]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Laythe],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AerialPerspectiveMaterial +@Kopernicus:HAS[@Body:HAS[@Template[Laythe]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Laythe],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AerialPerspectiveMaterial + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],#index[0],#name[_Material_AerialPerspective]]] + { + @AerialPerspectiveMaterial + { + &name = _Material_AerialPerspective + &index = 0 + } + } + // Set the name + @Mods:HAS[!AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],#index[1],#name[_Material_AerialPerspective]]] + { + @AerialPerspectiveMaterial + { + &name = _Material_AerialPerspective + &index = 1 + } + } + // move processed node to the end + @Mods + { + #AerialPerspectiveMaterial {} + !AerialPerspectiveMaterial {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoise +@Kopernicus:HAS[@Body:HAS[@Template[Laythe]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Laythe],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoise + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoise:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexHeightNoise + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoise {} + !VertexHeightNoise {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Laythe]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Laythe],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightMap:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexSimplexHeightMap + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeightMap {} + !VertexSimplexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoiseVertHeight +@Kopernicus:HAS[@Body:HAS[@Template[Laythe]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Laythe],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoiseVertHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoiseVertHeight:HAS[#SigmaDimensions[1],#name[_FineDetail]]] + { + @VertexHeightNoiseVertHeight + { + &name = _FineDetail + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoiseVertHeight {} + !VertexHeightNoiseVertHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Laythe]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Laythe],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightMap + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightMap {} + !VertexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_Values.cfg new file mode 100644 index 0000000..d17119a --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Laythe/Laythe_Values.cfg @@ -0,0 +1,86 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Laythe]] + { + %Properties + { + &radius = 500000 + &geeASL = 0.800273295870079 + &rotationPeriod = 52980.8790593796 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 + %ScienceValues + { + &flyingAltitudeThreshold = 10000 + &spaceAltitudeThreshold = 200000 + } + } + %Orbit + { + &semiMajorAxis = 27184000 + } + } + @Body:HAS[@Template[Laythe]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods {} + @Mods:HAS[!AerialPerspectiveMaterial[_Material_AerialPerspective]:HAS[#index[0]]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 0 + } + } + @Mods:HAS[!AerialPerspectiveMaterial[_Material_AerialPerspective]:HAS[#index[1]]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + index = 1 + } + } + %Mods + { + %LandControl[_LandClass] + { + &vHeightMax = 6000 + %landClasses + { + %Class[IceCaps] + { + &alterApparentHeight = 100 + &alterRealHeight = 10 + } + } + } + @AerialPerspectiveMaterial[_Material_AerialPerspective]:HAS[#index[0]] + { + &atmosphereDepth = 150000 + } + @AerialPerspectiveMaterial[_Material_AerialPerspective]:HAS[#index[1]] + { + &atmosphereDepth = 5000 + } + %VertexHeightNoise[_HeightNoise] + { + &deformity = 800 + } + %VertexSimplexHeightMap[_HeightNoise] + { + &deformity = 900 + } + %VertexHeightNoiseVertHeight[_FineDetail] + { + &deformity = 200 + } + %VertexHeightMap[_Height] + { + &offset = -2000 + &deformity = 8000 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Minmus/Minmus_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Minmus/Minmus_DeletedMods.cfg new file mode 100644 index 0000000..e5c5446 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Minmus/Minmus_DeletedMods.cfg @@ -0,0 +1,61 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Minmus]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSMod_VertexPlanet§VertexPlanet§,:,VertexPlanet,: + @removePQSMods ^= :,PQSLandControl§Scatter§,:,LandControl,: + } + + // Remove PQSMods by name + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexPlanet,*]] + { + VertexPlanet + { + name = VertexPlanet + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = Scatter + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Minmus/Minmus_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Minmus/Minmus_PQSNames.cfg new file mode 100644 index 0000000..da64d81 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Minmus/Minmus_PQSNames.cfg @@ -0,0 +1,104 @@ +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Minmus]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Minmus],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexPlanet +@Kopernicus:HAS[@Body:HAS[@Template[Minmus]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexPlanet:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Minmus],@PQS:HAS[@Mods:HAS[@VertexPlanet:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexPlanet:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexPlanet + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexPlanet:HAS[#SigmaDimensions[1],#name[VertexPlanet]]] + { + @VertexPlanet + { + &name = VertexPlanet + } + } + // move processed node to the end + @Mods + { + #VertexPlanet {} + !VertexPlanet {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Minmus]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Minmus],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[Scatter]]] + { + @LandControl + { + &name = Scatter + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Minmus/Minmus_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Minmus/Minmus_Values.cfg new file mode 100644 index 0000000..de6a9f4 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Minmus/Minmus_Values.cfg @@ -0,0 +1,45 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Minmus]] + { + %Properties + { + &radius = 60000 + &geeASL = 0.05001708099188 + &rotationPeriod = 40400 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 3000 3000 6000 12000 24000 48000 60000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 30000 + } + } + %Orbit + { + &semiMajorAxis = 47000000 + } + } + @Body:HAS[@Template[Minmus]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %AltitudeAlpha[_Material_ModProjection] + { + &atmosphereDepth = 8000 + } + %VertexPlanet[VertexPlanet] + { + &colorDeformity = 6000 + &deformity = 5000 + } + %LandControl[Scatter] + { + &vHeightMax = 10000 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Moho/Moho_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Moho/Moho_DeletedMods.cfg new file mode 100644 index 0000000..d442107 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Moho/Moho_DeletedMods.cfg @@ -0,0 +1,101 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Moho]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSMod_AerialPerspectiveMaterial§_Material_AerialPerspective§,:,AerialPerspectiveMaterial,: + @removePQSMods ^= :,PQSMod_VertexHeightMap§_HeightNoise§,:,VertexHeightMap,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeight§_HeightNoise§,:,VertexSimplexHeight,: + @removePQSMods ^= :,PQSMod_FlattenOcean§_HeightNoise§,:,FlattenOcean,: + @removePQSMods ^= :,PQSMod_VertexHeightNoiseVertHeightCurve2§_HeightNoise§,:,VertexHeightNoiseVertHeightCurve2,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeightAbsolute§_FineDetail§,:,VertexSimplexHeightAbsolute,: + } + + // Remove PQSMods by name + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AerialPerspectiveMaterial,*]] + { + AerialPerspectiveMaterial + { + name = _Material_AerialPerspective + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightMap,*]] + { + VertexHeightMap + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeight,*]] + { + VertexSimplexHeight + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,FlattenOcean,*]] + { + FlattenOcean + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoiseVertHeightCurve2,*]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeightAbsolute,*]] + { + VertexSimplexHeightAbsolute + { + name = _FineDetail + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Moho/Moho_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Moho/Moho_PQSNames.cfg new file mode 100644 index 0000000..2bc7d72 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Moho/Moho_PQSNames.cfg @@ -0,0 +1,244 @@ +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Moho]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Moho],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AerialPerspectiveMaterial +@Kopernicus:HAS[@Body:HAS[@Template[Moho]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Moho],@PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AerialPerspectiveMaterial:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AerialPerspectiveMaterial + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],#name[_Material_AerialPerspective]]] + { + @AerialPerspectiveMaterial + { + &name = _Material_AerialPerspective + } + } + // move processed node to the end + @Mods + { + #AerialPerspectiveMaterial {} + !AerialPerspectiveMaterial {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Moho]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Moho],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexHeightMap + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexHeightMap {} + !VertexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeight +@Kopernicus:HAS[@Body:HAS[@Template[Moho]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Moho],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeight:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexSimplexHeight + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeight {} + !VertexSimplexHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// FlattenOcean +@Kopernicus:HAS[@Body:HAS[@Template[Moho]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Moho],@PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @FlattenOcean + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!FlattenOcean:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @FlattenOcean + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #FlattenOcean {} + !FlattenOcean {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoiseVertHeightCurve2 +@Kopernicus:HAS[@Body:HAS[@Template[Moho]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Moho],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoiseVertHeightCurve2 + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoiseVertHeightCurve2:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexHeightNoiseVertHeightCurve2 + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoiseVertHeightCurve2 {} + !VertexHeightNoiseVertHeightCurve2 {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeightAbsolute +@Kopernicus:HAS[@Body:HAS[@Template[Moho]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Moho],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeightAbsolute + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],#name[_FineDetail]]] + { + @VertexSimplexHeightAbsolute + { + &name = _FineDetail + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeightAbsolute {} + !VertexSimplexHeightAbsolute {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Moho/Moho_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Moho/Moho_Values.cfg new file mode 100644 index 0000000..3cf0a71 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Moho/Moho_Values.cfg @@ -0,0 +1,62 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Moho]] + { + %Properties + { + &radius = 250000 + &geeASL = 0.275093947318621 + &rotationPeriod = 1210000 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 10000 10000 30000 50000 100000 200000 300000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 80000 + } + } + %Orbit + { + &semiMajorAxis = 5263138304 + } + } + @Body:HAS[@Template[Moho]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %AltitudeAlpha[_Material_ModProjection] + { + &atmosphereDepth = 7000 + } + %AerialPerspectiveMaterial[_Material_AerialPerspective] + { + &atmosphereDepth = 150000 + } + %VertexHeightMap[_HeightNoise] + { + &deformity = 5000 + } + %VertexSimplexHeight[_HeightNoise] + { + &deformity = 500 + } + %FlattenOcean[_HeightNoise] + { + &oceanRadius = 1 + } + %VertexHeightNoiseVertHeightCurve2[_HeightNoise] + { + &deformity = 2500 + &simplexHeightEnd = 5500 + &simplexHeightStart = 10 + } + %VertexSimplexHeightAbsolute[_FineDetail] + { + &deformity = 200 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Mun/Mun_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Mun/Mun_DeletedMods.cfg new file mode 100644 index 0000000..4d7848c --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Mun/Mun_DeletedMods.cfg @@ -0,0 +1,154 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Mun]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_VertexHeightMap§_Height§,:,VertexHeightMap,: + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSLandControl§Scatter§,:,LandControl,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeight§_HeightNoise§,:,VertexSimplexHeight,: + @removePQSMods ^= :,PQSMod_VertexHeightNoiseVertHeight§_HeightNoise§,:,VertexHeightNoiseVertHeight,: + } + + // Remove PQSMods by name + + @Mods:HAS[#removePQSMods[*,PQSMod_FlattenArea§Monolith02§,*]] + { + FlattenArea + { + name = Monolith02 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_FlattenArea§Monolith01§,*]] + { + FlattenArea + { + name = Monolith01 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + + @Mods:HAS[#removePQSMods[*,PQSMod_VoronoiCraters§_HeightNoise§,*]] + { + VoronoiCraters + { + name = _HeightNoise + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_VoronoiCraters§_HeightNoise;1§,*]] + { + VoronoiCraters + { + name = _HeightNoise + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,VertexHeightMap,*]] + { + VertexHeightMap + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = Scatter + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,FlattenArea,*]] + { + FlattenArea + { + name = Monolith02 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + FlattenArea + { + name = Monolith01 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeight,*]] + { + VertexSimplexHeight + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoiseVertHeight,*]] + { + VertexHeightNoiseVertHeight + { + name = _HeightNoise + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VoronoiCraters,*]] + { + VoronoiCraters + { + name = _HeightNoise + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + VoronoiCraters + { + name = _HeightNoise + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Mun/Mun_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Mun/Mun_PQSNames.cfg new file mode 100644 index 0000000..dd49fb1 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Mun/Mun_PQSNames.cfg @@ -0,0 +1,261 @@ +// VertexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Mun]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Mun],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightMap + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightMap {} + !VertexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Mun]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Mun],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Mun]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Mun],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[Scatter]]] + { + @LandControl + { + &name = Scatter + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// FlattenArea +@Kopernicus:HAS[@Body:HAS[@Template[Mun]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@FlattenArea:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Mun],@PQS:HAS[@Mods:HAS[@FlattenArea:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@FlattenArea:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @FlattenArea + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!FlattenArea:HAS[#SigmaDimensions[1],#name[Monolith02]]] + { + @FlattenArea + { + &name = Monolith02 + } + } + @Mods:HAS[!FlattenArea:HAS[#SigmaDimensions[1],#name[Monolith01]]] + { + @FlattenArea + { + &name = Monolith01 + } + } + // move processed node to the end + @Mods + { + #FlattenArea {} + !FlattenArea {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeight +@Kopernicus:HAS[@Body:HAS[@Template[Mun]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Mun],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeight:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexSimplexHeight + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeight {} + !VertexSimplexHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoiseVertHeight +@Kopernicus:HAS[@Body:HAS[@Template[Mun]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Mun],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoiseVertHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoiseVertHeight:HAS[#SigmaDimensions[1],#name[_HeightNoise]]] + { + @VertexHeightNoiseVertHeight + { + &name = _HeightNoise + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoiseVertHeight {} + !VertexHeightNoiseVertHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VoronoiCraters +@Kopernicus:HAS[@Body:HAS[@Template[Mun]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VoronoiCraters:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Mun],@PQS:HAS[@Mods:HAS[@VoronoiCraters:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VoronoiCraters:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VoronoiCraters + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VoronoiCraters:HAS[#SigmaDimensions[1],#index[0],#name[_HeightNoise]]] + { + @VoronoiCraters + { + &name = _HeightNoise + &index = 0 + } + } + // Set the name + @Mods:HAS[!VoronoiCraters:HAS[#SigmaDimensions[1],#index[1],#name[_HeightNoise]]] + { + @VoronoiCraters + { + &name = _HeightNoise + &index = 1 + } + } + // move processed node to the end + @Mods + { + #VoronoiCraters {} + !VoronoiCraters {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Mun/Mun_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Mun/Mun_Values.cfg new file mode 100644 index 0000000..e04b216 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Mun/Mun_Values.cfg @@ -0,0 +1,91 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Mun]] + { + %Properties + { + &radius = 200000 + &geeASL = 0.166056700098353 + &rotationPeriod = 138984.376574476 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 5000 5000 10000 25000 50000 100000 200000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 60000 + } + } + %Orbit + { + &semiMajorAxis = 12000000 + } + } + @Body:HAS[@Template[Mun]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods {} + @Mods:HAS[!VoronoiCraters[_HeightNoise]:HAS[#index[0]]] + { + VoronoiCraters + { + name = _HeightNoise + index = 0 + } + } + @Mods:HAS[!VoronoiCraters[_HeightNoise]:HAS[#index[1]]] + { + VoronoiCraters + { + name = _HeightNoise + index = 1 + } + } + %Mods + { + %VertexHeightMap[_Height] + { + &deformity = 7500 + } + %AltitudeAlpha[_Material_ModProjection] + { + &atmosphereDepth = 8000 + } + %LandControl[Scatter] + { + &vHeightMax = 10000 + } + %FlattenArea[Monolith02] + { + &flattenTo = 4500.25 + &innerRadius = 200 + &outerRadius = 1000 + } + %FlattenArea[Monolith01] + { + &flattenTo = 4000.25 + &innerRadius = 200 + &outerRadius = 1000 + } + %VertexSimplexHeight[_HeightNoise] + { + &deformity = 400 + } + %VertexHeightNoiseVertHeight[_HeightNoise] + { + &deformity = 400 + } + @VoronoiCraters[_HeightNoise]:HAS[#index[0]] + { + &deformation = 500 + &jitterHeight = 3 + } + @VoronoiCraters[_HeightNoise]:HAS[#index[1]] + { + deformation = 200 + jitterHeight = 2 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Pol/Pol_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Pol/Pol_DeletedMods.cfg new file mode 100644 index 0000000..4420401 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Pol/Pol_DeletedMods.cfg @@ -0,0 +1,120 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Pol]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_VertexHeightNoise§_Height§,:,VertexHeightNoise,: + @removePQSMods ^= :,PQSMod_FlattenOcean§_Height§,:,FlattenOcean,: + @removePQSMods ^= :,PQSMod_VertexHeightOffset§_Height§,:,VertexHeightOffset,: + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSLandControl§Scatter§,:,LandControl,: + } + + // Remove PQSMods by name + + @Mods:HAS[#removePQSMods[*,PQSMod_VertexSimplexHeightAbsolute§_Height§,*]] + { + VertexSimplexHeightAbsolute + { + name = _Height + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_VertexSimplexHeightAbsolute§_Height;1§,*]] + { + VertexSimplexHeightAbsolute + { + name = _Height + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,VertexSimplexHeightAbsolute,*]] + { + VertexSimplexHeightAbsolute + { + name = _Height + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + VertexSimplexHeightAbsolute + { + name = _Height + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoise,*]] + { + VertexHeightNoise + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,FlattenOcean,*]] + { + FlattenOcean + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightOffset,*]] + { + VertexHeightOffset + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = Scatter + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Pol/Pol_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Pol/Pol_PQSNames.cfg new file mode 100644 index 0000000..b114005 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Pol/Pol_PQSNames.cfg @@ -0,0 +1,219 @@ +// VertexSimplexHeightAbsolute +@Kopernicus:HAS[@Body:HAS[@Template[Pol]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Pol],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeight:HAS[#SigmaDimensions[1],#index[0],#name[_Height]]] + { + @VertexSimplexHeight + { + &name = _Height + &index = 0 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeight:HAS[#SigmaDimensions[1],#index[1],#name[_Height]]] + { + @VertexSimplexHeight + { + &name = _Height + &index = 1 + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeight {} + !VertexSimplexHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoise +@Kopernicus:HAS[@Body:HAS[@Template[Pol]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Pol],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoise + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoise:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightNoise + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoise {} + !VertexHeightNoise {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// FlattenOcean +@Kopernicus:HAS[@Body:HAS[@Template[Pol]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Pol],@PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @FlattenOcean + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!FlattenOcean:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @FlattenOcean + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #FlattenOcean {} + !FlattenOcean {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightOffset +@Kopernicus:HAS[@Body:HAS[@Template[Pol]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightOffset:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Pol],@PQS:HAS[@Mods:HAS[@VertexHeightOffset:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightOffset:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightOffset + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightOffset:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightOffset + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightOffset {} + !VertexHeightOffset {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Pol]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Pol],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Pol]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Pol],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[Scatter]]] + { + @LandControl + { + &name = Scatter + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Pol/Pol_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Pol/Pol_Values.cfg new file mode 100644 index 0000000..44dc954 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Pol/Pol_Values.cfg @@ -0,0 +1,79 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Pol]] + { + %Properties + { + &radius = 44000 + &geeASL = 0.0380129809873912 + &rotationPeriod = 901902.623531173 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 5000 5000 5000 8000 12000 30000 90000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 22000 + } + } + %Orbit + { + &semiMajorAxis = 179890000 + } + } + @Body:HAS[@Template[Pol]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods {} + @Mods:HAS[!VertexSimplexHeightAbsolute[_Height]:HAS[#index[0]]] + { + VertexSimplexHeightAbsolute + { + name = _Height + index = 0 + } + } + @Mods:HAS[!VertexSimplexHeightAbsolute[_Height]:HAS[#index[1]]] + { + VertexSimplexHeightAbsolute + { + name = _Height + index = 1 + } + } + %Mods + { + @VertexSimplexHeightAbsolute[_Height]:HAS[#index[0]] + { + &deformity = 3000 + } + @VertexSimplexHeightAbsolute[_Height]:HAS[#index[1]] + { + &deformity = 800 + } + %VertexHeightNoise[_Height] + { + &deformity = 2600 + } + %FlattenOcean[_Height] + { + &oceanRadius = 1 + } + %VertexHeightOffset[_Height] + { + &offset = -700 + &order = 80 + &enabled = True + } + %AltitudeAlpha[_Material_ModProjection] + { + &atmosphereDepth = 8000 + } + %LandControl[Scatter] + { + &vHeightMax = 10000 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Sun/Sun_Atmosphere.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Sun/Sun_Atmosphere.cfg new file mode 100644 index 0000000..897f40c --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Sun/Sun_Atmosphere.cfg @@ -0,0 +1,51 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template:HAS[#name[Sun],~removeAtmosphere[True]],!Atmosphere] + { + Atmosphere + { + addAFG = False + } + } + @Body:HAS[@Template:HAS[#name[Sun],~removeAtmosphere[True]]] + { + @Atmosphere + { + &maxAltitude = 600000 + &staticPressureASL = 16 + &temperatureSeaLevel = 5840 + + %pressureCurve {} + %temperatureCurve {} + + @pressureCurve:HAS[~key[*]] + { + key = 0 16 0 0 + key = 5000 8.3 -0.001532 -0.001532 + key = 10000 0.68 -0.001178053 -0.001178053 + key = 10753.09 0.300954 -2.96097E-05 -2.96097E-05 + key = 14194.01 0.2613179 -8.41565E-07 -8.41565E-07 + key = 350000 0.1 -7.49481E-07 -7.49481E-07 + key = 400000 0.04 -7.05211E-07 -7.05211E-07 + key = 590000 2E-05 -6.21053E-09 -6.21053E-09 + key = 600000 0 0 0 + } + @temperatureCurve:HAS[~key[*]] + { + key = 0 5840 0 -0.2780258 + key = 10000 4465 -0.01447884 -0.01447884 + key = 50000 4000 -0.007179292 0.003853968 + key = 250000 5800 0.0009989792 0.0009989792 + key = 500000 6000 0.001352723 0.001352723 + key = 600000 10000 0.06371323 0 + } + } + @Atmosphere:HAS[~addAFG[False]] + { + %AtmosphereFromGround + { + &transformScale = 0,0,0 + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Sun_atmo.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Sun/Sun_Atmosphere.txt similarity index 81% rename from GameData/Sigma/Dimensions/Configs/Bodies/Sun_atmo.cfg rename to GameData/Sigma/Dimensions/Configs/Bodies/Templates/Sun/Sun_Atmosphere.txt index b190014..89d34c4 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Sun_atmo.cfg +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Sun/Sun_Atmosphere.txt @@ -3,12 +3,20 @@ @Body:HAS[@Template:HAS[#name[Sun]],!Template:HAS[#removeAtmosphere[True]]] { %Atmosphere {} - @Atmosphere:HAS[~maxAltitude[*]] + @Atmosphere:HAS[~addAFG[False]] { - maxAltitude = 600000 + // temp fix for AFG + %AtmosphereFromGround + { + %transformScale = 0,0,0 + } } @Atmosphere { + &maxAltitude = 600000 + &staticPressureASL = 16 + &temperatureSeaLevel = 5840 + %pressureCurve {} %temperatureCurve {} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Sun/Sun_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Sun/Sun_Values.cfg new file mode 100644 index 0000000..506e19d --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Sun/Sun_Values.cfg @@ -0,0 +1,26 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template:HAS[#name[Sun]]] + { + %Properties + { + &radius = 261600000 + &geeASL = 1.74684656100137 + &rotationPeriod = 432000 + &inverseRotThresholdAltitude = 600000 + &timewarpAltitudeLimits = 0 3270000 3270000 6540000 1.308E+07 2.616E+07 5.232E+07 6.54E+07 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 1E+09 + } + } + %ScaledVersion + { + %Light + { + &sunAU = 13599840256 + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Tylo/Tylo_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Tylo/Tylo_DeletedMods.cfg new file mode 100644 index 0000000..8c7e70f --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Tylo/Tylo_DeletedMods.cfg @@ -0,0 +1,111 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Tylo]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // remove all spaces + @removePQSMods ^= : :: // remove all tabulations + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_VertexSimplexHeightAbsolute§_Height§,:,VertexSimplexHeightAbsolute,: + @removePQSMods ^= :,PQSMod_VertexSimplexHeight§_Height§,:,VertexSimplexHeight,: + @removePQSMods ^= :,PQSMod_VertexHeightMap§_Height§,:,VertexHeightMap,: + @removePQSMods ^= :,PQSMod_FlattenOcean§_Height§,:,FlattenOcean,: + @removePQSMods ^= :,PQSMod_VertexHeightNoiseVertHeightCurve2§_Height§,:,VertexHeightNoiseVertHeightCurve2,: + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSLandControl§Scatter§,:,LandControl,: + @removePQSMods ^= :,PQSMod_MapDecal§Sagan§,:,MapDecal,: + } + + // Remove PQSMods by name + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,VertexSimplexHeightAbsolute,*]] + { + VertexSimplexHeightAbsolute + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexSimplexHeight,*]] + { + VertexSimplexHeight + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightMap,*]] + { + VertexHeightMap + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,FlattenOcean,*]] + { + FlattenOcean + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoiseVertHeightCurve2,*]] + { + VertexHeightNoiseVertHeightCurve2 + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = Scatter + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,MapDecal,*]] + { + MapDecal + { + name = Sagan + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Tylo/Tylo_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Tylo/Tylo_PQSNames.cfg new file mode 100644 index 0000000..100f19d --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Tylo/Tylo_PQSNames.cfg @@ -0,0 +1,279 @@ +// VertexSimplexHeightAbsolute +@Kopernicus:HAS[@Body:HAS[@Template[Tylo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Tylo],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeightAbsolute + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexSimplexHeightAbsolute + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeightAbsolute {} + !VertexSimplexHeightAbsolute {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexSimplexHeight +@Kopernicus:HAS[@Body:HAS[@Template[Tylo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Tylo],@PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeight:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeight + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeight:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexSimplexHeight + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeight {} + !VertexSimplexHeight {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Tylo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Tylo],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightMap + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightMap {} + !VertexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// FlattenOcean +@Kopernicus:HAS[@Body:HAS[@Template[Tylo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Tylo],@PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@FlattenOcean:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @FlattenOcean + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!FlattenOcean:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @FlattenOcean + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #FlattenOcean {} + !FlattenOcean {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoiseVertHeightCurve2 +@Kopernicus:HAS[@Body:HAS[@Template[Tylo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Tylo],@PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoiseVertHeightCurve2:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoiseVertHeightCurve2 + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoiseVertHeightCurve2:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightNoiseVertHeightCurve2 + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoiseVertHeightCurve2 {} + !VertexHeightNoiseVertHeightCurve2 {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Tylo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Tylo],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Tylo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Tylo],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[Scatter]]] + { + @LandControl + { + &name = Scatter + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// MapDecal +@Kopernicus:HAS[@Body:HAS[@Template[Tylo]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Tylo],@PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@MapDecal:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @MapDecal + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!MapDecal:HAS[#SigmaDimensions[1],#name[Sagan]]] + { + @MapDecal + { + &name = Sagan + } + } + // move processed node to the end + @Mods + { + #MapDecal {} + !MapDecal {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Tylo/Tylo_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Tylo/Tylo_Values.cfg new file mode 100644 index 0000000..70bd237 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Tylo/Tylo_Values.cfg @@ -0,0 +1,66 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Tylo]] + { + %Properties + { + &radius = 600000 + &geeASL = 0.800273295870079 + &rotationPeriod = 211926.35802123 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 250000 + } + } + %Orbit + { + &semiMajorAxis = 68500000 + } + } + @Body:HAS[@Template[Tylo]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %VertexSimplexHeightAbsolute[_Height] + { + &deformity = 1000 + } + %VertexSimplexHeight[_Height] + { + &deformity = 2000 + } + %VertexHeightMap[_Height] + { + &offset = 0 + &deformity = 6000 + } + %FlattenOcean[_Height] + { + &oceanRadius = 1 + } + %VertexHeightNoiseVertHeightCurve2[_Height] + { + &deformity = 8000 + &simplexHeightEnd = 9000 + } + %AltitudeAlpha[_Material_ModProjection] + { + &atmosphereDepth = 8000 + } + %LandControl[Scatter] + { + &vHeightMax = 10000 + } + %MapDecal[Sagan] + { + &heightMapDeformity = 50 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Vall/Vall_DeletedMods.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Vall/Vall_DeletedMods.cfg new file mode 100644 index 0000000..922a244 --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Vall/Vall_DeletedMods.cfg @@ -0,0 +1,137 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Vall]:HAS[#removePQSMods[*],~removeAllPQSMods[True]]] + { + %PQS + { + %Mods + { + %removePQSMods = #,$../../Template/removePQSMods$, + @removePQSMods ^= /[\[\]']+/§ + @removePQSMods ^= : :: // space + @removePQSMods ^= : :: // tabulation + @removePQSMods ^= :;0§:§: + + // Remove names of unique PQSMods + @removePQSMods ^= :,PQSMod_VertexHeightNoise§_Height§,:,VertexHeightNoise,: + @removePQSMods ^= :,PQSMod_AltitudeAlpha§_Material_ModProjection§,:,AltitudeAlpha,: + @removePQSMods ^= :,PQSLandControl§Scatter§,:,LandControl,: + } + + // Remove PQSMods by name + + @Mods:HAS[#removePQSMods[*,PQSMod_VertexSimplexHeightAbsolute§_Height§,*]] + { + VertexSimplexHeightAbsolute + { + name = _Height + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_VertexSimplexHeightAbsolute§_Height;1§,*]] + { + VertexSimplexHeightAbsolute + { + name = _Height + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_VertexHeightMap§_Height§,*]] + { + VertexHeightMap + { + name = _Height + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,PQSMod_VertexHeightMap§_Height;1§,*]] + { + VertexHeightMap + { + name = _Height + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + + + // Remove PQSMods by type + + @Mods + { + @removePQSMods ^= :PQS:: + @removePQSMods ^= :Mod:: + @removePQSMods ^= :_:: + } + + @Mods:HAS[#removePQSMods[*,VertexSimplexHeightAbsolute,*]] + { + VertexSimplexHeightAbsolute + { + name = _Height + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + VertexSimplexHeightAbsolute + { + name = _Height + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightNoise,*]] + { + VertexHeightNoise + { + name = _Height + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,VertexHeightMap,*]] + { + VertexHeightMap + { + name = _Height + index = 0 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + VertexHeightMap + { + name = _Height + index = 1 + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,AltitudeAlpha,*]] + { + AltitudeAlpha + { + name = _Material_ModProjection + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + @Mods:HAS[#removePQSMods[*,LandControl,*]] + { + LandControl + { + name = Scatter + SigmaDimensions = 1 + SigmaPlaceholder = 1 + } + } + } + } +} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Vall/Vall_PQSNames.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Vall/Vall_PQSNames.cfg new file mode 100644 index 0000000..05e703d --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Vall/Vall_PQSNames.cfg @@ -0,0 +1,194 @@ +// VertexSimplexHeightAbsolute +@Kopernicus:HAS[@Body:HAS[@Template[Vall]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Vall],@PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexSimplexHeightAbsolute:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexSimplexHeightAbsolute + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],#index[0],#name[_Height]]] + { + @VertexSimplexHeightAbsolute + { + &name = _Height + &index = 0 + } + } + // Set the name + @Mods:HAS[!VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],#index[1],#name[_Height]]] + { + @VertexSimplexHeightAbsolute + { + &name = _Height + &index = 1 + } + } + // move processed node to the end + @Mods + { + #VertexSimplexHeightAbsolute {} + !VertexSimplexHeightAbsolute {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightNoise +@Kopernicus:HAS[@Body:HAS[@Template[Vall]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Vall],@PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightNoise:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightNoise + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightNoise:HAS[#SigmaDimensions[1],#name[_Height]]] + { + @VertexHeightNoise + { + &name = _Height + } + } + // move processed node to the end + @Mods + { + #VertexHeightNoise {} + !VertexHeightNoise {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// VertexHeightMap +@Kopernicus:HAS[@Body:HAS[@Template[Vall]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Vall],@PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@VertexHeightMap:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @VertexHeightMap + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#index[0],#name[_Height]]] + { + @VertexHeightMap + { + &name = _Height + &index = 0 + } + } + // Set the name + @Mods:HAS[!VertexHeightMap:HAS[#SigmaDimensions[1],#index[1],#name[_Height]]] + { + @VertexHeightMap + { + &name = _Height + &index = 1 + } + } + // move processed node to the end + @Mods + { + #VertexHeightMap {} + !VertexHeightMap {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// AltitudeAlpha +@Kopernicus:HAS[@Body:HAS[@Template[Vall]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Vall],@PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@AltitudeAlpha:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @AltitudeAlpha + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!AltitudeAlpha:HAS[#SigmaDimensions[1],#name[_Material_ModProjection]]] + { + @AltitudeAlpha + { + &name = _Material_ModProjection + } + } + // move processed node to the end + @Mods + { + #AltitudeAlpha {} + !AltitudeAlpha {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} + +// LandControl +@Kopernicus:HAS[@Body:HAS[@Template[Vall]:HAS[~removeAllPQSMods[True]],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]]]:FOR[SigDim] +{ + @Body:HAS[@Template[Vall],@PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]]] + { + @PQS:HAS[@Mods:HAS[@LandControl:HAS[~SigmaDimensions[1]]]] + { + // process first node + @Mods + { + @LandControl + { + %SigmaDimensions = 1 + } + } + // Set the name + @Mods:HAS[!LandControl:HAS[#SigmaDimensions[1],#name[Scatter]]] + { + @LandControl + { + &name = Scatter + } + } + // move processed node to the end + @Mods + { + #LandControl {} + !LandControl {} + } + // repeat untill all nodes have been processed + } + } + MM_PATCH_LOOP {} +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Vall/Vall_Values.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Vall/Vall_Values.cfg new file mode 100644 index 0000000..8912a7c --- /dev/null +++ b/GameData/Sigma/Dimensions/Configs/Bodies/Templates/Vall/Vall_Values.cfg @@ -0,0 +1,93 @@ +@Kopernicus:FOR[SigDim] +{ + @Body:HAS[@Template[Vall]] + { + %Properties + { + &radius = 300000 + &geeASL = 0.235080276562617 + &rotationPeriod = 105962.088893924 + &inverseRotThresholdAltitude = 100000 + &timewarpAltitudeLimits = 0 24500 24500 24500 40000 60000 80000 100000 + %ScienceValues + { + &flyingAltitudeThreshold = 18000 + &spaceAltitudeThreshold = 90000 + } + } + %Orbit + { + &semiMajorAxis = 43152000 + } + } + @Body:HAS[@Template[Vall]:HAS[~removeAllPQSMods[True]]] + { + %PQS + { + %Mods {} + @Mods:HAS[!VertexSimplexHeightAbsolute[_Height]:HAS[#index[0]]] + { + VertexSimplexHeightAbsolute + { + name = _Height + index = 0 + } + } + @Mods:HAS[!VertexSimplexHeightAbsolute[_Height]:HAS[#index[1]]] + { + VertexSimplexHeightAbsolute + { + name = _Height + index = 1 + } + } + @Mods:HAS[!VertexHeightMap[_Height]:HAS[#index[0]]] + { + VertexHeightMap + { + name = _Height + index = 0 + } + } + @Mods:HAS[!VertexHeightMap[_Height]:HAS[#index[1]]] + { + VertexHeightMap + { + name = _Height + index = 1 + } + } + %Mods + { + @VertexSimplexHeightAbsolute[_Height]:HAS[#index[0]] + { + &deformity = 3000 + } + @VertexSimplexHeightAbsolute[_Height]:HAS[#index[0]] + { + &deformity = 100 + } + %VertexHeightNoise[_Height] + { + &deformity = 2000 + } + @VertexHeightMap[_Height]:HAS[#index[0]] + { + &deformity = 1000 + } + @VertexHeightMap[_Height]:HAS[#index[1]] + { + &deformity = 2000 + } + %AltitudeAlpha[_Material_ModProjection] + { + &atmosphereDepth = 8000 + } + %LandControl[Scatter] + { + &vHeightMax = 10000 + } + } + } + } +} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Tylo.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Tylo.cfg deleted file mode 100644 index 5184bbc..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Tylo.cfg +++ /dev/null @@ -1,73 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Tylo]]] - { - %Properties - { - rotationPeriod = 211926.35802123 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 250000 - } - } - %ScaledVersion - { - fadeStart = 95000 - fadeEnd = 100000 - } - %PQS - { - fadeStart = 100000 - fadeEnd = 125000 - deactivateAltitude = 330000 - %Mods - { - %VertexSimplexHeightAbsolute - { - deformity = 1000 - SigmaDimensions = 1 - } - %VertexSimplexHeight - { - deformity = 2000 - SigmaDimensions = 1 - } - %VertexHeightMap - { - offset = 0 - deformity = 6000 - SigmaDimensions = 1 - } - %VertexHeightNoiseVertHeightCurve2 - { - deformity = 8000 - simplexHeightEnd = 9000 - SigmaDimensions = 1 - } - %AltitudeAlpha - { - atmosphereDepth = 8000 - SigmaDimensions = 1 - } - %LandControl - { - vHeightMax = 10000 - SigmaDimensions = 1 - } - %MapDecal - { - heightMapDeformity = 50 - position = 569917.4,-94669.8,181300.9 - } - %FlattenOcean - { - oceanRadius = 1 - SigmaDimensions = 1 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/Vall.cfg b/GameData/Sigma/Dimensions/Configs/Bodies/Vall.cfg deleted file mode 100644 index f7056c3..0000000 --- a/GameData/Sigma/Dimensions/Configs/Bodies/Vall.cfg +++ /dev/null @@ -1,88 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Vall]]] - { - %Properties - { - rotationPeriod = 105962.088893924 - inverseRotThresholdAltitude = 100000 - timewarpAltitudeLimits = 0 24500 24500 24500 40000 60000 80000 100000 - %ScienceValues - { - flyingAltitudeThreshold = 18000 - spaceAltitudeThreshold = 90000 - } - } - %ScaledVersion - { - fadeStart = 295000 - fadeEnd = 300000 - } - %PQS - { - fadeStart = 300000 - fadeEnd = 325000 - deactivateAltitude = 330000 - %Mods - { - VertexSimplexHeightAbsolute - { - sigmaPlaceholder = 1 - } - VertexSimplexHeightAbsolute - { - sigmaPlaceholder = 1 - } - @VertexSimplexHeightAbsolute,0 - { - deformity = 3000 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @VertexSimplexHeightAbsolute,1 - { - deformity = 100 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - !VertexSimplexHeightAbsolute:HAS[#sigmaPlaceholder[1]] {} - %VertexHeightNoise - { - deformity = 2000 - SigmaDimensions = 1 - } - VertexHeightMap - { - sigmaPlaceholder = 1 - } - VertexHeightMap - { - sigmaPlaceholder = 1 - } - @VertexHeightMap,0 - { - deformity = 1000 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - @VertexHeightMap,1 - { - deformity = 2000 - SigmaDimensions = 1 - !sigmaPlaceholder = DEL - } - !VertexHeightMap:HAS[#sigmaPlaceholder[1]] {} - %AltitudeAlpha - { - atmosphereDepth = 8000 - SigmaDimensions = 1 - } - %LandControl - { - vHeightMax = 10000 - SigmaDimensions = 1 - } - } - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/General/diameterFix.cfg b/GameData/Sigma/Dimensions/Configs/General/diameterFix.cfg deleted file mode 100644 index 352c6ce..0000000 --- a/GameData/Sigma/Dimensions/Configs/General/diameterFix.cfg +++ /dev/null @@ -1,122 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template:HAS[#name[Kerbin]]] - { - @Properties:HAS[~radius[]] - { - radius = 600000 - } - } - @Body:HAS[@Template:HAS[#name[Mun]]] - { - @Properties:HAS[~radius[]] - { - radius = 200000 - } - } - @Body:HAS[@Template:HAS[#name[Minmus]]] - { - @Properties:HAS[~radius[]] - { - radius = 60000 - } - } - @Body:HAS[@Template:HAS[#name[Moho]]] - { - @Properties:HAS[~radius[]] - { - radius = 250000 - } - } - @Body:HAS[@Template:HAS[#name[Eve]]] - { - @Properties:HAS[~radius[]] - { - radius = 700000 - } - } - @Body:HAS[@Template:HAS[#name[Gilly]]] - { - @Properties:HAS[~radius[]] - { - radius = 13000 - } - } - @Body:HAS[@Template:HAS[#name[Duna]]] - { - @Properties:HAS[~radius[]] - { - radius = 320000 - } - } - @Body:HAS[@Template:HAS[#name[Ike]]] - { - @Properties:HAS[~radius[]] - { - radius = 130000 - } - } - @Body:HAS[@Template:HAS[#name[Dres]]] - { - @Properties:HAS[~radius[]] - { - radius = 138000 - } - } - @Body:HAS[@Template:HAS[#name[Jool]]] - { - @Properties:HAS[~radius[]] - { - radius = 6000000 - } - } - @Body:HAS[@Template:HAS[#name[Laythe]]] - { - @Properties:HAS[~radius[]] - { - radius = 500000 - } - } - @Body:HAS[@Template:HAS[#name[Vall]]] - { - @Properties:HAS[~radius[]] - { - radius = 300000 - } - } - @Body:HAS[@Template:HAS[#name[Tylo]]] - { - @Properties:HAS[~radius[]] - { - radius = 600000 - } - } - @Body:HAS[@Template:HAS[#name[Bop]]] - { - @Properties:HAS[~radius[]] - { - radius = 65000 - } - } - @Body:HAS[@Template:HAS[#name[Pol]]] - { - @Properties:HAS[~radius[]] - { - radius = 44000 - } - } - @Body:HAS[@Template:HAS[#name[Eeloo]]] - { - @Properties:HAS[~radius[]] - { - radius = 210000 - } - } - @Body:HAS[@Template:HAS[#name[Sun]]]:NEEDS[!GalacticNeighborhood] - { - @Properties:HAS[~radius[]] - { - radius = 261600000 - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/General/gravityFix.cfg b/GameData/Sigma/Dimensions/Configs/General/gravityFix.cfg deleted file mode 100644 index ad5f248..0000000 --- a/GameData/Sigma/Dimensions/Configs/General/gravityFix.cfg +++ /dev/null @@ -1,129 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body,* - { - @Properties:HAS[~mass[],~gravParameter[],~geeASL[],#radius[*]] - { - geeASL = fixME - } - } - @Body:HAS[@Template:HAS[#name[Kerbin]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 1 - } - } - @Body:HAS[@Template:HAS[#name[Mun]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.165999993681908 - } - } - @Body:HAS[@Template:HAS[#name[Minmus]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.0500000007450581 - } - } - @Body:HAS[@Template:HAS[#name[Moho]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.275000005960464 - } - } - @Body:HAS[@Template:HAS[#name[Eve]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 1.70000004768372 - } - } - @Body:HAS[@Template:HAS[#name[Gilly]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.00499999988824129 - } - } - @Body:HAS[@Template:HAS[#name[Duna]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.300000011920929 - } - } - @Body:HAS[@Template:HAS[#name[Ike]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.112000003457069 - } - } - @Body:HAS[@Template:HAS[#name[Dres]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.115 - } - } - @Body:HAS[@Template:HAS[#name[Jool]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.800000011920929 - } - } - @Body:HAS[@Template:HAS[#name[Laythe]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.800000011920928 - } - } - @Body:HAS[@Template:HAS[#name[Vall]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.234999999403954 - } - } - @Body:HAS[@Template:HAS[#name[Tylo]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.800000011920929 - } - } - @Body:HAS[@Template:HAS[#name[Bop]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.0599999986588955 - } - } - @Body:HAS[@Template:HAS[#name[Pol]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.038 - } - } - @Body:HAS[@Template:HAS[#name[Eeloo]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 0.172000005841255 - } - } - @Body:HAS[@Template:HAS[#name[Sun]]] - { - @Properties:HAS[#geeASL[fixME]] - { - @geeASL = 1.7462500333786 - } - } -} \ No newline at end of file diff --git a/GameData/Sigma/Dimensions/Configs/General/groundTextures.cfg b/GameData/Sigma/Dimensions/Configs/General/groundTextures.cfg index 08d3aef..65e85a4 100644 --- a/GameData/Sigma/Dimensions/Configs/General/groundTextures.cfg +++ b/GameData/Sigma/Dimensions/Configs/General/groundTextures.cfg @@ -6,15 +6,15 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 20000 - steepTexStart = 200000 - steepTexEnd = 300000 + &groundTexStart = 0 + &groundTexEnd = 20000 + &steepTexStart = 200000 + &steepTexEnd = 300000 } %FallbackMaterial { - groundTexStart = 0 - groundTexEnd = 20000 + &groundTexStart = 0 + &groundTexEnd = 20000 } } } @@ -24,15 +24,15 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 30000 - steepTexStart = 200000 - steepTexEnd = 300000 + &groundTexStart = 0 + &groundTexEnd = 30000 + &steepTexStart = 200000 + &steepTexEnd = 300000 } %FallbackMaterial { - groundTexStart = 0 - groundTexEnd = 20000 + &groundTexStart = 0 + &groundTexEnd = 20000 } } } @@ -42,15 +42,15 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 1000 - steepTexStart = 0 - steepTexEnd = 50000 + &groundTexStart = 0 + &groundTexEnd = 1000 + &steepTexStart = 0 + &steepTexEnd = 50000 } %FallbackMaterial { - groundTexStart = 20000 - groundTexEnd = 60000 + &groundTexStart = 20000 + &groundTexEnd = 60000 } } } @@ -60,15 +60,15 @@ { %Material { - groundTexStart = 2000 - groundTexEnd = 15000 - steepTexStart = 100000 - steepTexEnd = 200000 + &groundTexStart = 2000 + &groundTexEnd = 15000 + &steepTexStart = 100000 + &steepTexEnd = 200000 } %FallbackMaterial { - groundTexStart = 20000 - groundTexEnd = 60000 + &groundTexStart = 20000 + &groundTexEnd = 60000 } } } @@ -78,15 +78,16 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 10000 - steepTexStart = 0 - steepTexEnd = 100000 + &groundTexStart = 0 + &groundTexEnd = 10000 + &steepTexStart = 0 + &steepTexEnd = 100000 + &oceanFogDistance = 1000 } %FallbackMaterial { - groundTexStart = 20000 - groundTexEnd = 60000 + &groundTexStart = 20000 + &groundTexEnd = 60000 } } } @@ -96,15 +97,15 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 20000 - steepTexStart = 200000 - steepTexEnd = 300000 + &groundTexStart = 0 + &groundTexEnd = 20000 + &steepTexStart = 200000 + &steepTexEnd = 300000 } %FallbackMaterial { - groundTexStart = 0 - groundTexEnd = 20000 + &groundTexStart = 0 + &groundTexEnd = 20000 } } } @@ -114,15 +115,15 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 20000 - steepTexStart = 200000 - steepTexEnd = 300000 + &groundTexStart = 0 + &groundTexEnd = 20000 + &steepTexStart = 200000 + &steepTexEnd = 300000 } %FallbackMaterial { - groundTexStart = 0 - groundTexEnd = 20000 + &groundTexStart = 0 + &groundTexEnd = 20000 } } } @@ -132,15 +133,16 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 10000 - steepTexStart = 10000 - steepTexEnd = 100000 + &groundTexStart = 0 + &groundTexEnd = 10000 + &steepTexStart = 10000 + &steepTexEnd = 100000 + &oceanFogDistance = 1000 } %FallbackMaterial { - groundTexStart = 0 - groundTexEnd = 10000 + &groundTexStart = 0 + &groundTexEnd = 10000 } } } @@ -150,15 +152,16 @@ { %Material { - groundTexStart = 20000 - groundTexEnd = 60000 - steepTexStart = 100000 - steepTexEnd = 200000 + &groundTexStart = 0 + &groundTexEnd = 10000 + &steepTexStart = 10000 + &steepTexEnd = 100000 + &oceanFogDistance = 1000 } %FallbackMaterial { - groundTexStart = 20000 - groundTexEnd = 60000 + &groundTexStart = 20000 + &groundTexEnd = 60000 } } } @@ -168,15 +171,15 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 5000 - steepTexStart = 60000 - steepTexEnd = 100000 + &groundTexStart = 0 + &groundTexEnd = 5000 + &steepTexStart = 60000 + &steepTexEnd = 100000 } %FallbackMaterial { - groundTexStart = 0 - groundTexEnd = 5000 + &groundTexStart = 0 + &groundTexEnd = 5000 } } } @@ -186,15 +189,15 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 20000 - steepTexStart = 0 - steepTexEnd = 200000 + &groundTexStart = 0 + &groundTexEnd = 20000 + &steepTexStart = 0 + &steepTexEnd = 200000 } %FallbackMaterial { - groundTexStart = 0 - groundTexEnd = 20000 + &groundTexStart = 0 + &groundTexEnd = 20000 } } } @@ -204,15 +207,16 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 40000 - steepTexStart = 20000 - steepTexEnd = 50000 + &groundTexStart = 0 + &groundTexEnd = 40000 + &steepTexStart = 20000 + &steepTexEnd = 50000 + &oceanFogDistance = 1000 } %FallbackMaterial { - groundTexStart = 0 - groundTexEnd = 6000 + &groundTexStart = 0 + &groundTexEnd = 6000 } } } @@ -222,15 +226,15 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 20000 - steepTexStart = 200000 - steepTexEnd = 300000 + &groundTexStart = 0 + &groundTexEnd = 20000 + &steepTexStart = 200000 + &steepTexEnd = 300000 } %FallbackMaterial { - groundTexStart = 0 - groundTexEnd = 20000 + &groundTexStart = 0 + &groundTexEnd = 20000 } } } @@ -240,15 +244,15 @@ { %Material { - groundTexStart = 0 - groundTexEnd = 20000 - steepTexStart = 200000 - steepTexEnd = 300000 + &groundTexStart = 0 + &groundTexEnd = 20000 + &steepTexStart = 200000 + &steepTexEnd = 300000 } %FallbackMaterial { - groundTexStart = 0 - groundTexEnd = 20000 + &groundTexStart = 0 + &groundTexEnd = 20000 } } } @@ -258,15 +262,15 @@ { %Material { - groundTexStart = 5000 - groundTexEnd = 12000 - steepTexStart = 100000 - steepTexEnd = 200000 + &groundTexStart = 5000 + &groundTexEnd = 12000 + &steepTexStart = 100000 + &steepTexEnd = 200000 } %FallbackMaterial { - groundTexStart = 5000 - groundTexEnd = 12000 + &groundTexStart = 5000 + &groundTexEnd = 12000 } } } diff --git a/GameData/Sigma/Dimensions/Configs/General/massFix.cfg b/GameData/Sigma/Dimensions/Configs/General/massFix.cfg index e371055..e3c853d 100644 --- a/GameData/Sigma/Dimensions/Configs/General/massFix.cfg +++ b/GameData/Sigma/Dimensions/Configs/General/massFix.cfg @@ -1,34 +1,30 @@ @Kopernicus:FOR[SigDim] { -// This part calculates the mass of the body if it's not already defined +// This part calculates the geeASL of the body if it is not defined - // mass from gravParameter - @Body:HAS[@Properties:HAS[#gravParameter[*]]] + @Body,* { - @Properties + // mass from gravParameter + @Properties:HAS[#gravParameter[*]] { %mass = #$gravParameter$ @mass /= 6.674e-11 !gravParameter = DEL } - } - - // mass from geeASL + radius - - @Body:HAS[@Properties:HAS[#geeASL[*],~mass[]]] - { - @Properties + // geeASL from mass + radius + @Properties:HAS[#mass[*]] { - mass = #$radius$ - @mass != 2 - @mass *= #$geeASL$ - @mass /= 6.674e-11 - @mass *= 9.81 + %geeASL = #$radius$ + @geeASL != -2 + @geeASL *= #$mass$ + @geeASL *= 6.674e-11 + @geeASL /= 9.81 + !mass = DEL } } - + // This part converts meanAnomalyAtEpochD (deg) to meanAnomalyAtEpoch (rad) @Body,* @@ -39,423 +35,11 @@ @meanAnomalyAtEpoch *= 0.0174532925199433 !meanAnomalyAtEpochD = DEL } - } - -// This part defines the values needed -// It won't overwrite user defined values - - @Body:HAS[!Template] - { - @Orbit - { - color = 1,1,1,1 - inclination = 0 - eccentricity = 0 - longitudeOfAscendingNode = 0 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 0 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Kerbin]]] - { - @Properties - { - mass = 5.29157926281091e+22 - } - @Orbit - { - referenceBody = Sun - color = 0.492,0.716,0.688,1.000 - inclination = 0 - eccentricity = 0 - semiMajorAxis = 13599840256 - longitudeOfAscendingNode = 0 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 3.14000010490417 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Mun]]] - { - @Properties - { - mass = 9.76002360215474e+20 - } - @Properties:HAS[~tidallyLocked[]] - { - tidallyLocked = True - } - @Orbit - { - referenceBody = Kerbin - color = 0.523,0.543,0.604,1.000 - inclination = 0 - eccentricity = 0 - semiMajorAxis = 12000000 - longitudeOfAscendingNode = 0 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 1.70000004768372 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Minmus]]] - { - @Properties - { - mass = 2.64578967083079e+19 - } - @Orbit - { - referenceBody = Kerbin - color = 0.282,0.228,0.314,0.576 - inclination = 6 - eccentricity = 0 - semiMajorAxis = 47000000 - longitudeOfAscendingNode = 78 - argumentOfPeriapsis = 38 - meanAnomalyAtEpoch = 0.899999976158142 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Moho]]] - { - @Properties - { - mass = 2.52636168196748e+21 - } - @Orbit - { - referenceBody = Sun - color = 0.471,0.361,0.271,0.549 - inclination = 7 - eccentricity = 0.200000002980232 - semiMajorAxis = 5263138304 - longitudeOfAscendingNode = 70 - argumentOfPeriapsis = 15 - meanAnomalyAtEpoch = 3.14000010490417 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Eve]]] - { - @Properties - { - mass = 1.22441268043315e+23 - } - @Orbit - { - referenceBody = Sun - color = 0.426,0.128,0.896,1.000 - inclination = 2.09999990463257 - eccentricity = 0.00999999977648258 - semiMajorAxis = 9832684544 - longitudeOfAscendingNode = 15 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 3.14000010490417 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Gilly]]] - { - @Properties - { - mass = 1.24205121587e+17 - } - @Orbit - { - referenceBody = Eve - color = 0.321,0.250,0.218,0.251 - inclination = 12 - eccentricity = 0.550000011920929 - semiMajorAxis = 31500000 - longitudeOfAscendingNode = 80 - argumentOfPeriapsis = 10 - meanAnomalyAtEpoch = 0.899999976158142 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Duna]]] - { - @Properties - { - mass = 4.51548115036107e+21 - } - @Orbit - { - referenceBody = Sun - color = 0.642,0.249,0.158,0.525 - inclination = 0.0599999986588955 - eccentricity = 0.0509999990463257 - semiMajorAxis = 20726155264 - longitudeOfAscendingNode = 135.5 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 3.14000010490417 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Ike]]] - { - @Properties - { - mass = 2.78219487161283e+20 - } - @Properties:HAS[~tidallyLocked[]] - { - tidallyLocked = True - } - @Orbit - { - referenceBody = Duna - color = 0.523,0.543,0.604,1.000 - inclination = 0.200000002980232 - eccentricity = 0.0299999993294477 - semiMajorAxis = 3200000 - longitudeOfAscendingNode = 0 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 1.70000004768372 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Dres]]] - { - @Properties - { - mass = 3.21913224453102e+20 - } - @Orbit + @PostSpawnOrbit:HAS[#meanAnomalyAtEpochD[*]] { - referenceBody = Sun - color = 0.176,0.137,0.098,0.525 - inclination = 5 - eccentricity = 0.145 - semiMajorAxis = 40839348203 - longitudeOfAscendingNode = 280 - argumentOfPeriapsis = 90 - meanAnomalyAtEpoch = 3.14000010490417 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Jool]]] - { - @Properties - { - mass = 4.23326347332927e+24 - } - @Orbit - { - referenceBody = Sun - color = 0.330,0.522,0.078,1.000 - inclination = 1.30400002002716 - eccentricity = 0.0500000007450581 - semiMajorAxis = 68773560320 - longitudeOfAscendingNode = 52 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 0.100000001490116 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Laythe]]] - { - @Properties - { - mass = 2.9397663009231e+22 - } - @Properties:HAS[~tidallyLocked[]] - { - tidallyLocked = True - } - @Orbit - { - referenceBody = Jool - color = 0.135,0.169,0.306,0.541 - inclination = 0 - eccentricity = 0 - semiMajorAxis = 27184000 - longitudeOfAscendingNode = 0 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 3.14000010490417 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Vall]]] - { - @Properties - { - mass = 3.10880280901635e+21 - } - @Properties:HAS[~tidallyLocked[]] - { - tidallyLocked = True - } - @Orbit - { - referenceBody = Jool - color = 0.434,0.610,0.709,0.576 - inclination = 0 - eccentricity = 0 - semiMajorAxis = 43152000 - longitudeOfAscendingNode = 0 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 0.899999976158142 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Tylo]]] - { - @Properties - { - mass = 4.23326347332927e+22 - } - @Properties:HAS[~tidallyLocked[]] - { - tidallyLocked = True - } - @Orbit - { - referenceBody = Jool - color = 0.828,0.669,0.669,1.000 - inclination = 0.025000000372529 - eccentricity = 0 - semiMajorAxis = 68500000 - longitudeOfAscendingNode = 0 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 3.14000010490417 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Bop]]] - { - @Properties - { - mass = 3.72615364760999e+19 - } - @Properties:HAS[~tidallyLocked[]] - { - tidallyLocked = True - } - @Orbit - { - referenceBody = Jool - color = 0.366,0.315,0.248,0.576 - inclination = 15 - eccentricity = 0.234999999403954 - semiMajorAxis = 128500000 - longitudeOfAscendingNode = 10 - argumentOfPeriapsis = 25 - meanAnomalyAtEpoch = 0.899999976158142 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Pol]]] - { - @Properties - { - mass = 1.08136362001798e+19 - } - @Properties:HAS[~tidallyLocked[]] - { - tidallyLocked = True - } - @Orbit - { - referenceBody = Jool - color = 0.435,0.448,0.339,0.576 - inclination = 4.25 - eccentricity = 0.17085 - semiMajorAxis = 179890000 - longitudeOfAscendingNode = 2 - argumentOfPeriapsis = 15 - meanAnomalyAtEpoch = 0.899999976158142 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Eeloo]]] - { - @Properties - { - mass = 1.11493578853835e+21 - } - @Orbit - { - referenceBody = Sun - color = 0.207,0.208,0.209,0.525 - inclination = 6.15 - eccentricity = 0.26 - semiMajorAxis = 90118820000 - longitudeOfAscendingNode = 50 - argumentOfPeriapsis = 260 - meanAnomalyAtEpoch = 3.14000010490417 - epoch = 0 - } - } - @Body:HAS[@Template:HAS[#name[Sun]]] - { - @Properties - { - mass = 1.75656696858329e+28 - } - @Orbit - { - color = 1,1,1,1 - inclination = 0 - eccentricity = 0 - longitudeOfAscendingNode = 0 - argumentOfPeriapsis = 0 - meanAnomalyAtEpoch = 0 - epoch = 0 - } - } - - // Clear Duplicates (It's not my fault if the next part looks butt-ugly) - - @Body,* - { - @Properties - { - massTEMP = #$mass$ - !mass,* = DEL - mass = #$massTEMP$ - !massTEMP = DEL - } - @Orbit - { - referenceBodyTEMP = #$referenceBody$ - !referenceBody,* = DEL - referenceBody = #$referenceBodyTEMP$ - !referenceBodyTEMP = DEL - colorTEMP = #$color$ - !color,* = DEL - color = #$colorTEMP$ - !colorTEMP = DEL - inclinationTEMP = #$inclination$ - !inclination,* = DEL - inclination = #$inclinationTEMP$ - !inclinationTEMP = DEL - eccentricityTEMP = #$eccentricity$ - !eccentricity,* = DEL - eccentricity = #$eccentricityTEMP$ - !eccentricityTEMP = DEL - semiMajorAxisTEMP = #$semiMajorAxis$ - !semiMajorAxis,* = DEL - semiMajorAxis = #$semiMajorAxisTEMP$ - !semiMajorAxisTEMP = DEL - longitudeOfAscendingNodeTEMP = #$longitudeOfAscendingNode$ - !longitudeOfAscendingNode,* = DEL - longitudeOfAscendingNode = #$longitudeOfAscendingNodeTEMP$ - !longitudeOfAscendingNodeTEMP = DEL - argumentOfPeriapsisTEMP = #$argumentOfPeriapsis$ - !argumentOfPeriapsis,* = DEL - argumentOfPeriapsis = #$argumentOfPeriapsisTEMP$ - !argumentOfPeriapsisTEMP = DEL - meanAnomalyAtEpochTEMP = #$meanAnomalyAtEpoch$ - !meanAnomalyAtEpoch,* = DEL - meanAnomalyAtEpoch = #$meanAnomalyAtEpochTEMP$ - !meanAnomalyAtEpochTEMP = DEL - epochTEMP = #$epoch$ - !epoch,* = DEL - epoch = #$epochTEMP$ - !epochTEMP = DEL + %meanAnomalyAtEpoch = #$meanAnomalyAtEpochD$ + @meanAnomalyAtEpoch *= 0.0174532925199433 + !meanAnomalyAtEpochD = DEL } } } diff --git a/GameData/Sigma/Dimensions/Configs/General/removeDuplicates.cfg b/GameData/Sigma/Dimensions/Configs/General/removeDuplicates.cfg deleted file mode 100644 index 2959605..0000000 --- a/GameData/Sigma/Dimensions/Configs/General/removeDuplicates.cfg +++ /dev/null @@ -1,77 +0,0 @@ -@Kopernicus:FOR[SigDim] -{ - @Body:HAS[@Template,!Template[Sun]] - { - @Properties - { - %rotationPeriodTEMP = #$rotationPeriod$ - !rotationPeriod,* = DEL - rotationPeriod = #$rotationPeriodTEMP$ - !rotationPeriodTEMP = DEL - - %inverseRotThresholdAltitudeTEMP = #$inverseRotThresholdAltitude$ - !inverseRotThresholdAltitude,* = DEL - inverseRotThresholdAltitude = #$inverseRotThresholdAltitudeTEMP$ - !inverseRotThresholdAltitudeTEMP = DEL - - %timewarpAltitudeLimitsTEMP = #$timewarpAltitudeLimits$ - !timewarpAltitudeLimits,* = DEL - timewarpAltitudeLimits = #$timewarpAltitudeLimitsTEMP$ - !timewarpAltitudeLimitsTEMP = DEL - - @ScienceValues - { - %flyingAltitudeThresholdTEMP = #$flyingAltitudeThreshold$ - !flyingAltitudeThreshold,* = DEL - flyingAltitudeThreshold = #$flyingAltitudeThresholdTEMP$ - !flyingAltitudeThresholdTEMP = DEL - - %spaceAltitudeThresholdTEMP = #$spaceAltitudeThreshold$ - !spaceAltitudeThreshold,* = DEL - spaceAltitudeThreshold = #$spaceAltitudeThresholdTEMP$ - !spaceAltitudeThresholdTEMP = DEL - } - } - @ScaledVersion - { - %fadeStartTEMP = #$fadeStart$ - !fadeStart,* = DEL - fadeStart = #$fadeStartTEMP$ - !fadeStartTEMP = DEL - - %fadeEndTEMP = #$fadeEnd$ - !fadeEnd,* = DEL - fadeEnd = #$fadeEndTEMP$ - !fadeEndTEMP = DEL - } - @PQS - { - %fadeStartTEMP = #$fadeStart$ - !fadeStart,* = DEL - fadeStart = #$fadeStartTEMP$ - !fadeStartTEMP = DEL - - %fadeEndTEMP = #$fadeEnd$ - !fadeEnd,* = DEL - fadeEnd = #$fadeEndTEMP$ - !fadeEndTEMP = DEL - - %deactivateAltitudeTEMP = #$deactivateAltitude$ - !deactivateAltitude,* = DEL - deactivateAltitude = #$deactivateAltitudeTEMP$ - !deactivateAltitudeTEMP = DEL - } - @SpaceCenter - { - %heightMapDeformityTEMP = #$heightMapDeformity$ - !heightMapDeformity,* = DEL - heightMapDeformity = #$heightMapDeformityTEMP$ - !heightMapDeformityTEMP = DEL - - %absoluteOffsetTEMP = #$absoluteOffset$ - !absoluteOffset,* = DEL - absoluteOffset = #$absoluteOffsetTEMP$ - !absoluteOffsetTEMP = DEL - } - } -} diff --git a/GameData/Sigma/Dimensions/Configs/General/removePQSMods.cfg b/GameData/Sigma/Dimensions/Configs/General/removePQSMods.cfg index 482ecbd..3cd3333 100644 --- a/GameData/Sigma/Dimensions/Configs/General/removePQSMods.cfg +++ b/GameData/Sigma/Dimensions/Configs/General/removePQSMods.cfg @@ -1,249 +1,32 @@ @Kopernicus:FOR[SigDim] { - @Body:HAS[@Template:HAS[#removeAllPQSMods[True]]] - { - @PQS - { - @Mods - { - !VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VertexHeightNoiseVertHeightCurve2:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VertexRidgedAltitudeCurve:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !LandControl:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VertexHeightMap:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VertexSimplexHeightMap:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VertexPlanet:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !FlattenArea:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VertexHeightNoise:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !AltitudeAlpha:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VertexSimplexHeight:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VertexHeightNoiseVertHeight:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VertexHeightOffset:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VoronoiCraters:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !VertexVoronoi:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !MapDecalTangent:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !MapDecal:HAS[#SigmaDimensions[1],~userDefined[1]] {} - !FlattenOcean:HAS[#SigmaDimensions[1],~userDefined[1]] {} - @LandControl:HAS[#SigmaDimensions[1]] - { - !landClasses:HAS[#SigmaDimensions[1],~userDefined[1]] {} - @landClasses:HAS[#SigmaDimensions[1]] - { - !Class:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - } - } - @Body:HAS[@Template:HAS[#removePQSMods[*]]] - { - %removePQSMods = #,$Template/removePQSMods$, - @removePQSMods ^= : :: - @removePQSMods ^= :PQS:: - @removePQSMods ^= :Mod:: - @removePQSMods ^= :_:: - } - @Body:HAS[#removePQSMods[*,VertexSimplexHeightAbsolute,*]] - { - @PQS - { - @Mods - { - !VertexSimplexHeightAbsolute:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VertexHeightNoiseVertHeightCurve2,*]] - { - @PQS - { - @Mods - { - !VertexHeightNoiseVertHeightCurve2:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VertexRidgedAltitudeCurve,*]] - { - @PQS - { - @Mods - { - !VertexRidgedAltitudeCurve:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,LandControl,*]] - { - @PQS - { - @Mods - { - !LandControl:HAS[#SigmaDimensions[1],~userDefined[1]] {} - @LandControl:HAS[#SigmaDimensions[1]] - { - !landClasses:HAS[#SigmaDimensions[1],~userDefined[1]] {} - @landClasses:HAS[#SigmaDimensions[1]] - { - !Class:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - } - } - @Body:HAS[#removePQSMods[*,AerialPerspectiveMaterial,*]] - { - @PQS - { - @Mods - { - !AerialPerspectiveMaterial:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VertexHeightMap,*]] - { - @PQS - { - @Mods - { - !VertexHeightMap:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VertexSimplexHeightMap,*]] - { - @PQS - { - @Mods - { - !VertexSimplexHeightMap:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VertexPlanet,*]] - { - @PQS - { - @Mods - { - !VertexPlanet:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,FlattenArea,*]] - { - @PQS - { - @Mods - { - !FlattenArea:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VertexHeightNoise,*]] - { - @PQS - { - @Mods - { - !VertexHeightNoise:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,AltitudeAlpha,*]] - { - @PQS - { - @Mods - { - !AltitudeAlpha:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VertexSimplexHeight,*]] - { - @PQS - { - @Mods - { - !VertexSimplexHeight:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VertexHeightNoiseVertHeight,*]] - { - @PQS - { - @Mods - { - !VertexHeightNoiseVertHeight:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VertexHeightOffset,*]] - { - @PQS - { - @Mods - { - !VertexHeightOffset:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VoronoiCraters,*]] - { - @PQS - { - @Mods - { - !VoronoiCraters:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,VertexVoronoi,*]] - { - @PQS - { - @Mods - { - !VertexVoronoi:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,MapDecalTangent,*]] - { - @PQS - { - @Mods - { - !MapDecalTangent:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,MapDecal,*]] - { - @PQS - { - @Mods - { - !MapDecal:HAS[#SigmaDimensions[1],~userDefined[1]] {} - } - } - } - @Body:HAS[#removePQSMods[*,FlattenOcean,*]] + @Body,* { @PQS { @Mods { - !FlattenOcean:HAS[#SigmaDimensions[1],~userDefined[1]] {} + !removePQSMods = DEL + !VertexSimplexHeightAbsolute:HAS[#SigmaPlaceholder[1]] {} + !VertexHeightNoiseVertHeightCurve2:HAS[#SigmaPlaceholder[1]] {} + !VertexRidgedAltitudeCurve:HAS[#SigmaPlaceholder[1]] {} + !LandControl:HAS[#SigmaPlaceholder[1]] {} + !AerialPerspectiveMaterial:HAS[#SigmaPlaceholder[1]] {} + !VertexHeightMap:HAS[#SigmaPlaceholder[1]] {} + !VertexSimplexHeightMap:HAS[#SigmaPlaceholder[1]] {} + !VertexPlanet:HAS[#SigmaPlaceholder[1]] {} + !FlattenArea:HAS[#SigmaPlaceholder[1]] {} + !VertexHeightNoise:HAS[#SigmaPlaceholder[1]] {} + !AltitudeAlpha:HAS[#SigmaPlaceholder[1]] {} + !VertexSimplexHeight:HAS[#SigmaPlaceholder[1]] {} + !VertexHeightNoiseVertHeight:HAS[#SigmaPlaceholder[1]] {} + !VertexHeightOffset:HAS[#SigmaPlaceholder[1]] {} + !VoronoiCraters:HAS[#SigmaPlaceholder[1]] {} + !VertexVoronoi:HAS[#SigmaPlaceholder[1]] {} + !MapDecalTangent:HAS[#SigmaPlaceholder[1]] {} + !MapDecal:HAS[#SigmaPlaceholder[1]] {} + !FlattenOcean:HAS[#SigmaPlaceholder[1]] {} } } } - @Body,* - { - !removePQSMods = DEL - } } diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/advancedSettings.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/advancedSettings.cfg index c0b6c51..8438b80 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/advancedSettings.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/advancedSettings.cfg @@ -57,18 +57,27 @@ %scanAltitude = 1 } -// Create PlanetDimensions parameter - -@SigmaDimensions:AFTER[SigDim] -{ - %PlanetDimensions = #$Resize$,$Rescale$,$Atmosphere$,$dayLengthMultiplier$,$geeASLmultiplier$,$landscape$,$atmoVisualEffect$,$resizeScatter$,$CustomSoISize$,$CustomRingSize$,$atmoASL$,$tempASL$ -} +// Create SigmaDimensions node in each body @Kopernicus:AFTER[SigDim] { @Body,* { - %PlanetDimensions = #$@SigmaDimensions/PlanetDimensions$ - %PlanetMultiplier = 1,1,1,1,1,1,1,1,1,1,1,1 + !SigmaDimensions,* {} + SigmaDimensions + { + Resize = #$@SigmaDimensions/Resize$ + Rescale = #$@SigmaDimensions/Rescale$ + Atmosphere = #$@SigmaDimensions/Atmosphere$ + dayLengthMultiplier = #$@SigmaDimensions/dayLengthMultiplier$ + geeASLmultiplier = #$@SigmaDimensions/geeASLmultiplier$ + landscape = #$@SigmaDimensions/landscape$ + atmoVisualEffect = #$@SigmaDimensions/atmoVisualEffect$ + resizeScatter = #$@SigmaDimensions/resizeScatter$ + CustomSoISize = #$@SigmaDimensions/CustomSoISize$ + CustomRingSize = #$@SigmaDimensions/CustomRingSize$ + atmoASL = #$@SigmaDimensions/atmoASL$ + tempASL = #$@SigmaDimensions/tempASL$ + } } } diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/applySettings.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/applySettings.cfg index 38bed77..5ab81d9 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/applySettings.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/applySettings.cfg @@ -1,80 +1,51 @@ -// Multiply Dimensions - -@Kopernicus:FOR[SigDim2] -{ - @Body,* - { - @PlanetDimensions[0] *= #$PlanetMultiplier[0]$ - @PlanetDimensions[1] *= #$PlanetMultiplier[1]$ - @PlanetDimensions[2] *= #$PlanetMultiplier[2]$ - @PlanetDimensions[3] *= #$PlanetMultiplier[3]$ - @PlanetDimensions[4] *= #$PlanetMultiplier[4]$ - @PlanetDimensions[5] *= #$PlanetMultiplier[5]$ - @PlanetDimensions[6] *= #$PlanetMultiplier[6]$ - @PlanetDimensions[8] *= #$PlanetMultiplier[8]$ - @PlanetDimensions[9] *= #$PlanetMultiplier[9]$ - @PlanetDimensions[10] *= #$PlanetMultiplier[10]$ - @PlanetDimensions[11] *= #$PlanetMultiplier[11]$ - } -} - // Apply changes needed for advanced settings @Kopernicus:FOR[SigDim2] { - // SCATTER SIZE - @Body:HAS[#PlanetDimensions[*,*,*,*,*,*,*,*,0,*,*,*]] - { - // Set SphereOfInfluence multiplier - @PlanetDimensions[8] = #$PlanetDimensions[1]$ - } - @Body:HAS[#PlanetDimensions[*,*,*,*,*,*,*,*,*,0,*,*]] - { - // Set Ring size multiplier - @PlanetDimensions[9] = #$PlanetDimensions[1]$ - @PlanetDimensions[9] /= #$PlanetDimensions[0]$ - } - @Body:HAS[#PlanetDimensions[*,*,*,*,*,*,*,0,*,*,*,*]] - { - // define PlanetDimensions2[0] = changeScatterSize - // define PlanetDimensions2[1] = changeScatterDensity - - %PlanetDimensions2 = #1,$PlanetDimensions[0]$ - %CheckResize = #$PlanetDimensions[0]$ - } - @Body:HAS[#CheckResize[>1]] - { - @PlanetDimensions2[1] != 2 - } - @Body:HAS[#CheckResize[<1]] - { - @PlanetDimensions2[1] *= 0.5 - @PlanetDimensions2[1] += 0.5 - } - @Body:HAS[#PlanetDimensions[*,*,*,*,*,*,*,1,*,*,*,*],~CheckResize[*]] - { - // define PlanetDimensions2[0] = changeScatterSize - // define PlanetDimensions2[1] = changeScatterDensity - - %PlanetDimensions2 = #$PlanetDimensions[0]$,$PlanetDimensions[0]$ - @PlanetDimensions2[1] != 2 - } - @Body:HAS[#CheckResize[*]] - { - !CheckResize = DEL - } - @Body:HAS[#PlanetDimensions[1,*,*,*,*,1,*,*,*,*,*,*]] - { - // define PlanetDimensions2[2] = needsCache - // NEEDS NEW CACHE = FALSE - - @PlanetDimensions2 = #$PlanetDimensions2$,False - } - @Body:HAS[~PlanetDimensions[*False]] + @Body,* { - // define PlanetDimensions2[2] = needsCache - // NEEDS NEW CACHE = TRUE - - @PlanetDimensions2 = #$PlanetDimensions2$,True + // SCATTER SIZE + @SigmaDimensions:HAS[#CustomSoISize[0]] + { + // Set SphereOfInfluence multiplier + @CustomSoISize = #$Rescale$ + } + @SigmaDimensions:HAS[#CustomRingSize[0]] + { + // Set Ring size multiplier + @CustomRingSize = #$Rescale$ + @CustomRingSize /= #$Resize$ + } + @SigmaDimensions:HAS[#resizeScatter[0]] + { + // define PlanetDimensions2[0] = changeScatterSize + // define PlanetDimensions2[1] = changeScatterDensity + + %changeScatterSize = 1 + %changeScatterDensity = #$Resize$ + %CheckResize = #$Resize$ + } + @SigmaDimensions:HAS[#CheckResize[>1]] + { + @changeScatterDensity != 2 + } + @SigmaDimensions:HAS[#CheckResize[<1]] + { + @changeScatterDensity *= 0.5 + @changeScatterDensity += 0.5 + } + @SigmaDimensions:HAS[#resizeScatter[1],~CheckResize[*]] + { + // define changeScatterSize = changeScatterSize + // define changeScatterDensity = changeScatterDensity + + %changeScatterSize = #$Resize$ + %changeScatterDensity = #$Resize$ + @changeScatterDensity != 2 + } + @SigmaDimensions:HAS[#CheckResize[*]] + { + !CheckResize = DEL + } } } diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/atmoScale.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/atmoScale.cfg index 612ed62..5877104 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/atmoScale.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/atmoScale.cfg @@ -19,18 +19,57 @@ } @Atmosphere { - @maxAltitude *= #$../PlanetDimensions[2]$ - @altitude *= #$../PlanetDimensions[2]$ - @atmosphereDepth *= #$../PlanetDimensions[2]$ + @maxAltitude *= #$../SigmaDimensions/Atmosphere$ + @altitude *= #$../SigmaDimensions/Atmosphere$ + @atmosphereDepth *= #$../SigmaDimensions/Atmosphere$ + + // temperature ASL + + @temperatureSeaLevel *= #$../SigmaDimensions/tempASL$ + + // pressure ASL + + @staticPressureASL *= #$../SigmaDimensions/atmoASL$ + + @pressureCurve + { + @key,* ^= :$: 0 0 0 x: + @key,*[1, ] *= #$../../SigmaDimensions/atmoASL$ + @key,*[2, ] *= #$../../SigmaDimensions/atmoASL$ + @key,*[3, ] *= #$../../SigmaDimensions/atmoASL$ + @key,* ^= : 0 0 0 x$: : + } + + @temperatureCurve + { + @key,* ^= :$: 0 0 0 x: + @key,*[1, ] *= #$../../SigmaDimensions/tempASL$ + @key,*[2, ] *= #$../../SigmaDimensions/tempASL$ + @key,*[3, ] *= #$../../SigmaDimensions/tempASL$ + @key,* ^= : 0 0 0 x$: : + } + } + @Atmosphere:HAS[~addAFG[False]] + { + %AtmosphereFromGround + { + &innerRadiusMult = 0.975 + &outerRadiusMult = 1.025 + } + @AtmosphereFromGround:HAS[#outerRadius[*]] + { + @outerRadiusMult = #$../../Properties/radius$ + @outerRadiusMult /= #$outerRadius$ + } @AtmosphereFromGround:HAS[~outerRadius[*]] { outerRadius = #$../../Properties/radius$ @outerRadius *= #$outerRadiusMult$ } - @AtmosphereFromGround:HAS[~innerRadius[*]] + @AtmosphereFromGround:HAS[#innerRadius[*]] { - innerRadius = #$outerRadius$ - @innerRadius *= #$innerRadiusMult$ + @innerRadiusMult = #$outerRadius$ + @innerRadiusMult /= #$innerRadius$ } @AtmosphereFromGround:HAS[#transformScale[*]] { @@ -43,34 +82,36 @@ } @AtmosphereFromGround:HAS[~removeAFG[True]] { - // inner radius - @innerRadius -= #$../../Properties/radius$ - @innerRadius *= #$../../PlanetDimensions[2]$ - @innerRadius *= #$../../PlanetDimensions[6]$ - @innerRadius /= #$../../PlanetDimensions[0]$ - @innerRadius += #$../../Properties/radius$ - @innerRadius *= #$../../PlanetDimensions[0]$ - - // outer radius - @outerRadius -= #$../../Properties/radius$ - @outerRadius *= #$../../PlanetDimensions[2]$ - @outerRadius *= #$../../PlanetDimensions[6]$ - %transformScale = #$outerRadius$ - @outerRadius /= #$../../PlanetDimensions[0]$ - @outerRadius += #$../../Properties/radius$ - @outerRadius *= #$../../PlanetDimensions[0]$ - !innerRadiusMult,* = DEL - !outerRadiusMult,* = DEL + !transformScale,* = DEL + transformScale = #$../../SigmaDimensions/Resize$ + } + @AtmosphereFromGround:HAS[~removeAFG[True],~transformScale[<1]] + { + @transformScale = 1 } - @AtmosphereFromGround:HAS[~removeAFG[True],#transformScale[<6000]] + @AtmosphereFromGround:HAS[~removeAFG[True],#transformScale[<1]] { - @transformScale = 6000 + @transformScale != -0.333333333333333 } @AtmosphereFromGround:HAS[~removeAFG[True]] { + @innerRadiusMult *= #$outerRadiusMult$ + @innerRadiusMult -= 1 + @innerRadiusMult *= #$transformScale$ + @innerRadiusMult *= #$../../SigmaDimensions/atmoVisualEffect$ + @innerRadiusMult += 1 + + @outerRadiusMult -= 1 + @outerRadiusMult *= #$transformScale$ + @outerRadiusMult *= #$../../SigmaDimensions/atmoVisualEffect$ + @outerRadiusMult += 1 + + @innerRadiusMult /= #$outerRadiusMult$ + @transformScale *= 2 - @transformScale /= #$../../Properties/radius$ - @transformScale /= #$../../PlanetDimensions[0]$ + @outerRadiusMult -= 1 + @transformScale *= #$outerRadiusMult$ + @outerRadiusMult += 1 @transformScale += 1 @transformScale = #$transformScale$,$transformScale$,$transformScale$ } @@ -79,28 +120,6 @@ %transformScale = 0,0,0 !removeAFG = DEL } - - // pressure ASL - - @pressureCurve - { - @key,* ^= :$: 0 0 0 x: - @key,*[1, ] *= #$../../PlanetDimensions[10]$ - @key,*[2, ] *= #$../../PlanetDimensions[10]$ - @key,*[3, ] *= #$../../PlanetDimensions[10]$ - @key,* ^= : 0 0 0 x$: : - } - - // temperature ASL - - @temperatureCurve - { - @key,* ^= :$: 0 0 0 x: - @key,*[1, ] *= #$../../PlanetDimensions[11]$ - @key,*[2, ] *= #$../../PlanetDimensions[11]$ - @key,*[3, ] *= #$../../PlanetDimensions[11]$ - @key,* ^= : 0 0 0 x$: : - } } @Atmosphere:HAS[~pressureCurveIsNormalized[True]] { @@ -109,9 +128,9 @@ @pressureCurve { @key,* ^= :$: 0 0 0 x: - @key,*[0, ] *= #$../../PlanetDimensions[2]$ - @key,*[2, ] /= #$../../PlanetDimensions[2]$ - @key,*[3, ] /= #$../../PlanetDimensions[2]$ + @key,*[0, ] *= #$../../SigmaDimensions/Atmosphere$ + @key,*[2, ] /= #$../../SigmaDimensions/Atmosphere$ + @key,*[3, ] /= #$../../SigmaDimensions/Atmosphere$ @key,* ^= : 0 0 0 x$: : } } @@ -122,9 +141,9 @@ @temperatureCurve { @key,* ^= :$: 0 0 0 x: - @key,*[0, ] *= #$../../PlanetDimensions[2]$ - @key,*[2, ] /= #$../../PlanetDimensions[2]$ - @key,*[3, ] /= #$../../PlanetDimensions[2]$ + @key,*[0, ] *= #$../../SigmaDimensions/Atmosphere$ + @key,*[2, ] /= #$../../SigmaDimensions/Atmosphere$ + @key,*[3, ] /= #$../../SigmaDimensions/Atmosphere$ @key,* ^= : 0 0 0 x$: : } } @@ -135,9 +154,9 @@ @temperatureSunMultCurve { @key,* ^= :$: 0 0 0 x: - @key,*[0, ] *= #$../../PlanetDimensions[2]$ - @key,*[2, ] /= #$../../PlanetDimensions[2]$ - @key,*[3, ] /= #$../../PlanetDimensions[2]$ + @key,*[0, ] *= #$../../SigmaDimensions/Atmosphere$ + @key,*[2, ] /= #$../../SigmaDimensions/Atmosphere$ + @key,*[3, ] /= #$../../SigmaDimensions/Atmosphere$ @key,* ^= : 0 0 0 x$: : } } @@ -150,7 +169,7 @@ @pressureCurve { @key,*[0, ] += 0.0001 - key = 0 101.325 + key,0 = 0 101.325 } } } diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/groundScatters.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/groundScatters.cfg index c76ef20..72ad57c 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/groundScatters.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/groundScatters.cfg @@ -1,6 +1,6 @@ @Kopernicus:FOR[SigDim2] { - @Body:HAS[@Template:HAS[#name[Bop],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Bop]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -8,30 +8,22 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[boulder]]] + %scatters { - Scatter + %Scatter[boulder] { - name = boulder - } - } - @scatters - { - @Scatter:HAS[#name[boulder]] - { - densityFactor = 1 - maxLevelOffset = 0 - maxScale = 3 - minScale = 0.5 - verticalOffset = 0 + &densityFactor = 1 + &maxLevelOffset = 0 + &maxScale = 3 + &minScale = 0.5 + &verticalOffset = 0 } } } } } } - @Body:HAS[@Template:HAS[#name[Duna],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Duna]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -39,45 +31,30 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[boulder]]] + %scatters { - Scatter + %Scatter[boulder] { - name = boulder + &densityFactor = 0.25 + &maxLevelOffset = 0 + &maxScale = 4 + &minScale = 0.1 + &verticalOffset = 0.2 } - } - @scatters:HAS[!Scatter:HAS[#name[iceboulder]]] - { - Scatter + %Scatter[iceboulder] { - name = iceboulder - } - } - @scatters - { - @Scatter:HAS[#name[boulder]] - { - densityFactor = 0.25 - maxLevelOffset = 0 - maxScale = 4 - minScale = 0.1 - verticalOffset = 0.2 - } - @Scatter:HAS[#name[iceboulder]] - { - densityFactor = 0.25 - maxLevelOffset = 0 - maxScale = 4 - minScale = 0.1 - verticalOffset = 0.2 + &densityFactor = 0.25 + &maxLevelOffset = 0 + &maxScale = 4 + &minScale = 0.1 + &verticalOffset = 0.2 } } } } } } - @Body:HAS[@Template:HAS[#name[Eeloo],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Eeloo]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -85,30 +62,22 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[boulder]]] + %scatters { - Scatter + %Scatter[boulder] { - name = boulder - } - } - @scatters - { - @Scatter:HAS[#name[boulder]] - { - densityFactor = 0.0199999995529652 - maxLevelOffset = 0 - maxScale = 4 - minScale = 0.1 - verticalOffset = 0.2 + &densityFactor = 0.0199999995529652 + &maxLevelOffset = 0 + &maxScale = 4 + &minScale = 0.1 + &verticalOffset = 0.2 } } } } } } - @Body:HAS[@Template:HAS[#name[Eve],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Eve]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -116,30 +85,22 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[boulder]]] - { - Scatter - { - name = boulder - } - } - @scatters + %scatters { - @Scatter:HAS[#name[boulder]] + %Scatter[boulder] { - densityFactor = 0.25 - maxLevelOffset = 0 - maxScale = 4 - minScale = 0.1 - verticalOffset = 0.2 + &densityFactor = 0.25 + &maxLevelOffset = 0 + &maxScale = 4 + &minScale = 0.1 + &verticalOffset = 0.2 } } } } } } - @Body:HAS[@Template:HAS[#name[Gilly],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Gilly]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -147,30 +108,22 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[boulder]]] - { - Scatter - { - name = boulder - } - } - @scatters + %scatters { - @Scatter:HAS[#name[boulder]] + %Scatter[boulder] { - densityFactor = 1 - maxLevelOffset = 0 - maxScale = 3 - minScale = 0.5 - verticalOffset = 0 + &densityFactor = 1 + &maxLevelOffset = 0 + &maxScale = 3 + &minScale = 0.5 + &verticalOffset = 0 } } } } } } - @Body:HAS[@Template:HAS[#name[Ike],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Ike]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -178,30 +131,22 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[boulder]]] + %scatters { - Scatter + %Scatter[boulder] { - name = boulder - } - } - @scatters - { - @Scatter:HAS[#name[boulder]] - { - densityFactor = 1 - maxLevelOffset = 0 - maxScale = 2 - minScale = 0.1 - verticalOffset = 0 + &densityFactor = 1 + &maxLevelOffset = 0 + &maxScale = 2 + &minScale = 0.1 + &verticalOffset = 0 } } } } } } - @Body:HAS[@Template:HAS[#name[Kerbin],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Kerbin]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -209,90 +154,54 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[Tree00]]] - { - Scatter - { - name = Tree00 - } - } - @scatters:HAS[!Scatter:HAS[#name[Grass00]]] - { - Scatter - { - name = Grass00 - } - } - @scatters:HAS[!Scatter:HAS[#name[boulder]]] - { - Scatter - { - name = boulder - } - } - @scatters:HAS[!Scatter:HAS[#name[Pine00]]] - { - Scatter - { - name = Pine00 - } - } - @scatters:HAS[!Scatter:HAS[#name[cactus]]] - { - Scatter - { - name = cactus - } - } - @scatters + %scatters { - @Scatter:HAS[#name[Tree00]] + %Scatter[Tree00] { - densityFactor = 0.5 - maxLevelOffset = 0 - maxScale = 2 - minScale = 0.5 - verticalOffset = -1 + &densityFactor = 0.5 + &maxLevelOffset = 0 + &maxScale = 2 + &minScale = 0.5 + &verticalOffset = -1 } - @Scatter:HAS[#name[Grass00]] + %Scatter[Grass00] { - densityFactor = 0.25 - maxLevelOffset = 0 - maxScale = 2 - minScale = 1 - verticalOffset = -0.25 + &densityFactor = 0.25 + &maxLevelOffset = 0 + &maxScale = 2 + &minScale = 1 + &verticalOffset = -0.25 } - @Scatter:HAS[#name[boulder]] + %Scatter[boulder] { - densityFactor = 0.25 - maxLevelOffset = 0 - maxScale = 1.5 - minScale = 0.15 - verticalOffset = -0.25 + &densityFactor = 0.25 + &maxLevelOffset = 0 + &maxScale = 1.5 + &minScale = 0.15 + &verticalOffset = -0.25 } - @Scatter:HAS[#name[Pine00]] + %Scatter[Pine00] { - densityFactor = 0.5 - maxLevelOffset = 0 - maxScale = 4 - minScale = 2 - verticalOffset = -0.1 + &densityFactor = 0.5 + &maxLevelOffset = 0 + &maxScale = 4 + &minScale = 2 + &verticalOffset = -0.1 } - @Scatter:HAS[#name[cactus]] + %Scatter[cactus] { - densityFactor = 0.0500000007450581 - maxLevelOffset = 0 - maxScale = 1.5 - minScale = 0.5 - verticalOffset = -0.1 + &densityFactor = 0.0500000007450581 + &maxLevelOffset = 0 + &maxScale = 1.5 + &minScale = 0.5 + &verticalOffset = -0.1 } } } } } } - @Body:HAS[@Template:HAS[#name[Laythe],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Laythe]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -300,30 +209,22 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[boulder]]] + %scatters { - Scatter + %Scatter[BrownRock] { - name = boulder - } - } - @scatters - { - @Scatter:HAS[#name[BrownRock]] - { - densityFactor = 1 - maxLevelOffset = 0 - maxScale = 1.5 - minScale = 0.25 - verticalOffset = 0 + &densityFactor = 1 + &maxLevelOffset = 0 + &maxScale = 1.5 + &minScale = 0.25 + &verticalOffset = 0 } } } } } } - @Body:HAS[@Template:HAS[#name[Minmus],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Minmus]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -331,30 +232,22 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[Rock00]]] + %scatters { - Scatter + %Scatter[Rock00] { - name = Rock00 - } - } - @scatters - { - @Scatter:HAS[#name[Rock00]] - { - densityFactor = 1 - maxLevelOffset = 0 - maxScale = 3 - minScale = 0.5 - verticalOffset = 0 + &densityFactor = 1 + &maxLevelOffset = 0 + &maxScale = 3 + &minScale = 0.5 + &verticalOffset = 0 } } } } } } - @Body:HAS[@Template:HAS[#name[Mun],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Mun]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -362,30 +255,22 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[Rock00]]] - { - Scatter - { - name = Rock00 - } - } - @scatters + %scatters { - @Scatter:HAS[#name[Rock00]] + %Scatter[Rock00] { - densityFactor = 1 - maxLevelOffset = 0 - maxScale = 2.5 - minScale = 0.15 - verticalOffset = 0 + &densityFactor = 1 + &maxLevelOffset = 0 + &maxScale = 2.5 + &minScale = 0.15 + &verticalOffset = 0 } } } } } } - @Body:HAS[@Template:HAS[#name[Pol],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Pol]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -393,95 +278,30 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[boulder]]] + %scatters { - Scatter + %Scatter[boulder] { - name = boulder + &densityFactor = 1 + &maxLevelOffset = 0 + &maxScale = 2 + &minScale = 0.25 + &verticalOffset = -0.15 } - } - @scatters:HAS[!Scatter:HAS[#name[stalactite]]] - { - Scatter + %Scatter[stalactite] { - name = stalactite - } - } - @scatters - { - @Scatter:HAS[#name[boulder]] - { - materialType = DiffuseDetail - mesh = BUILTIN/boulder - castShadows = True - densityFactor = 1 - maxCache = 512 - maxCacheDelta = 32 - maxLevelOffset = 0 - maxScale = 2 - maxScatter = 20 - maxSpeed = 1000 - minScale = 0.25 - recieveShadows = False - seed = 231123 - verticalOffset = -0.15 - delete = False - collide = False - science = False - Material - { - color = 0.6641791,0.6319441,0.4482048,1 - mainTex = BUILTIN/distantground - mainTexScale = 0.5,0.5 - mainTexOffset = 0,0 - detail = BUILTIN/rock00 - detailScale = 3,3 - detailOffset = 0,0 - } - Experiment - { - } - } - @Scatter:HAS[#name[stalactite]] - { - materialType = DiffuseDetail - mesh = BUILTIN/Cube - castShadows = True - densityFactor = 1 - maxCache = 512 - maxCacheDelta = 32 - maxLevelOffset = 0 - maxScale = 4 - maxScatter = 20 - maxSpeed = 1000 - minScale = 0.5 - recieveShadows = False - seed = 23453 - verticalOffset = 0 - delete = False - collide = False - science = False - Material - { - color = 0.6641791,0.6319441,0.4482048,1 - mainTex = BUILTIN/distantground - mainTexScale = 0.5,0.5 - mainTexOffset = 0,0 - detail = BUILTIN/rock00 - detailScale = 3,3 - detailOffset = 0,0 - } - Experiment - { - } + &densityFactor = 1 + &maxLevelOffset = 0 + &maxScale = 4 + &minScale = 0.5 + &verticalOffset = 0 } } } } } } - @Body:HAS[@Template:HAS[#name[Tylo],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Tylo]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -489,30 +309,22 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[boulder]]] - { - Scatter - { - name = boulder - } - } - @scatters + %scatters { - @Scatter:HAS[#name[boulder]] + %Scatter[boulder] { - densityFactor = 1 - maxLevelOffset = 0 - maxScale = 3 - minScale = 0.5 - verticalOffset = 0 + &densityFactor = 1 + &maxLevelOffset = 0 + &maxScale = 3 + &minScale = 0.5 + &verticalOffset = 0 } } } } } } - @Body:HAS[@Template:HAS[#name[Vall],~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] + @Body:HAS[@Template[Vall]:HAS[~removeAllPQSMods[*],~removePQSMods[*LandControl*]]] { %PQS { @@ -520,23 +332,15 @@ { %LandControl { - %scatters {} - @scatters:HAS[!Scatter:HAS[#name[boulder]]] - { - Scatter - { - name = boulder - } - } - @scatters + %scatters { - @Scatter:HAS[#name[boulder]] + %Scatter[boulder] { - densityFactor = 1 - maxLevelOffset = 0 - maxScale = 2 - minScale = 0.1 - verticalOffset = 0 + &densityFactor = 1 + &maxLevelOffset = 0 + &maxScale = 2 + &minScale = 0.1 + &verticalOffset = 0 } } } diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/newCacheFiles.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/newCacheFiles.cfg index a814f8b..5c074a3 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/newCacheFiles.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/newCacheFiles.cfg @@ -1,12 +1,20 @@ -@Kopernicus:FOR[SigDim2] +@Kopernicus:FOR[SigDim2] { - @Body:HAS[#PlanetDimensions2[*,True],~cacheFile[*]] + @Body:HAS[@SigmaDimensions:HAS[#Resize[1],#landscape[1]]] + { + %editCache = False + } + @Body:HAS[~cacheFile[*],~editCache[False]] { cacheFile = #Kopernicus/Cache/$name$.bin } - @Body:HAS[#PlanetDimensions2[*,True]] + @Body:HAS[~editCache[False]] { - @cacheFile = #Sigma/Dimensions/Cache/§$PlanetDimensions[0]$x]Resize/§$PlanetDimensions[5]$x]landscape/$cacheFile$ + @cacheFile = #Sigma/Dimensions/Cache/§$SigmaDimensions/Resize$x]Resize/§$SigmaDimensions/landscape$x]landscape/$cacheFile$ @cacheFile ^= :§:[: } + @Body,* + { + !editCache = DEL + } } diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/physicsModifier.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/physicsModifier.cfg index 544334d..0c45e17 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/physicsModifier.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/physicsModifier.cfg @@ -1,12 +1,58 @@ @SigmaDimensions:FOR[SigDim2] { - %heatMulti = #$Resize$ - @heatMulti != #$@PHYSICSGLOBALS/machTemperatureVelocityExponent$ - @heatMulti != -0.5 - @reEntryHeat *= #$heatMulti$ - !heatMulti = DEL + %heatMulti = #$Resize$ + @heatMulti != #$@PHYSICSGLOBALS/machTemperatureVelocityExponent$ + @heatMulti != -0.5 + @reEntryHeat *= #$heatMulti$ + !heatMulti = DEL } @PHYSICSGLOBALS:FOR[SigDim2] { - @machTemperatureScalar *= #$@SigmaDimensions/reEntryHeat$ + @machTemperatureScalar *= #$@SigmaDimensions/reEntryHeat$ + @newtonianConvectionFactorTotal *= #$@SigmaDimensions/reEntryHeat$ + + @aeroFXDensityScalar1 *= #$@SigmaDimensions/reEntryHeat$ + @aeroFXDensityScalar1 /= #$@SigmaDimensions/Resize$ + @aeroFXDensityScalar1 /= #$@SigmaDimensions/Resize$ + + @aeroFXDensityScalar2 *= #$@SigmaDimensions/reEntryHeat$ + @aeroFXDensityScalar2 /= #$@SigmaDimensions/Resize$ + + @aeroFXFullThermalFX *= #$@SigmaDimensions/reEntryHeat$ + @aeroFXFullThermalFX != 2.90909090909091 + @aeroFXFullThermalFX *= #$@SigmaDimensions/Resize$ + @aeroFXFullThermalFX != 0.34375 + + @aeroFXDensityExponent1 != 6.66666666666667 + @aeroFXDensityExponent1 *= #$@SigmaDimensions/Resize$ + @aeroFXDensityExponent1 != 0.15 + + @aeroFXVelocityExponent /= #$@SigmaDimensions/reEntryHeat$ + @aeroFXVelocityExponent != 3.2 + @aeroFXVelocityExponent /= #$@SigmaDimensions/Resize$ + @aeroFXVelocityExponent != 0.3125 + + @newtonianMachTempLerpEndMach != 10 + @newtonianMachTempLerpEndMach /= #$@SigmaDimensions/Resize$ + @newtonianMachTempLerpEndMach != 0.1 + + @turbulentConvectionEnd != 3.33333333333333 + @turbulentConvectionEnd *= #$@SigmaDimensions/Resize$ + @turbulentConvectionEnd != 0.3 + + @newtonianConvectionFactorBase != 3.33333333333333 + @newtonianConvectionFactorBase /= #$@SigmaDimensions/Resize$ + @newtonianConvectionFactorBase != 0.3 + + @turbulentConvectionMult != 3.33333333333333 + @turbulentConvectionMult /= #$@SigmaDimensions/Resize$ + @turbulentConvectionMult != 0.3 + + @machConvectionFactor != 2 + @machConvectionFactor /= #$@SigmaDimensions/Resize$ + @machConvectionFactor != 0.5 + + @fullConvectionAreaMin != 3.33333333333333 + @fullConvectionAreaMin /= #$@SigmaDimensions/Resize$ + @fullConvectionAreaMin != 0.3 } diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/rescaleSCANsat.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/rescaleSCANsat.cfg index 68b3d70..79ecece 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/rescaleSCANsat.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/rescaleSCANsat.cfg @@ -36,8 +36,15 @@ { @Item,* { - @minHeightRange *= #$@SigmaDimensions/scanAltitude$ - @maxHeightRange *= #$@SigmaDimensions/scanAltitude$ + &maxHeightMultiplier = 1 + &minHeightMultiplier = 1 + &clampHeightMultiplier = 1 + @maxHeightMultiplier *= #$@SigmaDimensions/Resize$ + @minHeightMultiplier *= #$@SigmaDimensions/Resize$ + @clampHeightMultiplier *= #$@SigmaDimensions/Resize$ + @maxHeightMultiplier *= #$@SigmaDimensions/landscape$ + @minHeightMultiplier *= #$@SigmaDimensions/landscape$ + @clampHeightMultiplier *= #$@SigmaDimensions/landscape$ } } } diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/resizeKonstructs.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/resizeKonstructs.cfg index db7eaff..c86d660 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/resizeKonstructs.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/resizeKonstructs.cfg @@ -5,4 +5,4 @@ @RadiusOffset *= #$@SigmaDimensions/Resize$ @RadiusOffset *= #$@SigmaDimensions/landscape$ } -} \ No newline at end of file +} diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/resizePQSMods.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/resizePQSMods.cfg index 56204d3..3fd9852 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/resizePQSMods.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/resizePQSMods.cfg @@ -7,153 +7,156 @@ @Material { // Resize - @groundTexStart *= #$../../PlanetDimensions[0]$ - @groundTexEnd *= #$../../PlanetDimensions[0]$ - @steepTexStart *= #$../../PlanetDimensions[0]$ - @steepTexEnd *= #$../../PlanetDimensions[0]$ + @groundTexStart *= #$../../SigmaDimensions/Resize$ + @groundTexEnd *= #$../../SigmaDimensions/Resize$ + @steepTexStart *= #$../../SigmaDimensions/Resize$ + @steepTexEnd *= #$../../SigmaDimensions/Resize$ // landscape - @groundTexStart *= #$../../PlanetDimensions[5]$ - @groundTexEnd *= #$../../PlanetDimensions[5]$ - @steepTexStart *= #$../../PlanetDimensions[5]$ - @steepTexEnd *= #$../../PlanetDimensions[5]$ + @groundTexStart *= #$../../SigmaDimensions/landscape$ + @groundTexEnd *= #$../../SigmaDimensions/landscape$ + @steepTexStart *= #$../../SigmaDimensions/landscape$ + @steepTexEnd *= #$../../SigmaDimensions/landscape$ } @FallbackMaterial { // Resize - @groundTexStart *= #$../../PlanetDimensions[0]$ - @groundTexEnd *= #$../../PlanetDimensions[0]$ + @groundTexStart *= #$../../SigmaDimensions/Resize$ + @groundTexEnd *= #$../../SigmaDimensions/Resize$ // landscape - @groundTexStart *= #$../../PlanetDimensions[5]$ - @groundTexEnd *= #$../../PlanetDimensions[5]$ + @groundTexStart *= #$../../SigmaDimensions/landscape$ + @groundTexEnd *= #$../../SigmaDimensions/landscape$ } @Mods { @VertexSimplexHeightAbsolute,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ } @VertexHeightNoiseVertHeightCurve2,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ - @simplexHeightEnd *= #$../../../PlanetDimensions[0]$ - @simplexHeightStart *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ + @simplexHeightEnd *= #$../../../SigmaDimensions/Resize$ + @simplexHeightStart *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ - @simplexHeightEnd *= #$../../../PlanetDimensions[5]$ - @simplexHeightStart *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ + @simplexHeightEnd *= #$../../../SigmaDimensions/landscape$ + @simplexHeightStart *= #$../../../SigmaDimensions/landscape$ } @VertexRidgedAltitudeCurve,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ - @simplexHeightEnd *= #$../../../PlanetDimensions[0]$ - @simplexHeightStart *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ + @simplexHeightEnd *= #$../../../SigmaDimensions/Resize$ + @simplexHeightStart *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ - @simplexHeightEnd *= #$../../../PlanetDimensions[5]$ - @simplexHeightStart *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ + @simplexHeightEnd *= #$../../../SigmaDimensions/landscape$ + @simplexHeightStart *= #$../../../SigmaDimensions/landscape$ } @LandControl,* { - @vHeightMax *= #$../../../PlanetDimensions[0]$ - @vHeightMax *= #$../../../PlanetDimensions[5]$ + @vHeightMax *= #$../../../SigmaDimensions/Resize$ + @vHeightMax *= #$../../../SigmaDimensions/landscape$ @landClasses,* { @Class,* { // Resize - @alterApparentHeight *= #$../../../../../PlanetDimensions[0]$ - @alterRealHeight *= #$../../../../../PlanetDimensions[0]$ + @alterApparentHeight *= #$../../../../../SigmaDimensions/Resize$ + @alterRealHeight *= #$../../../../../SigmaDimensions/Resize$ // landscape - @alterApparentHeight *= #$../../../../../PlanetDimensions[5]$ - @alterRealHeight *= #$../../../../../PlanetDimensions[5]$ + @alterApparentHeight *= #$../../../../../SigmaDimensions/landscape$ + @alterRealHeight *= #$../../../../../SigmaDimensions/landscape$ } } @scatters,* { @Scatter,* { - @maxLevelOffset *= #$../../../../../PlanetDimensions2[0]$ - @maxScale *= #$../../../../../PlanetDimensions2[0]$ - @minScale *= #$../../../../../PlanetDimensions2[0]$ - @verticalOffset *= #$../../../../../PlanetDimensions2[0]$ - @densityFactor *= #$../../../../../PlanetDimensions2[1]$ + @maxLevelOffset *= #$../../../../../SigmaDimensions/changeScatterSize$ + @maxScale *= #$../../../../../SigmaDimensions/changeScatterSize$ + @minScale *= #$../../../../../SigmaDimensions/changeScatterSize$ + @verticalOffset *= #$../../../../../SigmaDimensions/changeScatterSize$ + @densityFactor *= #$../../../../../SigmaDimensions/changeScatterDensity$ } } } @AerialPerspectiveMaterial,* { - @atmosphereDepth *= #$../../../PlanetDimensions[0]$ + @atmosphereDepth *= #$../../../SigmaDimensions/Atmosphere$ } @VertexHeightMap,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ - @offset *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ + @offset *= #$../../../SigmaDimensions/Resize$ + } + @VertexHeightMap:HAS[~ignorelandscape[True]] + { // landscape - @deformity *= #$../../../PlanetDimensions[5]$ - @offset *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ + @offset *= #$../../../SigmaDimensions/landscape$ } @AltitudeAlpha,* { - @atmosphereDepth *= #$../../../PlanetDimensions[0]$ + @atmosphereDepth *= #$../../../SigmaDimensions/Resize$ } @VertexSimplexHeight,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ } @VertexHeightNoiseVertHeight,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ } @VertexPlanet,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ - @colorDeformity *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ + @colorDeformity *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ - @colorDeformity *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ + @colorDeformity *= #$../../../SigmaDimensions/landscape$ } @VertexHeightNoise,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ } @FlattenArea,* { // Resize - @flattenTo *= #$../../../PlanetDimensions[0]$ - @innerRadius *= #$../../../PlanetDimensions[0]$ - @outerRadius *= #$../../../PlanetDimensions[0]$ + @flattenTo *= #$../../../SigmaDimensions/Resize$ + @innerRadius *= #$../../../SigmaDimensions/Resize$ + @outerRadius *= #$../../../SigmaDimensions/Resize$ // landscape - @flattenTo *= #$../../../PlanetDimensions[5]$ + @flattenTo *= #$../../../SigmaDimensions/landscape$ } @VertexSimplexHeightMap,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ } @VertexHeightOffset,* { // Resize - @offset *= #$../../../PlanetDimensions[0]$ + @offset *= #$../../../SigmaDimensions/Resize$ // landscape - @offset *= #$../../../PlanetDimensions[5]$ + @offset *= #$../../../SigmaDimensions/landscape$ } @VoronoiCraters:HAS[~deformation[*]] { @@ -166,99 +169,102 @@ @VoronoiCraters,* { // Resize - @deformation *= #$../../../PlanetDimensions[0]$ - @jitterHeight *= #$../../../PlanetDimensions[0]$ + @deformation *= #$../../../SigmaDimensions/Resize$ + @jitterHeight *= #$../../../SigmaDimensions/Resize$ // landscape - @deformation *= #$../../../PlanetDimensions[5]$ - @jitterHeight *= #$../../../PlanetDimensions[5]$ + @deformation *= #$../../../SigmaDimensions/landscape$ + @jitterHeight *= #$../../../SigmaDimensions/landscape$ } @VertexVoronoi,* { // Resize - @deformation *= #$../../../PlanetDimensions[0]$ + @deformation *= #$../../../SigmaDimensions/Resize$ // landscape - @deformation *= #$../../../PlanetDimensions[5]$ + @deformation *= #$../../../SigmaDimensions/landscape$ } @MapDecalTangent,* { // Resize - @absoluteOffset *= #$../../../PlanetDimensions[0]$ - @heightMapDeformity *= #$../../../PlanetDimensions[0]$ - @radius *= #$../../../PlanetDimensions[0]$ + @absoluteOffset *= #$../../../SigmaDimensions/Resize$ + @heightMapDeformity *= #$../../../SigmaDimensions/Resize$ + @radius *= #$../../../SigmaDimensions/Resize$ // landscape - @absoluteOffset *= #$../../../PlanetDimensions[5]$ - @heightMapDeformity *= #$../../../PlanetDimensions[5]$ + @absoluteOffset *= #$../../../SigmaDimensions/landscape$ + @heightMapDeformity *= #$../../../SigmaDimensions/landscape$ } @MapDecal,* { // Resize - @absoluteOffset *= #$../../../PlanetDimensions[0]$ - @heightMapDeformity *= #$../../../PlanetDimensions[0]$ - @radius *= #$../../../PlanetDimensions[0]$ + @absoluteOffset *= #$../../../SigmaDimensions/Resize$ + @heightMapDeformity *= #$../../../SigmaDimensions/Resize$ + @radius *= #$../../../SigmaDimensions/Resize$ // landscape - @absoluteOffset *= #$../../../PlanetDimensions[5]$ - @heightMapDeformity *= #$../../../PlanetDimensions[5]$ + @absoluteOffset *= #$../../../SigmaDimensions/landscape$ + @heightMapDeformity *= #$../../../SigmaDimensions/landscape$ } @VertexHeightOblate,* { // Resize - @height *= #$../../../PlanetDimensions[0]$ + @height *= #$../../../SigmaDimensions/Resize$ + } + @VertexHeightOblate:HAS[~ignorelandscape[True]] + { // landscape - @height *= #$../../../PlanetDimensions[5]$ + @height *= #$../../../SigmaDimensions/landscape$ } @FlattenMountains,* { // Resize - @altitude *= #$../../../PlanetDimensions[0]$ + @altitude *= #$../../../SigmaDimensions/Resize$ // landscape - @altitude *= #$../../../PlanetDimensions[5]$ + @altitude *= #$../../../SigmaDimensions/landscape$ } @FlattenOcean,* { // Resize - @oceanRadius *= #$../../../PlanetDimensions[0]$ + @oceanRadius *= #$../../../SigmaDimensions/Resize$ // landscape - @oceanRadius *= #$../../../PlanetDimensions[5]$ + @oceanRadius *= #$../../../SigmaDimensions/landscape$ } @VertexDefineCoastLine,* { // Resize - @depthOffset *= #$../../../PlanetDimensions[0]$ - @oceanRadiusOffset *= #$../../../PlanetDimensions[0]$ + @depthOffset *= #$../../../SigmaDimensions/Resize$ + @oceanRadiusOffset *= #$../../../SigmaDimensions/Resize$ // landscape - @depthOffset *= #$../../../PlanetDimensions[5]$ - @oceanRadiusOffset *= #$../../../PlanetDimensions[5]$ + @depthOffset *= #$../../../SigmaDimensions/landscape$ + @oceanRadiusOffset *= #$../../../SigmaDimensions/landscape$ } @VertexHeightMapStep,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ - @offset *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ + @offset *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ - @offset *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ + @offset *= #$../../../SigmaDimensions/landscape$ } @VertexHeightNoiseHeightMap,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ - @heightEnd *= #$../../../PlanetDimensions[0]$ - @heightStart *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ + @heightEnd *= #$../../../SigmaDimensions/Resize$ + @heightStart *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ - @heightEnd *= #$../../../PlanetDimensions[5]$ - @heightStart *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ + @heightEnd *= #$../../../SigmaDimensions/landscape$ + @heightStart *= #$../../../SigmaDimensions/landscape$ } @VertexHeightNoiseVertHeightCurve,* { // Resize - @deformity *= #$../../../PlanetDimensions[0]$ - @heightEnd *= #$../../../PlanetDimensions[0]$ - @heightStart *= #$../../../PlanetDimensions[0]$ + @deformity *= #$../../../SigmaDimensions/Resize$ + @heightEnd *= #$../../../SigmaDimensions/Resize$ + @heightStart *= #$../../../SigmaDimensions/Resize$ // landscape - @deformity *= #$../../../PlanetDimensions[5]$ - @heightEnd *= #$../../../PlanetDimensions[5]$ - @heightStart *= #$../../../PlanetDimensions[5]$ + @deformity *= #$../../../SigmaDimensions/landscape$ + @heightEnd *= #$../../../SigmaDimensions/landscape$ + @heightStart *= #$../../../SigmaDimensions/landscape$ } } } diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/setDimensions.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/setDimensions.cfg index e1c81c0..d991ee0 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/setDimensions.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/setDimensions.cfg @@ -4,23 +4,16 @@ { @Properties { - @timewarpAltitudeLimits,0[*, ] *= #$../PlanetDimensions[2]$ - @inverseRotThresholdAltitude *= #$../PlanetDimensions[2]$ - } - } - @Body:HAS[@Atmosphere:HAS[#maxAltitude[>0]]] - { - @Properties - { - @inverseRotThresholdAltitude = #$../Atmosphere:HAS[#maxAltitude[>0]]/maxAltitude$ + @timewarpAltitudeLimits,0[*, ] *= #$../SigmaDimensions/Atmosphere$ + @inverseRotThresholdAltitude *= #$../SigmaDimensions/Atmosphere$ } } @Body:HAS[!Atmosphere] { @Properties { - @timewarpAltitudeLimits,0[*, ] *= #$../PlanetDimensions[0]$ - @inverseRotThresholdAltitude *= #$../PlanetDimensions[0]$ + @timewarpAltitudeLimits,0[*, ] *= #$../SigmaDimensions/Resize$ + @inverseRotThresholdAltitude *= #$../SigmaDimensions/Resize$ } } @Body,* @@ -34,42 +27,44 @@ } @Properties { - @radius *= #$../PlanetDimensions[0]$ - @mass *= #$../PlanetDimensions[0]$ - @mass *= #$../PlanetDimensions[0]$ - @mass *= #$../PlanetDimensions[4]$ - @rotationPeriod *= #$../PlanetDimensions[3]$ - @sphereOfInfluence *= #$../PlanetDimensions[8]$ + @radius *= #$../SigmaDimensions/Resize$ + @geeASL *= #$../SigmaDimensions/geeASLmultiplier$ + @rotationPeriod *= #$../SigmaDimensions/dayLengthMultiplier$ + @sphereOfInfluence *= #$../SigmaDimensions/CustomSoISize$ @ScienceValues { - @flyingAltitudeThreshold *= #$../../PlanetDimensions[2]$ - @spaceAltitudeThreshold *= #$../../PlanetDimensions[1]$ + @flyingAltitudeThreshold *= #$../../SigmaDimensions/Atmosphere$ + @spaceAltitudeThreshold *= #$../../SigmaDimensions/Rescale$ @spaceAltitudeThreshold -= #$../radius$ } } @Orbit { - @semiMajorAxis *= #$../PlanetDimensions[1]$ + @semiMajorAxis *= #$../SigmaDimensions/Rescale$ + } + @PostSpawnOrbit + { + @semiMajorAxis *= #$../SigmaDimensions/Rescale$ } @ScaledVersion { @Light { - @sunAU *= #$../../PlanetDimensions[0]$ + @sunAU *= #$../../SigmaDimensions/Resize$ } } @Rings { @Ring { - @outerRadius *= #$../../PlanetDimensions[9]$ - @innerRadius *= #$../../PlanetDimensions[9]$ + @outerRadius *= #$../../SigmaDimensions/CustomRingSize$ + @innerRadius *= #$../../SigmaDimensions/CustomRingSize$ } } @SpaceCenter { - %Resize = #$../PlanetDimensions[0]$ - %landscape = #$../PlanetDimensions[5]$ + %Resize = #$../SigmaDimensions/Resize$ + %landscape = #$../SigmaDimensions/landscape$ @heightMapDeformity *= 0.9255 @absoluteOffset += #$heightMapDeformity$ @absoluteOffset *= #$Resize$ @@ -78,6 +73,20 @@ %repositionRadiusOffset = #$absoluteOffset$ @repositionRadiusOffset -= 22.3 } + @Ocean,* + { + @HazardousOcean,* + { + @key,* ^= :$: 0 0 0 x: + @key,*[0, ] *= #$../../SigmaDimensions/Resize$ + @key,*[2, ] /= #$../../SigmaDimensions/Resize$ + @key,*[3, ] /= #$../../SigmaDimensions/Resize$ + @key,*[0, ] *= #$../../SigmaDimensions/landscape$ + @key,*[2, ] /= #$../../SigmaDimensions/landscape$ + @key,*[3, ] /= #$../../SigmaDimensions/landscape$ + @key,* ^= : 0 0 0 x$: : + } + } @SpaceCenter:HAS[#Resize[<0.75],#Resize[>0.009]] { @Resize = 0.75 @@ -95,7 +104,7 @@ { @MapDecalTangent { - %Resize = #$../../../PlanetDimensions[0]$ + %Resize = #$../../../SigmaDimensions/Resize$ @radius /= #$Resize$ } @MapDecalTangent:HAS[#Resize[<0.75],#Resize[>0.009]] diff --git a/GameData/Sigma/Dimensions/Configs/ReDimension/setKSCSwitcher.cfg b/GameData/Sigma/Dimensions/Configs/ReDimension/setKSCSwitcher.cfg index 6aadb3a..cddc489 100644 --- a/GameData/Sigma/Dimensions/Configs/ReDimension/setKSCSwitcher.cfg +++ b/GameData/Sigma/Dimensions/Configs/ReDimension/setKSCSwitcher.cfg @@ -6,8 +6,8 @@ { @PQSMod_MapDecalTangent { - %Resize = #$@Kopernicus/Body:HAS[#name[Kerbin]]/PlanetDimensions[0]$ - %landscape = #$@Kopernicus/Body:HAS[#name[Kerbin]]/PlanetDimensions[5]$ + %Resize = #$@Kopernicus/Body:HAS[#name[Kerbin]]/SigmaDimensions/Resize$ + %landscape = #$@Kopernicus/Body:HAS[#name[Kerbin]]/SigmaDimensions/landscape$ @heightMapDeformity *= 0.9255 @absoluteOffset += #$heightMapDeformity$ @absoluteOffset *= #$Resize$ diff --git a/GameData/Sigma/Dimensions/Configs/Sigma-Dimensions.version b/GameData/Sigma/Dimensions/Configs/Sigma-Dimensions.version index 8822fe2..a8b4dca 100644 --- a/GameData/Sigma/Dimensions/Configs/Sigma-Dimensions.version +++ b/GameData/Sigma/Dimensions/Configs/Sigma-Dimensions.version @@ -1 +1,25 @@ -{"NAME":"Sigma Dimensions","URL":"http://ksp-avc.cybutek.net/version.php?id=235","DOWNLOAD":"http://forum.kerbalspaceprogram.com/threads/140687","CHANGE_LOG_URL":"https://github.com/Sigma88/Sigma-Dimensions/raw/master/Changelog.txt","VERSION":{"MAJOR":0,"MINOR":5,"PATCH":0,"BUILD":0},"KSP_VERSION":{"MAJOR":1,"MINOR":1,"PATCH":2}} +{ + "NAME": "Sigma Dimensions", + "URL": "https://raw.githubusercontent.com/Sigma88/Sigma-Dimensions/master/GameData/Sigma/Dimensions/Configs/Sigma-Dimensions.version", + "DOWNLOAD": "http://forum.kerbalspaceprogram.com/index.php?/topic/126548-0", + "CHANGE_LOG_URL": "https://raw.githubusercontent.com/Sigma88/Sigma-Dimensions/master/Changelog.txt", + "GITHUB": + { + "USERNAME": "Sigma88", + "REPOSITORY": "Sigma-Dimensions", + "ALLOW_PRE_RELEASE": false + }, + "VERSION": + { + "MAJOR": 0, + "MINOR": 6, + "PATCH": 0, + "BUILD": 0 + }, + "KSP_VERSION": + { + "MAJOR": 1, + "MINOR": 2, + "PATCH": 1 + } +} diff --git a/GameData/Sigma/Dimensions/README.txt b/GameData/Sigma/Dimensions/README.txt index 62ac52d..ab026ef 100644 --- a/GameData/Sigma/Dimensions/README.txt +++ b/GameData/Sigma/Dimensions/README.txt @@ -1,6 +1,6 @@ ## Sigma Dimensions ## -# Forum Thread: http://forum.kerbalspaceprogram.com/index.php/topic/126548-/ +# Forum Thread: http://forum.kerbalspaceprogram.com/index.php?/topic/126548-0 @@ -145,7 +145,10 @@ To apply Planet Specific Changes follow these instructions. { @Body:HAS[#name[PLANET_NAME_HERE]] { - @PlanetDimensions[id] = value + @SigmaDimensions + { + @PARAMETER = VALUE + } } } @@ -155,22 +158,7 @@ To apply Planet Specific Changes follow these instructions. #02 - Replace 'PLANET_NAME_HERE' with the 'name' of the planet you want to change -#03 - Replace 'id' with the number of the parameter you want to overwrite - - List of parameters: - - [0] - Resize - [1] - Rescale - [2] - Atmosphere - [3] - dayLengthMultiplier - [4] - geeASLmultiplier - [5] - landscape - [6] - atmoVisualEffect - [7] - resizeScatter - [8] - CustomSoISize - [9] - CustomRingSize - [10] - atmoASL - [11] - tempASL +#03 - Replace 'PARAMETER' with the name of the parameter you want to overwrite Example: (Set to '0.5' the 'Atmosphere' parameter for Kerbin) @@ -180,14 +168,17 @@ To apply Planet Specific Changes follow these instructions. { @Body:HAS[#name[Kerbin]] { - @PlanetDimensions[2] = 0.5 + @SigmaDimensions + { + @Atmosphere = 0.5 + } } } // END CODE // -#04 - To edit another parameter paste another copy of the code and edit it accordingly +#04 - You can edit as many parameters as you want #05 - Save the .cfg file anywhere in your KSP GameData folder. diff --git a/License.txt b/License.txt index de6316e..271e705 100644 --- a/License.txt +++ b/License.txt @@ -1,5 +1,5 @@ Sigma Dimensions by Sigma88 -http://forum.kerbalspaceprogram.com/threads/140687 +http://forum.kerbalspaceprogram.com/index.php?/topic/126548-0 All Rights Reserved diff --git a/README.md b/README.md index 01e894e..c76402e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ **The Universal Rescale Mod for KSP** -KSP Forum Thread: http://forum.kerbalspaceprogram.com/index.php/topic/126548-/ +KSP Forum Thread: http://forum.kerbalspaceprogram.com/index.php?/topic/126548-0 Download Latest Release: https://github.com/Sigma88/Sigma-Dimensions/releases/latest diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Bop.cfg b/[KittopiaExports]/Bop.cfg similarity index 84% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Bop.cfg rename to [KittopiaExports]/Bop.cfg index 3905bf2..baf1758 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Bop.cfg +++ b/[KittopiaExports]/Bop.cfg @@ -9,56 +9,61 @@ { description = Bop is a small moon in the vicinity of Jool. In Kerbal mythology, Bop is believed to be the home of the Kraken, a mischievous creature said to play with the ships of hapless explorers, by spinning them out of control until torn asunder, then casting them into oblivion. radius = 65000 - geeASL = 0.0599999986588955 - mass = 3.72615364760999E+19 + geeASL = 0.0600204949543182 + mass = 3.72610898343278E+19 gravParameter = 2486834944.41491 rotates = True rotationPeriod = 544507.428516654 tidallyLocked = True initialRotation = 230 inverseRotThresholdAltitude = 100000 - albedo = 0.2 - emissivity = 0.8 + albedo = 0.200000002980232 + emissivity = 0.800000011920929 coreTemperatureOffset = 10 isHomeWorld = False - timewarpAltitudeLimits = 0,24500,24500,24500,40000,60000,80000,100000 + timewarpAltitudeLimits = 0 24500 24500 24500 40000 60000 80000 100000 sphereOfInfluence = 1221060.86284253 hillSphere = 2029674.44211376 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/bop_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Peaks value = 0 - color = 0,0.9176471,1,1 + color = 0.866666675,0.800000012,0.654901981,1 } Biome { name = Ridges value = 0 - color = 0.4745098,0.4823529,1,1 + color = 0.768627465,0.698039234,0.545098066,1 } Biome { name = Poles value = 0 - color = 1,0.6117647,0,1 + color = 0.960784316,0.886274517,0.725490212,1 } Biome { name = Slopes value = 0 - color = 1,0,0.7529412,1 + color = 0.68235296,0.615686297,0.470588237,1 } Biome { name = Valley value = 0 - color = 0.9882353,1,0,1 + color = 0.592156887,0.549019635,0.450980395,1 } } ScienceValues @@ -85,8 +90,8 @@ meanAnomalyAtEpoch = 0.899999976158142 meanAnomalyAtEpochD = 51.5662001957363 epoch = 0 - color = 0.3656716,0.3147959,0.2483292,0.5764706 - cameraSmaRatioBounds = 0.12,12 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -98,12 +103,24 @@ Material { color = 1,1,1,1 - specular = 0,0,0,1 + specColor = 0,0,0,1 shininess = 0.078125 texture = BUILTIN/gp1minormoon100 + mainTex = BUILTIN/gp1minormoon100 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/gp1minormoon101 + bumpMap = BUILTIN/gp1minormoon101 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -113,6 +130,7 @@ fadeStart = 140000 fadeEnd = 145000 deactivateAltitude = 180000 + mapMaxHeight = 30000 Material { saturation = 1 @@ -188,9 +206,6 @@ mainTexOffset = 0,0 planetOpacity = 1 } - PhysicsMaterial - { - } Mods { FlattenArea @@ -199,11 +214,13 @@ flattenTo = 900 innerRadius = 15000 outerRadius = 35000 - position = -19468.5,5737.089,61828.13 + position = -19468.5,5737.08887,61828.1289 smoothEnd = 0 smoothStart = 0 order = 11 enabled = False + name = _Crater1 + index = 0 } MapDecal { @@ -214,7 +231,7 @@ cullBlack = False DEBUG_HighlightInclusion = False heightMapDeformity = 10 - position = -19468.5,5737.089,61828.13 + position = -19468.5,5737.08887,61828.1289 removeScatter = False radius = 60000 smoothColor = 0.125 @@ -222,6 +239,8 @@ useAlphaHeightSmoothing = False order = 120 enabled = True + name = _Crater1 + index = 0 } VertexSimplexHeightAbsolute { @@ -232,6 +251,8 @@ seed = 3339066 order = 10 enabled = True + name = _Height + index = 0 } VertexHeightNoise { @@ -245,6 +266,8 @@ lacunarity = 2.5 order = 19 enabled = True + name = _Height + index = 0 } FlattenArea { @@ -252,11 +275,13 @@ flattenTo = 2200 innerRadius = 4000 outerRadius = 15000 - position = 2000,5737.089,61828.13 + position = 2000,5737.08887,61828.1289 smoothEnd = 0 smoothStart = 0 order = 13 enabled = False + name = _Crater2 + index = 0 } MapDecal { @@ -267,7 +292,7 @@ cullBlack = False DEBUG_HighlightInclusion = False heightMapDeformity = 10 - position = 2000,5737.089,61828.13 + position = 2000,5737.08887,61828.1289 removeScatter = False radius = 20000 smoothColor = 0.125 @@ -275,6 +300,8 @@ useAlphaHeightSmoothing = False order = 121 enabled = True + name = _Crater2 + index = 0 } AltitudeAlpha { @@ -282,18 +309,22 @@ invert = False order = 999999999 enabled = True + name = _Material_ModProjection + index = 0 } VertexSimplexNoiseColor { blend = 1 - colorStart = 0.1716418,0.1504306,0.1306527,1 - colorEnd = 0.2910448,0.24074,0.2128536,1 + colorStart = 0.171641767,0.15043062,0.130652696,1 + colorEnd = 0.291044772,0.240739986,0.21285364,1 frequency = 1 octaves = 6 persistence = 0.5 seed = 64564 order = 100 enabled = True + name = _Color + index = 0 } LandControl { @@ -318,6 +349,8 @@ vHeightMax = 10000 order = 999999 enabled = True + name = Scatter + index = 0 altitudeSimplex { frequency = 1 diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Dres.cfg b/[KittopiaExports]/Dres.cfg similarity index 82% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Dres.cfg rename to [KittopiaExports]/Dres.cfg index cccd070..1622e20 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Dres.cfg +++ b/[KittopiaExports]/Dres.cfg @@ -9,8 +9,8 @@ { description = Dres is a very small planet. It was the first planet considered to be a dwarf. It’s orbit is highly irregular and together with it’s size it took a long time to discover since half the time it was not where scientists expected to find a planet.Due to its nature of frequenting the bad parts of space. This dwarf planet was officially labeled as “Not to be trusted” by the scientific community. radius = 138000 - geeASL = 0.115 - mass = 3.21913224453102E+20 + geeASL = 0.115039284567105 + mass = 3.21909365785247E+20 gravParameter = 21484488600 rotates = True rotationPeriod = 34800 @@ -21,56 +21,61 @@ emissivity = 0.88 coreTemperatureOffset = 0 isHomeWorld = False - timewarpAltitudeLimits = 0,10000,10000,30000,50000,100000,200000,300000 + timewarpAltitudeLimits = 0 10000 10000 30000 50000 100000 200000 300000 sphereOfInfluence = 32832839.5767762 hillSphere = 92059713.5005964 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/dres_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Poles value = 0 - color = 1,0.9647059,0,1 + color = 1,0.964705884,0,1 } Biome { name = Midlands value = 0 - color = 0,1,0.9176471,1 + color = 0,1,0.917647064,1 } Biome { name = Lowlands value = 0 - color = 1,0,0.8,1 + color = 1,0,0.800000012,1 } Biome { name = Ridges value = 0 - color = 0.1058824,0.3568628,0.172549,1 + color = 0.105882354,0.356862754,0.172549024,1 } Biome { name = Highlands value = 0 - color = 0.9960784,0.5372549,0,1 + color = 0.996078432,0.53725493,0,1 } Biome { name = Impact Craters value = 0 - color = 0.09411765,0,1,1 + color = 0.0941176489,0,1,1 } Biome { name = Impact Ejecta value = 0 - color = 1,0.682353,0,1 + color = 1,0.68235296,0,1 } Biome { @@ -103,8 +108,8 @@ meanAnomalyAtEpoch = 3.14000010490417 meanAnomalyAtEpochD = 179.908753681645 epoch = 0 - color = 0.1764706,0.1372549,0.09803922,0.5254902 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -116,12 +121,24 @@ Material { color = 1,1,1,1 - specular = 0,0,0,1 + specColor = 0,0,0,1 shininess = 0.078125 texture = BUILTIN/dwarfplanet100 + mainTex = BUILTIN/dwarfplanet100 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/dwarfplanet101 + bumpMap = BUILTIN/dwarfplanet101 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -131,6 +148,7 @@ fadeStart = 100000 fadeEnd = 110000 deactivateAltitude = 115000 + mapMaxHeight = 8000 Material { saturation = 1 @@ -210,19 +228,16 @@ { bounceCombine = Average frictionCombine = Maximum - frictionDirection2 = 0,0,0 bounciness = 0 staticFriction = 0.8 - staticFriction2 = 0 dynamicFriction = 0.6 - dynamicFriction2 = 0 } Mods { VertexSimplexNoiseColor { blend = 1 - colorStart = 0.7686567,0.6996614,0.6530895,1 + colorStart = 0.768656731,0.699661374,0.653089464,1 colorEnd = 0,0,0,1 frequency = 2 octaves = 12 @@ -230,12 +245,16 @@ seed = 346434 order = 200 enabled = True + name = _Color + index = 0 } HeightColorMap { blend = 0.7 order = 201 enabled = True + name = _Color + index = 0 LandClasses { Class @@ -250,7 +269,7 @@ Class { name = Beach - color = 0.1641791,0.1641791,0.1641791,1 + color = 0.164179087,0.164179087,0.164179087,1 altitudeStart = 0.5 altitudeEnd = 0.550000011920929 lerpToNext = True @@ -259,7 +278,7 @@ Class { name = Beach - color = 0.3731343,0.3731343,0.3731343,1 + color = 0.373134315,0.373134315,0.373134315,1 altitudeStart = 0.550000011920929 altitudeEnd = 1 lerpToNext = False @@ -270,14 +289,14 @@ AerialPerspectiveMaterial { atmosphereDepth = 150000 - cameraAlt = 0 - cameraAtmosAlt = 0 DEBUG_SetEveryFrame = True globalDensity = -1E-05 - heightDensAtViewer = 0 heightFalloff = 6.75 + oceanDepth = 0 order = 100 enabled = True + name = _Material_AerialPerspective + index = 0 } VertexHeightMap { @@ -287,6 +306,8 @@ scaleDeformityByRadius = False order = 20 enabled = True + name = _HeightNoise + index = 0 } VertexSimplexHeight { @@ -297,12 +318,16 @@ seed = 674624 order = 21 enabled = True + name = _HeightNoise + index = 0 } FlattenOcean { oceanRadius = 1 order = 25 enabled = True + name = _HeightNoise + index = 0 } VertexHeightNoise { @@ -316,6 +341,8 @@ lacunarity = 2.5 order = 22 enabled = True + name = _HeightNoise + index = 0 } VertexSimplexHeightAbsolute { @@ -326,6 +353,8 @@ seed = 4234532 order = 30 enabled = True + name = _FineDetail + index = 0 } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Duna.cfg b/[KittopiaExports]/Duna.cfg similarity index 83% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Duna.cfg rename to [KittopiaExports]/Duna.cfg index f60f7fa..d7899fa 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Duna.cfg +++ b/[KittopiaExports]/Duna.cfg @@ -9,8 +9,8 @@ { description = Also known as the red dot that you can see if you squint at it really hard, Duna has long been a wonder to Kerbalkind.The planet has been held in much awe, due to its striking red color and stark contrast to the color green. radius = 320000 - geeASL = 0.300000011920929 - mass = 4.51548115036107E+21 + geeASL = 0.300102493404406 + mass = 4.51542702477492E+21 gravParameter = 301363211975.098 rotates = True rotationPeriod = 65517.859375 @@ -21,44 +21,103 @@ emissivity = 0.83 coreTemperatureOffset = 0 isHomeWorld = False - timewarpAltitudeLimits = 0,30000,30000,60000,100000,300000,600000,800000 + timewarpAltitudeLimits = 0 30000 30000 60000 100000 300000 600000 800000 sphereOfInfluence = 47921949.369738 hillSphere = 125063736.748336 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/duna_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Poles value = 0 - color = 1,0,0,1 + color = 1,1,1,1 } Biome { name = Midlands value = 0 - color = 0,1,0.1647059,1 + color = 0.988235295,0.549019635,0.349019617,1 } Biome { name = Lowlands value = 0 - color = 0,0.1882353,1,1 + color = 0.913725495,0.41568628,0.192156866,1 } Biome { name = Craters value = 0 - color = 0.682353,0,1,1 + color = 0.717647076,0.396078438,0.00392156886,1 } Biome { name = Highlands value = 0 - color = 0,0.9647059,1,1 + color = 1,0.666666687,0.513725519,1 + } + Biome + { + name = Midland Sea + value = 0 + color = 1,0.568627477,0.00784313772,1 + } + Biome + { + name = Northern Basin + value = 0 + color = 0.709803939,0.160784319,0.13333334,1 + } + Biome + { + name = Southern Basin + value = 0 + color = 0.823529422,0.290196091,0.262745112,1 + } + Biome + { + name = Northern Shelf + value = 0 + color = 0.580392182,0.0705882385,0.0431372561,1 + } + Biome + { + name = Midland Canyon + value = 0 + color = 0.733333349,0.345098048,0.0352941193,1 + } + Biome + { + name = Eastern Canyon + value = 0 + color = 0.600000024,0.266666681,0,1 + } + Biome + { + name = Western Canyon + value = 0 + color = 0.435294122,0.192156866,0,1 + } + Biome + { + name = Polar Highlands + value = 0 + color = 0.90196079,0.90196079,0.90196079,1 + } + Biome + { + name = Polar Craters + value = 0 + color = 0.745098054,0.745098054,0.745098054,1 } } ScienceValues @@ -85,8 +144,8 @@ meanAnomalyAtEpoch = 3.14000010490417 meanAnomalyAtEpochD = 179.908753681645 epoch = 0 - color = 0.641791,0.2493882,0.158053,0.5254902 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } Atmosphere { @@ -97,15 +156,16 @@ maxAltitude = 50000 altitude = 50000 atmosphereDepth = 50000 - gasMassLapseRate = 6.34180556250155 + gasMassLapseRate = 3.04406667000075 atmosphereMolarMass = 0.043 pressureCurveIsNormalized = False staticPressureASL = 6.755 temperatureCurveIsNormalized = False - temperatureLapseRate = 0.0024 - temperatureSeaLevel = 120 - ambientColor = 0.3058824,0.187128,0.2347621,1 - lightColor = 0.5094656,0.5884027,0.6431373,0 + temperatureLapseRate = 0.005 + temperatureSeaLevel = 250 + ambientColor = 0.305882365,0.187128037,0.234762117,1 + lightColor = 0.509465635,0.588402689,0.643137276,0 + addAFG = True pressureCurve { key = 0 6.755 0 -0.0007 @@ -146,10 +206,18 @@ key = 65 20 -0.5202533 -0.5202533 key = 90 5 0 0 } + temperatureAxialSunBiasCurve + { + key = 0 0 0 0 + } temperatureAxialSunMultCurve { key = 0 0 0 0 } + temperatureEccentricityBiasCurve + { + key = 0 0 0 0 + } AtmosphereFromGround { DEBUG_alwaysUpdateAll = False @@ -157,7 +225,7 @@ ESun = 30 g = -0.85 innerRadius = 319800 - invWaveLength = 14.84364,8.3426,5.84501,0.5 + invWaveLength = 14.8436403,8.34259987,5.84501028,0.5 Km = 0.00015 Kr = 0.00125 outerRadius = 328000 @@ -165,7 +233,7 @@ scale = 0.7317083 scaleDepth = -0.25 transformScale = 0,0,0 - waveLength = 0.5094656,0.5884027,0.6431373,0 + waveLength = 0.509465635,0.588402689,0.643137276,0 outerRadiusMult = 1.025 innerRadiusMult = 0.975 } @@ -180,15 +248,30 @@ Material { color = 1,1,1,1 - specular = 0,0,0,1 + specColor = 0,0,0,1 shininess = 0.078125 texture = BUILTIN/Duna5_00 + mainTex = BUILTIN/Duna5_00 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/Duna5_01 + bumpMap = BUILTIN/Duna5_01 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 rimPower = 2.06 rimBlend = 0.3 rimColorRamp = BUILTIN/desert_atmogradient + rimColorRampScale = 1,1 + rimColorRampOffset = 0,0 + localLightDirection = 0.640664756,1.59069477E-05,-0.767820835,0 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -198,6 +281,7 @@ fadeStart = 100000 fadeEnd = 110000 deactivateAltitude = 120000 + mapMaxHeight = 10500 Material { saturation = 1 @@ -274,9 +358,6 @@ mainTexOffset = 0,0 planetOpacity = 0 } - PhysicsMaterial - { - } Mods { VertexHeightMap @@ -287,6 +368,8 @@ scaleDeformityByRadius = False order = 10 enabled = True + name = _Height + index = 0 } VertexSimplexHeightAbsolute { @@ -297,6 +380,8 @@ seed = 23893455 order = 12 enabled = True + name = _Height + index = 0 } VertexHeightNoiseVertHeightCurve2 { @@ -318,6 +403,8 @@ simplexSeed = 654786 order = 13 enabled = True + name = _Height + index = 0 simplexCurve { key = 0 0 0.1466263 0.1466263 @@ -345,6 +432,8 @@ simplexSeed = 654786 order = 14 enabled = True + name = _Height + index = 1 simplexCurve { key = 0 0 2 2 @@ -371,6 +460,8 @@ simplexSeed = 546567 order = 15 enabled = True + name = _Height + index = 2 simplexCurve { key = 0 0 0 0 @@ -383,6 +474,8 @@ invert = False order = 999999999 enabled = True + name = _Material_ModProjection + index = 0 } LandControl { @@ -408,6 +501,8 @@ vHeightMax = 3500 order = 9999991 enabled = True + name = _LandClass + index = 0 altitudeSimplex { frequency = 12 @@ -432,7 +527,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.4701493,0.1805322,0.09698883,0 + color = 0.470149279,0.180532217,0.0969888344,0 coverageBlend = 0.5 coverageFrequency = 8 coverageOctaves = 3 @@ -444,7 +539,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.8 - noiseColor = 0.3358209,0.1979139,0.1209425,0 + noiseColor = 0.335820913,0.19791387,0.120942496,0 noiseFrequency = 2 noiseOctaves = 8 noisePersistance = 0.7 @@ -503,7 +598,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.2835821,0.09938071,0.06772109,0 + color = 0.283582091,0.0993807092,0.0677210912,0 coverageBlend = 0.01 coverageFrequency = 8 coverageOctaves = 3 @@ -515,7 +610,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.1 - noiseColor = 0.2164179,0.1505235,0.1340499,0 + noiseColor = 0.216417909,0.150523514,0.134049892,0 noiseFrequency = 9 noiseOctaves = 6 noisePersistance = 0.7 @@ -574,7 +669,7 @@ { alterApparentHeight = 100 alterRealHeight = 100 - color = 0.8656716,0.8656716,0.8656716,0 + color = 0.865671635,0.865671635,0.865671635,0 coverageBlend = 0 coverageFrequency = 8 coverageOctaves = 3 @@ -586,7 +681,7 @@ lonDelta = 1 minimumRealHeight = 0.100000001490116 noiseBlend = 0.2 - noiseColor = 0.7686567,0.7686567,0.7686567,0 + noiseColor = 0.768656731,0.768656731,0.768656731,0 noiseFrequency = 9 noiseOctaves = 6 noisePersistance = 0.2 @@ -650,7 +745,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.1343284,0.1124567,0.1042548,0 + color = 0.134328365,0.112456717,0.104254849,0 coverageBlend = 0.5 coverageFrequency = 4 coverageOctaves = 5 @@ -662,7 +757,7 @@ lonDelta = 1 minimumRealHeight = 0.100000001490116 noiseBlend = 1 - noiseColor = 0.07462686,0.06493339,0.06404544,0 + noiseColor = 0.074626863,0.0649333894,0.0640454441,0 noiseFrequency = 9 noiseOctaves = 6 noisePersistance = 0.2 @@ -785,6 +880,8 @@ blend = 0.5 order = 9999993 enabled = True + name = _LandClass + index = 0 } VertexSimplexNoiseColor { @@ -797,18 +894,20 @@ seed = 452635 order = 9999992 enabled = True + name = _LandClass + index = 0 } AerialPerspectiveMaterial { atmosphereDepth = 150000 - cameraAlt = 0 - cameraAtmosAlt = 0 DEBUG_SetEveryFrame = True globalDensity = -1E-05 - heightDensAtViewer = 0 heightFalloff = 6.75 + oceanDepth = 0 order = 100 enabled = True + name = _Material_AerialPerspective + index = 0 } MapDecal { @@ -820,7 +919,7 @@ DEBUG_HighlightInclusion = False heightMap = BUILTIN/pyramid heightMapDeformity = 100 - position = -123617.5,-294525.7,-42850.8 + position = -123617.5,-294525.688,-42850.8008 removeScatter = False radius = 400 smoothColor = 0.125 @@ -828,6 +927,8 @@ useAlphaHeightSmoothing = False order = 8000 enabled = True + name = Pyramid + index = 0 } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Eeloo.cfg b/[KittopiaExports]/Eeloo.cfg similarity index 83% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Eeloo.cfg rename to [KittopiaExports]/Eeloo.cfg index 3154c40..e1872fd 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Eeloo.cfg +++ b/[KittopiaExports]/Eeloo.cfg @@ -9,8 +9,8 @@ { description = There’s been a considerable amount of controversy around the status of Eeloo as being a proper planet or a just “lump of ice going around the Sun”. The debate is still ongoing, since most academic summits held to address the issue have devolved into, on good days, petty name calling, and on worse ones, all-out brawls. radius = 210000 - geeASL = 0.172000005841255 - mass = 1.11493578853835E+21 + geeASL = 0.172058761891442 + mass = 1.11492242417007E+21 gravParameter = 74410814527.0496 rotates = True rotationPeriod = 19460 @@ -21,56 +21,85 @@ emissivity = 0.5 coreTemperatureOffset = 0 isHomeWorld = False - timewarpAltitudeLimits = 0,4000,4000,20000,30000,40000,70000,150000 + timewarpAltitudeLimits = 0 4000 4000 20000 30000 40000 70000 150000 sphereOfInfluence = 119082941.647812 hillSphere = 266016718.015223 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/eeloo_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Poles value = 0 - color = 1,0,0,1 + color = 1,1,1,1 } Biome { - name = Glaciers + name = Northern Glaciers value = 0 - color = 0.6862745,0.3019608,0.8784314,1 + color = 0.792156875,0.792156875,0.792156875,1 } Biome { name = Lowlands value = 0 - color = 1,0,0.8235294,1 + color = 0.482352942,0.639215708,0.905882359,1 } Biome { name = Highlands value = 0 - color = 1,0.7294118,0,1 + color = 0.835294127,0.854901969,0.882352948,1 } Biome { name = Ice Canyons value = 0 - color = 0,1,0.09411765,1 + color = 1,0.709803939,0.388235301,1 } Biome { name = Craters value = 0 - color = 0.03529412,0.05098039,0.7254902,1 + color = 0.87843138,0.533333361,0.13333334,1 } Biome { name = Midlands value = 0 - color = 0.2666667,0.7058824,0.9529412,1 + color = 0.745098054,0.807843149,0.909803927,1 + } + Biome + { + name = Fragipan + value = 0 + color = 1,0.80392158,0.580392182,1 + } + Biome + { + name = Babbage Patch + value = 0 + color = 0.592156887,0.701960802,0.894117653,1 + } + Biome + { + name = Southern Glaciers + value = 0 + color = 0.87843138,0.87843138,0.87843138,1 + } + Biome + { + name = Mu Glacier + value = 0 + color = 0.486274511,0.486274511,0.486274511,1 } } ScienceValues @@ -97,8 +126,8 @@ meanAnomalyAtEpoch = 3.14000010490417 meanAnomalyAtEpochD = 179.908753681645 epoch = 0 - color = 0.2067634,0.2082682,0.2089552,0.5254902 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -110,12 +139,24 @@ Material { color = 1,1,1,1 - specular = 0.07462686,0.07462686,0.07462686,1 + specColor = 0.074626863,0.074626863,0.074626863,1 shininess = 0.4605465 texture = BUILTIN/snowydwarfplanet00 + mainTex = BUILTIN/snowydwarfplanet00 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/snowydwarfplanet01 + bumpMap = BUILTIN/snowydwarfplanet01 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -125,6 +166,7 @@ fadeStart = 100000 fadeEnd = 110000 deactivateAltitude = 120000 + mapMaxHeight = 6000 Material { saturation = 1 @@ -182,7 +224,7 @@ hiHiEnd = 1 snowStart = 0.8 snowEnd = 1 - fogColor = 0.7313433,0.7313433,0.7313433,1 + fogColor = 0.731343269,0.731343269,0.731343269,1 heightFallOff = 1 globalDensity = -8E-06 atmosphereDepth = 55000 @@ -206,9 +248,6 @@ mainTexOffset = 0,0 planetOpacity = 0 } - PhysicsMaterial - { - } Mods { LandControl @@ -235,6 +274,8 @@ vHeightMax = 3500 order = 9999991 enabled = True + name = _LandClass + index = 0 altitudeSimplex { frequency = 12 @@ -259,7 +300,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.5959972,0.6418923,0.6791044,0 + color = 0.595997214,0.641892254,0.679104447,0 coverageBlend = 0.5 coverageFrequency = 8 coverageOctaves = 3 @@ -271,7 +312,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.8 - noiseColor = 0.3731343,0.3612365,0.311815,0 + noiseColor = 0.373134315,0.361236542,0.311815023,0 noiseFrequency = 0.5 noiseOctaves = 8 noisePersistance = 0.7 @@ -330,7 +371,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.3731343,0.3261469,0.2074418,0 + color = 0.373134315,0.326146901,0.207441822,0 coverageBlend = 0.5 coverageFrequency = 8 coverageOctaves = 3 @@ -342,7 +383,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.8 - noiseColor = 0.2462686,0.2275434,0.2057979,0 + noiseColor = 0.24626863,0.227543369,0.205797896,0 noiseFrequency = 0.5 noiseOctaves = 8 noisePersistance = 0.7 @@ -401,7 +442,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.5970149,0.5970149,0.5970149,0 + color = 0.597014904,0.597014904,0.597014904,0 coverageBlend = 0.5 coverageFrequency = 8 coverageOctaves = 3 @@ -413,7 +454,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.8 - noiseColor = 0.2014925,0.1920078,0.1726073,0 + noiseColor = 0.201492548,0.192007825,0.172607258,0 noiseFrequency = 0.5 noiseOctaves = 8 noisePersistance = 0.7 @@ -507,14 +548,14 @@ AerialPerspectiveMaterial { atmosphereDepth = 150000 - cameraAlt = 0 - cameraAtmosAlt = 0 DEBUG_SetEveryFrame = True globalDensity = -1E-05 - heightDensAtViewer = 0 heightFalloff = 6.75 + oceanDepth = 0 order = 100 enabled = True + name = _Material_AerialPerspective + index = 0 } VertexHeightMap { @@ -524,6 +565,8 @@ scaleDeformityByRadius = False order = 10 enabled = True + name = _Height + index = 0 } VertexSimplexHeight { @@ -534,6 +577,8 @@ seed = 435213423 order = 20 enabled = True + name = _HeightNoise + index = 0 } VertexHeightNoise { @@ -547,6 +592,8 @@ lacunarity = 1.5 order = 22 enabled = True + name = _HeightNoise + index = 0 } VertexVoronoi { @@ -557,12 +604,16 @@ seed = 56457563 order = 23 enabled = True + name = _HeightNoise + index = 0 } FlattenOcean { oceanRadius = 1 order = 21 enabled = True + name = _HeightNoise + index = 0 } VertexHeightNoiseVertHeight { @@ -574,8 +625,12 @@ persistance = 0.7 seed = 78967456 mode = Low + noiseType = RiggedMultifractal + lacunarity = 3 order = 30 enabled = True + name = _FineDetail + index = 0 } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Eve.cfg b/[KittopiaExports]/Eve.cfg similarity index 67% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Eve.cfg rename to [KittopiaExports]/Eve.cfg index 2f6f4a8..b449fc6 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Eve.cfg +++ b/[KittopiaExports]/Eve.cfg @@ -9,8 +9,8 @@ { description = Eve is certainly the purplest object in the solar system. It’s one of the larger, most visible objects, mainly because of its very, very purple tint.It is considered by some to be almost a sister planet to Kerbin. Well, despite the purple, and the toxic atmosphere, and the extreme press- ures and temperatures. Actually, it’s not very similar at all is it? Who are those people? radius = 700000 - geeASL = 1.70000004768372 - mass = 1.22441268043315E+23 + geeASL = 1.7005807760833 + mass = 1.2243980038014E+23 gravParameter = 8171730229210.87 rotates = True rotationPeriod = 80500 @@ -21,56 +21,109 @@ emissivity = 0.55 coreTemperatureOffset = 0 isHomeWorld = False - timewarpAltitudeLimits = 0,30000,30000,60000,120000,240000,480000,600000 + timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 sphereOfInfluence = 85109364.7382441 hillSphere = 185949494.965972 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/eve_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Poles value = 0 - color = 0.9882353,1,0,1 + color = 0.862745106,0.75686276,0.996078432,1 } Biome { name = Midlands value = 0 - color = 0,0.8941177,1,1 + color = 0.450980395,0.180392161,0.525490224,1 } Biome { name = Explodium Sea value = 0 - color = 0.1176471,0,1,1 + color = 0.694117665,0.349019617,0.513725519,1 } Biome { name = Lowlands value = 0 - color = 0,1,0.1411765,1 + color = 0.360784322,0.0980392173,0.435294122,1 } Biome { name = Highlands value = 0 - color = 1,0,0,1 + color = 0.541176498,0.286274523,0.611764729,1 } Biome { name = Peaks value = 0 - color = 1,0.6352941,0,1 + color = 0.65882355,0.443137258,0.729411781,1 } Biome { name = Impact Ejecta value = 0 - color = 0.6862745,0.7176471,0.3137255,1 + color = 0.654901981,0.396078438,0.980392158,1 + } + Biome + { + name = Crater Lake + value = 0 + color = 0.556862772,0.184313729,0.360784322,1 + } + Biome + { + name = Western Sea + value = 0 + color = 0.835294127,0.556862772,0.690196097,1 + } + Biome + { + name = Olympus + value = 0 + color = 1,1,1,1 + } + Biome + { + name = Eastern Sea + value = 0 + color = 0.41568628,0.0705882385,0.235294119,1 + } + Biome + { + name = Craters + value = 0 + color = 0.654901981,0.396078438,0.980392158,1 + } + Biome + { + name = Foothills + value = 0 + color = 0.811764717,0.650980413,0.854901969,1 + } + Biome + { + name = Akatsuki Lake + value = 0 + color = 0.729411781,0.568627477,0.741176486,1 + } + Biome + { + name = Shallows + value = 0 + color = 0.545098066,0.400000006,0.552941203,1 } } ScienceValues @@ -97,8 +150,8 @@ meanAnomalyAtEpoch = 3.14000010490417 meanAnomalyAtEpochD = 179.908753681645 epoch = 0 - color = 0.4260764,0.1283791,0.8955224,1 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } Atmosphere { @@ -109,23 +162,27 @@ maxAltitude = 90000 altitude = 90000 atmosphereDepth = 90000 - gasMassLapseRate = 18.481833765233 + gasMassLapseRate = 19.0254171112692 atmosphereMolarMass = 0.0430000014603138 pressureCurveIsNormalized = False staticPressureASL = 506.625 temperatureCurveIsNormalized = False - temperatureLapseRate = 0.00466666666666667 - temperatureSeaLevel = 420 - ambientColor = 0.2235352,0.1943253,0.3058824,1 - lightColor = 0.4498853,0.5149254,0.3473222,1 + temperatureLapseRate = 0.00453333333333333 + temperatureSeaLevel = 408 + ambientColor = 0.223535195,0.194325268,0.305882365,1 + lightColor = 0.449885309,0.514925361,0.347322196,1 + addAFG = True pressureCurve { - key = 0 506.625 -0.08693577 -0.08693577 - key = 9723.525 113.4918 -0.0149408 -0.0149408 - key = 20000 29.0968 -0.003046887 -0.003046887 - key = 45000 0.82 -6.321458E-05 -6.321458E-05 - key = 80000 0.0035 -9.886503E-07 -9.886503E-07 - key = 90000 0 0 0 + key = 0 506.625 0 -0.04423852 + key = 15000 95.6891 -0.01304926 -0.01304926 + key = 25000 18.07334 -0.003012223 -0.003012223 + key = 40000 3.5 -0.0005689354 -0.0005689354 + key = 50000 0.1217772 -2.02962E-05 -2.02962E-05 + key = 60000 0.02300074 -3.8335E-06 -3.8335E-06 + key = 70000 0.004344278 -7.24E-07 -7.24E-07 + key = 80000 0.0008205283 -1.368E-07 -1.368E-07 + key = 90000 0 -2.58E-08 0 } temperatureCurve { @@ -140,8 +197,8 @@ { key = 0 1 0 0 key = 15000 0 0 0 - key = 50000 0 0 0 - key = 70000 1.5 0 0 + key = 50000 0.5 0 0 + key = 70000 1.5 3.82549E-05 3.82549E-05 key = 90000 2 0 0 } temperatureLatitudeBiasCurve @@ -158,10 +215,18 @@ key = 65 12 0 0 key = 90 8 0 0 } + temperatureAxialSunBiasCurve + { + key = 0 0 0 0 + } temperatureAxialSunMultCurve { key = 0 0 0 0 } + temperatureEccentricityBiasCurve + { + key = 0 0 0 0 + } AtmosphereFromGround { DEBUG_alwaysUpdateAll = False @@ -169,7 +234,7 @@ ESun = 30 g = -0.85 innerRadius = 699562.5 - invWaveLength = 24.4114,14.22404,68.7179,0.5 + invWaveLength = 24.4114037,14.2240372,68.7178955,0.5 Km = 0.00015 Kr = 0.00125 outerRadius = 717500 @@ -177,7 +242,7 @@ scale = 0.3344953 scaleDepth = -0.25 transformScale = 0,0,0 - waveLength = 0.4498853,0.5149254,0.3473222,1 + waveLength = 0.449885309,0.514925361,0.347322196,1 outerRadiusMult = 1.025 innerRadiusMult = 0.975 } @@ -192,15 +257,30 @@ Material { color = 1,1,1,1 - specular = 0.5,0.5,0.5,1 + specColor = 0.5,0.5,0.5,1 shininess = 0.08314258 texture = BUILTIN/Eve2_00 + mainTex = BUILTIN/Eve2_00 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/Eve2_01 + bumpMap = BUILTIN/Eve2_01 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 rimPower = 2 rimBlend = 0.3 rimColorRamp = BUILTIN/purple_atmogradiant + rimColorRampScale = 1,1 + rimColorRampOffset = 0,0 + localLightDirection = 1,0,0,0 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -210,10 +290,11 @@ fadeStart = 110000 fadeEnd = 115000 deactivateAltitude = 130000 + mapMaxHeight = 10000 Material { saturation = 1 - contrast = 5 + contrast = 1.25 tintColor = 1,1,1,0 powerNear = 0.6 powerFar = 0.2 @@ -233,13 +314,8 @@ lowTex = BUILTIN/SandyGround lowTexScale = 1,1 lowTexOffset = 0,0 - lowBumpMap = BUILTIN/quiet - lowBumpMapScale = 1,1 - lowBumpMapOffset = 0,0 lowNearTiling = 20000 lowMultiFactor = 10 - lowBumpNearTiling = 40000 - lowBumpFarTiling = 10 midTex = BUILTIN/distantground midTexScale = 1,1 midTexOffset = 0,0 @@ -249,17 +325,11 @@ midNearTiling = 20000 midMultiFactor = 10 midBumpNearTiling = 10000 - midBumpFarTiling = 10 highTex = BUILTIN/snow highTexScale = 1,1 highTexOffset = 0,0 - highBumpMap = BUILTIN/quiet - highBumpMapScale = 1,1 - highBumpMapOffset = 0,0 highNearTiling = 20000 highMultiFactor = 10 - highBumpNearTiling = 10000 - highBumpFarTiling = 10 lowStart = 0 lowEnd = 0.3 highStart = 0.8 @@ -269,6 +339,7 @@ fogColorRampScale = 1,1 fogColorRampOffset = 0,0 planetOpacity = 1 + oceanFogDistance = 1000 } FallbackMaterial { @@ -290,12 +361,9 @@ { bounceCombine = Average frictionCombine = Maximum - frictionDirection2 = 0,0,0 bounciness = 0 staticFriction = 0.8 - staticFriction2 = 0 dynamicFriction = 0.6 - dynamicFriction2 = 0 } Mods { @@ -307,6 +375,8 @@ scaleDeformityByRadius = False order = 10 enabled = True + name = _HeightNoise + index = 0 } VertexSimplexHeight { @@ -317,6 +387,8 @@ seed = 12435453 order = 11 enabled = True + name = _HeightNoise + index = 0 } VertexHeightNoiseVertHeightCurve2 { @@ -338,6 +410,8 @@ simplexSeed = 661000047 order = 12 enabled = True + name = _HeightNoise + index = 0 simplexCurve { key = 0 0 0 0 @@ -368,6 +442,8 @@ vHeightMax = 3500 order = 9999991 enabled = True + name = _LandClass + index = 0 altitudeSimplex { frequency = 12 @@ -392,7 +468,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.1764312,0.1231343,0.2462686,0 + color = 0.176431224,0.123134315,0.24626863,0 coverageBlend = 0.5 coverageFrequency = 8 coverageOctaves = 3 @@ -404,7 +480,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.8 - noiseColor = 0.2186464,0.1869325,0.2686567,0 + noiseColor = 0.218646362,0.186932489,0.268656731,0 noiseFrequency = 2 noiseOctaves = 8 noisePersistance = 0.7 @@ -463,7 +539,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.2746667,0.2216887,0.358209,0 + color = 0.274666727,0.221688747,0.358208954,0 coverageBlend = 0.5 coverageFrequency = 8 coverageOctaves = 3 @@ -475,7 +551,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.8 - noiseColor = 0.144925,0.1272049,0.1865672,0 + noiseColor = 0.144924998,0.127204895,0.186567187,0 noiseFrequency = 2 noiseOctaves = 8 noisePersistance = 0.7 @@ -534,7 +610,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.0912884,0.08292452,0.1044776,0 + color = 0.0912883952,0.082924515,0.104477584,0 coverageBlend = 0.5 coverageFrequency = 8 coverageOctaves = 3 @@ -546,7 +622,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.8 - noiseColor = 0.2480204,0.2037105,0.2761194,0 + noiseColor = 0.248020425,0.203710482,0.276119411,0 noiseFrequency = 2 noiseOctaves = 8 noisePersistance = 0.7 @@ -606,7 +682,7 @@ { Scatter { - materialType = Diffuse + materialType = DiffuseWrapped mesh = BUILTIN/boulder castShadows = True densityFactor = 0.25 @@ -626,10 +702,11 @@ science = False Material { - color = 0.6791044,0.6791044,0.6791044,1 mainTex = BUILTIN/lunar cliff face mainTexScale = 1,1 mainTexOffset = 0,0 + color = 0.461773813,0.219506919,0.514705896,0.397000015 + diff = 0.1 } Experiment { @@ -648,6 +725,8 @@ seed = 454213321 order = 9999992 enabled = True + name = _LandClass + index = 0 } VertexColorMapBlend { @@ -655,6 +734,8 @@ blend = 0.25 order = 9999993 enabled = True + name = _LandClass + index = 0 } AltitudeAlpha { @@ -662,18 +743,20 @@ invert = False order = 999999999 enabled = True + name = _Material_ModProjection + index = 0 } AerialPerspectiveMaterial { atmosphereDepth = 150000 - cameraAlt = 0 - cameraAtmosAlt = 0 DEBUG_SetEveryFrame = True globalDensity = -1E-05 - heightDensAtViewer = 0 heightFalloff = 6.75 + oceanDepth = 0 order = 100 enabled = True + name = _Material_AerialPerspective + index = 0 } QuadEnhanceCoast { @@ -681,18 +764,134 @@ oceanFactor = 1 order = 9999 enabled = True + name = _CoastlineLOD + index = 0 } AerialPerspectiveMaterial { atmosphereDepth = 5000 - cameraAlt = 0 - cameraAtmosAlt = 0 DEBUG_SetEveryFrame = False globalDensity = -7.5E-06 - heightDensAtViewer = 0 heightFalloff = 0.2 + oceanDepth = 0 order = 100 enabled = True + name = _Material_AerialPerspective + index = 1 + } + } + } + Ocean + { + minLevel = 1 + maxLevel = 7 + minDetailDistance = 8 + maxQuadLengthsPerFrame = 0.03 + ocean = True + oceanColor = 0.266666681,0.243137255,0.305882365,1 + oceanHeight = 0 + density = 1.5 + Material + { + color = 0.524246514,0.461349964,0.567164183,1 + colorFromSpace = 0.470588237,0.360784322,0.545098066,1 + specColor = 0.0148983598,0.0148983598,0.0148983598,1 + shininess = 1 + gloss = 0.2 + tiling = 2000 + waterTex = BUILTIN/quiet + waterTexScale = 1,1 + waterTexOffset = 0,0 + waterTex1 = BUILTIN/quiet + waterTex1Scale = 1,1 + waterTex1Offset = 0,0 + bTiling = 800 + bumpMap = BUILTIN/quiet + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + displacement = 0.01 + texDisplacement = 0.31 + dispFreq = 0.1 + mix = 0.5547009 + oceanOpacity = 1 + falloffPower = 5 + falloffExp = 0 + fogColor = 0.917910457,0.917910457,1,1 + heightFallOff = 0.2 + globalDensity = -1.5E-05 + atmosphereDepth = 150000 + fogColorRamp = BUILTIN/purple_atmogradiant + fogColorRampScale = 1,1 + fogColorRampOffset = 0,0 + fadeStart = 20000 + fadeEnd = 60000 + planetOpacity = 1 + normalXYFudge = 1.4 + normalZFudge = 1.18 + } + FallbackMaterial + { + color = 0.524246514,0.461349964,0.567164183,1 + colorFromSpace = 0.265444487,0.244319439,0.305970132,1 + specColor = 1,1,1,1 + shininess = 1 + gloss = 1 + tiling = 2000 + waterTex = BUILTIN/quiet + waterTexScale = 1,1 + waterTexOffset = 0,0 + waterTex1 = BUILTIN/quiet + waterTex1Scale = 1,1 + waterTex1Offset = 0,0 + fadeStart = 20000 + fadeEnd = 60000 + planetOpacity = 1 + } + Fog + { + afgAltMult = 0.05 + afgBase = 0.6 + afgLerp = False + afgMin = 0.05 + fogColorEnd = 0,0.0850000009,0.122500002,1 + fogColorStart = 0.379999995,0,0.49000001,1 + fogDensityAltScalar = -0.0008 + fogDensityEnd = 0.025 + fogDensityExponent = 1 + fogDensityPQSMult = 0.02 + fogDensityStart = 0.005 + skyColorMult = 1.1 + skyColorOpacityAltMult = 12 + skyColorOpacityBase = 0.33 + sunAltMult = 0.01 + sunBase = 0.5 + sunMin = 0.05 + useFog = True + } + Mods + { + AerialPerspectiveMaterial + { + atmosphereDepth = 5000 + DEBUG_SetEveryFrame = False + globalDensity = -7.5E-06 + heightFalloff = 0.2 + oceanDepth = 0 + order = 100 + enabled = True + name = _Material_AerialPerspective + index = -1 + } + RemoveQuadMap + { + map = BUILTIN/eve_height_new + deformity = 0 + maxHeight = 0.7 + minHeight = 0 + order = 1 + enabled = True + name = QuadRemoveMap + index = -1 } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Gilly.cfg b/[KittopiaExports]/Gilly.cfg similarity index 87% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Gilly.cfg rename to [KittopiaExports]/Gilly.cfg index 7ea3770..ba7036b 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Gilly.cfg +++ b/[KittopiaExports]/Gilly.cfg @@ -9,8 +9,8 @@ { description = Gilly is a lumpy rock wandering around the orbit of Eve. It’s by far the smallest natural satellite that the Kerbal Astronomical Society has discovered.Due to the large amount of squinting and eye strain associated with its discovery, wearing glasses has now become synonymous with being an accomplished Astronomer. radius = 13000 - geeASL = 0.00499999988824129 - mass = 1.24205121587E+17 + geeASL = 0.00500170791285985 + mass = 1.24203632781093E+17 gravParameter = 8289449.81471635 rotates = True rotationPeriod = 28255 @@ -21,32 +21,37 @@ emissivity = 0.85 coreTemperatureOffset = 20 isHomeWorld = False - timewarpAltitudeLimits = 0,8000,8000,8000,20000,40000,80000,100000 + timewarpAltitudeLimits = 0 8000 8000 8000 20000 40000 80000 100000 sphereOfInfluence = 126123.271704568 hillSphere = 142427.423478875 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/gilly_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Midlands value = 0 - color = 0.8901961,0,0.9960784,1 + color = 0.796078444,0.631372571,0.36470589,1 } Biome { name = Lowlands value = 0 - color = 0.9176471,0.007843138,0.3843137,1 + color = 0.647058845,0.505882382,0.278431386,1 } Biome { name = Highlands value = 0 - color = 0.02352941,0,0.9960784,1 + color = 0.917647064,0.792156875,0.588235319,1 } } ScienceValues @@ -73,8 +78,8 @@ meanAnomalyAtEpoch = 0.899999976158142 meanAnomalyAtEpochD = 51.5662001957363 epoch = 0 - color = 0.3208955,0.250197,0.2179216,0.2509804 - cameraSmaRatioBounds = 0.12,12 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -86,12 +91,24 @@ Material { color = 1,1,1,1 - specular = 0,0,0,1 + specColor = 0,0,0,1 shininess = 1 texture = BUILTIN/evemoon100 + mainTex = BUILTIN/evemoon100 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/evemoon101 + bumpMap = BUILTIN/evemoon101 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -101,6 +118,7 @@ fadeStart = 140000 fadeEnd = 145000 deactivateAltitude = 180000 + mapMaxHeight = 9000 Material { saturation = 1 @@ -176,9 +194,6 @@ mainTexOffset = 0,0 planetOpacity = 1 } - PhysicsMaterial - { - } Mods { VertexSimplexHeightAbsolute @@ -190,6 +205,8 @@ seed = 12 order = 10 enabled = True + name = _Height + index = 0 } VertexHeightNoise { @@ -203,6 +220,8 @@ lacunarity = 2.5 order = 19 enabled = True + name = _Height + index = 0 } AltitudeAlpha { @@ -210,18 +229,22 @@ invert = False order = 999999999 enabled = True + name = _Material_ModProjection + index = 0 } VertexSimplexNoiseColor { blend = 1 - colorStart = 0.641791,0.5159777,0.4885275,1 - colorEnd = 0.2910448,0.2733044,0.2167571,1 + colorStart = 0.641791046,0.51597774,0.488527536,1 + colorEnd = 0.291044772,0.273304433,0.216757119,1 frequency = 1 octaves = 8 persistence = 0.5 seed = 111453 order = 100 enabled = True + name = _Color + index = 0 } LandControl { @@ -246,6 +269,8 @@ vHeightMax = 10000 order = 999999 enabled = True + name = Scatter + index = 0 altitudeSimplex { frequency = 1 diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Ike.cfg b/[KittopiaExports]/Ike.cfg similarity index 86% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Ike.cfg rename to [KittopiaExports]/Ike.cfg index 26966f1..7e71724 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Ike.cfg +++ b/[KittopiaExports]/Ike.cfg @@ -9,8 +9,8 @@ { description = Ike is a relatively large, grey object occasionally seen orbiting Duna.Scientists have postulated that Ike is seemingly perfectly positioned to sneakily interfere with any object that presumes to come orbiting near its parent. radius = 130000 - geeASL = 0.112000003457069 - mass = 2.78219487161283E+20 + geeASL = 0.112038263210561 + mass = 2.78216152235874E+20 gravParameter = 18568368573.144 rotates = True rotationPeriod = 65517.8621348081 @@ -21,62 +21,67 @@ emissivity = 0.86 coreTemperatureOffset = 2 isHomeWorld = False - timewarpAltitudeLimits = 0,5000,5000,10000,25000,50000,100000,200000 + timewarpAltitudeLimits = 0 5000 5000 10000 25000 50000 100000 200000 sphereOfInfluence = 1049598.93931162 hillSphere = 1225978.58343315 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/ike_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Polar Lowlands value = 0 - color = 0,0.9882353,1,1 + color = 0,0.988235295,1,1 } Biome { name = Midlands value = 0 - color = 0.6588235,0,1,1 + color = 0.65882355,0,1,1 } Biome { name = Eastern Mountain Ridge value = 0 - color = 1,0.02352941,0,1 + color = 1,0.0235294122,0,1 } Biome { name = Western Mountain Ridge value = 0 - color = 1,0.5176471,0,1 + color = 1,0.517647088,0,1 } Biome { name = Lowlands value = 0 - color = 0.9647059,1,0,1 + color = 0.964705884,1,0,1 } Biome { name = South Eastern Mountain Range value = 0 - color = 1,0,0.8941177,1 + color = 1,0,0.894117653,1 } Biome { name = South Pole value = 0 - color = 0.4705882,1,0,1 + color = 0.470588237,1,0,1 } Biome { name = Central Mountain Range value = 0 - color = 0.09411765,0,1,1 + color = 0.0941176489,0,1,1 } } ScienceValues @@ -103,8 +108,8 @@ meanAnomalyAtEpoch = 1.70000004768372 meanAnomalyAtEpochD = 97.4028279043159 epoch = 0 - color = 0.5233987,0.5426883,0.6039216,1 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -116,12 +121,24 @@ Material { color = 1,1,1,1 - specular = 0,0,0,1 + specColor = 0,0,0,1 shininess = 0.078125 texture = BUILTIN/desertplanetmoon00 + mainTex = BUILTIN/desertplanetmoon00 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/desertplanetmoon01 + bumpMap = BUILTIN/desertplanetmoon01 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -131,6 +148,7 @@ fadeStart = 140000 fadeEnd = 145000 deactivateAltitude = 180000 + mapMaxHeight = 20000 Material { saturation = 1 @@ -206,9 +224,6 @@ mainTexOffset = 0,0 planetOpacity = 1 } - PhysicsMaterial - { - } Mods { VertexSimplexHeightAbsolute @@ -220,6 +235,8 @@ seed = 2297 order = 10 enabled = True + name = _Height + index = 0 } VertexHeightNoise { @@ -233,6 +250,8 @@ lacunarity = 2.5 order = 19 enabled = True + name = _Height + index = 0 } VertexSimplexHeight { @@ -243,6 +262,8 @@ seed = 56899452 order = 20 enabled = True + name = _Height + index = 0 } AltitudeAlpha { @@ -250,24 +271,30 @@ invert = False order = 999999999 enabled = True + name = _Material_ModProjection + index = 0 } VertexSimplexNoiseColor { blend = 0.05 colorStart = 0,0,0,0 - colorEnd = 0.7910448,0.7910448,0.7910448,0 + colorEnd = 0.791044772,0.791044772,0.791044772,0 frequency = 2 octaves = 2 persistence = 0.5 seed = 456364 order = 100 enabled = True + name = _Color + index = 0 } VertexColorMap { map = BUILTIN/desertplanetmoon_coloroverlay order = 99 enabled = True + name = _Color + index = 0 } LandControl { @@ -292,6 +319,8 @@ vHeightMax = 10000 order = 999999 enabled = True + name = Scatter + index = 0 altitudeSimplex { frequency = 1 @@ -408,7 +437,7 @@ science = False Material { - color = 0.6791044,0.6791044,0.6791044,1 + color = 0.679104447,0.679104447,0.679104447,1 mainTex = BUILTIN/lunar cliff face mainTexScale = 1,1 mainTexOffset = 0,0 diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Jool.cfg b/[KittopiaExports]/Jool.cfg similarity index 73% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Jool.cfg rename to [KittopiaExports]/Jool.cfg index 083e9b9..031b712 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Jool.cfg +++ b/[KittopiaExports]/Jool.cfg @@ -9,24 +9,29 @@ { description = Jool is particularly known for being a rather large, predominantly green planet. Kerbalkind has longed to visit it since it was first spotted in the sky. Philosophers reason that the swirling green planet must be a really nice place to visit, on account of its wholesome coloration.If you look at Jool through a telescope, it is fuzzy. radius = 6000000 - geeASL = 0.800000011920929 - mass = 4.23326347332927E+24 + geeASL = 0.800273295870079 + mass = 4.23321273059351E+24 gravParameter = 282528004209995 rotates = True rotationPeriod = 36000 tidallyLocked = False initialRotation = 0 - inverseRotThresholdAltitude = 1000000 + inverseRotThresholdAltitude = 220000 albedo = 0.52 emissivity = 0.48 coreTemperatureOffset = 80 isHomeWorld = False - timewarpAltitudeLimits = 0,0,15000,60000,150000,300000,600000,1200000 + timewarpAltitudeLimits = 0 0 15000 60000 150000 300000 600000 1200000 sphereOfInfluence = 2455985185.42347 hillSphere = 4065824625.34358 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 + nonExactThreshold = 0.05 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE ScienceValues { landedDataValue = 30 @@ -51,14 +56,14 @@ meanAnomalyAtEpoch = 0.100000001490116 meanAnomalyAtEpochD = 5.72957803668559 epoch = 0 - color = 0.3300661,0.5223881,0.07805798,1 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } Atmosphere { enabled = True oxygen = False - staticDensityASL = 2.0107866165853 + staticDensityASL = 6.70262205528434 adiabaticIndex = 1.43 maxAltitude = 200000 altitude = 200000 @@ -70,11 +75,13 @@ temperatureCurveIsNormalized = False temperatureLapseRate = 0.001 temperatureSeaLevel = 200 - ambientColor = 0.07548209,0.2089552,0.06861217,1 - lightColor = 0.6745098,0.5960785,0.8509804,0 + ambientColor = 0.0754820928,0.208955199,0.0686121732,1 + lightColor = 0.674509823,0.596078455,0.850980401,0 + addAFG = True pressureCurve { - key = 0 1519.875 0 -0.05753474 + key = 0 5066.25 0 -0.6723968 + key = 10000 1519.875 -0.1346587 -0.1346587 key = 29000 628.0436 -0.01449255 -0.01449255 key = 123450 22.26 -0.001562163 -0.001562163 key = 150000 2 -0.0001361465 -0.0001361465 @@ -112,10 +119,18 @@ key = 65 18 0 0 key = 90 5 0 0 } + temperatureAxialSunBiasCurve + { + key = 0 0 0 0 + } temperatureAxialSunMultCurve { key = 0 0 0 0 } + temperatureEccentricityBiasCurve + { + key = 0 0 0 0 + } AtmosphereFromGround { DEBUG_alwaysUpdateAll = False @@ -123,7 +138,7 @@ ESun = 30 g = -0.85 innerRadius = 5996250 - invWaveLength = 4.83111,7.921115,1.906873,0.5 + invWaveLength = 4.83110952,7.92111444,1.90687299,0.5 Km = 0.00015 Kr = 0.00125 outerRadius = 6150000 @@ -131,7 +146,7 @@ scale = 0.03902439 scaleDepth = -0.25 transformScale = 0,0,0 - waveLength = 0.6745098,0.5960785,0.8509804,0 + waveLength = 0.674509823,0.596078455,0.850980401,0 outerRadiusMult = 1.025 innerRadiusMult = 0.975 } @@ -145,15 +160,30 @@ deferMesh = False Material { - color = 0.7910448,0.7910448,0.7910448,1 - specular = 0,0,0,1 + color = 0.791044772,0.791044772,0.791044772,1 + specColor = 0,0,0,1 shininess = 1 texture = BUILTIN/gas1_clouds + mainTex = BUILTIN/gas1_clouds + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/cloud_normal + bumpMap = BUILTIN/cloud_normal + bumpMapScale = 15,8 + bumpMapOffset = 0,0 + opacity = 1 rimPower = 2.48 rimBlend = 0.29 rimColorRamp = BUILTIN/gas1_atmogradiant + rimColorRampScale = 1,1 + rimColorRampOffset = 0,0 + localLightDirection = -0.85660249,0.143874586,0.495512158,0 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Kerbin.cfg b/[KittopiaExports]/Kerbin.cfg similarity index 81% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Kerbin.cfg rename to [KittopiaExports]/Kerbin.cfg index 3b3c4af..711d238 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Kerbin.cfg +++ b/[KittopiaExports]/Kerbin.cfg @@ -7,10 +7,10 @@ name = Kerbin Properties { - description = A unique world, Kerbin has flat plains, soaring mountains and wide, blue oceans. Home to the Kerbals, it has just the right conditions to support a vast, seemingly undepletable population of the eager green creatures.Reaching a stable orbit around Kerbin is one of the first things budding space programs strive for. It is said that he who can get his ship into orbit is halfway to anywhere. + description = A unique world, Kerbin has flat plains, soaring mountains and wide, blue oceans. Home to the Kerbals, it has just the right conditions to support a vast, seemingly undepletable population of the eager green creatures.Reaching a stable orbit around Kerbin is one of the first things budding space programs strive for. It is said that those who can get their ship into orbit are halfway to anywhere. radius = 600000 - geeASL = 1 - mass = 5.29157926281091E+22 + geeASL = 1.00034160493135 + mass = 5.29151583439215E+22 gravParameter = 3531600000000 rotates = True rotationPeriod = 21549.4251830898 @@ -21,68 +21,85 @@ emissivity = 0.65 coreTemperatureOffset = 0 isHomeWorld = True - timewarpAltitudeLimits = 0,30000,30000,60000,120000,240000,480000,600000 + timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 sphereOfInfluence = 84159286.4796305 hillSphere = 196414707.77848 solarRotationPeriod = True navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/kerbin_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Water value = 0 - color = 0,0.1960784,0.5176471,1 + color = 0.215686277,0.384313732,0.670588255,1 } Biome { name = Grasslands value = 0 - color = 0.3490196,0.7843137,0.05882353,1 + color = 0.513725519,0.737254918,0.180392161,1 } Biome { name = Highlands value = 0 - color = 0.1098039,0.5333334,0,1 + color = 0.36470589,0.521568656,0.164705887,1 } Biome { name = Shores value = 0 - color = 0.7058824,0.3882353,0.5176471,1 + color = 0.980392158,0.949019611,0.717647076,1 } Biome { name = Mountains value = 0 - color = 0.509804,0.2745098,0,1 + color = 0.654901981,0.654901981,0.654901981,1 } Biome { name = Deserts value = 0 - color = 0.9607843,0.7372549,0,1 + color = 0.917647064,0.749019623,0.435294122,1 } Biome { name = Badlands value = 0 - color = 0.02745098,0.1490196,0.03529412,1 + color = 0.592156887,0.309803933,0.137254909,1 } Biome { name = Tundra value = 0 - color = 0.4705882,0.8862745,0.4,1 + color = 0.78039217,0.56078434,0.874509811,1 } Biome { name = Ice Caps value = 0 - color = 0.9960784,0.9960784,0.9960784,1 + color = 1,1,1,1 + } + Biome + { + name = Northern Ice Shelf + value = 0 + color = 0.894117653,0.992156863,1,1 + } + Biome + { + name = Southern Ice Shelf + value = 0 + color = 0.847058833,0.847058833,0.847058833,1 } } ScienceValues @@ -109,8 +126,8 @@ meanAnomalyAtEpoch = 3.14000010490417 meanAnomalyAtEpochD = 179.908753681645 epoch = 0 - color = 0.491869,0.7164179,0.688153,1 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } Atmosphere { @@ -121,15 +138,16 @@ maxAltitude = 70000 altitude = 70000 atmosphereDepth = 70000 - gasMassLapseRate = 8.30624104060862 + gasMassLapseRate = 8.33518264702189 atmosphereMolarMass = 0.0289644002914429 pressureCurveIsNormalized = False staticPressureASL = 101.324996948242 temperatureCurveIsNormalized = False - temperatureLapseRate = 0.00411428571428571 - temperatureSeaLevel = 288 - ambientColor = 0.2431373,0.2509804,0.254902,1 - lightColor = 0.65,0.57,0.475,0.5 + temperatureLapseRate = 0.0041 + temperatureSeaLevel = 287 + ambientColor = 0.243137255,0.250980407,0.254901975,1 + lightColor = 0.649999976,0.569999993,0.474999994,0.5 + addAFG = True pressureCurve { key = 0 101.325 0 -0.01501631 @@ -198,10 +216,18 @@ key = 76 8.582909 -0.6021729 -0.6021729 key = 90 5 0 0 } + temperatureAxialSunBiasCurve + { + key = 0 0 0 0 + } temperatureAxialSunMultCurve { key = 0 0 0 0 } + temperatureEccentricityBiasCurve + { + key = 0 0 0 0 + } AtmosphereFromGround { DEBUG_alwaysUpdateAll = False @@ -209,7 +235,7 @@ ESun = 30 g = -0.85 innerRadius = 599625 - invWaveLength = 5.602046,9.473285,19.6438,0.5 + invWaveLength = 5.60204554,9.47328472,19.6438026,0.5 Km = 0.00015 Kr = 0.00125 outerRadius = 615000 @@ -217,7 +243,7 @@ scale = 0.3902439 scaleDepth = -0.25 transformScale = 0,0,0 - waveLength = 0.65,0.57,0.475,0.5 + waveLength = 0.649999976,0.569999993,0.474999994,0.5 outerRadiusMult = 1.025 innerRadiusMult = 0.975 } @@ -232,15 +258,30 @@ Material { color = 1,1,1,1 - specular = 0.1647059,0.1647059,0.1647059,1 + specColor = 0.164705887,0.164705887,0.164705887,1 shininess = 0.1085012 texture = BUILTIN/KerbinScaledSpace300 + mainTex = BUILTIN/KerbinScaledSpace300 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/KerbinScaledSpace401 + bumpMap = BUILTIN/KerbinScaledSpace401 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 rimPower = 3.54 rimBlend = 0.81 - rimColorRamp = BUILTIN/AerialRampKerbin + rimColorRamp = BUILTIN/AerialRampKerbin2 + rimColorRampScale = 1,1 + rimColorRampOffset = 0,0 + localLightDirection = -0.349999994,0,0.150000006,0 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -250,11 +291,12 @@ fadeStart = 60000 fadeEnd = 120000 deactivateAltitude = 160000 + mapMaxHeight = 9600 Material { saturation = 1 contrast = 4 - tintColor = 0.172549,0.172549,0.172549,0.4823529 + tintColor = 0.172549024,0.172549024,0.172549024,0.482352942 powerNear = 0.75 powerFar = 0.75 groundTexStart = 0 @@ -273,13 +315,8 @@ lowTex = BUILTIN/terrain_sand00 lowTexScale = 1,1 lowTexOffset = 0,0 - lowBumpMap = BUILTIN/Waterbump - lowBumpMapScale = 1,1 - lowBumpMapOffset = 0,0 lowNearTiling = 4000 lowMultiFactor = 10 - lowBumpNearTiling = 4000 - lowBumpFarTiling = 10 midTex = BUILTIN/terrain_grass00_new midTexScale = 1,1 midTexOffset = 0,0 @@ -289,32 +326,27 @@ midNearTiling = 4000 midMultiFactor = 100 midBumpNearTiling = 1000 - midBumpFarTiling = 100 highTex = BUILTIN/terrain_snow00 highTexScale = 1,1 highTexOffset = 0,0 - highBumpMap = BUILTIN/05_NORMAL - highBumpMapScale = 1,1 - highBumpMapOffset = 0,0 highNearTiling = 4000 highMultiFactor = 4 - highBumpNearTiling = 2000 - highBumpFarTiling = 4 lowStart = 0.02 lowEnd = 0.1 highStart = 0.5 highEnd = 1 globalDensity = -8E-06 - fogColorRamp = BUILTIN/AerialRampKerbin + fogColorRamp = BUILTIN/AerialRampKerbin2 fogColorRampScale = 1,1 fogColorRampOffset = 0,0 planetOpacity = 0 + oceanFogDistance = 1000 } FallbackMaterial { saturation = 1 contrast = 2 - tintColor = 0.172549,0.172549,0.172549,0.4823529 + tintColor = 0.172549024,0.172549024,0.172549024,0.482352942 texTiling = 4000 texPower = 0.75 multiPower = 0.75 @@ -330,12 +362,9 @@ { bounceCombine = Average frictionCombine = Maximum - frictionDirection2 = 0,0,0 bounciness = 0 staticFriction = 0.8 - staticFriction2 = 0 dynamicFriction = 0.6 - dynamicFriction2 = 0 } Mods { @@ -348,6 +377,8 @@ seed = 453453435 order = 20 enabled = True + name = _HeightNoise + index = 0 } VertexHeightNoiseVertHeightCurve2 { @@ -369,6 +400,8 @@ simplexSeed = 248775058 order = 32 enabled = True + name = _HeightNoise + index = 0 simplexCurve { key = 0 0 0 0 @@ -393,6 +426,8 @@ simplexSeed = 248775058 order = 16 enabled = True + name = _HeightNoise + index = 0 simplexCurve { key = 0.007249059 0.0007464408 0 0 @@ -429,6 +464,8 @@ vHeightMax = 3500 order = 9999991 enabled = True + name = _LandClassOcean + index = 0 altitudeSimplex { frequency = 12 @@ -453,7 +490,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.6940298,0.631407,0.4732021,1 + color = 0.694029808,0.631407022,0.473202139,1 coverageBlend = 1 coverageFrequency = 2 coverageOctaves = 4 @@ -465,7 +502,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.5 - noiseColor = 0.6044776,0.5820802,0.454415,1 + noiseColor = 0.604477644,0.582080245,0.454414994,1 noiseFrequency = 8 noiseOctaves = 4 noisePersistance = 0.5 @@ -534,7 +571,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.2350805,0.2761194,0.1901941,1 + color = 0.235080481,0.276119411,0.19019413,1 coverageBlend = 1 coverageFrequency = 6 coverageOctaves = 8 @@ -546,7 +583,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.75 - noiseColor = 0.1511772,0.2014925,0.08524685,1 + noiseColor = 0.151177242,0.201492548,0.0852468461,1 noiseFrequency = 14 noiseOctaves = 3 noisePersistance = 0.9 @@ -610,7 +647,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.141791,0.141791,0.141791,1 + color = 0.141791046,0.141791046,0.141791046,1 coverageBlend = 0.7 coverageFrequency = 2 coverageOctaves = 4 @@ -622,7 +659,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 1 - noiseColor = 0.1492537,0.14127,0.1278572,1 + noiseColor = 0.149253726,0.141269952,0.127857208,1 noiseFrequency = 12 noiseOctaves = 4 noisePersistance = 0.6 @@ -691,7 +728,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.4179105,0.4179105,0.4179105,1 + color = 0.417910457,0.417910457,0.417910457,1 coverageBlend = 0 coverageFrequency = 1 coverageOctaves = 4 @@ -703,7 +740,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.25 - noiseColor = 0.477612,0.4740741,0.4740741,1 + noiseColor = 0.477611959,0.474074066,0.474074066,1 noiseFrequency = 18 noiseOctaves = 4 noisePersistance = 0.6 @@ -767,7 +804,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.3334522,0.4402985,0.2971245,1 + color = 0.333452225,0.440298498,0.297124505,1 coverageBlend = 1 coverageFrequency = 6 coverageOctaves = 4 @@ -779,7 +816,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 1 - noiseColor = 0.3496753,0.4253731,0.3435706,1 + noiseColor = 0.349675268,0.425373137,0.34357059,1 noiseFrequency = 34 noiseOctaves = 4 noisePersistance = 0.6 @@ -848,7 +885,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.641791,0.5348482,0.4106565,1 + color = 0.641791046,0.534848213,0.410656542,1 coverageBlend = 0.1 coverageFrequency = 3 coverageOctaves = 4 @@ -860,7 +897,7 @@ lonDelta = 0 minimumRealHeight = 0 noiseBlend = 0.8 - noiseColor = 0.5820895,0.4910489,0.417232,1 + noiseColor = 0.582089543,0.491048872,0.417232007,1 noiseFrequency = 14 noiseOctaves = 2 noisePersistance = 0.6 @@ -934,7 +971,7 @@ { alterApparentHeight = -0.8 alterRealHeight = 0 - color = 0.3283582,0.298953,0.2904707,1 + color = 0.328358233,0.298953027,0.290470749,1 coverageBlend = 0.5 coverageFrequency = 1 coverageOctaves = 4 @@ -943,10 +980,10 @@ name = DesertMountains latDelta = 1 latitudeDouble = False - lonDelta = 0.476008294508971 + lonDelta = 0.4750158085657 minimumRealHeight = 0 noiseBlend = 0.5 - noiseColor = 0.2462686,0.2286743,0.2144087,1 + noiseColor = 0.24626863,0.228674337,0.214408696,1 noiseFrequency = 28 noiseOctaves = 4 noisePersistance = 0.6 @@ -1005,7 +1042,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.2835821,0.2410344,0.1695543,1 + color = 0.283582091,0.241034418,0.169554323,1 coverageBlend = 1 coverageFrequency = 2 coverageOctaves = 4 @@ -1017,7 +1054,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.5 - noiseColor = 0.3215686,0.3019608,0.2745098,1 + noiseColor = 0.321568638,0.301960796,0.274509817,1 noiseFrequency = 32 noiseOctaves = 4 noisePersistance = 0.6 @@ -1086,7 +1123,7 @@ { alterApparentHeight = 100 alterRealHeight = 10 - color = 0.9477612,0.9477612,0.9477612,1 + color = 0.947761178,0.947761178,0.947761178,1 coverageBlend = 0 coverageFrequency = 5 coverageOctaves = 4 @@ -1098,7 +1135,7 @@ lonDelta = 1 minimumRealHeight = 20 noiseBlend = 1 - noiseColor = 0.5402881,0.6820635,0.7611941,1 + noiseColor = 0.540288091,0.68206352,0.76119405,1 noiseFrequency = 4 noiseOctaves = 4 noisePersistance = 0.6 @@ -1162,7 +1199,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.106928,0.1784129,0.2985075,1 + color = 0.106928043,0.178412944,0.298507452,1 coverageBlend = 0 coverageFrequency = 5 coverageOctaves = 4 @@ -1174,7 +1211,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 0.5 - noiseColor = 0.1465805,0.2964195,0.4179105,1 + noiseColor = 0.146580532,0.296419472,0.417910457,1 noiseFrequency = 16 noiseOctaves = 4 noisePersistance = 0.6 @@ -1248,19 +1285,19 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.2786641,0.3283582,0.1618829,1 + color = 0.278664112,0.328358233,0.161882892,1 coverageBlend = 0.2 coverageFrequency = 5 coverageOctaves = 4 coveragePersistance = 0.7 coverageSeed = 4563456 name = Savannah - latDelta = 0.505546810006219 + latDelta = 0.506086580622294 latitudeDouble = False lonDelta = 0 minimumRealHeight = 0 noiseBlend = 1 - noiseColor = 0.5,0.4645949,0.2627857,1 + noiseColor = 0.5,0.464594871,0.262785673,1 noiseFrequency = 16 noiseOctaves = 2 noisePersistance = 0.6 @@ -1335,7 +1372,7 @@ { Scatter { - materialType = CutoutDiffuse + materialType = AerialCutout mesh = BUILTIN/mapletree castShadows = True densityFactor = 0.5 @@ -1355,11 +1392,15 @@ science = False Material { - color = 0.5447761,0.5447761,0.5447761,1 + color = 0.132352948,0.132352948,0.132352948,0.433999985 mainTex = BUILTIN/mapletree mainTexScale = 1,1 mainTexOffset = 0,0 - cutoff = 0.4402985 + texCutoff = 0.5 + fogColor = 0.882352948,0.882352948,1,1 + heightFallOff = 0.2 + globalDensity = -1.5E-05 + atmosphereDepth = 5000 } Experiment { @@ -1386,12 +1427,12 @@ science = False Material { - color = 0.1476336,0.3358209,0.1077634,0.254902 + color = 0.147633612,0.335820913,0.107763417,0.254901975 mainTex = BUILTIN/Grass2 mainTexScale = 1,1 mainTexOffset = 0,0 texCutoff = 0.5 - fogColor = 0.8941177,0.8941177,1,1 + fogColor = 0.894117653,0.894117653,1,1 heightFallOff = 0.2 globalDensity = -1.5E-05 atmosphereDepth = 5000 @@ -1425,8 +1466,8 @@ mainTex = BUILTIN/rock00 mainTexScale = 1,1 mainTexOffset = 0,0 - color = 0.2537314,0.2194097,0.1003564,0.4588235 - diff = 0.4 + color = 1,1,1,0.621999979 + diff = 0.2 } Experiment { @@ -1454,7 +1495,7 @@ science = False Material { - color = 0.8916084,0.932053,1,1 + color = 0.891608417,0.93205303,1,1 mainTex = BUILTIN/pinetree mainTexScale = 1,1 mainTexOffset = 0,0 @@ -1486,7 +1527,7 @@ science = False Material { - color = 0.7985075,0.7985075,0.7985075,1 + color = 0.798507452,0.798507452,0.798507452,1 mainTex = BUILTIN/cactus mainTexScale = 1,1 mainTexOffset = 0,0 @@ -1500,14 +1541,14 @@ AerialPerspectiveMaterial { atmosphereDepth = 150000 - cameraAlt = 548.915972246672 - cameraAtmosAlt = 0.00365944 DEBUG_SetEveryFrame = True globalDensity = -1E-05 - heightDensAtViewer = 0.9756014 heightFalloff = 6.75 + oceanDepth = 0 order = 100 enabled = True + name = _Material_AerialPerspective + index = 0 } VertexHeightMap { @@ -1517,6 +1558,8 @@ scaleDeformityByRadius = False order = 10 enabled = True + name = _Height + index = 0 } QuadEnhanceCoast { @@ -1524,6 +1567,8 @@ oceanFactor = 1 order = 9999 enabled = True + name = _CoastlineLOD + index = 0 } MapDecalTangent { @@ -1542,6 +1587,8 @@ useAlphaHeightSmoothing = True order = 99999 enabled = True + name = KSC + index = 0 } MapDecal { @@ -1552,7 +1599,7 @@ DEBUG_HighlightInclusion = False heightMap = BUILTIN/decal_spaceport_0_height heightMapDeformity = 100 - position = -468960,211164.7,-310261 + position = -468960,211164.703,-310261 removeScatter = True radius = 2000 smoothColor = 0.2 @@ -1560,6 +1607,8 @@ useAlphaHeightSmoothing = True order = 99999 enabled = True + name = KSC2 + index = 0 } FlattenArea { @@ -1567,11 +1616,13 @@ flattenTo = 1300 innerRadius = 400 outerRadius = 1000 - position = -468635.1,-68111.1,-370297.1 + position = -468635.094,-68111.1016,-370297.094 smoothEnd = 0 smoothStart = 0 order = 99999 enabled = True + name = Pyramids + index = 0 } MapDecalTangent { @@ -1590,6 +1641,151 @@ useAlphaHeightSmoothing = True order = 9999 enabled = True + name = IslandAirfield + index = 0 + } + } + } + Ocean + { + minLevel = 2 + maxLevel = 7 + minDetailDistance = 6 + maxQuadLengthsPerFrame = 0.03 + ocean = True + oceanColor = 0.0705882385,0.101960786,0.156862751,1 + oceanHeight = 0 + density = 1 + Material + { + color = 0.450980395,0.525490224,0.525490224,1 + colorFromSpace = 0.0695908442,0.10210041,0.156716406,1 + specColor = 1,1,1,1 + shininess = 0.697751 + gloss = 0.2 + tiling = 1000 + waterTex = BUILTIN/sea-water1 + waterTexScale = 1,1 + waterTexOffset = 0,0 + waterTex1 = BUILTIN/sea-water2 + waterTex1Scale = 1,1 + waterTex1Offset = 0,0 + bTiling = 800 + bumpMap = BUILTIN/quiet + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + displacement = 0.05 + texDisplacement = -0.31 + dispFreq = 0.15 + mix = 0.253479 + oceanOpacity = 0.5 + falloffPower = 1.1 + falloffExp = 2 + fogColor = 0.917910457,0.917910457,1,1 + heightFallOff = 0.2 + globalDensity = -8E-06 + atmosphereDepth = 70000 + fogColorRamp = BUILTIN/AerialRampKerbin2 + fogColorRampScale = 1,1 + fogColorRampOffset = 0,0 + fadeStart = 20000 + fadeEnd = 60000 + planetOpacity = 0 + normalXYFudge = 1.4 + normalZFudge = 1.18 + } + FallbackMaterial + { + color = 0.494117647,0.552941203,0.627451003,1 + colorFromSpace = 0.0509803928,0.164705887,0.215686277,1 + specColor = 1,1,1,1 + shininess = 1 + gloss = 0.4327519 + tiling = 1000 + waterTex = BUILTIN/sea-water2 + waterTexScale = 1,1 + waterTexOffset = 0,0 + waterTex1 = BUILTIN/sea-water3 + waterTex1Scale = 1,1 + waterTex1Offset = 0,0 + fadeStart = 20000 + fadeEnd = 60000 + planetOpacity = 0 + } + Fog + { + afgAltMult = 0.05 + afgBase = 0.6 + afgLerp = False + afgMin = 0.05 + fogColorEnd = 0,0.0850000009,0.122500002,1 + fogColorStart = 0,0.340000004,0.49000001,1 + fogDensityAltScalar = -0.0008 + fogDensityEnd = 0.025 + fogDensityExponent = 1 + fogDensityPQSMult = 0.02 + fogDensityStart = 0.005 + skyColorMult = 1.1 + skyColorOpacityAltMult = 15 + skyColorOpacityBase = 0.25 + sunAltMult = 0.01 + sunBase = 0.5 + sunMin = 0.05 + useFog = True + } + Mods + { + AerialPerspectiveMaterial + { + atmosphereDepth = 5000 + DEBUG_SetEveryFrame = False + globalDensity = -7.5E-06 + heightFalloff = 0.2 + oceanDepth = 0 + order = 100 + enabled = True + name = _Material_AerialPerspective + index = 0 + } + RemoveQuadMap + { + map = BUILTIN/kerbin_height_new + deformity = 0 + maxHeight = 0.1 + minHeight = 0 + order = 100 + enabled = False + name = QuadRemoveMap + index = -1 + } + OceanFX + { + angle = -0.56866 + blendA = 0 + blendB = 0 + framesPerSecond = 10 + oceanOpacity = 0 + spaceAltitude = 0 + spaceSurfaceBlend = 1 + specColor = 1,1,1,1 + texBlend = 0.253479 + txIndex = 3 + order = 100 + enabled = True + name = OceanFX + index = 0 + Watermain + { + waterTex-0 = BUILTIN/sea-water1 + waterTex-1 = BUILTIN/sea-water2 + waterTex-2 = BUILTIN/sea-water3 + waterTex-3 = BUILTIN/sea-water4 + waterTex-4 = BUILTIN/sea-water5 + waterTex-5 = BUILTIN/sea-water6 + waterTex-6 = BUILTIN/sea-water7 + waterTex-7 = BUILTIN/sea-water8 + waterTex-0 = BUILTIN/sea-water1 + } } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Laythe.cfg b/[KittopiaExports]/Laythe.cfg similarity index 69% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Laythe.cfg rename to [KittopiaExports]/Laythe.cfg index 7349b8f..aefdd62 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Laythe.cfg +++ b/[KittopiaExports]/Laythe.cfg @@ -9,8 +9,8 @@ { description = When Laythe was first discovered, it was not entered in the records because the scientist in charge thought he was looking at Kerbin.Luckily this error was corrected when a plucky intern informed him that “telescopes don’t work that way”.The intern was shortly afterwards “promoted” and moved to the experimental rocket testing program. radius = 500000 - geeASL = 0.800000011920929 - mass = 2.9397663009231E+22 + geeASL = 0.800273295870079 + mass = 2.93973106291216E+22 gravParameter = 1962000029236.08 rotates = True rotationPeriod = 52980.8790593796 @@ -21,44 +21,79 @@ emissivity = 0.7 coreTemperatureOffset = 80 isHomeWorld = False - timewarpAltitudeLimits = 0,30000,30000,60000,120000,240000,480000,600000 + timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 sphereOfInfluence = 3723645.81113302 hillSphere = 5186318.66159496 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/laythe_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Poles value = 0 - color = 0,0.9882353,1,1 + color = 0.725490212,0.835294127,0.890196085,1 } Biome { name = Shores value = 0 - color = 0.9921569,0.6784314,0.007843138,1 + color = 1,0.925490201,0.647058845,1 } Biome { name = Dunes value = 0 - color = 0.02352941,1,0,1 + color = 0.839215696,0.745098054,0.384313732,1 } Biome { name = Crescent Bay value = 0 - color = 1,0,0,1 + color = 0.368627459,0.43921569,0.800000012,1 } Biome { name = The Sagen Sea value = 0 - color = 0.02352941,0.1529412,0.9764706,1 + color = 0.149019614,0.384313732,0.686274529,1 + } + Biome + { + name = Crater Island + value = 0 + color = 0.678431392,0.580392182,0.196078435,1 + } + Biome + { + name = Shallows + value = 0 + color = 0.443137258,0.619607866,0.843137264,1 + } + Biome + { + name = Crater Bay + value = 0 + color = 0.282352954,0.490196079,0.760784328,1 + } + Biome + { + name = DeGrasse Sea + value = 0 + color = 0.0470588244,0.266666681,0.549019635,1 + } + Biome + { + name = Peaks + value = 0 + color = 1,0.964705884,0.835294127,1 } } ScienceValues @@ -85,8 +120,8 @@ meanAnomalyAtEpoch = 3.14000010490417 meanAnomalyAtEpochD = 179.908753681645 epoch = 0 - color = 0.1347182,0.1694476,0.3059701,0.5411765 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } Atmosphere { @@ -97,15 +132,16 @@ maxAltitude = 50000 altitude = 50000 atmosphereDepth = 50000 - gasMassLapseRate = 4.93490965516617 + gasMassLapseRate = 4.84741125702493 atmosphereMolarMass = 0.0289644002914429 pressureCurveIsNormalized = False - staticPressureASL = 81.0599975585938 + staticPressureASL = 60.795 temperatureCurveIsNormalized = False - temperatureLapseRate = 0.00554 - temperatureSeaLevel = 277 - ambientColor = 0.187128,0.2393932,0.3058824,1 - lightColor = 0.8432836,0.6682193,0.4983039,0 + temperatureLapseRate = 0.00564 + temperatureSeaLevel = 282 + ambientColor = 0.187128037,0.239393175,0.305882365,1 + lightColor = 0.843283594,0.668219268,0.49830395,0 + addAFG = True pressureCurve { key = 0 60.795 0 -0.005216384 @@ -152,10 +188,18 @@ key = 65 11 0 0 key = 90 2 0 0 } + temperatureAxialSunBiasCurve + { + key = 0 0 0 0 + } temperatureAxialSunMultCurve { key = 0 0 0 0 } + temperatureEccentricityBiasCurve + { + key = 0 0 0 0 + } AtmosphereFromGround { DEBUG_alwaysUpdateAll = False @@ -163,7 +207,7 @@ ESun = 30 g = -0.85 innerRadius = 499687.5 - invWaveLength = 1.97745,5.015613,16.21895,0.5 + invWaveLength = 1.97744942,5.01561308,16.2189484,0.5 Km = 0.00015 Kr = 0.00125 outerRadius = 512500 @@ -171,7 +215,7 @@ scale = 0.4682932 scaleDepth = -0.25 transformScale = 0,0,0 - waveLength = 0.8432836,0.6682193,0.4983039,0 + waveLength = 0.843283594,0.668219268,0.49830395,0 outerRadiusMult = 1.025 innerRadiusMult = 0.975 } @@ -186,15 +230,30 @@ Material { color = 1,1,1,1 - specular = 0.3059701,0.3059701,0.3059701,1 + specColor = 0.305970132,0.305970132,0.305970132,1 shininess = 0.1661175 texture = BUILTIN/newoceanmoon00 + mainTex = BUILTIN/newoceanmoon00 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/newoceanmoon01 + bumpMap = BUILTIN/newoceanmoon01 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 rimPower = 5 rimBlend = 1 - rimColorRamp = BUILTIN/AerialRampKerbin + rimColorRamp = BUILTIN/AerialRampKerbin2 + rimColorRampScale = 1,1 + rimColorRampOffset = 0,0 + localLightDirection = -0.617191017,0.0226955116,-0.78648591,0 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -204,71 +263,56 @@ fadeStart = 60000 fadeEnd = 120000 deactivateAltitude = 160000 + mapMaxHeight = 8000 Material { saturation = 1 - contrast = 1.55 - tintColor = 1,1,1,0 - texTiling = 1000 - texPower = 0.5 - multiPower = 0.3 - groundTexStart = 20000 - groundTexEnd = 60000 - steepTiling = 300 + contrast = 1 + tintColor = 0.514705896,0.514705896,0.514705896,0 + powerNear = 0.5 + powerFar = 0.5 + groundTexStart = 0 + groundTexEnd = 10000 steepPower = 1 - steepTexStart = 100000 - steepTexEnd = 200000 - deepTex = BUILTIN/SandyGround - deepTexScale = 1,1 - deepTexOffset = 0,0 - deepMultiTex = BUILTIN/terrain_sand00 - deepMultiTexScale = 1,1 - deepMultiTexOffset = 0,0 - deepMultiFactor = 1 - mainTex = BUILTIN/SandyGround - mainTexScale = 1,1 - mainTexOffset = 0,0 - mainMultiTex = BUILTIN/terrain_sand00 - mainMultiTexScale = 1,1 - mainMultiTexOffset = 0,0 - mainMultiFactor = 1 - highTex = BUILTIN/RockyGround - highTexScale = 1,1 - highTexOffset = 0,0 - highMultiTex = BUILTIN/terrain_sand00 - highMultiTexScale = 1,1 - highMultiTexOffset = 0,0 - highMultiFactor = 1 - snowTex = BUILTIN/RockyGround - snowTexScale = 1,1 - snowTexOffset = 0,0 - snowMultiTex = BUILTIN/terrain_sand00 - snowMultiTexScale = 1,1 - snowMultiTexOffset = 0,0 - snowMultiFactor = 1 + steepTexStart = 10000 + steepTexEnd = 100000 steepTex = BUILTIN/Cliff (Layered Rock) steepTexScale = 1,1 steepTexOffset = 0,0 - deepStart = 0 - deepEnd = 0.6 - mainLoStart = 0 - mainLoEnd = 0.1 - mainHiStart = 0.2 - mainHiEnd = 0.3 - hiLoStart = 0.3 - hiLoEnd = 0.5 - hiHiStart = 0.9 - hiHiEnd = 0.95 - snowStart = 0.95 - snowEnd = 1 - fogColor = 0.7238806,0.9304873,1,1 - heightFallOff = 1.75 + steepBumpMap = BUILTIN/Cliff (Layered Rock)_NRM + steepBumpMapScale = 1,1 + steepBumpMapOffset = 0,0 + steepNearTiling = 2000 + steepTiling = 100 + lowTex = BUILTIN/SandyGround + lowTexScale = 1,1 + lowTexOffset = 0,0 + lowNearTiling = 2000 + lowMultiFactor = 8 + midTex = BUILTIN/RockyGround + midTexScale = 1,1 + midTexOffset = 0,0 + midBumpMap = BUILTIN/cloud_normal + midBumpMapScale = 1,1 + midBumpMapOffset = 0,0 + midNearTiling = 1000 + midMultiFactor = 2 + midBumpNearTiling = 1000 + highTex = BUILTIN/snow + highTexScale = 1,1 + highTexOffset = 0,0 + highNearTiling = 1000 + highMultiFactor = 2 + lowStart = 0.2 + lowEnd = 0.4 + highStart = 0.6 + highEnd = 0.9 globalDensity = -8E-06 - atmosphereDepth = 56000 fogColorRamp = BUILTIN/blue_atmogradient fogColorRampScale = 1,1 fogColorRampOffset = 0,0 planetOpacity = 1 + oceanFogDistance = 1000 } FallbackMaterial { @@ -290,12 +334,9 @@ { bounceCombine = Average frictionCombine = Maximum - frictionDirection2 = 0,0,0 bounciness = 0 staticFriction = 0.8 - staticFriction2 = 0 dynamicFriction = 0.6 - dynamicFriction2 = 0 } Mods { @@ -323,6 +364,8 @@ vHeightMax = 6000 order = 100 enabled = True + name = _LandClass + index = 0 altitudeSimplex { frequency = 2 @@ -347,7 +390,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.2537314,0.2405032,0.2297777,0 + color = 0.25373137,0.240503222,0.229777679,0 coverageBlend = 0 coverageFrequency = 1 coverageOctaves = 1 @@ -359,7 +402,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 1 - noiseColor = 0.1865672,0.1837437,0.1676495,0 + noiseColor = 0.186567187,0.183743656,0.167649537,0 noiseFrequency = 32 noiseOctaves = 8 noisePersistance = 0.5 @@ -418,7 +461,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.3283582,0.2973594,0.2973594,0 + color = 0.328358233,0.297359377,0.297359377,0 coverageBlend = 0.2 coverageFrequency = 1 coverageOctaves = 1 @@ -430,7 +473,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 1 - noiseColor = 0.3432836,0.3149603,0.2820687,0 + noiseColor = 0.343283594,0.314960271,0.28206867,0 noiseFrequency = 24 noiseOctaves = 8 noisePersistance = 0.5 @@ -489,7 +532,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.08402046,0.1054403,0.1492537,0 + color = 0.0840204582,0.105440333,0.149253726,0 coverageBlend = 0 coverageFrequency = 1 coverageOctaves = 1 @@ -501,7 +544,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 1 - noiseColor = 0.06612043,0.07699783,0.1044776,0 + noiseColor = 0.0661204308,0.0769978315,0.104477584,0 noiseFrequency = 24 noiseOctaves = 8 noisePersistance = 0.5 @@ -560,7 +603,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.2313433,0.17757,0.1253783,0 + color = 0.231343269,0.17757003,0.12537834,0 coverageBlend = 1 coverageFrequency = 24 coverageOctaves = 8 @@ -572,7 +615,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 1 - noiseColor = 0.3134328,0.2268716,0.1063042,0 + noiseColor = 0.313432813,0.22687158,0.106304161,0 noiseFrequency = 24 noiseOctaves = 8 noisePersistance = 0.5 @@ -631,7 +674,7 @@ { alterApparentHeight = 0 alterRealHeight = 0 - color = 0.7313433,0.7313433,0.7313433,0 + color = 0.731343269,0.731343269,0.731343269,0 coverageBlend = 1 coverageFrequency = 12 coverageOctaves = 6 @@ -643,7 +686,7 @@ lonDelta = 1 minimumRealHeight = 0 noiseBlend = 1 - noiseColor = 0.5522388,0.5191829,0.4807953,0 + noiseColor = 0.552238822,0.519182861,0.480795324,0 noiseFrequency = 24 noiseOctaves = 8 noisePersistance = 0.5 @@ -702,7 +745,7 @@ { alterApparentHeight = 100 alterRealHeight = 10 - color = 0.7313433,0.7313433,0.7313433,0 + color = 0.731343269,0.731343269,0.731343269,0 coverageBlend = 1 coverageFrequency = 12 coverageOctaves = 6 @@ -714,7 +757,7 @@ lonDelta = 1 minimumRealHeight = 20 noiseBlend = 0.25 - noiseColor = 0.5522388,0.5191829,0.4807953,0 + noiseColor = 0.552238822,0.519182861,0.480795324,0 noiseFrequency = 24 noiseOctaves = 8 noisePersistance = 0.5 @@ -774,7 +817,7 @@ { Scatter { - materialType = BumpedDiffuse + materialType = DiffuseWrapped mesh = BUILTIN/boulder castShadows = True densityFactor = 1 @@ -794,13 +837,11 @@ science = False Material { - color = 1,1,1,1 mainTex = BUILTIN/brown_cliff mainTexScale = 1,1 mainTexOffset = 0,0 - bumpMap = BUILTIN/bouldernormal - bumpMapScale = 1,1 - bumpMapOffset = 0,0 + color = 1,1,1,0.421999991 + diff = 0.2 } Experiment { @@ -811,14 +852,14 @@ AerialPerspectiveMaterial { atmosphereDepth = 150000 - cameraAlt = 0 - cameraAtmosAlt = 0 DEBUG_SetEveryFrame = True globalDensity = -1E-05 - heightDensAtViewer = 0 heightFalloff = 6.75 - order = 100 + oceanDepth = 0 + order = 101 enabled = True + name = _Material_AerialPerspective + index = 0 } VertexHeightNoise { @@ -832,6 +873,8 @@ lacunarity = 3 order = 21 enabled = True + name = _HeightNoise + index = 0 } VertexSimplexHeightMap { @@ -845,6 +888,8 @@ seed = 55345 order = 20 enabled = True + name = _HeightNoise + index = 0 } QuadEnhanceCoast { @@ -852,18 +897,20 @@ oceanFactor = 1 order = 9999 enabled = True + name = _CoastlineLOD + index = 0 } AerialPerspectiveMaterial { atmosphereDepth = 5000 - cameraAlt = 0 - cameraAtmosAlt = 0 DEBUG_SetEveryFrame = False globalDensity = -7.5E-06 - heightDensAtViewer = 0 heightFalloff = 0.2 + oceanDepth = 0 order = 100 enabled = True + name = _Material_AerialPerspective + index = 1 } VertexHeightNoiseVertHeight { @@ -875,8 +922,12 @@ persistance = 0.7 seed = 3475645 mode = Low - order = 20 + noiseType = Billow + lacunarity = 1.5 + order = 30 enabled = True + name = _FineDetail + index = 0 } VertexHeightMap { @@ -884,8 +935,153 @@ offset = -2000 deformity = 8000 scaleDeformityByRadius = False + order = 99 + enabled = True + name = _Height + index = 0 + } + } + } + Ocean + { + minLevel = 1 + maxLevel = 6 + minDetailDistance = 8 + maxQuadLengthsPerFrame = 0.03 + ocean = True + oceanColor = 0.116715364,0.12626785,0.156716406,1 + oceanHeight = 0 + density = 1 + Material + { + color = 0.413805217,0.387094229,0.514925361,1 + colorFromSpace = 0.116878122,0.126456618,0.156862751,1 + specColor = 1,1,1,1 + shininess = 1 + gloss = 0.2 + tiling = 1000 + waterTex = BUILTIN/sea-water8 + waterTexScale = 1,1 + waterTexOffset = 0,0 + waterTex1 = BUILTIN/sea-water1 + waterTex1Scale = 1,1 + waterTex1Offset = 0,0 + bTiling = 800 + bumpMap = BUILTIN/quiet + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + displacement = 0.05 + texDisplacement = 0.31 + dispFreq = 0.15 + mix = 0.4032745 + oceanOpacity = 0.3 + falloffPower = 3 + falloffExp = 0.05 + fogColor = 0.321443439,0.611232221,0.947761178,1 + heightFallOff = 0.2 + globalDensity = -8E-06 + atmosphereDepth = 50000 + fogColorRamp = BUILTIN/blue_atmogradient + fogColorRampScale = 1,1 + fogColorRampOffset = 0,0 + fadeStart = 20000 + fadeEnd = 60000 + planetOpacity = 1 + normalXYFudge = 1.4 + normalZFudge = 1.18 + } + FallbackMaterial + { + color = 0.336603671,0.378080368,0.447761178,1 + colorFromSpace = 0.116878122,0.126456618,0.156862751,1 + specColor = 0.8493402,0.8493402,0.8493402,1 + shininess = 1 + gloss = 0.3336538 + tiling = 1000 + waterTex = BUILTIN/sea-water1 + waterTexScale = 1,1 + waterTexOffset = 0,0 + waterTex1 = BUILTIN/sea-water2 + waterTex1Scale = 1,1 + waterTex1Offset = 0,0 + fadeStart = 20000 + fadeEnd = 60000 + planetOpacity = 1 + } + Fog + { + afgAltMult = 0.05 + afgBase = 0.6 + afgLerp = False + afgMin = 0.05 + fogColorEnd = 0,0.0850000009,0.122500002,1 + fogColorStart = 0,0.340000004,0.49000001,1 + fogDensityAltScalar = -0.0008 + fogDensityEnd = 0.025 + fogDensityExponent = 1 + fogDensityPQSMult = 0.02 + fogDensityStart = 0.005 + skyColorMult = 1.1 + skyColorOpacityAltMult = 15 + skyColorOpacityBase = 0.25 + sunAltMult = 0.01 + sunBase = 0.5 + sunMin = 0.05 + useFog = True + } + Mods + { + AerialPerspectiveMaterial + { + atmosphereDepth = 5000 + DEBUG_SetEveryFrame = False + globalDensity = -7.5E-06 + heightFalloff = 0.2 + oceanDepth = 0 order = 100 enabled = True + name = _Material_AerialPerspective + index = -1 + } + RemoveQuadMap + { + map = BUILTIN/oceanmoon_height + deformity = 0 + maxHeight = 0.5 + minHeight = 0 + order = 1000 + enabled = True + name = QuadRemoveMap + index = -1 + } + OceanFX + { + angle = 0 + blendA = 0 + blendB = 0 + framesPerSecond = 10 + oceanOpacity = 0 + spaceAltitude = 0 + spaceSurfaceBlend = 0 + specColor = 0,0,0,0 + texBlend = 0 + txIndex = 0 + order = 100 + enabled = True + name = OceanFX + index = -1 + Watermain + { + waterTex-0 = BUILTIN/sea-water1 + waterTex-1 = BUILTIN/sea-water2 + waterTex-2 = BUILTIN/sea-water3 + waterTex-3 = BUILTIN/sea-water4 + waterTex-4 = BUILTIN/sea-water5 + waterTex-5 = BUILTIN/sea-water6 + waterTex-6 = BUILTIN/sea-water7 + waterTex-7 = BUILTIN/sea-water8 + waterTex-0 = BUILTIN/sea-water1 + } } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Minmus.cfg b/[KittopiaExports]/Minmus.cfg similarity index 85% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Minmus.cfg rename to [KittopiaExports]/Minmus.cfg index da0b567..8ccda81 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Minmus.cfg +++ b/[KittopiaExports]/Minmus.cfg @@ -9,8 +9,8 @@ { description = Minmus is the smallest moon orbiting Kerbin. From the surface of Kerbin, it can be seen on clear days as a tiny blue speck in the sky. It is often mistaken as dirt on telescope lenses or dead pixels, but the top minds at the Kerbal Astronomical Society assure us it is a real moon nevertheless. radius = 60000 - geeASL = 0.0500000007450581 - mass = 2.64578967083079E+19 + geeASL = 0.05001708099188 + mass = 2.64575795662095E+19 gravParameter = 1765800026.31247 rotates = True rotationPeriod = 40400 @@ -21,68 +21,73 @@ emissivity = 0.7 coreTemperatureOffset = 1 isHomeWorld = False - timewarpAltitudeLimits = 0,3000,3000,6000,12000,24000,48000,60000 + timewarpAltitudeLimits = 0 3000 3000 6000 12000 24000 48000 60000 sphereOfInfluence = 2247428.3879023 hillSphere = 3730392.49065433 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/minmus_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Highlands value = 0 - color = 0.254902,0.2941177,0.254902,1 + color = 0.380392164,0.513725519,0.509803951,1 } Biome { name = Midlands value = 0 - color = 0.5215687,0.7176471,0.6392157,1 + color = 0.529411793,0.670588255,0.615686297,1 } Biome { name = Lowlands value = 0 - color = 0.7372549,0.8941177,0.7568628,1 + color = 0.690196097,0.882352948,0.807843149,1 } Biome { name = Flats value = 0 - color = 0.1960784,0.2745098,0.3529412,1 + color = 0.752941191,1,0.905882359,1 } Biome { name = Great Flats value = 0 - color = 0.3411765,0.5450981,0,1 + color = 0.411764711,0.760784328,0.737254918,1 } Biome { name = Greater Flats value = 0 - color = 0.3529412,0.1372549,0.4156863,1 + color = 0.647058845,0.843137264,0.850980401,1 } Biome { name = Lesser Flats value = 0 - color = 0.9960784,0,0,1 + color = 0.545098066,0.831372559,0.811764717,1 } Biome { name = Poles value = 0 - color = 0,0.3529412,0.9960784,1 + color = 1,1,1,1 } Biome { name = Slopes value = 0 - color = 0.572549,0.3490196,0.3921569,1 + color = 0.600000024,0.800000012,0.733333349,1 } } ScienceValues @@ -109,8 +114,8 @@ meanAnomalyAtEpoch = 0.899999976158142 meanAnomalyAtEpochD = 51.5662001957363 epoch = 0 - color = 0.28182,0.2276048,0.3137255,0.5764706 - cameraSmaRatioBounds = 0.12,12 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -121,13 +126,25 @@ deferMesh = False Material { - color = 0.6343284,0.6343284,0.6343284,1 - specular = 0.119403,0.119403,0.119403,1 + color = 0.634328365,0.634328365,0.634328365,1 + specColor = 0.119403005,0.119403005,0.119403005,1 shininess = 0.03 texture = BUILTIN/NewMunSurfaceMap00 + mainTex = BUILTIN/NewMunSurfaceMap00 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/NewMunSurfaceMap01 + bumpMap = BUILTIN/NewMunSurfaceMap01 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -137,6 +154,7 @@ fadeStart = 140000 fadeEnd = 145000 deactivateAltitude = 180000 + mapMaxHeight = 4000 Material { saturation = 1 @@ -216,12 +234,9 @@ { bounceCombine = Average frictionCombine = Maximum - frictionDirection2 = 0,0,0 bounciness = 0 staticFriction = 0.8 - staticFriction2 = 0 dynamicFriction = 0.6 - dynamicFriction2 = 0 } Mods { @@ -231,6 +246,8 @@ invert = False order = 999999999 enabled = True + name = _Material_ModProjection + index = 0 } VertexPlanet { @@ -250,6 +267,8 @@ terrainSmoothing = 0.100000001490116 order = 100 enabled = True + name = VertexPlanet + index = 0 ContinentalSimplex { deformity = 1 @@ -295,8 +314,8 @@ Class { name = AbyPl - baseColor = 0.5292938,0.7164179,0.6425532,1 - colorNoise = 0.4923145,0.7761194,0.6640912,1 + baseColor = 0.529293835,0.716417909,0.642553151,1 + colorNoise = 0.492314547,0.776119411,0.664091229,1 colorNoiseAmount = 0.200000002980232 fractalEnd = 0.00100000004749745 fractalStart = 0 @@ -317,8 +336,8 @@ Class { name = Beach - baseColor = 0.6255291,0.7761194,0.7192531,1 - colorNoise = 0.3324237,0.3507463,0.3330643,1 + baseColor = 0.625529051,0.776119411,0.719253123,1 + colorNoise = 0.332423717,0.350746274,0.333064348,1 colorNoiseAmount = 0.200000002980232 fractalEnd = 0.449999988079071 fractalStart = 0.00100000004749745 @@ -339,8 +358,8 @@ Class { name = Grass - baseColor = 0.7109044,0.8283582,0.7150112,1 - colorNoise = 0.5,0.5,0.4253731,1 + baseColor = 0.710904419,0.828358173,0.715011179,1 + colorNoise = 0.5,0.5,0.425373137,1 colorNoiseAmount = 0.300000011920929 fractalEnd = 0.899999976158142 fractalStart = 0.449999988079071 @@ -361,8 +380,8 @@ Class { name = Snow - baseColor = 0.2506126,0.3358209,0.2786182,1 - colorNoise = 0.4302156,0.4328358,0.3391624,1 + baseColor = 0.250612617,0.335820913,0.278618157,1 + colorNoise = 0.430215567,0.432835817,0.339162409,1 colorNoiseAmount = 0.400000005960464 fractalEnd = 2 fractalStart = 0.899999976158142 @@ -405,6 +424,8 @@ vHeightMax = 10000 order = 999999 enabled = True + name = Scatter + index = 0 altitudeSimplex { frequency = 1 @@ -524,7 +545,7 @@ mainTex = BUILTIN/rock00 mainTexScale = 1,1 mainTexOffset = 0,0 - color = 1,1,1,0.6862745 + color = 0.227201387,0.286764681,0.219290644,0.686274529 diff = 0.6 } Experiment diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Moho.cfg b/[KittopiaExports]/Moho.cfg similarity index 81% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Moho.cfg rename to [KittopiaExports]/Moho.cfg index ca092fd..f3a404b 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Moho.cfg +++ b/[KittopiaExports]/Moho.cfg @@ -9,8 +9,8 @@ { description = Moho figures in Kerbal mythology as a fiery place with oceans of flowing lava. In reality however, it’s much less interesting. Scientists speculate about possible ways to make it “awesome like in the stories”. Some of those ideas have led to new breakthroughs in aerospace technology. radius = 250000 - geeASL = 0.275000005960464 - mass = 2.52636168196748E+21 + geeASL = 0.275093947318621 + mass = 2.52633139930162E+21 gravParameter = 168609378654.509 rotates = True rotationPeriod = 1210000 @@ -21,38 +21,43 @@ emissivity = 0.9 coreTemperatureOffset = 0 isHomeWorld = False - timewarpAltitudeLimits = 0,10000,10000,30000,50000,100000,200000,300000 - sphereOfInfluence = 9646663.0233281 + timewarpAltitudeLimits = 0 10000 10000 30000 50000 100000 200000 300000 + sphereOfInfluence = 9646663.02332811 hillSphere = 22060314.8155466 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/moho_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = North Pole value = 0 - color = 1,0.682353,0,1 + color = 1,0.68235296,0,1 } Biome { name = Northern Sinkhole Ridge value = 0 - color = 1,0,0.4705882,1 + color = 1,0,0.470588237,1 } Biome { name = Northern Sinkhole value = 0 - color = 1,0.9176471,0,1 + color = 1,0.917647064,0,1 } Biome { name = Midlands value = 0 - color = 0.3882353,0.2627451,0.07843138,1 + color = 0.388235301,0.262745112,0.0784313753,1 } Biome { @@ -64,43 +69,43 @@ { name = Central Lowlands value = 0 - color = 0,1,0.04705882,1 + color = 0,1,0.0470588244,1 } Biome { name = Highlands value = 0 - color = 0.1372549,0.3921569,0.1686275,1 + color = 0.137254909,0.392156869,0.168627456,1 } Biome { name = Minor Craters value = 0 - color = 0.4980392,0.7058824,0,1 + color = 0.498039216,0.70588237,0,1 } Biome { name = South Western Lowlands value = 0 - color = 0,1,0.9411765,1 + color = 0,1,0.941176474,1 } Biome { name = South Eastern Lowlands value = 0 - color = 0.04705882,0,1,1 + color = 0.0470588244,0,1,1 } Biome { name = Canyon value = 0 - color = 0.9764706,0.6392157,0.6392157,1 + color = 0.97647059,0.639215708,0.639215708,1 } Biome { name = South Pole value = 0 - color = 0.9882353,0,1,1 + color = 0.988235295,0,1,1 } } ScienceValues @@ -127,8 +132,8 @@ meanAnomalyAtEpoch = 3.14000010490417 meanAnomalyAtEpochD = 179.908753681645 epoch = 0 - color = 0.4705882,0.3607843,0.2705882,0.5490196 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -140,12 +145,24 @@ Material { color = 1,1,1,1 - specular = 0,0,0,1 + specColor = 0,0,0,1 shininess = 0.03 texture = BUILTIN/moho00 + mainTex = BUILTIN/moho00 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/moho01 + bumpMap = BUILTIN/moho01 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -155,6 +172,7 @@ fadeStart = 100000 fadeEnd = 110000 deactivateAltitude = 115000 + mapMaxHeight = 8000 Material { saturation = 1 @@ -234,19 +252,16 @@ { bounceCombine = Average frictionCombine = Maximum - frictionDirection2 = 0,0,0 bounciness = 0 staticFriction = 0.8 - staticFriction2 = 0 dynamicFriction = 0.6 - dynamicFriction2 = 0 } Mods { VertexSimplexNoiseColor { blend = 1 - colorStart = 0.7238806,0.7238806,0.7238806,1 + colorStart = 0.723880589,0.723880589,0.723880589,1 colorEnd = 0,0,0,1 frequency = 2 octaves = 12 @@ -254,12 +269,16 @@ seed = 346434 order = 200 enabled = True + name = _Color + index = 0 } HeightColorMap { blend = 0.75 order = 201 enabled = True + name = _Color + index = 0 LandClasses { Class @@ -274,7 +293,7 @@ Class { name = Beach - color = 0.3283582,0.2550166,0.2055109,1 + color = 0.328358233,0.255016565,0.205510929,1 altitudeStart = 0.400000005960464 altitudeEnd = 1 lerpToNext = False @@ -288,18 +307,20 @@ invert = False order = 999999999 enabled = True + name = _Material_ModProjection + index = 0 } AerialPerspectiveMaterial { atmosphereDepth = 150000 - cameraAlt = 0 - cameraAtmosAlt = 0 DEBUG_SetEveryFrame = True globalDensity = -1E-05 - heightDensAtViewer = 0 heightFalloff = 6.75 + oceanDepth = 0 order = 100 enabled = True + name = _Material_AerialPerspective + index = 0 } VertexHeightMap { @@ -309,6 +330,8 @@ scaleDeformityByRadius = False order = 20 enabled = True + name = _HeightNoise + index = 0 } VertexSimplexHeight { @@ -319,12 +342,16 @@ seed = 456574 order = 21 enabled = True + name = _HeightNoise + index = 0 } FlattenOcean { oceanRadius = 1 order = 22 enabled = True + name = _HeightNoise + index = 0 } VertexHeightNoiseVertHeightCurve2 { @@ -346,6 +373,8 @@ simplexSeed = 453452378 order = 23 enabled = True + name = _HeightNoise + index = 0 simplexCurve { key = 0 0 0 0 @@ -362,6 +391,8 @@ seed = 435345 order = 30 enabled = True + name = _FineDetail + index = 0 } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Mun.cfg b/[KittopiaExports]/Mun.cfg similarity index 83% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Mun.cfg rename to [KittopiaExports]/Mun.cfg index 3436b1e..1a0e99e 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Mun.cfg +++ b/[KittopiaExports]/Mun.cfg @@ -9,8 +9,8 @@ { description = The Mun, is a large satellite orbiting Kerbin. It is mostly gray in appearance, with craters of various sizes dotting its otherwise smooth surface.The Mun’s discovery is widely regarded as one of the more important breakthroughs of Kerbal evolution. Granted, it didn’t happen all that long ago, but it’s still fair to say Kerbals are wiser and more evolved now than they were back then. radius = 200000 - geeASL = 0.165999993681908 - mass = 9.76002360215474E+20 + geeASL = 0.166056700098353 + mass = 9.7599066119646E+20 gravParameter = 65138397520.7807 rotates = True rotationPeriod = 138984.376574476 @@ -21,104 +21,121 @@ emissivity = 0.9 coreTemperatureOffset = 5 isHomeWorld = False - timewarpAltitudeLimits = 0,5000,5000,10000,25000,50000,100000,200000 + timewarpAltitudeLimits = 0 5000 5000 10000 25000 50000 100000 200000 sphereOfInfluence = 2429559.11656475 hillSphere = 3170563.33757116 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/mun_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = True + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Midlands value = 0 - color = 0.4392157,0.4392157,0.4392157,1 + color = 0.36470589,0.458823532,0.509803951,1 } Biome { name = Northern Basin value = 0 - color = 0.3882353,0.01176471,0.3960784,1 + color = 0.423529416,0.458823532,0.576470613,1 } Biome { name = East Crater value = 0 - color = 0,0.9960784,0.3294118,1 + color = 0.580392182,0.627451003,0.796078444,1 } Biome { name = Northwest Crater value = 0 - color = 0.6941177,0.427451,0.1137255,1 + color = 0.407843143,0.474509805,0.694117665,1 } Biome { name = Southwest Crater value = 0 - color = 0.772549,0.9960784,0,1 + color = 0.65882355,0.678431392,0.737254918,1 } Biome { name = Farside Crater value = 0 - color = 0.9843137,0,0.9960784,1 + color = 0.56078434,0.647058845,0.90196079,1 } Biome { name = Canyons value = 0 - color = 0.6627451,0.6235294,0,1 + color = 0.325490206,0.368627459,0.521568656,1 } Biome { name = Polar Crater value = 0 - color = 0.9960784,0,0,1 + color = 0.603921592,0.647058845,0.670588255,1 } Biome { name = Poles value = 0 - color = 0.4,0.9764706,0.9960784,1 + color = 0.917647064,0.925490201,0.929411769,1 } Biome { name = Polar Lowlands value = 0 - color = 0.3215686,0.7803922,0.7960784,1 + color = 0.811764717,0.827450991,0.839215696,1 } Biome { name = Highlands value = 0 - color = 0.9960784,0.9960784,0.9960784,1 + color = 0.450980395,0.53725493,0.58431375,1 } Biome { name = Highland Craters value = 0 - color = 0.6784314,0.3843137,0.7333333,1 + color = 0.694117665,0.733333349,0.870588243,1 } Biome { name = Midland Craters value = 0 - color = 0.1058824,0.1058824,0.1058824,1 + color = 0.164705887,0.247058824,0.294117659,1 } Biome { name = East Farside Crater value = 0 - color = 0.1176471,0.007843138,1,1 + color = 0.603921592,0.611764729,0.917647064,1 } Biome { name = Twin Craters value = 0 - color = 1,0.5647059,0,1 + color = 0.678431392,0.745098054,0.945098042,1 + } + Biome + { + name = Lowlands + value = 0 + color = 0.254901975,0.356862754,0.41568628,1 + } + Biome + { + name = Farside Basin + value = 0 + color = 0.529411793,0.556862772,0.639215708,1 } } ScienceValues @@ -145,8 +162,8 @@ meanAnomalyAtEpoch = 1.70000004768372 meanAnomalyAtEpochD = 97.4028279043159 epoch = 0 - color = 0.5233987,0.5426883,0.6039216,1 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -157,13 +174,25 @@ deferMesh = False Material { - color = 0.7238806,0.7346848,0.7346848,1 - specular = 0,0,0,1 + color = 0.723880589,0.734684765,0.734684765,1 + specColor = 0,0,0,1 shininess = 0.03 texture = BUILTIN/NewMunSurfaceMapDiffuse + mainTex = BUILTIN/NewMunSurfaceMapDiffuse + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/NewMunSurfaceMapNormals + bumpMap = BUILTIN/NewMunSurfaceMapNormals + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -173,6 +202,7 @@ fadeStart = 60000 fadeEnd = 120000 deactivateAltitude = 120750 + mapMaxHeight = 9000 Material { saturation = 1 @@ -196,13 +226,8 @@ lowTex = BUILTIN/RockyGround lowTexScale = 1,1 lowTexOffset = 0,0 - lowBumpMap = BUILTIN/RockyGround2 - lowBumpMapScale = 1,1 - lowBumpMapOffset = 0,0 lowNearTiling = 1200 lowMultiFactor = 5 - lowBumpNearTiling = 1200 - lowBumpFarTiling = 5 midTex = BUILTIN/RockyGround midTexScale = 1,1 midTexOffset = 0,0 @@ -212,17 +237,11 @@ midNearTiling = 1000 midMultiFactor = 4 midBumpNearTiling = 1000 - midBumpFarTiling = 4 highTex = BUILTIN/RockyGround highTexScale = 1,1 highTexOffset = 0,0 - highBumpMap = BUILTIN/RockyGround2 - highBumpMapScale = 1,1 - highBumpMapOffset = 0,0 highNearTiling = 800 highMultiFactor = 3 - highBumpNearTiling = 800 - highBumpFarTiling = 3 lowStart = 0.2 lowEnd = 0.4 highStart = 0.6 @@ -231,6 +250,7 @@ fogColorRampScale = 1,1 fogColorRampOffset = 0,0 planetOpacity = 1 + oceanFogDistance = 1000 } FallbackMaterial { @@ -248,9 +268,6 @@ mainTexOffset = 0,0 planetOpacity = 1 } - PhysicsMaterial - { - } Mods { VertexColorMap @@ -258,6 +275,8 @@ map = BUILTIN/munColorMap2 order = 10 enabled = True + name = _Color + index = 0 } VertexHeightMap { @@ -267,6 +286,8 @@ scaleDeformityByRadius = False order = 10 enabled = True + name = _Height + index = 0 } AltitudeAlpha { @@ -274,6 +295,8 @@ invert = False order = 999999999 enabled = True + name = _Material_ModProjection + index = 0 } LandControl { @@ -298,6 +321,8 @@ vHeightMax = 10000 order = 999999 enabled = True + name = Scatter + index = 0 altitudeSimplex { frequency = 1 @@ -414,7 +439,7 @@ science = False Material { - color = 0.6791044,0.6791044,0.6791044,1 + color = 0.679104447,0.679104447,0.679104447,1 mainTex = BUILTIN/lunar cliff face mainTexScale = 1,1 mainTexOffset = 0,0 @@ -436,6 +461,8 @@ smoothStart = 0 order = 100 enabled = True + name = Monolith02 + index = 0 } FlattenArea { @@ -448,6 +475,8 @@ smoothStart = 0 order = 100 enabled = True + name = Monolith01 + index = 0 } VertexSimplexNoiseColor { @@ -460,6 +489,8 @@ seed = 0 order = 200 enabled = True + name = _ColorNoise + index = 0 } VertexSimplexHeight { @@ -470,6 +501,8 @@ seed = 2211221 order = 102 enabled = True + name = _HeightNoise + index = 0 } VertexHeightNoiseVertHeight { @@ -481,8 +514,12 @@ persistance = 0.5 seed = 1283704385 mode = Low + noiseType = Perlin + lacunarity = 2 order = 103 enabled = True + name = _HeightNoise + index = 0 } VoronoiCraters { @@ -502,6 +539,8 @@ voronoiSeed = 824 order = 101 enabled = True + name = _HeightNoise + index = 0 CraterCurve { key = -0.9982381 -0.7411783 -0.06500059 -0.06500059 @@ -543,6 +582,8 @@ voronoiSeed = 462 order = 100 enabled = True + name = _HeightNoise + index = 1 CraterCurve { key = -0.9963056 -0.7950293 -0.1902251 -0.1902251 diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Pol.cfg b/[KittopiaExports]/Pol.cfg similarity index 85% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Pol.cfg rename to [KittopiaExports]/Pol.cfg index 9ae9ced..cbe6222 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Pol.cfg +++ b/[KittopiaExports]/Pol.cfg @@ -1,5 +1,4 @@ // KittopiaTech - a Kopernicus Visual Editor -// REMOVED VertexHeightOffset AND REPLACED WITH FixedOffset @Kopernicus:NEEDS[!Kopernicus] { @@ -10,8 +9,8 @@ { description = This moon was especially hard to spot, as it looks just like a pollen grain, particularly when observed through telescopes based near dusty fields.Pol was finally discovered when someone decided to write down the location of the pollen, after having given up on yet another failed attempt to be rid of the smudge. radius = 44000 - geeASL = 0.038 - mass = 1.08136362001798E+19 + geeASL = 0.0380129809873912 + mass = 1.08135065806823E+19 gravParameter = 721702080 rotates = True rotationPeriod = 901902.623531173 @@ -22,38 +21,43 @@ emissivity = 0.5 coreTemperatureOffset = 7 isHomeWorld = False - timewarpAltitudeLimits = 0,5000,5000,5000,8000,12000,30000,90000 + timewarpAltitudeLimits = 0 5000 5000 5000 8000 12000 30000 90000 sphereOfInfluence = 1042138.89230178 hillSphere = 2038945.47430365 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/pol_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Poles value = 0 - color = 0.09411765,1,0,1 + color = 1,0.952941179,0.772549033,1 } Biome { name = Lowlands value = 0 - color = 1,0.6352941,0,1 + color = 0.713725507,0.647058845,0.407843143,1 } Biome { name = Highlands value = 0 - color = 1,0,0,1 + color = 0.960784316,0.894117653,0.639215708,1 } Biome { name = Midlands value = 0 - color = 0,0.1882353,1,1 + color = 0.831372559,0.75686276,0.478431374,1 } } ScienceValues @@ -80,8 +84,8 @@ meanAnomalyAtEpoch = 0.899999976158142 meanAnomalyAtEpochD = 51.5662001957363 epoch = 0 - color = 0.4347174,0.4477612,0.3385198,0.5764706 - cameraSmaRatioBounds = 0.12,12 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -93,12 +97,24 @@ Material { color = 1,1,1,1 - specular = 0,0,0,1 + specColor = 0,0,0,1 shininess = 0.078125 texture = BUILTIN/gp1minormoon200 + mainTex = BUILTIN/gp1minormoon200 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/gp1minormoon201 + bumpMap = BUILTIN/gp1minormoon201 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -108,6 +124,7 @@ fadeStart = 135000 fadeEnd = 140000 deactivateAltitude = 180000 + mapMaxHeight = 6000 Material { saturation = 1 @@ -183,9 +200,6 @@ mainTexOffset = 0,0 planetOpacity = 1 } - PhysicsMaterial - { - } Mods { VertexSimplexHeightAbsolute @@ -197,6 +211,8 @@ seed = 2312 order = 20 enabled = True + name = _Height + index = 0 } VertexHeightNoise { @@ -210,12 +226,16 @@ lacunarity = 2.5 order = 10 enabled = True + name = _Height + index = 0 } FlattenOcean { oceanRadius = 1 order = 11 enabled = True + name = _Height + index = 0 } VertexSimplexHeightAbsolute { @@ -226,6 +246,16 @@ seed = 5645667 order = 21 enabled = True + name = _Height + index = 1 + } + VertexHeightOffset + { + offset = -700 + order = 80 + enabled = True + name = _Height + index = 0 } AltitudeAlpha { @@ -233,24 +263,30 @@ invert = False order = 999999999 enabled = True + name = _Material_ModProjection + index = 0 } VertexSimplexNoiseColor { blend = 1 - colorStart = 0.9253731,0.8996817,0.4950422,1 - colorEnd = 0.1398601,0.1437858,0.1492537,1 + colorStart = 0.925373137,0.899681747,0.495042235,1 + colorEnd = 0.139860123,0.143785819,0.149253726,1 frequency = 4 octaves = 8 persistence = 0.5 seed = 9674345 order = 40 enabled = True + name = _Color + index = 0 } HeightColorMap { blend = 0.5 order = 41 enabled = True + name = _Color + index = 0 LandClasses { Class @@ -265,7 +301,7 @@ Class { name = Beach - color = 0.6567164,0.4588995,0.401837,1 + color = 0.656716406,0.458899528,0.401836962,1 altitudeStart = 0.600000023841858 altitudeEnd = 0.850000023841858 lerpToNext = True @@ -274,7 +310,7 @@ Class { name = Grass - color = 0.477612,0.477612,0.477612,1 + color = 0.477611959,0.477611959,0.477611959,1 altitudeStart = 0.850000023841858 altitudeEnd = 1 lerpToNext = False @@ -305,6 +341,8 @@ vHeightMax = 10000 order = 999999 enabled = True + name = Scatter + index = 0 altitudeSimplex { frequency = 1 @@ -426,7 +464,7 @@ science = False Material { - color = 0.6641791,0.6319441,0.4482048,1 + color = 0.664179087,0.63194412,0.448204786,1 mainTex = BUILTIN/distantground mainTexScale = 0.5,0.5 mainTexOffset = 0,0 @@ -460,7 +498,7 @@ science = False Material { - color = 0.6641791,0.6319441,0.4482048,1 + color = 0.664179087,0.63194412,0.448204786,1 mainTex = BUILTIN/distantground mainTexScale = 0.5,0.5 mainTexOffset = 0,0 diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Sun.cfg b/[KittopiaExports]/Sun.cfg similarity index 84% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Sun.cfg rename to [KittopiaExports]/Sun.cfg index 976daaf..26094b7 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Sun.cfg +++ b/[KittopiaExports]/Sun.cfg @@ -21,12 +21,17 @@ emissivity = 0 coreTemperatureOffset = 0 isHomeWorld = False - timewarpAltitudeLimits = 0,3270000,3270000,6540000,1.308E+07,2.616E+07,5.232E+07,6.54E+07 + timewarpAltitudeLimits = 0 3270000 3270000 6540000 1.308E+07 2.616E+07 5.232E+07 6.54E+07 sphereOfInfluence = Infinity hillSphere = Infinity solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 + nonExactThreshold = 0.05 + exactSearch = False useTheInName = True + selectable = True + hiddenRnD = False ScienceValues { landedDataValue = 1 @@ -90,12 +95,17 @@ { key = 0 0 0 0 } + temperatureAxialSunBiasCurve + { + key = 0 0 0 0 + } temperatureAxialSunMultCurve { key = 0 0 0 0 } - AtmosphereFromGround + temperatureEccentricityBiasCurve { + key = 0 0 0 0 } } ScaledVersion @@ -107,10 +117,17 @@ deferMesh = False Material { + rampMap = BUILTIN/ + rampMapScale = 1,1 + rampMapOffset = 0,0 noiseMap = BUILTIN/sunnoisenew + noiseMapScale = 1,1 + noiseMapOffset = 0,0 emitColor0 = 1,0.8160422,0.5069931,1 emitColor1 = 0.9253731,0.7731564,0.2879657,1 - sunspotTexture = BUILTIN/sunsurfacenew + sunspotTex = BUILTIN/sunsurfacenew + sunspotTexScale = 1,1 + sunspotTexOffset = 0,0 sunspotPower = 1 sunspotColor = 0.2835821,0.1267107,0.02082244,1 rimColor = 1,0.8633754,0.5839161,1 @@ -120,18 +137,19 @@ Light { sunlightColor = 1,1,1,1 - sunlightIntensity = 0.45 + sunlightIntensity = 0.9 sunlightShadowStrength = 0.7523364 scaledSunlightColor = 1,1,1,1 - scaledSunlightIntensity = 0.45 + scaledSunlightIntensity = 0.9 IVASunColor = 1,0.977,0.896,1 - IVASunIntensity = 0.34 + IVASunIntensity = 0.8099999 ambientLightColor = 0.06,0.06,0.06,1 sunLensFlareColor = 1,1,1,1 givesOffLight = True sunAU = 13599840256 luminosity = 1360 insolation = 0.15 + radiationFactor = 1 brightnessCurve { key = -0.01573471 0.217353 1.706627 1.706627 @@ -161,5 +179,8 @@ } } } + Particles + { + } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Tylo.cfg b/[KittopiaExports]/Tylo.cfg similarity index 83% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Tylo.cfg rename to [KittopiaExports]/Tylo.cfg index fb69450..6d92dff 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Tylo.cfg +++ b/[KittopiaExports]/Tylo.cfg @@ -9,8 +9,8 @@ { description = Tylo was the first moon of Jool to be discovered by the Kerbal Astronomical Society. After many failed attempts to take a flawless picture of Jool to hang on the office walls, it was finally discovered that the wandering white smear was indeed a moon.Scientists speculate that the view from the surface with Laythe, Vall and Jool overhead must be “quite something”. radius = 600000 - geeASL = 0.800000011920929 - mass = 4.23326347332927E+22 + geeASL = 0.800273295870079 + mass = 4.23321273059351E+22 gravParameter = 2825280042099.95 rotates = True rotationPeriod = 211926.35802123 @@ -21,62 +21,73 @@ emissivity = 0.9 coreTemperatureOffset = 20 isHomeWorld = False - timewarpAltitudeLimits = 0,30000,30000,60000,120000,240000,480000,600000 + timewarpAltitudeLimits = 0 30000 30000 60000 120000 240000 480000 600000 sphereOfInfluence = 10856518.3683586 hillSphere = 14757877.6267184 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/tylo_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Midlands value = 0 - color = 0.9960784,0.003921569,0.9607843,1 + color = 0.701960802,0.639215708,0.603921592,1 } Biome { name = Highlands value = 0 - color = 0.145098,0.9960784,0.003921569,1 + color = 0.792156875,0.733333349,0.701960802,1 } Biome { name = Lowlands value = 0 - color = 0.9960784,0.003921569,0.003921569,1 + color = 0.619607866,0.556862772,0.517647088,1 } Biome { name = Mara value = 0 - color = 0,0.9921569,0.9098039,1 + color = 0.53725493,0.474509805,0.435294122,1 } Biome { name = Minor Craters value = 0 - color = 0.03529412,0.7254902,0.1490196,1 + color = 0.447058827,0.388235301,0.352941185,1 } Biome { - name = Major Crater + name = Tycho Crater value = 0 - color = 0.9960784,0.9607843,0.003921569,1 + color = 0.827450991,0.643137276,0.533333361,1 } Biome { - name = Major Crater + name = Galileio Crater value = 0 - color = 0.9921569,0.5411765,0.003921569,1 + color = 0.741176486,0.541176498,0.423529416,1 } Biome { - name = Major Crater + name = Grissom Crater value = 0 - color = 0.003921569,0.003921569,0.9960784,1 + color = 0.741176486,0.541176498,0.423529416,1 + } + Biome + { + name = Gagarin Crater + value = 0 + color = 0.58431375,0.388235301,0.274509817,1 } } ScienceValues @@ -103,8 +114,8 @@ meanAnomalyAtEpoch = 3.14000010490417 meanAnomalyAtEpochD = 179.908753681645 epoch = 0 - color = 0.8283582,0.6690585,0.6690585,1 - cameraSmaRatioBounds = 0.03,25 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -116,12 +127,24 @@ Material { color = 1,1,1,1 - specular = 0,0,0,1 + specColor = 0,0,0,1 shininess = 0.078125 texture = BUILTIN/rockyMoon00 + mainTex = BUILTIN/rockyMoon00 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/rockyMoon01 + bumpMap = BUILTIN/rockyMoon01 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -131,6 +154,7 @@ fadeStart = 100000 fadeEnd = 125000 deactivateAltitude = 330000 + mapMaxHeight = 16000 Material { saturation = 1 @@ -206,9 +230,6 @@ mainTexOffset = 0,0 planetOpacity = 1 } - PhysicsMaterial - { - } Mods { VertexSimplexHeightAbsolute @@ -220,6 +241,8 @@ seed = 4447895 order = 50 enabled = True + name = _Height + index = 0 } VertexSimplexHeight { @@ -230,6 +253,8 @@ seed = 98374 order = 59 enabled = True + name = _Height + index = 0 } VertexHeightMap { @@ -239,12 +264,16 @@ scaleDeformityByRadius = False order = 49 enabled = True + name = _Height + index = 0 } FlattenOcean { oceanRadius = 1 order = 60 enabled = True + name = _Height + index = 0 } VertexHeightNoiseVertHeightCurve2 { @@ -266,6 +295,8 @@ simplexSeed = 1909396195 order = 100 enabled = True + name = _Height + index = 0 simplexCurve { key = 0 0 0 0 @@ -278,18 +309,22 @@ invert = False order = 999999999 enabled = False + name = _Material_ModProjection + index = 0 } HeightColorMap { blend = 0.4 order = 201 enabled = True + name = _Color + index = 0 LandClasses { Class { name = AbyPl - color = 0.08955222,0.08183172,0.07107817,1 + color = 0.0895522237,0.0818317235,0.0710781664,1 altitudeStart = 0 altitudeEnd = 0.100000001490116 lerpToNext = True @@ -298,7 +333,7 @@ Class { name = Beach - color = 0.1865672,0.1754775,0.1754775,1 + color = 0.186567187,0.175477535,0.175477535,1 altitudeStart = 0.100000001490116 altitudeEnd = 0.699999988079071 lerpToNext = True @@ -307,7 +342,7 @@ Class { name = Beach - color = 0.7611941,0.7159483,0.7159483,1 + color = 0.76119405,0.715948284,0.715948284,1 altitudeStart = 0.699999988079071 altitudeEnd = 1 lerpToNext = False @@ -320,6 +355,8 @@ map = BUILTIN/rockymoon_color order = 200 enabled = True + name = _Color + index = 0 } LandControl { @@ -344,6 +381,8 @@ vHeightMax = 10000 order = 999999 enabled = True + name = Scatter + index = 0 altitudeSimplex { frequency = 1 @@ -460,7 +499,7 @@ science = False Material { - color = 0.6791044,0.6791044,0.6791044,1 + color = 0.679104447,0.679104447,0.679104447,1 mainTex = BUILTIN/lunar cliff face mainTexScale = 1,1 mainTexOffset = 0,0 @@ -480,7 +519,7 @@ DEBUG_HighlightInclusion = False heightMap = BUILTIN/saganface heightMapDeformity = 50 - position = 569917.4,-94669.8,181300.9 + position = 569917.375,-94669.7969,181300.906 removeScatter = True radius = 6000 smoothColor = 0 @@ -488,6 +527,8 @@ useAlphaHeightSmoothing = False order = 200 enabled = True + name = Sagan + index = 0 } } } diff --git a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Vall.cfg b/[KittopiaExports]/Vall.cfg similarity index 81% rename from GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Vall.cfg rename to [KittopiaExports]/Vall.cfg index 1965570..c9f42ce 100644 --- a/GameData/Sigma/Dimensions/Configs/Bodies/KittopiaExports/Vall.cfg +++ b/[KittopiaExports]/Vall.cfg @@ -9,8 +9,8 @@ { description = Vall was one of the last Moons of Jool to be discovered. Frustrated scientists kept attempting to wipe it off the lenses of their telescopes. Eventually after a rash of returned telescopes, Advanced Optics Co. finally decided to just tell them it was an actual object in the sky. radius = 300000 - geeASL = 0.234999999403954 - mass = 3.10880280901635E+21 + geeASL = 0.235080276562617 + mass = 3.10876554482042E+21 gravParameter = 207481499473.751 rotates = True rotationPeriod = 105962.088893924 @@ -21,38 +21,73 @@ emissivity = 0.7 coreTemperatureOffset = 40 isHomeWorld = False - timewarpAltitudeLimits = 0,24500,24500,24500,40000,60000,80000,100000 + timewarpAltitudeLimits = 0 24500 24500 24500 40000 60000 80000 100000 sphereOfInfluence = 2406401.44479404 - hillSphere = 3893201.55262435 + hillSphere = 3893201.55262436 solarRotationPeriod = False navballSwitchRadiusMult = 0.06 + navballSwitchRadiusMultLow = 0.055 biomeMap = BUILTIN/vall_biome + nonExactThreshold = -1 + exactSearch = False useTheInName = False + selectable = True + RDVisibility = VISIBLE Biomes { Biome { name = Poles value = 0 - color = 1,0,0,1 + color = 0.745098054,0.968627453,0.988235295,1 } Biome { name = Midlands value = 0 - color = 0.9843137,0.01568628,0.4823529,1 + color = 0.419607848,0.776470602,0.807843149,1 } Biome { name = Highlands value = 0 - color = 0,0.1882353,1,1 + color = 0.270588249,0.698039234,0.737254918,1 } Biome { name = Lowlands value = 0 - color = 0,1,0.02352941,1 + color = 1,1,1,1 + } + Biome + { + name = Northeast Basin + value = 0 + color = 0.698039234,0.698039234,0.698039234,1 + } + Biome + { + name = Northwest Basin + value = 0 + color = 0.588235319,0.588235319,0.588235319,1 + } + Biome + { + name = Southern Basin + value = 0 + color = 0.866666675,0.866666675,0.866666675,1 + } + Biome + { + name = Southern Valleys + value = 0 + color = 0.78039217,0.78039217,0.78039217,1 + } + Biome + { + name = Mountains + value = 0 + color = 0.611764729,0.850980401,0.870588243,1 } } ScienceValues @@ -79,8 +114,8 @@ meanAnomalyAtEpoch = 0.899999976158142 meanAnomalyAtEpochD = 51.5662001957363 epoch = 0 - color = 0.4338013,0.6103926,0.7089552,0.5764706 - cameraSmaRatioBounds = 0.12,12 + color = 1,1,1,1 + cameraSmaRatioBounds = 0.03 25 } ScaledVersion { @@ -91,13 +126,25 @@ deferMesh = False Material { - color = 0.6044776,0.6044776,0.6044776,1 - specular = 0,0,0,1 + color = 0.604477644,0.604477644,0.604477644,1 + specColor = 0,0,0,1 shininess = 0.078125 texture = BUILTIN/gp1icemoon00 + mainTex = BUILTIN/gp1icemoon00 + mainTexScale = 1,1 + mainTexOffset = 0,0 normals = BUILTIN/gp1icemoon01 + bumpMap = BUILTIN/gp1icemoon01 + bumpMapScale = 1,1 + bumpMapOffset = 0,0 + opacity = 1 + resourceMapScale = 1,1 + resourceMapOffset = 0,0 } } + Particles + { + } PQS { minLevel = 2 @@ -107,6 +154,7 @@ fadeStart = 300000 fadeEnd = 325000 deactivateAltitude = 330000 + mapMaxHeight = 20000 Material { saturation = 1 @@ -182,9 +230,6 @@ mainTexOffset = 0,0 planetOpacity = 1 } - PhysicsMaterial - { - } Mods { VertexSimplexHeightAbsolute @@ -196,6 +241,8 @@ seed = 56499778 order = 10 enabled = True + name = _Height + index = 0 } VertexHeightNoise { @@ -209,6 +256,8 @@ lacunarity = 2 order = 11 enabled = True + name = _Height + index = 0 } VertexHeightMap { @@ -218,6 +267,8 @@ scaleDeformityByRadius = False order = 9 enabled = True + name = _Height + index = 0 } VertexSimplexHeightAbsolute { @@ -228,6 +279,8 @@ seed = 8008135 order = 12 enabled = True + name = _Height + index = 1 } VertexHeightMap { @@ -237,6 +290,8 @@ scaleDeformityByRadius = False order = 100 enabled = True + name = _Height + index = 1 } AltitudeAlpha { @@ -244,18 +299,22 @@ invert = False order = 999999999 enabled = True + name = _Material_ModProjection + index = 0 } HeightColorMap { blend = 1 order = 500 enabled = True + name = _Color + index = 0 LandClasses { Class { name = Ice - color = 0.1156716,0.195088,0.2313433,1 + color = 0.115671635,0.195087969,0.231343269,1 altitudeStart = -1 altitudeEnd = 0.600000023841858 lerpToNext = True @@ -264,7 +323,7 @@ Class { name = Snow - color = 0.5037574,0.6702008,0.7313433,1 + color = 0.503757417,0.670200825,0.731343269,1 altitudeStart = 0.600000023841858 altitudeEnd = 0.699999988079071 lerpToNext = True @@ -273,7 +332,7 @@ Class { name = Snow - color = 0.7482778,0.8683491,0.9029851,1 + color = 0.748277843,0.868349135,0.902985096,1 altitudeStart = 0.699999988079071 altitudeEnd = 1 lerpToNext = False @@ -284,14 +343,16 @@ VertexSimplexNoiseColor { blend = 0.3 - colorStart = 0.2742586,0.2835821,0.2389625,0 - colorEnd = 0.6343284,0.6286346,0.5389573,0 + colorStart = 0.274258614,0.283582091,0.238962531,0 + colorEnd = 0.634328365,0.628634572,0.538957298,0 frequency = 12 octaves = 8 persistence = 0.5 seed = 777834934 order = 501 enabled = True + name = _Color + index = 0 } LandControl { @@ -317,6 +378,8 @@ vHeightMax = 10000 order = 999999 enabled = True + name = Scatter + index = 0 altitudeSimplex { frequency = 1