public override void OnStart(PartModule.StartState state)
        {
            predictor = core.GetComputerModule<MechJebModuleLandingPredictions>();

            if (landingSites == null && HighLogic.LoadedSceneIsFlight)
                InitLandingSitesList();
        }
Beispiel #2
0
        public override void OnStart(PartModule.StartState state)
        {
            predictor = core.GetComputerModule <MechJebModuleLandingPredictions>();

            if (landingSites == null && HighLogic.LoadedSceneIsFlight)
            {
                InitLandingSitesList();
            }
        }
        public override void OnStart(PartModule.StartState state)
        {
            predictor = core.GetComputerModule <MechJebModuleLandingPredictions>();
            autopilot = core.GetComputerModule <MechJebModuleLandingAutopilot>();

            if (landingSites == null)
            {
                InitLandingSitesList();
            }
        }
        public List <ManeuverNode> GetManeuverNodes()
        {
            MechJebModuleLandingPredictions predictor = core.GetComputerModule <MechJebModuleLandingPredictions>();

            if (predictor == null)
            {
                return(vessel.patchedConicSolver.maneuverNodes);
            }
            else
            {
                return(vessel.patchedConicSolver.maneuverNodes.Where(n => n != predictor.aerobrakeNode).ToList());
            }
        }
 public override void OnStart(PartModule.StartState state)
 {
     predictor = core.GetComputerModule<MechJebModuleLandingPredictions>();
     autopilot = core.GetComputerModule<MechJebModuleLandingAutopilot>();
 }
Beispiel #6
0
 public override void OnStart(PartModule.StartState state)
 {
     predictor = core.GetComputerModule <MechJebModuleLandingPredictions>();
 }