Be warned up front: this takes real scripting experience. Without it, a lot will go wrong, and your creation is likely to send you flying into whatever happens to be nearby, so build somewhere with nobody else around.
I have not fully cracked it myself, my plane drifts around without ever actually taking off. My advice is to look through Free Models for a working kit that already includes the tool. And if you rename your model, go into the script and update every place that name appears, or nothing will link up.
Good luck.