Ejemplo n.º 1
0
        private static List <ISpaceCraft> BuildScaledBfsEDL(IMassiveBody planet, MissionConfig config, string craftDirectory)
        {
            var ship = new ScaledBFS(craftDirectory, planet.Position + new DVector2(0, -planet.SurfaceRadius - 150000),
                                     planet.Velocity + new DVector2(-10800, 1161.2), config.PayloadMass, 20000);

            return(new List <ISpaceCraft>
            {
                ship
            });
        }
Ejemplo n.º 2
0
        private static List <ISpaceCraft> BuildScaledBfsTEI(IMassiveBody planet, MissionConfig config, string craftDirectory)
        {
            var ship = new ScaledBFS(craftDirectory, planet.Position + new DVector2(planet.SurfaceRadius, 0),
                                     planet.Velocity + new DVector2(0, 0), config.PayloadMass, 136600);

            return(new List <ISpaceCraft>
            {
                ship
            });
        }
Ejemplo n.º 3
0
        private static List <ISpaceCraft> BuildScaledBFR(IMassiveBody planet, MissionConfig config, string craftDirectory)
        {
            var ship = new ScaledBFS(craftDirectory, planet.Position + new DVector2(0, -planet.SurfaceRadius),
                                     planet.Velocity + new DVector2(-400, 0), config.PayloadMass, 670000);

            var booster = new ScaledBFR(craftDirectory, DVector2.Zero, DVector2.Zero);

            ship.AddChild(booster);
            booster.SetParent(ship);

            return(new List <ISpaceCraft>
            {
                ship, booster
            });
        }
Ejemplo n.º 4
0
        private static List <ISpaceCraft> BuildScaledBfrGto(IMassiveBody planet, MissionConfig config, string craftDirectory)
        {
            var carousel = new Carousel(craftDirectory, planet.Position + new DVector2(0, -planet.SurfaceRadius) + config.PositionOffset, planet.Velocity, config.PayloadMass);

            var ship = new ScaledBFS(craftDirectory, DVector2.Zero, DVector2.Zero, 0, 823000);

            var booster = new ScaledBFR(craftDirectory, DVector2.Zero, DVector2.Zero);

            carousel.AddChild(ship);
            ship.SetParent(carousel);
            ship.AddChild(booster);
            booster.SetParent(ship);

            return(new List <ISpaceCraft>
            {
                carousel, ship, booster
            });
        }