User Tools

Site Tools


ofp:modeling:brsseb_lesson2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ofp:modeling:brsseb_lesson2 [2008-10-06 07:53]
snakeman fixed typos.
ofp:modeling:brsseb_lesson2 [2024-03-19 06:41] (current)
snakeman download link torrent magnet updated.
Line 24: Line 24:
 Lets have a look at the model that I will be using during this tutorial. Its ugly as hell but its all you need to get a good understanding on how to get a car model into OFP. Well, here it is: Lets have a look at the model that I will be using during this tutorial. Its ugly as hell but its all you need to get a good understanding on how to get a car model into OFP. Well, here it is:
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_b_1.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_b_1.jpg }}
 //Simple car model with textures.// //Simple car model with textures.//
  
 So, you can either make your own model and use that for this tutorial or you can just download the one I made and start using that one. Download mine and this lesson will take a shorter time. If you make your own model sometime and are unsure on how to get in ingame, just run trough it again with your new model. But for starters, download my model. So, you can either make your own model and use that for this tutorial or you can just download the one I made and start using that one. Download mine and this lesson will take a shorter time. If you make your own model sometime and are unsure on how to get in ingame, just run trough it again with your new model. But for starters, download my model.
  
-  * Download car model with textures and configfile ​[[http://​tactical.nekromantix.com/​ofp/​downloads/​Brsseb_lesson2_start.rar|here]].+  * Download car model with textures and configfile Brsseb_lesson2_start.rar ​from bottom of this page.
   * Put the firstcar folder in the same place you installed Bulldozer   * Put the firstcar folder in the same place you installed Bulldozer
  
 When you have done that, open the p3d-model and have a look at how the model is put together. Its simple stuff. Just some resized box- and cylinder-structures with textures on them. Currently there are only two LODs there, "​0.000"​ and Geometry. There LODs should already look familiar if you've read lesson 1. When you have done that, open the p3d-model and have a look at how the model is put together. Its simple stuff. Just some resized box- and cylinder-structures with textures on them. Currently there are only two LODs there, "​0.000"​ and Geometry. There LODs should already look familiar if you've read lesson 1.
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_b_2.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_b_2.jpg }}
 //Geometry LOD structures//​ //Geometry LOD structures//​
  
Line 53: Line 53:
 Now you might wonder how our model suddenly became a real functional OFP car just like that. And if you look closer on the model you`ll see that its not that much separating your car model from that silly crate-model we made in tutorial 1. So how did this happen? The answer lies in the config-file:​ Now you might wonder how our model suddenly became a real functional OFP car just like that. And if you look closer on the model you`ll see that its not that much separating your car model from that silly crate-model we made in tutorial 1. So how did this happen? The answer lies in the config-file:​
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_c_1.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_c_1.jpg }}
 //The important part of the config-file,​ the "​Firstcar"​ class.// //The important part of the config-file,​ the "​Firstcar"​ class.//
  
Line 82: Line 82:
   * With that selected, make a new save selection (in the "Named selection window"​) and call it "levy predni"​. It means "left front" in english.   * With that selected, make a new save selection (in the "Named selection window"​) and call it "levy predni"​. It means "left front" in english.
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_d_1.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_d_1.jpg }}
  
 Its the same way for all the wheels, just with different names for each wheel. Select a wheel, define a selection with the right name. Simple. Here is the final pic with names for all the wheels: Its the same way for all the wheels, just with different names for each wheel. Select a wheel, define a selection with the right name. Simple. Here is the final pic with names for all the wheels:
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_d_2.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_d_2.jpg }}
  
   * Pravy predni = right front   * Pravy predni = right front
Line 105: Line 105:
   * Then hit "​insert"​ and a new vertex will be created there. See pic below.   * Then hit "​insert"​ and a new vertex will be created there. See pic below.
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_e_1.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_e_1.jpg }}
  
   * Now go to front view, lock the x-axis (hit "​x"​-button) and move the pixel just right under the right front wheel. Should look like this in 3d view:   * Now go to front view, lock the x-axis (hit "​x"​-button) and move the pixel just right under the right front wheel. Should look like this in 3d view:
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_e_2.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_e_2.jpg }}
  
 Now you know how to do that. You must place one vertex under each wheel, so use the info above on how to do place the last 3 vertices. It should look like this afterward: Now you know how to do that. You must place one vertex under each wheel, so use the info above on how to do place the last 3 vertices. It should look like this afterward:
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_e_3.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_e_3.jpg }}
  
 Now we have to do the same thing as the last page, select one at the time and define a selection for it. Select the front right vertex, make a new selection and call it the right name, etc. Here is the selection names: Now we have to do the same thing as the last page, select one at the time and define a selection for it. Select the front right vertex, make a new selection and call it the right name, etc. Here is the selection names:
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_e_4.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_e_4.jpg }}
  
   * pravy predni tlumic = right front damper   * pravy predni tlumic = right front damper
Line 135: Line 135:
   * In left view zoom in to the front wheel pair, place cursor right beneath wheel and press "​insert"​ to create a vertex.   * In left view zoom in to the front wheel pair, place cursor right beneath wheel and press "​insert"​ to create a vertex.
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_f_1.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_f_1.jpg }}
  
   * Go to front view, lock x axis and move the vertex to the //inner edge of left front wheel//.   * Go to front view, lock x axis and move the vertex to the //inner edge of left front wheel//.
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_f_2.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_f_2.jpg }}
  
   * Now hold down shift, and drag the vertex to the //outer wheel edge// and a copy should appear there. See pic   * Now hold down shift, and drag the vertex to the //outer wheel edge// and a copy should appear there. See pic
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_f_3.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_f_3.jpg }}
  
 Now a same pair of vertices should be placed under the last 3 wheels. Do this now. Then select each vertex (one by one, not pairs!) and make a save selection for each of them. See picture for all the selection names. Now a same pair of vertices should be placed under the last 3 wheels. Do this now. Then select each vertex (one by one, not pairs!) and make a save selection for each of them. See picture for all the selection names.
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_f_4.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_f_4.jpg }}
  
   * stopa PLP: Front Left Right marker   * stopa PLP: Front Left Right marker
Line 167: Line 167:
   * With it selected, create a new selection and name it "​volant"​. That means "​steering wheel"​.   * With it selected, create a new selection and name it "​volant"​. That means "​steering wheel"​.
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_g_1.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_g_1.jpg }}
  
 But that aint enough to make it work properly. It needs an axis to spin around. And we need 2 vertices to do that: But that aint enough to make it work properly. It needs an axis to spin around. And we need 2 vertices to do that:
Line 173: Line 173:
   * In left view, move cursor and create two vertices like this:   * In left view, move cursor and create two vertices like this:
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_g_2.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_g_2.jpg }}
 //Both selected to show the better in pic. Green lines added to indicate axis.// //Both selected to show the better in pic. Green lines added to indicate axis.//
  
Line 179: Line 179:
   * Select the other one, create new selection and name it "​osavolantkon"​ ( means "axis of steering wheel end").   * Select the other one, create new selection and name it "​osavolantkon"​ ( means "axis of steering wheel end").
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_g_3.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_g_3.jpg }}
  
 OK, if you compile and test now, the steering wheel should work fine. One thing though, note that we used a structure with a texture on it as the steering wheel. Usually people use a texture with a transparent background color. That way you can have more realistic steering wheels. But that's a bit harder to do and not for this tutorial. We keep it simple, don't we?  OK, if you compile and test now, the steering wheel should work fine. One thing though, note that we used a structure with a texture on it as the steering wheel. Usually people use a texture with a transparent background color. That way you can have more realistic steering wheels. But that's a bit harder to do and not for this tutorial. We keep it simple, don't we? 
Line 196: Line 196:
   * In the dialog, just write "​JeepDriver"​ and hit ok   * In the dialog, just write "​JeepDriver"​ and hit ok
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_h_1.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_h_1.jpg }}
  
 A triangle made of 3 vertices should show up. This is the driver model proxy in o2. A triangle made of 3 vertices should show up. This is the driver model proxy in o2.
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_h_2.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_h_2.jpg }}
  
 But if you have a look at Bulldozer, the full driver model will be shown. The driver model wont be added to your car-model or the final PBO, its just there for reference. Ingame, OFP will find the driver model in its own data3d folder. But this will help your in placing your driver correctly. And no, the proxy model doesn'​t have textures. ​ But if you have a look at Bulldozer, the full driver model will be shown. The driver model wont be added to your car-model or the final PBO, its just there for reference. Ingame, OFP will find the driver model in its own data3d folder. But this will help your in placing your driver correctly. And no, the proxy model doesn'​t have textures. ​
Line 206: Line 206:
 Select the driver proxy (triangle) using F2. We need to rotate and move it to make the driver sit in the seat. You should be able to do this by your self, rotating and moving was learned in lesson 1. When you have the driver roughly in the seat, use o2 to make small adjustments to the proxy position and use bulldozer to see how it looks. (You might have to tilt it a little to get more room for his feet!) Try to make the model sit nicely in the seat, like this: Select the driver proxy (triangle) using F2. We need to rotate and move it to make the driver sit in the seat. You should be able to do this by your self, rotating and moving was learned in lesson 1. When you have the driver roughly in the seat, use o2 to make small adjustments to the proxy position and use bulldozer to see how it looks. (You might have to tilt it a little to get more room for his feet!) Try to make the model sit nicely in the seat, like this:
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_h_3.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_h_3.jpg }}
 //​Drivermodel rotated and moved into right position.// //​Drivermodel rotated and moved into right position.//
  
Line 219: Line 219:
   * Use the scale-function on the menu, Points->​Tranform 3d->​Scale. Set the X-value to 2 and hit OK. Also, in the Geo LOD, resize the block meant for the seatblock. The seat will now be like this:   * Use the scale-function on the menu, Points->​Tranform 3d->​Scale. Set the X-value to 2 and hit OK. Also, in the Geo LOD, resize the block meant for the seatblock. The seat will now be like this:
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_i_1.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_i_1.jpg }}
  
   * Now select the steering and the driver proxy (triangle). Make sure to select the wheel, the pole, the driverproxy and the two points indicating the steeringwheel axis   * Now select the steering and the driver proxy (triangle). Make sure to select the wheel, the pole, the driverproxy and the two points indicating the steeringwheel axis
   * Using front view and with locked x-asix, move everything to the right (or left, if your british of something :) )   * Using front view and with locked x-asix, move everything to the right (or left, if your british of something :) )
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_i_2.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_i_2.jpg }}
 //It should look like this in Bulldozer.//​ //It should look like this in Bulldozer.//​
  
Line 231: Line 231:
 Now we do the same thing as for the driver proxy and your should be able to do that easy if you understood the last page. Remember to write "​JeepCoDriver"​ instead of driver when you add the proxy. Then rotate and move it into position using Bulldozer to check how it will look ingame. Here is how it should look: Now we do the same thing as for the driver proxy and your should be able to do that easy if you understood the last page. Remember to write "​JeepCoDriver"​ instead of driver when you add the proxy. Then rotate and move it into position using Bulldozer to check how it will look ingame. Here is how it should look:
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_i_3.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_i_3.jpg }}
  
 When your`re happy, WAIT, don't compile yet! No no! There is something we must do first: When your`re happy, WAIT, don't compile yet! No no! There is something we must do first:
Line 239: Line 239:
   * Do the same on the other side of the car. You should now have 2 vertices on each side of the car at ground level like this:   * Do the same on the other side of the car. You should now have 2 vertices on each side of the car at ground level like this:
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_i_4.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_i_4.jpg }}
 //Both vertices selected to help seeing them// //Both vertices selected to help seeing them//
  
Line 245: Line 245:
   * And of course we must name each one with a saved selection like before. Call the one on the driver side "pos driver"​ and the other "pos cargo"​. Now both the driver and passenger can easily step in and out of the vehicle. (Note: you don't need to stand exactly on the vertex, just near it)   * And of course we must name each one with a saved selection like before. Call the one on the driver side "pos driver"​ and the other "pos cargo"​. Now both the driver and passenger can easily step in and out of the vehicle. (Note: you don't need to stand exactly on the vertex, just near it)
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_i_4.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_i_4.jpg }}
  
 So, test time yet? Nope, but we`re almost there. We must do some changes to the configfile to allow our car to carry passengers. So, test time yet? Nope, but we`re almost there. We must do some changes to the configfile to allow our car to carry passengers.
Line 262: Line 262:
 Some may be disappointed now, saying like "it that it"?, and experts just stopping by crying out "Where is the stuff about Fire Geometry or Hitpoints"​. Well, this is a basic tutorial and my goal was clear, to give you some basic skills in OFP car making. And now you`ve got it. Thus, Im tierd of writing. ​ Some may be disappointed now, saying like "it that it"?, and experts just stopping by crying out "Where is the stuff about Fire Geometry or Hitpoints"​. Well, this is a basic tutorial and my goal was clear, to give you some basic skills in OFP car making. And now you`ve got it. Thus, Im tierd of writing. ​
  
-There are many things yet to discover, like how to make glass for windows, proper hitpoints and fire gemoetry LOD, working instrument panels, front and brakelights,​ etc. Now the road ahead is open. You must head out to the forums, download LOADS of different car addons, break open their pbo file and analyze how the experts do it. I can personally recommend Mechanic'​s amazing vehicles. And you can download the finished tutorial model [[http://​tactical.nekromantix.com/ofp/​downloads/​Brsseb_lesson2_done.rar|here]].+There are many things yet to discover, like how to make glass for windows, proper hitpoints and fire gemoetry LOD, working instrument panels, front and brakelights,​ etc. Now the road ahead is open. You must head out to the forums, download LOADS of different car addons, break open their pbo file and analyze how the experts do it. I can personally recommend Mechanic'​s amazing vehicles. And you can download the finished tutorial model Brsseb_lesson2_done.rar OFP.Brsseb_LessonTorrent Magnet from below: 
 +<​code>​ 
 +magnet:?​xt=urn:​btih:​40aac3407210ddb8ffcee06cdb009c0b099ccdce&​xt=urn:​btmh:​122046986f756bcebf9744dc9f81bc3fc736a54e164113ec62e18c827a4a06271364&​dn=OFP.Brsseb_Lesson&​tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&​tr=udp%3a%2f%2ftracker.openbittorrent.com%3a6969%2fannounce 
 +</​code>​
  
-{{ http://tactical.nekromantix.com/images/wiki/​Brsseb/​Brsseb_lesson2_j_1.jpg }}+{{ https://pmc.editing.wiki/​images/​Brsseb/​Brsseb_lesson2_j_1.jpg }}
 //​WHEEEEHEEE!!!//​ //​WHEEEEHEEE!!!//​
  
Line 273: Line 276:
 ====== Notes ====== ====== Notes ======
  
-This tutorial was written by Brsseb in [[http://​ofp.gamepark.cz/​_hosted/​brsseb/​|here]], it was posted here with his permissions,​ thank you Brsseb! +This tutorial was written by Brsseb in [[http://​ofp.gamepark.cz/​_hosted/​brsseb/​|ofp.gamepark.cz/​_hosted/​brsseb/​]], it was posted here with his permissions,​ thank you Brsseb!
ofp/modeling/brsseb_lesson2.1223279638.txt.gz · Last modified: 2008-10-06 07:53 by snakeman