This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // FLY.KS | |
| // Usage: Type 'RUN FLY.' in kOS console for piloting planes. | |
| // For shuttle reentry type 'RUN FLY("SHUTTLE").' in console when shuttle is about 20000 and about over the mountains. Your mileage may vary. | |
| // 2017 FellipeC - Released under https://creativecommons.org/licenses/by-nc/4.0/ | |
| PARAMETER KindOfCraft IS "Plane". | |
| CLEARSCREEN. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FUNCTION OffsetSteering { | |
| // This function is intended to use with shuttles and spaceplanes that have engines not in line with CoM. | |
| // Usage: LOCK STEERING TO OffsetSteering(THEDIRECTIONYOUWANTTOSTEER). | |
| // Example: LOCK STEERING TO OffsetSteering(PROGRADE). | |
| // 2017 FellipeC - Released under https://creativecommons.org/licenses/by-nc/4.0/ | |
| PARAMETER DIRTOSTEER. // The direction you want the ship to steer to | |
| LOCAL NEWDIRTOSTEER IS DIRTOSTEER. // Return value. Defaults to original direction. |
NewerOlder