New airplanes (in progress)
In progress
New airplanes are still being built. They are not in the public game yet, and details on this page may change.
A mod can add a whole new airplane type: its own model, paint, name, stats and crew window drawing. Each new airplane is based on one of the game's airplanes and copies everything you do not give it from that airplane: stats, crew, crash animation, the look in the scramble result and the serial number blocks. The only thing you must give is the model.
A new paint scheme for an airplane the game already has is a skin, not a new airplane: see Airplane skins.
Example mods
examples/airplane_captured_bf109 adds a captured Bf 109 fighter based on the Spitfire. examples/airplane_captured_he111 adds a captured He 111 bomber based on the Stirling, with two propellers and a crew of five set through Crew and CrewSlots. Copy one into your Mods/ folder to see a complete new airplane in the game.
The airplane's folder
Every new airplane gets a folder inside the mod's Airplanes/ folder, named after the airplane's id:
Mods/
my_mod/
Airplanes/
config.json
Bf109/
Bf109.fbx required - the model (.fbx or .glb)
Bf109.destroyed.fbx optional - the wreck
Bf109_BaseMap_1001.png optional - the paint, more tiles and specular like a skin
Bf109.thumbnail.png optional - the picture in the order window and the airplane lists
Bf109.blueprint.png optional - the drawing in the crew window
Without a paint the model shows the based-on airplane's first skin; without a wreck, the based-on airplane's wreck is used; without a thumbnail or a blueprint, the based-on airplane's are shown. The paint's tiles and specular files are named like a skin's, see Textures. The thumbnail may be at most 512 × 512 pixels and 10 MB; a larger one is skipped with a warning in the log and the based-on airplane's picture is shown.
config.json
New airplanes go under Airplanes in the mod's Airplanes/config.json, the same file that lists skins:
{
"Airplanes": {
"Bf109": {
"BasedOn": "spitfire",
"Name": "Captured Bf 109",
"FullName": "Messerschmitt Bf 109 E (captured)",
"Stats": { "Health": "90" },
"CrewSlots": [[0.45, 0.48]]
}
}
}
| Key | Required | What it does |
|---|---|---|
BasedOn |
yes | The game's airplane the new one copies. An id from Airplane ids. |
Name |
no | The name the game shows. One text for all languages. Without it, the airplane's id is shown. |
FullName, ShortName |
no | Longer and shorter name, shown in the order window and the crew window. Without them, Name is used. |
Manufacturer, Armament, MaximumSpeed, Engine, Range, Ceiling, Dimensions |
no | The details the order window lists. Empty when left out. |
Stats |
no | Stats that differ from the based-on airplane, keyed by the column names of the game's airplane table (Health, Crew, Fuel Capacity, ...). Values are text: "Health": "90", "Crew": "Pilot,Gunner". |
CrewSlots |
no | Where each crew member's slot sits on the blueprint, in crew order, as [x, y] fractions of the drawing: [0, 0] is the bottom left corner, [1, 1] the top right. Slots you leave out are spread across the middle. |
A skin may be painted on your new airplane too: write the airplane's id from Airplanes (here Bf109) as the skin's Airplane.
Naming the parts of the model
The game finds the parts of your model by their node names. Capital letters, -, _, . and spaces do not matter, so Air-Pivot, air_pivot and AirPivot are the same. The game's own airplanes use exactly these names, so you can look at one in your 3D program.
| Node name | What the game does with it | Without it |
|---|---|---|
Air-Pivot |
The part that tilts in flight. Put everything that moves with the airplane under it. | Your model tilts with the based-on airplane's pivot. |
Propeller-Pivot (one per propeller, e.g. Propeller-Left-Pivot) |
Spins around its own forward axis while the engine runs. | No propeller spins. |
Wheel-Left, Wheel-Right, Wheel-Tail |
The angle the airplane rests at on the ground is worked out from where these touch the ground. | The based-on airplane's angle is used. |
1-Interaction-Pilot, 2-Interaction-Gunner, ... |
The crew seats, in the order of the number in front. | The based-on airplane's seats. |
Interaction-Paint |
Where the crew stand to paint and refuel the airplane. Put it beside the fuselage. Only its spot on the ground counts: the crew stand on the ground below it, facing the fuselage, however far the airplane tilts back on its wheels when parked. Its height and rotation do not matter. | The based-on airplane's spot. |
FireEmitter |
The mesh fire burns on. | The largest part directly under Air-Pivot that is not glass or the inside. |
- Size and facing. Build the airplane in metres at its real size, standing on the ground at the origin, like the game's own airplanes. Which way the nose points does not matter if the model has a
Propeller...node and aWheel-Tailnode: an airplane whose propeller sits behind its tail wheel is turned around. - Landing gear. A retractable gear needs one animation (take) in the model file that keys only the gear parts. Its first frame is the gear down, as modelled; its last frame is the gear fully up. The game holds the take between the two by the airplane's height: down on the ground, up from 10 m. Do not key the propellers or
Air-Pivot; the game moves them itself. Fixed gear: no animation. - Marking decals (squadron codes, roundels, serial number) show only where your model has marking points, see Marking points.
Effect points
The airplane's effects come from the based-on airplane, and they sit where they sit on that airplane. On a model of a different size, wheel dust ends up beside the wheels and smoke away from the engine. Put an empty node (no mesh) in your model at each spot where an effect belongs and name it as below; the game moves the effect there. All of them are optional: an effect without a point stays where the based-on airplane has it. Only the position counts, so the node's rotation and its place in the hierarchy do not matter: the effects always move with Air-Pivot.
| Node name | Effect | When it shows | One or many |
|---|---|---|---|
Effect-WheelDust-... (e.g. Effect-WheelDust-Left, -Right, -Tail) |
Dust thrown up by a wheel. Put it where the tyre touches the ground. | While the airplane rolls on the ground. | One per point |
Effect-WingTrail-... (e.g. Effect-WingTrail-Left, -Right) |
The thin trail behind a wing tip. | In flight. | One per point |
Effect-Exhaust-... |
Jet engine exhaust. Put it at the nozzle. Only shows when the based-on airplane is a jet (meteor, vampire). |
While the engine runs. | One per point |
Effect-Sparks |
Sparks of a damaged airplane. | Below half health. | One |
Effect-Smoke |
Smoke from a hit engine. | On a landing with a smoking engine. | One |
Effect-SmokeTrail |
A thick smoke trail. | While the airplane is disabled. | One |
Effect-Explosion |
The explosion of a crash. Put it on the ground in front of the airplane. | When the airplane crashes on landing or while being moved. | One |
Effect-FireSmoke |
The smoke above a burning airplane. | While the airplane burns. | One |
- One per point: the game makes one copy of the effect for every point you give, so a twin-engine airplane can have
Effect-Exhaust-LeftandEffect-Exhaust-Right. All copies are the same effect: the based-on airplane's first one of that kind. - One: only the first node with exactly that name is used.
- Fire needs no point: it burns on the
FireEmittermesh (see the table above). - Only the based-on airplane's effects. The points move effects; they cannot add one. A new airplane has exactly the effects of the airplane it is based on: jet exhaust only when it is based on
meteororvampire, wing trails only when the based-on airplane has them. ChooseBasedOnwith this in mind.
Marking points
A new airplane carries the marking decals of the airplane it is based on, in that airplane's style, sizes and colours: the squadron code, the airplane's own letter, the roundels, the fin flash and the serial number. The game cannot know where they belong on your model, so it shows a marking only where your model names a spot for it. Put an empty node (no mesh) in your model for each marking you want and name it Marking-<side>-<slot>, for example Marking-Port-Image. Every point is optional: a marking without a point is not shown, and a model without any marking point shows no markings at all. Painting the markings into your texture instead still works.
| Slot | What it shows |
|---|---|
LeftText |
The squadron code, the part of the designation before the - (U5 of U5-G). |
Image |
The roundel on the fuselage. |
RightText |
The airplane's own letter, the part of the designation after the - (G of U5-G). |
Nose |
The style's nose image, if it has one. |
Wing |
The roundel on top of the wing. |
UnderWing |
The roundel under the wing. |
FinFlash |
The fin flash on the tail fin. |
SerialNumber |
The airplane's serial number, e.g. PT255. |
- Sides.
<side>isPort(the left side, seen from the pilot's seat) orStarboard(the right side). Each side needs its own points:Marking-Port-WingandMarking-Starboard-Wingfor the two wings. - Placing a point. Put the point on the surface. Its forward axis (Unity's +Z) points into the airplane, along the direction the marking is projected; its right axis (Unity's +X) is the direction the text reads. For
Wingthe forward axis points down into the wing, forUnderWingup into it. Your 3D program may name these axes differently, so check the result in the game. - Size. The markings keep the based-on airplane's sizes; the point's scale does not change them.
- Codes and serial numbers come from the game: every airplane gets its squadron code, its letter and a serial number when it arrives. If you give points for them, do not also paint them into your texture, or both show.
Where a new airplane shows up
The game knows a new airplane as mod_<modId>_<id>, in lower case: the Bf109 of the mod captured_bf109 is mod_captured_bf109_bf109. It is unlocked from the start, appears in the order window, and is part of crash sites, the crew window and scrambles like any other airplane. Quests and promo codes do not know it.
Saves and disabled mods
When a save holds a new airplane whose mod is no longer switched on, the airplane becomes the airplane it was based on. Switching the mod back on later does not turn it back.
Seeing your changes
New airplanes are read each time a level is loaded, like skins: load a save to see a changed model, texture or config.json. For a new mod folder, press Refresh in the Mods window first. More in Seeing your changes and Testing and reloading.