DRVeyl / RealAntennas

KSP Mod to add better antenna / link calculations to CommNet.
29 stars 26 forks source link

No ground stations are created when running with Kopernikus without the Real Solar System mod #31

Closed anon12341234 closed 4 years ago

anon12341234 commented 4 years ago

It looks like issue #20 isn't fixed; I'm running the following:

and I'm not getting any ground stations, and I can't transfer any data when I'm on the launch pad. I tried messing around with the config files, but no matter what I try I can't get any ground stations to appear. I tried adding the Real Solar System mod, and with that mod the ground stations do appear.

(And before you ask - my intention is not to run Kopernicus without a planet pack - I want to use the Outer Planets Mod, but that doesn't affect this issue.)

anon12341234 commented 4 years ago

Okay, I figured it out. Creating a new mod with the following .cfg file fixes the issue (probably not a proper fix):

@Kopernicus:AFTER[Kopernicus]
{
    @Body[Kerbin]
    {
        @PQS
        {
            Mods
            {
            }
        }
    }
}

So it looks like Real Antennas is doing an @Mods, and it doesn't work as the Mods key doesn't exist as this is how the skeleton is defined in Kopernicus:

    Body
    {
        name = Kerbin
        identifier = Squad/Kerbin
        Orbit
        {
            referenceBody = Squad/Sun
        }
        Template
        {
            name = Kerbin
            removeProgressTree = false
        }
        Properties
        {
            ScienceValues
            {

            }
        }
        ScaledVersion
        {

        }
        Atmosphere
        {

        }
        PQS
        {

        }
    }

With the Real Solar System mod it works because that mod replaces all of the planets wholesale, and includes the Mods key under PQS, so Real Antennas' @Mods works there.

DRVeyl commented 4 years ago

Yep, that sounds correct. Thanks. I will edit the RA patches to ensure PQS/Mods nodes exist if there is Body[Kerbin], and wrap that into the next release.

DRVeyl commented 4 years ago

Fixed with https://github.com/DRVeyl/RealAntennas/commit/649fd21c4001f709708c85b778babc7c34934362 and released in 1.2.1