-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Bug Reports
Posts posted by AtomFox0213
-
-
I'm making a planet, but the planet is just magenta. I tried using textures from other mods and it still doesn't work. I also tried using a config file from another mod (with file directories changed) and it still doesn't work.
Here's the config file:
Spoiler@Kopernicus:AFTER[Kopernicus]
{
%mainMenuBody = Planet
Body
{
name = Planet
cacheFile = Planet/Cache/Planet.bin
Orbit
{
referenceBody = Sun
inclination = 0
eccentricity = 0
semiMajorAxis = 9000000000
longitudeOfAscendingNode = 0
argumentOfPeriapsis = 0
meanAnomalyAtEpoch = 0
epoch = 0
color = 0.5,0.5,0.5,1
}Properties
{
description = yey
radius = 250000
geeASL = 0.1
rotationPeriod = 60000
rotates = true
tidallyLocked = false
initialRotation = 0
isHomeWorld = false
timewarpAltitudeLimits = 0 3000 3000 6000 10000 30000 60000 80000biomeMap = Planet/PluginData/PlanetBiomes.dds
Biomes
{
Biome
{
name = Highlands
value = 1.0
color = 0,0,1,1
}
Biome
{
name = Midlands
value = 1.0
color = 0,1,0,1
}
Biome
{
name = Lowlands
value = 1.0
color = 1,0,0,1
Biome
{
name = Big Crater
value = 1.0
color = 1,1,0,1
}
}ScienceValues
{
landedDataValue = 8
splashedDataValue = 1
flyingLowDataValue = 5
flyingHighDataValue = 5
inSpaceLowDataValue = 7
inSpaceHighDataValue = 5
recoveryValue = 5
flyingAltitudeThreshold = 12000
spaceAltitudeThreshold = 140000
}
}ScaledVersion
{
Material
{
fadeStart = 0
fadeEnd = 0
texture = Planet/PluginData/PlanetColor.dds
normals = Planet/PluginData/PlanetNormals.dds
}
}PQS
{
Mods
{
VertexColorMap
{
map = Planet/PluginData/PlanetColor.dds
order = 1
enabled = true
}
VertexHeightMap
{
map = Planet/PluginData/PlanetHeight.dds
offset = 0
deformity = 100.0
scaleDeformityByRadius = false
order = 2
enabled = true
}
VertexColorMapBlend
{
map = Planet/PluginData/PlanetColor.dds
order = 3
blend = 0.62
enabled = true
}
}
}
}
}Edit: I made a few changes and reverted most of them and now the planet doesn't appear in game. There is a log file though.
Edit 2: Re-wrote config file completely and it seems to be fixed!
-
When I load the game, the planet doesn't exist and there's no log file.
Here's the config file:
Spoiler@Kopernicus:AFTER[Kopernicus]
{
Body
{
name = Bennu
cacheFile = AtomBennu/CacheFiles/Bennu.bin
Template
{
name = Mun
removeAllPQSMods
}
Properties
{
description = Bennu is a Near-Earth Asteroid(NEA) that is the target for the OSIRIS-REx mission.
radius = 246
geeASL = 0.00001
mass = 6.88E+10
isHomeWorld = false
tidallyLocked = false
rotates = true
rotationPeriod = 15436.8
initialRotation = 0
timeWarpAltittudeLimits = 0 0 0 0 0 0 0 0
ScienceValues
{
landedDataValue = 15
splashedDataValue = 0
flyingLowDataValue = 13
flyingHighDataValue = 12
inSpaceLowDataValue = 11
inSpaceHighDataValue = 10
recoveryValue = 15
flyingAltittudeThreshold = 3750
spaceAltittudeThreshold = 7500
}
biomeMap = AtomBennu/PluginData/BennuBiomes.dds
Biomes
{
Biome
{
name = Bennu
value = 1
color = 1,0,0,1
}
}
ScaledVersion
{
type = Vacuum
Material
{
texture = AtomBennu/PluginData/BennuColor.dds
normals = AtomBennu/PluginData/BennuNormal.dds
}
}
}
Orbit
{
referenceBody = Sun
semiMajorAxis = 202840000000
inclination = 6.0349
eccentricity = 0.20375
longitudeOfAscendingNode = 2.0609
argumentOfPeriapsis = 66.2231
meanAnomalyAtEpoch = 0
epoch = 0
color = 0.5,0.5,0.5,1
}
PQS
{
Mods
{
VertexHeightMap
{
map = AtomBennu/PluginData/BennuHeight.dds
deformity = 30
scaleDeformityByRadius = false
offset = 0
enabled = true
order = 1
}
VertexColorMap
{
enabled = true
map = AtomBennu/PluginData/BennuColor.dds
order = 2
}
VertexHeightOffset
{
offset = 0
enabled = true
order = 3
}
VertexHeightNoiseVertHeightCurve2
{
deformity = 100
ridgedAddSeed = 123456
ridgedAddFrequency = 12
ridgedAddLacunarity = 2
ridgedAddOctaves = 4
ridgedSubSeed = 654321
ridgedSubFrequency = 12
ridgedSubLacunarity = 2
ridgedSubOctaves = 4
simplexCurve
{
key = 0 0 0.1466263 0.1466263
key = 0.7922793 0.2448772 0.6761706 1.497418
key = 1 1 6.106985 6.106985
}
simplexHeightStart = 0
simplexHeightEnd = 6500
simplexSeed = 123456
simplexOctaves = 4
simplexPersistence = 0.6
simplexFrequency = 12
enabled = true
order = 200
}
HeightColorMap
{
blend = 1
order = 500
enabled = true
LandClasses
{
Class
{
name = 1
altitudeStart = 0
altitudeEnd = 0.7
color = 0.42,0.39,0.36,1.0
lerpToNext = true
}
Class
{
name = 2
altitudeStart = 0.75
altitudeEnd = 1
color = 0.52,0.5,0.47,1.0
lerpToNext = false
}
}
}
}
}
}
}Apparently it does work, just not with RSS for some reason.
-
9 minutes ago, The White Guardian said:
LOL
Well, congratulations on making a planet!
Thanks!
You mentioned a plugin for GIMP that corrects sphere map distortion, do you think you could link to it?
-
I copied the tutorial exactly(filling in things like filepaths and textures), but the planet doesn't exist in the game, and there is no log in the Kopernicus logs folder.
Nevermind! It actually did work!
A beginner's guide to Kopernicus - The basics
in KSP1 C# Plugin Development Help and Support
Posted
The radius is measured in meters, so a radius of 446 km would be written as 446000. Rotation period is in seconds, meaning the Earth's rotation period would be 86400.
The only things I see are "cachefile" should be "cacheFile" and you have a colon before the text in the description that shouldn't be there.