Profile image

Tutorial on how to create planes for the AI that can be automatically spawned in the skies

155k MAPA  1.2 years ago


Illustrative image, original image credit: Simplilearn


>>Skip to Comments<<


Thanks to @WinsWings' MAPA Challenge, more and more users are interested in knowing how to create AI compatible planes and what are the basic requirements for your plane to be spawned by the AI. In this tutorial I will try to answer all these questions and show you what you should do to create an AI compatible aircraft. Okay, that being said, now let's go to the basic requirements that will make your aircraft compatible with AI.

Requirement 1: Part count limit is 96

I've been studying AI since 2018 and after countless tests I found that the limit of parts that AI tolerates on Android is 96 parts. It's quite limited I know, but with that amount of parts you are able to do a lot, you are able to do from a simple Cirrus SR22 of 96 parts, to a full scale Antonov An-225 of only 95 parts!

However, the closer you get to the parts limit, the less chances your aircraft will spawn, so if your aircraft is above 89 to 95 parts, you will have to subject your aircraft to severe tests with A.I to ensure that can be spawned. the chart below shows the success percentage of most recent A.I approvals


Requirement 2: Your Aircraft cannot have more than 7 wings

The maximum limit allowed by the AI is only 7 wings, this also includes panels and wing structures, many make the fatal mistake of using panels and wing structures, or even wings without control surfaces to make small details on the wings like Winglets or smooth curves in the wings. You should no longer use these methods as this will void your aircraft's AI approval. Instead, you must use the fuselage to create fake or decorative wings and winglets, remember you are creating an aircraft to be controlled by the AI. so there is no need to make a highly detailed aircraft.


Requirement 3: Your plane needs to perform excellently in flight

Your plane needs to have a great performance in flight, if your plane has an anomaly or a very relaxed and critical stability or tends to crash easily, it will certainly be rejected by the AI. in addition he needs to be able to make aggressive and closed maneuvers, if he has any gyroscopes or helicopter blades in his fuselage he will also be rejected by the AI. so make a very maneuverable aircraft that has an excellent performance in flight.

Requirement 4: Make your aircraft be able to land at the main airports in the game:

For AI to be able to land your aircraft accurately and safely at major airports, you need to remove drag points from the entire aircraft fuselage. you just use XML to do this. you must remove all drag points until the fuselage is completely white and free of any aerodynamic drag.
((ATTENTION)): you must not remove the drag from the engines and wings, otherwise your aircraft will be very inefficient and will be rejected by the AI
Step 1: Select fuselage and enable XML

Step 2: Drag the elevator down until you find (calculateDrag)

Step 3: After finding, make sure that the script is aligned with (calculateDrag) so there are no errors. after that you will change (true) for (false), then confirm the change in the button below where the arrow displays

And that's how you eliminate drag points, NOTE: it's best you do this right in the first block you start building your plane, this will save you time and you will have to do this in each fuselage of the aircraft so it doesn't get too tedious

After removing all red colors from the fuselage it turns white, this is a sign that all drag has been removed and now your AI aircraft is able to land at any airport in the game

Final Requirement: Wait for AI Approval of your Aircraft:

After finally finishing your AI compatible Aircraft, now all you need to do is log into the game and enable AI traffic, I recommend leaving AI traffic on to increase the chances of your aircraft being spawned. it will take about 23 seconds to spawn, however you should never fly above 300 IAS/Knots , I recommend waiting patiently on the ground at Yeager Airport preferably, until your AI aircraft spawns in the skies. and when it finally spawns the AI it will make a programmed trajectory to evaluate the efficiency of your aircraft, it will make several aggressive maneuvers and several loops, after that it will follow a linear trajectory, this is the sign that your aircraft has been approved and from now it will spawn frequently in your skies.

To further speed up the AI approval process, I recommend leaving AI air traffic in the Dense

Hope I helped, sorry my english is a bit rusty ;)
  • Log in to leave a comment
  • Profile image
    48.6k EngieWeeb

    I wish this info was known when I started playing SP. I really do. FINALLY someone comes along that actually explains the exact requirements for AI-friendly planes to spawn in. You have my thanks.
    .
    I will add that the no-drag fuselage trick is just better for builds period; makes balancing realistic speed way easier. Also useful for multiplayer when someone inevitably spawns with a 1000+ part build and wonders why there's lag everywhere lol

    Pinned 1.2 years ago
  • Profile image
    155k MAPA

    Thank you all for the upvotes and comments, I really hope I helped you

    Pinned 1.2 years ago
  • Profile image
    155k MAPA

    @Noob101
    Light aircraft: 93 parts
    Heavy aircraft: 89 parts

    yesterday
  • Profile image
    12.0k Noob101

    @MAPA what's the minimum part count for ai just wondering because i'm making a 39 part jas-39-gripen

    yesterday
  • Profile image
    8,281 Christiant2

    @TheGliderGuy Yay! New glider :)

    +1 2 days ago
  • Profile image
    33.7k TheGliderGuy

    @MAPA That is amazing to hear!! il maybe make some il credit you NP!!

    +1 3 days ago
  • Profile image
    155k MAPA

    @TheGliderGuy Sometimes they spawn without engines, so it is possible to create gliders

    +1 3 days ago
  • Profile image
    33.7k TheGliderGuy

    @MAPA Do ai planes have to have engines?

    +1 3 days ago
  • Profile image

    I should try to make ai flyable planes for internet numbers

    3 days ago
  • Profile image
    6,280 oldmate52

    @Cessna921alt thanks

    3 days ago
  • Profile image

    @oldmate52 well an engine counts as a part, so your call on that one.

    4 days ago
  • Profile image
    6,280 oldmate52

    How many engines an AI plane have?

    15 days ago
  • Profile image
    27.7k TheMouse

    @MAPA
    Ok.

    18 days ago
  • Profile image
    155k MAPA

    @TheMouse It needs to generate itself, if you try to force it to generate it manually you are only increasing the rejection by the AI

    +1 18 days ago
  • Profile image
    27.7k TheMouse

    I built a plane, following every single step. Now I need to get it approved. If I spawn it manually myself, will it still get approved, or does it need to spawn itself to do that?

    18 days ago
  • Profile image
    155k MAPA

    @winterro This just proves how infinitely better AI is on Windows

    one month ago
  • Profile image
    88.5k winterro

    @MAPA also, I made a MILL-V12 with 80 parts that flies using 2 prop engines, but that one doesn’t, it has like 3 wings. And basically the same stats as a normal twin prop.

    (Things that use gyros and less than 2 wings do spawn)*

    one month ago
  • Profile image
    155k MAPA

    @winterro The parts rule is valid for Android devices, on Windows the limit is much higher

    one month ago
  • Profile image
    88.5k winterro

    @MAPA There is a small problem with the parts theory, I once built a big plane-thing(like 100ft), it has 121 parts and it spawns like crazy. Like 2/3 crazy, more than the tutorial plane.

    It also has structural wings with wing psychics enabled

    So, **It breaks nearly every rule, but it still spawns, so why does it?

    one month ago
  • Profile image

    What so ever this Is good for me so I can make Civilian aircraft tho

    3 months ago
  • Profile image

    @MAPA of this link https://www.simpleplanes.com/a/Xi2vPq/AIT-212nd-version I solved all the problems you pointed out, but why hasn't it been generated as an AI plane in sandbox mode?

    3 months ago
  • Profile image
    155k MAPA

    @Montana13427645 I do not recommend using VR components in your A.I planes, remember that A.I has many random passing variables, It may have been approved on your device, but there is no guarantee that it will be approved on the devices of other users.

    3 months ago
  • Profile image

    @MAPA Is it because my T-21 has a more complete instrument that makes the system mistakenly think that it can run in VR?

    3 months ago
  • Profile image

    @MAPA But I have another plane that also has VR components and has a similar number of parts, but it has also been approved as an AI plane. Why?

    3 months ago
  • Profile image
    155k MAPA

    @Montana13427645 His aircraft was disapproved for containing VR components. Remember your goal is to make an A.I plane, So there is no need to make an extremely detailed aircraft, this goes against the principles of A.I.

    3 months ago
  • Log in to see more comments