forked from Kramax/KramaxAutoPilot
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
(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
Labels
No labels