Profile image

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

240k MAPA  1.8 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.9k 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.8 years ago
  • Profile image
    240k MAPA

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

    Pinned 1.8 years ago
  • Profile image
    12.5k overlord5453

    @MobileBuilder21 logically speaking, that shouldn't be a problem or a requirement since drag is not important on them unlike wings and engines where drag plays a important role in their function.

    one month ago
  • Profile image

    (Ik MAPA's dead but I'm asking around...) What about calculateDrag=false for Cockpits and Landing Gear?

    +1 one month ago
  • Profile image
    15.1k Rizik23

    Thank you for the information, because of you now I am able to make an AI plane.

    +1 2 months ago
  • Profile image
    1,420 THEOKPILOT

    Im not sure if the 7 wing thing is true. I have a dive bomber that spawns very often and has more than 7. Also, the furthur out i get from the island the weirder the ai behaves. Most of the ai out in the ocean chases me till its about 4 miles away and then does loops. Weird...

    3 months ago
  • Profile image
    94.1k winterro

    anyways, i have an overengineered gold prix creation in my collection that does spawn with a gyroscope

    4 months ago
  • Profile image
    427 Fandi

    why the a.i on your american 767-200 weird?

    4 months ago
  • Profile image

    @MAPA thank you

    4 months ago
  • Profile image
    240k MAPA

    @NormalCv580enjoyer Yes, it is within the parameters

    4 months ago
  • Profile image

    No way simpleplanes AI is that advanced
    10 years ago 💀
    Oh my days

    4 months ago
  • Profile image

    My MiG-15 that have 32 parts have 2492 drag points and spawns normally. Is it normal? @MAPA

    4 months ago
  • Profile image

    @Sarp17 welp, im on my poorest phone. Anything was same when you followed the setup

    +1 4 months ago
  • Profile image
    2,178 Sarp17

    @Rjenteissussy my iPad doesn’t have the same abilities as he does

    +2 4 months ago
  • Profile image

    @Sarp17 still works fine on mobile aswell

    4 months ago
  • Profile image
    2,178 Sarp17

    ………………..I’m on mobile…………….💀💀💀💀💀💀💀💀💀

    4 months ago
  • Profile image
    2,178 Sarp17

    ………………………………….um…….

    4 months ago
  • Profile image
    240k MAPA

    @DasAbhinab Structural wings can be used for this purpose, you just need to respect the limit of 7 wings

    +2 7 months ago
  • Profile image
    1,260 DasAbhinab

    @MAPA will there be any problem if I use structural wing but it does has controls and flaps... will it still be rejected... there is one soviet aircraft I made with structural + controls and still approved by AI... is it some kind of excption??

    7 months ago
  • Profile image
    8,785 Rb2h

    I have so many planes that AI spawns in. They even fight each other when I shoot at one with missiles. It goes on a rampage!

    +3 7 months ago
  • Profile image
    240k MAPA

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

    +1 7 months ago
  • Profile image
    15.9k Noob101

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

    +1 7 months ago
  • Profile image
    37.2k Christiant2

    @TheGliderGuy Yay! New glider :)

    +1 7 months ago
  • Profile image
    35.5k TheGliderGuy

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

    +1 7 months ago
  • Profile image
    240k MAPA

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

    +1 7 months ago
  • Log in to see more comments