Jump to content

can anyone help me swap Laythe and Kerbin's atmospheres?


TimKerbin

Recommended Posts

Sorry if this is in the wrong forum, it's not really a bug or fault in a modded install, just a how-to question about mods. Feel free to move it to the right forum if you disagree.I'm running v1.2.2. All I want to do is swap atmosphere textures so that Laythe looks like Kerbin and Kerbin looks like Laythe (See image). But no matter what I change, it doesn't work. I'm useless at this sort of thing, does anyone know code and know which file references I should be changing and/or copying? Nothing I do seems to work. Here's the mods I am running. The only relevant references I've found is in the 'BoulderCo/Atmosphere/clouds.cfg' file, but maybe this is handled by more than one mod. I tried copying exactly Laythe's settings and pasting them over Kerbin's, changing its name accordingly (using a backup as reference). Whatever I'm doing it's either incorrect or not enough. Even after I save the files and quit and relaunch KSP, both Kerbin and Laythe remain unchanged. It's driving me nuts, I prefer the way Laythe looks, and I'd rather Kerbin looked like that! How hard can this be!
 

Spoiler

 

000_Toolbar
BoulderCo
ContractConfigurator
DecoupleFromHeatshield
DistantObject
EnvironmentalVisualEnhancements
HaystackContinued
HullCameraVDS
Kopernicus
ModularFlightIntegrator
PlanetShine
ProceduralFairings
ProceduralParts
ReentryParticleEffect
SCANsat
scatterer
Squad
SVT
TextureReplacer
Trajectories
TweakScale

Here's the complete config.cfg file. Maybe you can see what I can't!

Quote

EVE_CLOUDS
{
    OBJECT
    {
        name = Kerbin-clouds1
        body = Kerbin
        altitude = 4000
        detailSpeed = 0,6,0
        settings
        {
            _DetailTex = BoulderCo/Atmosphere/Textures/detail1
            _DetailScale = 30
            _UVNoiseTex = BoulderCo/Atmosphere/Textures/uvnoise1
            _MainTex
            {
                value = BoulderCo/Atmosphere/Textures/fair
                type = CubeMap
            }
        }
        layer2D
        {
            shadowMaterial
            {
            }
            macroCloudMaterial
            {
                _DetailDist = 2E-06
            }
        }
        layerVolume
        {
            maxTranslation = 100,200,100
            size = 2000,2.2
            area = 18000,4
            noiseScale = 1.2,1.3,90
            particleMaterial
            {
                _Tex = BoulderCo/Atmosphere/Textures/particle/rgb
                _BumpMap = BoulderCo/Atmosphere/Textures/particle/particle_NRM
                _LightScatter = 0.55
            }
        }
    }
    OBJECT
    {
        name = Laythe-clouds1
        body = Laythe
        altitude = 6000
        detailSpeed = 0,6,0
        settings
        {
            _DetailTex = BoulderCo/Atmosphere/Textures/detail1
            _UVNoiseTex = BoulderCo/Atmosphere/Textures/uvnoise1
            _DetailScale = 20
            _Color = 102,102,153,255
            _MainTex
            {
                value = BoulderCo/Textures/cube
                type = AlphaCubeMap
            }
        }
        layer2D
        {
            shadowMaterial
            {
            }
            macroCloudMaterial
            {
                _DetailDist = 2E-06
            }
        }
        layerVolume
        {
            size = 4000,2
            maxTranslation = 0,100,0
            particleMaterial
            {
                _Tex = BoulderCo/Atmosphere/Textures/particle/rgb
                _BumpMap = BoulderCo/Atmosphere/Textures/particle/particle_NRM
                _LightScatter = 0.55
            }
        }
    }
    OBJECT
    {
        name = Duna-clouds1
        body = Duna
        altitude = 8000
        detailSpeed = 0,6,0
        settings
        {
            _DetailTex = BoulderCo/Atmosphere/Textures/detail1
            _UVNoiseTex = BoulderCo/Atmosphere/Textures/uvnoise1
            _UVNoiseScale = 0.05
            _UVNoiseStrength = 0.005
            _UVNoiseAnimation = 0.5,0.02
            _DetailScale = 20
            _Color = 150,150,150,255
            _MainTex
            {
                value = BoulderCo/Textures/cube
                type = AlphaCubeMap
                alphaMask = ALPHAMAP_G
            }
        }
        layer2D
        {
            shadowMaterial
            {
            }
            macroCloudMaterial
            {
                _DetailDist = 2E-06
            }
        }
        layerVolume
        {
            size = 4000,2
            maxTranslation = 0,100,0
            particleMaterial
            {
                _Tex = BoulderCo/Atmosphere/Textures/particle/rgb
                _BumpMap = BoulderCo/Atmosphere/Textures/particle/particle_NRM
                _LightScatter = 0.55
            }
        }
    }
    OBJECT
    {
        name = Eve-clouds1
        body = Eve
        altitude = 4000
        speed = 0,90,0
        detailSpeed = 0,6,0
        offset = 0,0,0
        settings
        {
            _MainTex = BoulderCo/Atmosphere/Textures/eve1
            _DetailTex = BoulderCo/Atmosphere/Textures/detaileve1
            _UVNoiseTex = BoulderCo/Atmosphere/Textures/uvnoise1
            _DetailScale = 120
            _DistFade = 1
            _DistFadeVert = 4E-05
            _Color = 80,55,111,255
            _DetailDist = 2E-06
        }
        layer2D
        {
            shadowMaterial
            {
            }
            macroCloudMaterial
            {
                _FalloffPow = 2
                _FalloffScale = 3
                _DetailDist = 2E-06
                _RimDist = 0.0001
                _RimDistSub = 1.01
                _InvFade = 0.008
            }
        }
        layerVolume
        {
            size = 4000,2
            maxTranslation = 0,100,0
            area = 24000,4
            particleMaterial
            {
                _Tex = BoulderCo/Atmosphere/Textures/particle/rgb
                _BumpMap = BoulderCo/Atmosphere/Textures/particle/particle_NRM
                _LightScatter = 0.55
                _InvFade = 0.008
            }
        }
    }
    OBJECT
    {
        name = Eve-clouds2
        body = Eve
        altitude = 6000
        speed = 0,80,0
        detailSpeed = 0,6,0
        offset = 0,0,0
        settings
        {
            _MainTex = BoulderCo/Atmosphere/Textures/eve1
            _DetailTex = BoulderCo/Atmosphere/Textures/detaileve1
            _UVNoiseTex = BoulderCo/Atmosphere/Textures/uvnoise1
            _DetailScale = 120
            _DistFade = 1
            _DistFadeVert = 4E-05
            _Color = 80,55,111,255
            _DetailDist = 2E-06
        }
        layer2D
        {
            macroCloudMaterial
            {
                _FalloffPow = 2
                _FalloffScale = 3
                _DetailDist = 2E-06
                _RimDist = 0.0001
                _RimDistSub = 1.01
                _InvFade = 0.008
            }
        }
        layerVolume
        {
            size = 4000,2
            maxTranslation = 0,100,0
            area = 24000,4
            particleMaterial
            {
                _Tex = BoulderCo/Atmosphere/Textures/particle/rgb
                _BumpMap = BoulderCo/Atmosphere/Textures/particle/particle_NRM
                _LightScatter = 0.55
                _InvFade = 0.008
            }
        }
    }
    OBJECT
    {
        name = Eve-clouds3
        body = Eve
        altitude = 8000
        speed = 0,70,0
        detailSpeed = 0,6,0
        offset = 0,0,0
        settings
        {
            _MainTex = BoulderCo/Atmosphere/Textures/eve1
            _DetailTex = BoulderCo/Atmosphere/Textures/detaileve1
            _UVNoiseTex = BoulderCo/Atmosphere/Textures/uvnoise1
            _DetailScale = 120
            _DistFade = 1
            _DistFadeVert = 4E-05
            _Color = 80,55,111,255
            _DetailDist = 2E-06
        }
        layer2D
        {
            shadowMaterial
            {
            }
            macroCloudMaterial
            {
                _FalloffPow = 2
                _FalloffScale = 3
                _DetailDist = 2E-06
                _RimDist = 0.0001
                _RimDistSub = 1.01
                _InvFade = 0.008
            }
        }
        layerVolume
        {
            size = 4000,2
            maxTranslation = 0,100,0
            area = 24000,4
            particleMaterial
            {
                _Tex = BoulderCo/Atmosphere/Textures/particle/rgb
                _BumpMap = BoulderCo/Atmosphere/Textures/particle/particle_NRM
                _LightScatter = 0.55
                _InvFade = 0.008
            }
        }
    }
    OBJECT
    {
        name = Eve-clouds4
        body = Eve
        altitude = 10000
        speed = 0,60,0
        detailSpeed = 0,6,0
        offset = 0,0,0
        settings
        {
            _MainTex = BoulderCo/Atmosphere/Textures/eve1
            _DetailTex = BoulderCo/Atmosphere/Textures/detaileve1
            _UVNoiseTex = BoulderCo/Atmosphere/Textures/uvnoise1
            _DetailScale = 120
            _DistFade = 1
            _DistFadeVert = 4E-05
            _Color = 80,55,111,255
            _DetailDist = 2E-06
        }
        layer2D
        {
            macroCloudMaterial
            {
                _FalloffPow = 2
                _FalloffScale = 3
                _DetailDist = 2E-06
                _RimDist = 0.0001
                _RimDistSub = 1.01
                _InvFade = 0.008
            }
        }
        layerVolume
        {
            size = 4000,2
            maxTranslation = 0,100,0
            area = 24000,4
            particleMaterial
            {
                _Tex = BoulderCo/Atmosphere/Textures/particle/rgb
                _BumpMap = BoulderCo/Atmosphere/Textures/particle/particle_NRM
                _LightScatter = 0.55
                _InvFade = 0.008
            }
        }
    }
    OBJECT
    {
        name = Eve-clouds5
        body = Eve
        altitude = 12000
        speed = 0,50,0
        detailSpeed = 0,6,0
        offset = 0,0,0
        settings
        {
            _MainTex = BoulderCo/Atmosphere/Textures/eve1
            _DetailTex = BoulderCo/Atmosphere/Textures/detaileve1
            _UVNoiseTex = BoulderCo/Atmosphere/Textures/uvnoise1
            _DetailScale = 120
            _DistFade = 1
            _DistFadeVert = 4E-05
            _Color = 80,55,111,255
            _DetailDist = 2E-06
        }
        layer2D
        {
            shadowMaterial
            {
            }
            macroCloudMaterial
            {
                _FalloffPow = 2
                _FalloffScale = 3
                _DetailDist = 2E-06
                _RimDist = 0.0001
                _RimDistSub = 1.01
                _InvFade = 0.008
            }
        }
        layerVolume
        {
            size = 4000,2
            maxTranslation = 0,100,0
            area = 24000,4
            particleMaterial
            {
                _Tex = BoulderCo/Atmosphere/Textures/particle/rgb
                _BumpMap = BoulderCo/Atmosphere/Textures/particle/particle_NRM
                _LightScatter = 0.55
                _InvFade = 0.008
            }
        }
    }
    OBJECT
    {
        name = Jool-clouds1
        body = Jool
        altitude = 4500
        speed = 0,90,0
        detailSpeed = 0,6,0
        settings
        {
            _DetailTex = BoulderCo/Atmosphere/Textures/detaileve1
            _UVNoiseTex = BoulderCo/Atmosphere/Textures/uvnoise1
            _UVNoiseScale = 0.1
            _UVNoiseStrength = 0.007
            _UVNoiseAnimation = 1,0.1
            _DetailScale = 120
            _Color = 26,43,16,255
            _MainTex
            {
                value = BoulderCo/Textures/jool
                type = AlphaCubeMap
                alphaMask = ALPHAMAP_R
            }
        }
        layer2D
        {
            macroCloudMaterial
            {
                _DetailDist = 2E-06
            }
        }
        layerVolume
        {
            size = 4000,2
            maxTranslation = 0,100,0
            particleMaterial
            {
                _Tex = BoulderCo/Atmosphere/Textures/particle/rgb
                _BumpMap = BoulderCo/Atmosphere/Textures/particle/particle_NRM
                _LightScatter = 0.55
            }
        }
    }
}
 

 


 



 

Link to comment
Share on other sites

You need to look at more than one mod to pull this off.

- For starters, there's no such thing as atmosphere textures. By default, the atmosphere is invisible. Stock KSP adds a sky color gradient that scales with altitude, which gives the impression of being inside an atmosphere if you are close to the surface.
- Then there's Kopernicus, which gives you some tools to modify stock parameters. It also lets you swap planet textures, but those are for the surface, not for the atmosphere.
- Next comes EVE, which deliveres clouds as textures, and can do various things to planets and their atmospheres via color filters.
- Next, Scatterer applies shader settings that add for example the atmospheric haze on Kerbin, which Laythe doesn't have. Its influence is subtle, but you'd be surprised how much of the overall look of a planet is influenced by Scatterer.
- Then there's minor graphics tweakers like Planetshine and Distant Object Enhancement, and Texture Replacer for tweaking Kerbals and skyboxes. But those are not really relevant to the looks of planets. TR can also change planet surface textures, but Kopernicus is generally the preferred solution.

Finally, you have content packs for graphics mods, such as Stock Visual Enhancements and Stock Visual Terrain. They ship config files for the mods above, as well as custom textures for surfaces, clouds, Kerbals and possibly more, depending on the scope of the pack. The important takeaway here is that if you have a content pack installed, then changing the base configs of the graphics mods may not do anything for you, because the content pack is likely overwriting it at runtime already with a Module Manager patch.

If all you want to do is swap the cloud layer, and your mod list does only contain SVT and not SVE, then technically, the EVE configs are all you need to change. But I'd still carefully go through everything you have and look for third party patches that might modify cloud layers. Also, I requested this thread to be moved to the correct subforum, where you'll maybe find someone who's much better at EVE configs than I am. :wink:

Link to comment
Share on other sites

Sorry to be so dense but which sub-forum is it now on? :)

These mods are so confusing. Scatterer config only seems to mention Laythe and not Kerbin...even though evidently Scatterer affects Kerbin; EVE only has a bunch of DLL files, no config files. I'm  convinced that BoulderCo clouds.cfg holds the key - if I remove the entire BoulderCo folder and relaunch KSP both Kerbin and Laythe have no clouds, only atmosphere.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...