Lesson 6: Creating your first airplane

The tutorial model


Ok, i know that if you have followed the other tutorials, you know that I dont make proper models for my tuts. I make them as simple as possible so that its easier to see i.e important vertex placements on my screenshots (hard to understand a 3d mesh view with 2000+faces in the background...) and for the fact that i dont want to use too much time on simple example models. So here it is, in all its glory:


The model we will we working with in this tutorial.

First thing you must do is download the model.You can get the ZIP here

As usual, extract the ZIP and put the folder you get in your bulldozer directory just as any other addon project. The folder is called "firstplane". The p3d is also called "firstplane", then there is a config.cpp file and some basic textures.


Fire Geometry and Geometry LOD looks like this.

Since we have learned many things by now, I have made the most obvious things on the model. Here Fire Geo and Geo are the same (just that Geo has wheight, of course). On a real project, Fire geometry would usually be mode detailed.


Landcontact contains just 3 vertices making up the trycycle landinggear.

The landContact LOD contains just 3 vertices, each repersenting the though point for the wheels. We will have to change this one later for the gear to work properly, though.


Nothing new in memory LOD yet. Just the basics of any vehicle.

And then the Memory LOD, containing things that you learned ages ago, right? Hope so.

So, so lets not go into o2 just yet. I want to show you what we need to do. The easiest way to explain the work needed; I want to you to compile the firsplane now. Yes, test it ingame and see what we need to do! Start your PBO program, compile the firstplane folder and put the resulting pbo in your addons folder. Yes it will fly! (but dont use the firstperson view for the pilot/cargo, since the View Pilot/Cargo LODs are not made yet, we`ll do that last (since we will be editing the original "0.00" LOD all the way).



The plane it its current state. Not very plane-ish, am I right? Note that the landinggear dont retract, the rotors dont spin and there are no control surfaces (flaps, rudder, alierons) present. Dont worry, we`ll fix all that!

Ok, so not much to brag about is it? No working gear animation, the rotors dont spin or anything. And there are no working flaps, rudder or alierons to see. But it can take off, land, and it flies very well. Thats due to the config file, and we can make ANYTHING fly with just the right configfile. So no magic really.

Ready to fix the plane? Then start up o2 and bulldozer and move to the next step.

Back__Home__Next