예제 #1
0
        protected override void SetupBody(CelestialBody body)
        {
            body.Radius = 440000;

            body.useLegacyAtmosphere     = true;
            body.maxAtmosphereAltitude   = 100000;
            body.atmosphereMultiplier    = 1.8f;
            body.atmosphereScaleHeight   = 6;
            body.atmosphericAmbientColor = Utils.Color(54, 50, 41);

            body.orbitDriver.orbitColor = Utils.Color(235, 171, 74);
            body.orbit.semiMajorAxis    = 13500000000;
            body.orbit.eccentricity     = 0.04;
            body.orbit.inclination      = 0.005;

            body.UpdateGeeASL(1.1);

            //new aeroFX: longer tail, brighter, more wobble
            var mach = AeroEffectController.GetNewMachEffect();

            mach.wobble.max               = 2f;
            mach.wobble.min               = 0.5f;
            mach.length.max              *= 3f;
            mach.length.min              *= 3f;
            mach.intensity.max           *= 2f;
            mach.airspeedNoiseVolume.max *= 2f;
            mach.airspeedNoiseVolume.min *= 2f;

            AeroEffectController.Add(body, null, mach);
        }
예제 #2
0
        protected override void SetupBody(CelestialBody body)
        {
            body.orbit.semiMajorAxis    = 13500000;
            body.orbit.eccentricity     = 0.0005;
            body.orbit.inclination      = 0;
            body.orbitDriver.orbitColor = Utils.Color(90, 220, 15);

            var heat = AeroEffectController.GetNewReentryEffect();
            var mach = AeroEffectController.GetNewMachEffect();

            heat.color.max = Utils.Color(137, 255, 0);
            //keep min same so that it fades to orange

            mach.color.max = Utils.Color(186, 238, 128);
            //keep min same so it fades in from white

            //light up the thing with bioluminescent stuff!
            mach.lightPower.max = 2;
            mach.lightPower.min = 0.75f;

            AeroEffectController.Add(body, heat, mach);
        }