What is this?
This is a demo plane I created while developing the PYtoFT tool: a mini compiler that converts a Python script into Funky Trees variables. With this tool, it is possible to create complex flight control systems or other in-game logic in a much more structured and organized way. This makes control logic easier to read and debug, instead of relying on deeply nested, condensed Funky Trees expressions (which have tortured me for a long time).

What is PYtoFT, how to use it?
GitHub Page: Click
Project Home Page: Click
Python Script of this plane : Click
What PYtoFT does, is that it converts your Python script like this:
from lib.FT_functions import *
main_loop_name = '_process'
exclude = ['exported_var']
my_global_var = 1.0
exported_var = False
def _process() -> None:
global my_global_var
global exported_var
simple_var = 2000.0
if my_global_var:
if IAS > exported_var:
another_simple_var = foo(simple_var)
else:
another_simple_var = 0
else:
another_simple_var = -1
def foo(some_value) -> float:
input_val = some_value
if Altitude > 200:
input_val += 2
else:
input_val -=2
result = input_val + bar()
return result
def bar() -> float:
if IAS > 10:
return 5
else:
return 0
Into XML code like this:
Setter variable= my_global_var function= 1.0 priority= 0
Setter variable= simple_var function= 2000.0 priority= 0
Setter variable= another_simple_var function= (my_global_var ? ((IAS > exported_var) ? (((Altitude > 200) ? (simple_var + 2) : (simple_var - 2)) + ((IAS > 10) ? 5 : 0)) : 0) : -1) priority= 0
And then inject the code into your plane XML file.
Plane Features
- All Funky Trees expressions in the variable setters are generated from a Python script. I did not write a single line of funky trees expression in-game :)
- 89 parts!
- Detailed cockpit and displays
- Can land on a carrier
- Works in SP2
- Realistic flight characteristics
- Auto-trim, AOA limiter and G limiter






Enjoy your flight!
And Merry Christmas!
Specifications
Spotlights
- This craft is curated
- RicardoACE one month ago
- TheUltimatePlaneLover one month ago
- PlanariaLab one month ago
- Astro12 one month ago
- calli one month ago
- TheMouse one month ago
- LunarEclipseSP one month ago
- B1 one month ago
- IQinventory one month ago
- BOSKnight one month ago
General Characteristics
- Successors 4 airplane(s)
- Created On Windows
- Wingspan 35.5ft (10.8m)
- Length 52.2ft (15.9m)
- Height 18.8ft (5.7m)
- Empty Weight 27,301lbs (12,383kg)
- Loaded Weight 35,207lbs (15,969kg)
Performance
- Power/Weight Ratio 1.148
- Wing Loading 65.6lbs/ft2 (320.1kg/m2)
- Wing Area 537.0ft2 (49.9m2)
- Drag Points 1486
Parts
- Number of Parts 89
- Control Surfaces 3
- Performance Cost 707
So good
Ngl this needs to be a sp2 stock craft, its just amazing, the looks, everything
Best plane I ever took flight in AND IT'S MOBILE FRIENDLY nice job man
This is goat
Hey man, I know you probably get asked this a lot, but I figured I’d ask anyway. I’m working on an F-111C and want to feature a terrain-following radar, and you’re the first person I thought of since that’s really your thing. The goal is to make it as true to the real system as possible while keeping the part count reasonable. Totally understand if collabs or working on other people’s aircraft aren’t your thing (especially for a bronze player haha), and of course I will show you the finished product before you do anything. I know the answer is probably no, just thought I’d ask. Cheers
PykyTrees!!
when and what is the next craft you are going to post
@winterro You mean converting the funky trees code into Python? That cannot be done. What we can do is converting the funky trees C-like syntax into python style, but for long funky trees expressions, the converted Python code would still be very unreadable and nested, which does not really help. It's like a compiler can convert a high-level language into assembly but it cannot convert the assembly back into the original script.
Can you also make it work in reverse? @Whills
I am a master at funky trees as i have been experimenting with the SP input system for atleast 10 years.
with Python, i might as well not exist
How is this under 100 parts
@Whills FLOWRIDER0
@Whills how long did take you make the code
when is the F-22 coming out?
@V Sure, what's your discord user name?
Hats Off 😵
Damnnn Amaaazing!!!
Hey, is there a way I could contact you on discord?
чуваки мне уже 23 я помню как играл в это в школе (
@Someguywhomakesmods im sure i can help
Is it sp2??
really cool.
Hard to believe this beauty just on 89 parts
@Whills do you know how to make flight characteristics because my plane has weird flight so I wondered if I can have help ? I will give you link after reply
I’m subscribed to your YouTube channel wills
We want a Python Modded tag to crafts now 😭🙏🏻
I guess I need to learn python now