Jump to content

k-OS Plane Code (for k-OS plugin)


Recommended Posts

lock throttle to 1.
lock steering to heading h1 by p1.
print "THROTTLE 1".
wait 1.

set h1 to 90.
set p1 to 35.
set target to "target1".
set td to target:distance.

brakes off.
stage.
print "BRAKSE OFF".
print "ENGINE ON".

wait 30.
gear off.
print "GEAR UP".
set h1 to target:heading.

print "TARGET DISTANCE:" at (0,4).

print "PITCH:" at (0,5).

wait until altitude > 9250.
set p1 to 0.

until 0 {
if altitude > 10000 {set p1 to -1.}.
if altitude < 10000 {set p1 to 8.}.
print p1 at (8,5).
print target:distance at (17,4).
}.

:cool:

next "LANDING SISTEM"

NEED HELP for LANDING SISTEM

Edited by CrAzY GeNiUs
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...