Prerequisites - Gameslinx/Parallax-Continued GitHub Wiki

Prerequisites

This page tells you everything you need to get started. Start off by making sure Parallax is fully installed alongside the mod you'll be adding compatibility with (usually a planet mod)

Disabling the Stock Configs

If the planet mod replaces the stock system (that is, the base game planets), you should follow this step. If the stock planets exist alongside the planet mod, you can skip this step.

If you are planning for users not needing to download Parallax_StockTextures, you can skip this step

To disable the existing parallax configs, create a .cfg file with the following module manager patches:

@ParallaxTerrain:FOR[MyModName]
{
    !Body[Moho] {}
    !Body[Eve] {}
    !Body[Gilly] {}
    !Body[Kerbin] {}
    !Body[Mun] {}
    !Body[Minmus] {}
    !Body[Duna] {}
    !Body[Ike] {}
    !Body[Dres] {}
    !Body[Laythe] {}
    !Body[Vall] {}
    !Body[Tylo] {}
    !Body[Bop] {}
    !Body[Pol] {}
    !Body[Eeloo] {}
}

@ParallaxScatters:FOR[MyModName]
{
    !Body[Moho] {}
    !Body[Eve] {}
    !Body[Gilly] {}
    !Body[Kerbin] {}
    !Body[Mun] {}
    !Body[Minmus] {}
    !Body[Duna] {}
    !Body[Ike] {}
    !Body[Dres] {}
    !Body[Laythe] {}
    !Body[Vall] {}
    !Body[Tylo] {}
    !Body[Bop] {}
    !Body[Pol] {}
    !Body[Eeloo] {}
}

PQSMods

PQSMods are typically used by planet modders to make changes to terrain on different planets. Here, Parallax uses one to generate the required data for the terrain shader and the scatter system

Config

The following module manager patch uses Kopernicus to add a PQSMod to a celestial body named 'MyPlanet'. You will need to do this for every planet you wish to add Parallax support for whether that is for the terrain shader, the scatter system, or both.

@Kopernicus:FOR[ParallaxStock]
{
    @Body[MyPlanet]
    {
        %PQS
        {
            %Mods
            {
                Parallax
                {
                    subdivisionLevel = 7
                    subdivisionRadius = 700
                    order = 999999
                }
            }
        }
    }
}

That is everything you need to get started with Parallax Continued. See the next sections for setting up terrain and scatters respectively.