コード例 #1
0
        private void Start()
        {
            Instance = this;

            FARLogger.Info("Vehicle Voxel Setup started");
            FARAeroSection.GenerateCrossFlowDragCurve();
            VehicleVoxel.VoxelSetup();
            PhysicsGlobals.DragCubeMultiplier = 0;
            FARLogger.Info("Vehicle Voxel Setup complete");

            newGame = false;
        }
コード例 #2
0
        private void Start()
        {
            if (!CompatibilityChecker.IsAllCompatible())
            {
                enabled = false;
                return;
            }

            Instance = this;

            FARLogger.Info("Vehicle Voxel Setup started");
            FARAeroSection.GenerateCrossFlowDragCurve();
            VehicleVoxel.VoxelSetup();
            PhysicsGlobals.DragCubeMultiplier = 0;
            FARLogger.Info("Vehicle Voxel Setup complete");

            newGame = false;
        }
コード例 #3
0
        void Start()
        {
            if (!CompatibilityChecker.IsAllCompatible())
            {
                this.enabled = false;
                return;
            }

            if (newGame)
            {
                PopupDialog.SpawnPopupDialog("Ferram Aerospace Research", "Welcome to KSP with FAR!\n\r\n\rThings will be much harder from here on out; the FAR button in the top-right corner will bring you to difficulty settings if you ever decide to change them.  Have fun!", "OK", false, HighLogic.Skin);
            }

            Debug.Log("FAR Vehicle Voxel Setup started");
            VehicleVoxel.VoxelSetup();
            Debug.Log("FAR Vehicle Voxel Setup complete");

            //GameEvents.onGameStateSave.Add(OnSave);
            newGame = false;
        }
コード例 #4
0
        void Start()
        {
            if (!CompatibilityChecker.IsAllCompatible())
            {
                this.enabled = false;
                return;
            }
            instance = this;

            //if (newGame)
            //    PopupDialog.SpawnPopupDialog("Ferram Aerospace Research", "Welcome to KSP with FAR!\n\r\n\rThings will be much harder from here on out; the FAR button in the top-right corner will bring you to difficulty settings if you ever decide to change them.  Have fun!", "OK", false, HighLogic.Skin);

            FARLogger.Info("Vehicle Voxel Setup started");
            FerramAerospaceResearch.FARAeroComponents.FARAeroSection.GenerateCrossFlowDragCurve();
            VehicleVoxel.VoxelSetup();
            PhysicsGlobals.DragCubeMultiplier = 0;
            FARLogger.Info("Vehicle Voxel Setup complete");

            //GameEvents.onGameStateSave.Add(OnSave);
            newGame = false;
        }