Skip to content

Automated handling of landing gear is non-optional #14

@ncanceill

Description

@ncanceill

(This is more of a feature request than an issue)


Description
The automated handling of landing gear (lower it when descending from 600m to 500m ASL, raise it when ascending from 75m to 150m ASL) cannot be turned off

Root cause
The variable autoGearEnabled used in the code handling the gear is always true

Impact
This makes it annoying to fly close to the ground or the surface of the ocean, without even mentioning seaplanes

Fix
Allow the autoGearEnabled variable to be set via a config file like this

Kramax_config
{
    autoGear = true
}

using something like this

UrlDir.UrlConfig[] urlConfigs = GameDatabase.Instance.GetConfigs("Kramax_config");
if (urlConfigs.Length == 1) urlConfigs[0].config.TryGetValue("autoGear", autoGearEnabled);

there (if my understanding of KSP configs is correct, which is far from certain)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions