Small changes probably related to KSP 1.0 / kOS 0.17.

parent 0925e03f
SET SHIP:CONTROL:PILOTMAINTHROTTLE TO 0.
RUN MENU.
SET AUTO_MENU TO "ROOT".
......@@ -78,7 +80,7 @@ UNTIL FALSE {
SET MENU_OPTION TO 0.
}
IF AUTO_MENU = "ROOT" ANDMENU_OPTION = 3 {
IF AUTO_MENU = "ROOT" AND MENU_OPTION = 3 {
CLEARSCREEN.
RUN AUTOHOVER.
RUN AUTOLAND.
......
......@@ -5,17 +5,8 @@
IF THROTTLE_MODE = "AERODYNAMIC" {
SET CONFIG:SAFE TO FALSE.
IF SHIP:TERMVELOCITY < 2000 {
SET THROTTLE_GOAL_MODE TO TRUE.
SET THROTTLE_GOAL_MINIMUM TO SHIP:TERMVELOCITY * 0.9.
SET THROTTLE_GOAL_MAXIMUM TO SHIP:TERMVELOCITY * 1.1.
SET THROTTLE_GOAL_INPUT TO SHIP:AIRSPEED * COS(ANGLE_OF_ATTACK).
}
ELSE
{
SET THROTTLE_GOAL_MODE TO FALSE.
SET THROTTLE_UNSAFE_LOCK TO 1.
}
SET THROTTLE_GOAL_MODE TO FALSE.
SET THROTTLE_UNSAFE_LOCK TO 1.
SET CONFIG:SAFE TO TRUE.
}
......@@ -76,6 +67,7 @@
ELSE IF THROTTLE_MODE = "MANUAL" {
UNLOCK THROTTLE.
SET SHIP:CONTROL:PILOTMAINTHROTTLE TO 0.0.
SET MAINTHROTTLE_READING TO SHIP:CONTROL:PILOTMAINTHROTTLE.
SET THROTTLE_GOAL_MODE TO FALSE.
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment