The bad_autopilot.noe.rar file you have requested: Operation Flashpoint: Resistance / Scripts / BadAss' Autopilot - 5KB is not available. Perhaps try browsing all files for the game Operation Flashpoint: Resistance and upload any files you want to share or are missing.
We are calling on our community to help submit files that were previously hosted on GameFront / FileFront but are now missing.
If you have this file, please upload it using the form below (please ensure the filename and filesize match) and we shall do the rest.
This little example mission shows some kind of autopilot. The autopilot lets your chopper fly constantly in a height of 25 m above the ground, automatically. With the autopilot you can easily fly over steep cliffs. Flying over high houses can lead to crashs anyway.
The correction of your flying height is done with the SetVelocity command. The script is scanning the terrain below the chopper as well as in front of it constantly. The actual height is compared with the programmed height and corrected appropriatly. Since velocity is a vector you can't manipulate height only. Direction and speed are manipulated as well. Consequently piloting the chopper gets a little sluggish sometimes.
There are no comments yet. Be the first!