Lesson 1: Creating your first addon

Making the structure


Now start O2 and we will begin creating the crate. Its really simple. If you have had a look at the textures (you`ll need the TexViewer for that since they are all *.pac) you`ll see how the structure should look like. Here`s what you should do:

Now you have the basic shape of the crate. But you`ll notice that we see the side of the crate in the front view even though it would be more logic to have the front or back of the crate in front view (makes texturing more logic). So lets rotate the crate:

Ok, now have a look at the 3D view. Look at the grid and you`ll notice that the crate`s center is at the Origo. Also that half of the crate is below the grid. This is bad, because on simple objects like this OFP uses the grid as the ground level. So unless we want the crate half-burried into the ground we must move it upwards:



Note: If you can`t see some of the vertrices in 3D view, try turning "Face Culling" OFF from the View-menu (or hit the 'F' key).

Now that wasnt so hard now was it? Well, the basic shape is done. In the next lessons we will talk about something called Geometry LOD (Level of detail).

<-Back__Home__Next->