ofp:modeling:brsseb_lesson3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ofp:modeling:brsseb_lesson3 [2008/10/06 06:38] – fixed modelling to modeling typos. snakeman | ofp:modeling:brsseb_lesson3 [2024/07/31 15:38] (current) – links added. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== OFP Brsseb 3D Modeling Tutorial ====== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | **Operation Flashpoint (OFP)** aka ArmA: Cold War Assault (CWA) | ||
+ | |||
+ | |||
====== Lesson 3: Creating your first Weapon ====== | ====== Lesson 3: Creating your first Weapon ====== | ||
Line 5: | Line 12: | ||
Preparing for the lesson | Preparing for the lesson | ||
- | Hello, and welcome back. Its time to make our first weapon in OFP. Yes, thats right. A step by step tutorial that covers the most of it; from modeling the gun itself to getting it ingame. | + | Hello, and welcome back. Its time to make our first weapon in OFP. Yes, that' |
So, what skills do you need then. Lets see: | So, what skills do you need then. Lets see: | ||
Line 11: | Line 18: | ||
* OFP (daahhh), O2 and Bulldozer | * OFP (daahhh), O2 and Bulldozer | ||
* Basic understanding of the O2 interface | * Basic understanding of the O2 interface | ||
- | * Having fully understud | + | * Having fully understood |
* Also, if you made it through lesson 2, this should be an easy lesson. | * Also, if you made it through lesson 2, this should be an easy lesson. | ||
* PBOTool and TexView | * PBOTool and TexView | ||
Line 21: | Line 28: | ||
The gun we are going to make is nick-named " | The gun we are going to make is nick-named " | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Cool, isnt it? Well, it aint going to appeal to everyone, but its the gun we`re going to make. Why this one, you say? Well, first of all we got a great side-shot of the gun on their page, its mostly black (makes texturing-screwups | + | Cool, isn' |
So, here is what you need to do to get started: | So, here is what you need to do to get started: | ||
* Go to where Bulldozer is installed and make a folder named " | * Go to where Bulldozer is installed and make a folder named " | ||
- | * Download the texture files [[http:// | + | * Download the texture files Brsseb_lesson3_start.rar |
When you`re ready to start, go to next page. | When you`re ready to start, go to next page. | ||
- | ====== Placing | + | ====== Placing |
- | First we must create the actual gun model. Do this: | + | First we must create the actual gun model. Do this: |
* Fire up o2 and Bulldozer and save the new file as stalker.p3d in the stalker folder you made earlier. | * Fire up o2 and Bulldozer and save the new file as stalker.p3d in the stalker folder you made earlier. | ||
* Activate front view, press " | * Activate front view, press " | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//Load the texture we are going to use as reference// | //Load the texture we are going to use as reference// | ||
Line 45: | Line 52: | ||
* Hit F4 to leave texture mode. The front view should look like this: | * Hit F4 to leave texture mode. The front view should look like this: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Now me must model the side shape of the gun. We do that by outlining the gun profile with vertrices. That means we use " | + | Now me must model the side shape of the gun. We do that by outlining the gun profile with vertices. That means we use " |
- | Zoom in on the rear gun part and start placing vertices using your cursor and the " | + | Zoom in on the rear gun part and start placing vertices using your cursor and the " |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Note that there are few vertrices | + | Note that there are few vertices |
Now lets have a look at the middle section (leave out the trigger area and the scope right now). Here is my suggestion: | Now lets have a look at the middle section (leave out the trigger area and the scope right now). Here is my suggestion: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Doesnt look too back, does it? The main shape is there, at least, Note that we are not going any more left right now, the front section (muzzle etc) will be made of a small cylinder structure later. The same goes for the scope; later. | + | Doesnt look too back, does it? The main shape is there, at least, Note that we are not going any more left right now, the front section (muzzle etc) will be made of a small cylinder structure later. The same goes for the scope; later. |
- | Now for the hard trigger area. This is the roundest shape on side view and therefore need many vertrices | + | Now for the hard trigger area. This is the roundest shape on side view and therefore need many vertices |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Ok, so it aint perfert. Its sometimes hard to imagine how the vertrices | + | OK, so it ain't pervert. Its sometimes hard to imagine how the vertices |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//What it should look like so far// | //What it should look like so far// | ||
- | When you`re happy with your vertrices | + | When you`re happy with your vertices |
====== Making faces ====== | ====== Making faces ====== | ||
- | Now its about time to make the vertrices | + | Now its about time to make the vertices |
- | You should also heard that o2 supports faces created with 4 vertrices | + | You should also heard that o2 supports faces created with 4 vertices |
I`ll show you how to make your first face: | I`ll show you how to make your first face: | ||
* Zoom in on the rear gun section. We`ll start with a 4-vertex face. | * Zoom in on the rear gun section. We`ll start with a 4-vertex face. | ||
- | * Select the 4 vertrices | + | * Select the 4 vertices |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
* Hit F6 and a face should be created. | * Hit F6 and a face should be created. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Now we must make sure that the face is " | + | Now we must make sure that the face is " |
Now we have our first face. Note that we need to use a 3-vertex face just below our first one, since there are only 3 vertexes in that area. Select them using F4 (vertex select mode) and hit f6 again. Now o2 is pretty smart and it should face in the same direction as the last one, but check it out with the "Fill Solid faces trick" anyway. | Now we have our first face. Note that we need to use a 3-vertex face just below our first one, since there are only 3 vertexes in that area. Select them using F4 (vertex select mode) and hit f6 again. Now o2 is pretty smart and it should face in the same direction as the last one, but check it out with the "Fill Solid faces trick" anyway. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Now , work your way around the rear part and create faces between the vertrices. Use 4-vertex faces where you can and 3-vertrex-faces where you have to. Make sure all is facing the right way and that noone overlaps | + | Now , work your way around the rear part and create faces between the vertices. Use 4-vertex faces where you can and 3-vertex-faces where you have to. Make sure all is facing the right way and that none overlaps |
Here is how it could look like when done: | Here is how it could look like when done: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
Another great way to ensure all faces are in the desired direction is using the 3d view with "Face Culling" | Another great way to ensure all faces are in the desired direction is using the 3d view with "Face Culling" | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//3d view with selected faces with face culling on. Since all faces are shown, they are facing the right way// | //3d view with selected faces with face culling on. Since all faces are shown, they are facing the right way// | ||
Let me show you why this feature is so great for searching out wrong-pointing faced. I will now select one of the faces and reverse it. Se what happened in the 3d view: | Let me show you why this feature is so great for searching out wrong-pointing faced. I will now select one of the faces and reverse it. Se what happened in the 3d view: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//3d view with selected faces with face culling on. There is now a hole it our structure, which means one of the faces are the wrong way// | //3d view with selected faces with face culling on. There is now a hole it our structure, which means one of the faces are the wrong way// | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//3d view with selected faces with face culling on. If we now move the camera and have a look at the back, we find our AWOL face again. As you can see, this is a much better and faster way to find bad faces compared to the "Fill Solid face" | //3d view with selected faces with face culling on. If we now move the camera and have a look at the back, we find our AWOL face again. As you can see, this is a much better and faster way to find bad faces compared to the "Fill Solid face" | ||
- | Now if you have understod | + | Now if you have understood |
- | {{http://tactical.nekromantix.com/images/wiki/ | + | {{https://pmc.editing.wiki/ |
Lets move on, shall we | Lets move on, shall we | ||
Line 122: | Line 129: | ||
====== Applying depth ====== | ====== Applying depth ====== | ||
- | So, our basic model is shaped up. Hey, it even looks like a gun, right now. But that only in front view (and finnaly, if you`ve been wondering why we have been using front view for our side shape, its because | + | So, our basic model is shaped up. Hey, it even looks like a gun, right now. But that only in front view (and finally, if you've been wondering why we have been using front view for our side shape, its because |
- | * Select the whole structure using Ctrl+A (or F2 on any vertex). | + | * Select the whole structure using CTRL-A (or F2 on any vertex). |
* Activate left view without loosing the selection (Alt + LMB). | * Activate left view without loosing the selection (Alt + LMB). | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | * Now hit Ctrl+C to copy the structure. Then hit Ctrl+V to paste the new copy. It will be at the same spot as the original. | + | * Now hit CTRL-C to copy the structure. Then hit CTRL-V to paste the new copy. It will be at the same spot as the original. |
* Lock the x-axis and move the copy a bit to the right using RMB. | * Lock the x-axis and move the copy a bit to the right using RMB. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | * Note that the copy`s faces are the same way as the original, to the left that it. But we now want them to point the other way, so with the copy selected hit W to reverse its faces. | + | * Note that the copy`s faces are the same way as the original, to the left that it. But we now want them to point the other way, so with the copy selected hit W to reverse its faces. |
* Now it should look like this: | * Now it should look like this: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | //Front and 3d view with both structures selected. Note that here is faceculling | + | //Front and 3d view with both structures selected. Note that here is face culling |
- | Now we must patch the two sides togehter. That means selecting 4 and 4 vertrices | + | Now we must patch the two sides together. That means selecting 4 and 4 vertices |
- | * Position the camera as in the picture below and select the highllighted vertrices. | + | * Position the camera as in the picture below and select the highlighted vertices. |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//3d view with face culling turned off// | //3d view with face culling turned off// | ||
* Hit F6 to create the face. Then make sure that the blue lines are pointing out of the structure like in pic below. Use W tor reverse the face normals if not. | * Hit F6 to create the face. Then make sure that the blue lines are pointing out of the structure like in pic below. Use W tor reverse the face normals if not. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//3d view with face culling turned off// | //3d view with face culling turned off// | ||
- | Do the same thing for the whole model! Yes, its hard and boring work, but its really good modeling practice. Make sure to select the right vertrices, its so easy to select the wrong ones if you are in a bad camera position. Use the other views combined with the 3d view as a guide. | + | Do the same thing for the whole model! Yes, its hard and boring work, but its really good modeling practice. Make sure to select the right vertices, its so easy to select the wrong ones if you are in a bad camera position. Use the other views combined with the 3d view as a guide. |
In the end, it should look like this: | In the end, it should look like this: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//3d view with face culling turned off// | //3d view with face culling turned off// | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//Bulldozer view// | //Bulldozer view// | ||
- | And, yes, one more thing. After you`re done, select the whole thing using Ctrl+A. Then, in left view, lock the x-axis and move the whole shape to the left. Try to place it so that the middle red line on the grid is in the center, like in picture below. | + | And, yes, one more thing. After you`re done, select the whole thing using CTRL-A. Then, in left view, lock the x-axis and move the whole shape to the left. Try to place it so that the middle red line on the grid is in the center, like in picture below. |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Phew, that was a lot of work, dont you think? Well, im glad to tell you that the hardest bits are over. If you made it so far, you should be fine in the next ones too. | + | Phew, that was a lot of work, don' |
====== Muzzle and scope ====== | ====== Muzzle and scope ====== | ||
- | Our gun is now really 3d, but its missing something, mainly the front section. We will make this one now out of a standard cylinder. Lets go: | + | Our gun is now really 3d, but its missing something, mainly the front section. We will make this one now out of a standard cylinder. Lets go: |
* Activate left view and hit F8 to create a cylinder shape. Use 8 in the " | * Activate left view and hit F8 to create a cylinder shape. Use 8 in the " | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
Now in 3d view you`ll see the cylinder. Its pointing in the right direction but needs some scaling down. | Now in 3d view you`ll see the cylinder. Its pointing in the right direction but needs some scaling down. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
Head for front view, and use RMB to move the cylinder to this position: | Head for front view, and use RMB to move the cylinder to this position: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Lock the x-axis using x-key. Select each colum of vertrices | + | Lock the x-axis using x-key. Select each column |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | * Now, select the two rightmost | + | * Now, select the two rightmost |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | * Do the same thing with the last two colums | + | * Do the same thing with the last two columns |
In the end, it should look like this: | In the end, it should look like this: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Now we must create the scope and we use the same proccess | + | Now we must create the scope and we use the same process |
* Activate left view, hit F8 and type enter the values below: | * Activate left view, hit F8 and type enter the values below: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
* Go to front view and move the cylinder structure like this: | * Go to front view and move the cylinder structure like this: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | * Then, like we did with the muzzle, lock the x-axis, select and move each colum so it eventually looks like below. | + | * Then, like we did with the muzzle, lock the x-axis, select and move each column |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | * Still same thing as before, use 3d scale to get the right look and feel of the scope. Your values are not the same as mine, so experiment a little with the y and z value. | + | * Still same thing as before, use 3d scale to get the right look and feel of the scope. Your values are not the same as mine, so experiment a little with the y and z value. |
The scope should end up like this: | The scope should end up like this: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Then we need the two blocks right below the scope to hold it in place. This should be easy for you to make now and you could make them by outlining the shape with vertrices, making faces, adding depth and fill in the gaps with new faces again. Just like we did with the main weapon profile in the start. Here are the ones I made: | + | Then we need the two blocks right below the scope to hold it in place. This should be easy for you to make now and you could make them by outlining the shape with vertices, making faces, adding depth and fill in the gaps with new faces again. Just like we did with the main weapon profile in the start. Here are the ones I made: |
- | {{http://tactical.nekromantix.com/images/wiki/ | + | {{https://pmc.editing.wiki/ |
//The two structures for the scope. (Note: Moved them away from the weapon just to show them better on picture)// | //The two structures for the scope. (Note: Moved them away from the weapon just to show them better on picture)// | ||
- | Anything more then? Yes, the trigger itself. It dowesnt | + | Anything more then? Yes, the trigger itself. It doesn' |
- | {{http://tactical.nekromantix.com/images/wiki/ | + | {{https://pmc.editing.wiki/ |
//The trigger structure. (Note: Moved away from the weapon just to show it better on picture)// | //The trigger structure. (Note: Moved away from the weapon just to show it better on picture)// | ||
You`ve done it. The model is finished! | You`ve done it. The model is finished! | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
Now lets do some texturing, shall we? | Now lets do some texturing, shall we? | ||
Line 236: | Line 243: | ||
====== Texturing ====== | ====== Texturing ====== | ||
- | Now we must put some cool textures over our basic gray color. All textures are in the zipfile | + | Now we must put some cool textures over our basic gray color. All textures are in the zip file you downloaded at the start and should now rest in your stalker-folder. Lets go: |
- | * In front view,select all (Ctrl+A) so that everything is red. Hit A, RMB and choose load texture. Load the one called " | + | * In front view,select all (CTRL-A) so that everything is red. Hit A, RMB and choose load texture. Load the one called " |
- | * Now, comes the hard part of scaling the texture so that it fits our model pretty accurate. Use Ctrl+Shift+Up/ | + | * Now, comes the hard part of scaling the texture so that it fits our model pretty accurate. Use CTRL-SHIFT-Up/ |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
When you`re happy, with everything selected hit " | When you`re happy, with everything selected hit " | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | So, its not going to win a beautycontest, but it doenst | + | So, its not going to win a beauty contest, but it doesn' |
- | * In front view, RMB click and choose " | + | * In front view, RMB click and choose " |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
* Activate left view without loosing selection (Alt+RMB), hit A key, RMB and load the texture named " | * Activate left view without loosing selection (Alt+RMB), hit A key, RMB and load the texture named " | ||
* Draw the texture box around the scope face. Use Correct Aspect to ensure right image dimensions. | * Draw the texture box around the scope face. Use Correct Aspect to ensure right image dimensions. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
* When you`re happy with your texture placement, hit B to apply it to the scope. Check it out in Bulldozer and try again if you messed it up. This is my result: | * When you`re happy with your texture placement, hit B to apply it to the scope. Check it out in Bulldozer and try again if you messed it up. This is my result: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Now do the same thing to the other end of the scope. Just follow the same steps as above. Select the rear scope vertrice colum using F4 in the front view, go to left view and scale the glass texture so it fits the smaller scope end nicely. Then applying it with B and check out in Bulldozer. | + | Now do the same thing to the other end of the scope. Just follow the same steps as above. Select the rear scope vertice column |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
Here is my result. | Here is my result. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
And that way texturing, my friend. Now the hard modeling is over, just some simple LOD stuff and the making of a basic config-file for weapons left. Go go go! | And that way texturing, my friend. Now the hard modeling is over, just some simple LOD stuff and the making of a basic config-file for weapons left. Go go go! | ||
Line 276: | Line 283: | ||
====== Memory LOD ====== | ====== Memory LOD ====== | ||
- | As in all ofp addons, we need to sort things out in LODs. But for guns we only need one, the MemoryLOD. And it contains only 4 vertrices! Simple stuff, really. Lets begin: | + | As in all ofp addons, we need to sort things out in LODs. But for guns we only need one, the MemoryLOD. And it contains only 4 vertices! Simple stuff, really. Lets begin: |
- | * Create a new LOD and change it to " | + | * Create a new LOD and change it to " |
* Go to front view and zoom in on the barrel like picture. | * Go to front view and zoom in on the barrel like picture. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
* Place a vertex on the center of each end of the barrel. They must be on the same height (or the gun will not shoot strait), so make only one, lock x-axis and drag-copy the next one using RMB+Shift and move. The result should look like this: | * Place a vertex on the center of each end of the barrel. They must be on the same height (or the gun will not shoot strait), so make only one, lock x-axis and drag-copy the next one using RMB+Shift and move. The result should look like this: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | * Then, remember in many of the LODs in Lesson 2 we selected and named single | + | * Then, remember in many of the LODs in Lesson 2 we selected and named single |
- | Now the gun can fire right. But we also need to indicate where the gun should spit out the empty cartridges. Just like the barrel, we need a start and stop position since the cartrides | + | Now the gun can fire right. But we also need to indicate where the gun should spit out the empty cartridges. Just like the barrel, we need a start and stop position since the cartridges |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Finally, we need the 5th and last named selection called " | + | Finally, we need the 5th and last named selection called " |
Here is the selections you should have made in this part: | Here is the selections you should have made in this part: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Thats all the LODs we need for a weapon addon. No kidding. Move on. | + | That' |
====== The muzzle flash ====== | ====== The muzzle flash ====== | ||
- | Well, ok so we werent | + | Well, OK so we weren' |
- | If you dont already know, the flash that occurs when firing most guns in OFP is no fancy special | + | If you don' |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//Have a look in your stalker-folder and check out the two textures flash_side.paa and flash_front.paa.// | //Have a look in your stalker-folder and check out the two textures flash_side.paa and flash_front.paa.// | ||
Line 316: | Line 323: | ||
* Now move the plane along the x-axis in top view (using lock x-axis), make it a bit more like a rectangle. Then, in front view, lock the y-axis and move it upwards. It should look like this in front and top views: | * Now move the plane along the x-axis in top view (using lock x-axis), make it a bit more like a rectangle. Then, in front view, lock the y-axis and move it upwards. It should look like this in front and top views: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | * Now we apply the flash_side.paa to the plane. Since this is a double sided plane, | + | * Now we apply the flash_side.paa to the plane. Since this is a double sided plane, |
* Check it out in Bulldozer. It should look like this: | * Check it out in Bulldozer. It should look like this: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
* Now that we have one horizontal muzzleflash plane, we could need a vertical one. This time we simply copy the one we made and rotate it. | * Now that we have one horizontal muzzleflash plane, we could need a vertical one. This time we simply copy the one we made and rotate it. | ||
- | * Select the flash plane, | + | * Select the flash plane, |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
We need one other muzzle flash, a circle for the flash_front.paa so that the flash is visible when looking strait at the firing gun (aka getting shot at). | We need one other muzzle flash, a circle for the flash_front.paa so that the flash is visible when looking strait at the firing gun (aka getting shot at). | ||
Line 332: | Line 339: | ||
* Activate the side view and find create-> | * Activate the side view and find create-> | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//3d view with face culling OFF// | //3d view with face culling OFF// | ||
- | * But we need doublesided | + | * But we need double sided faces, so with the circle |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//3d view with face culling OFF// | //3d view with face culling OFF// | ||
- | * Now we must make two doublesided | + | * Now we must make two double sided faces by using F6 twice (!) on each face. In Select the 4 upper vertices |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | * Then select the bottom 4 vertrices | + | * Then select the bottom 4 vertices |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
* If you`ve done everything right, you should see a roundish-looking shape at the barrel end with both sides visible in Bulldozer. | * If you`ve done everything right, you should see a roundish-looking shape at the barrel end with both sides visible in Bulldozer. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Now we need to texture it. Thats easy, aint it? You`ve done it many times before. Just select the circle using F2, hit " | + | Now we need to texture it. That' |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | Ok, almost done with our model now..hang in there. We need two simple named selections in our primary LOD, " | + | Ok, almost done with our model now..hang in there. We need two simple named selections in our primary LOD, " |
- | And if everything is done correctly, you are now finnished | + | And if everything is done correctly, you are now finished |
====== The weapon config file ====== | ====== The weapon config file ====== | ||
- | Only one obstangle | + | Only one obstacle |
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | //Snippet from the most important part of the config-file. There are more stuff in the configfile, but only the above is the interresting | + | //Snippet from the most important part of the config-file. There are more stuff in the configfile, but only the above is the interesting |
- | If you have some ObjectOrientet | + | If you have some Object Oriented |
- | Then Ive also made a civilian equipped with the gun. He is called " | + | Then Ive also made a civilian equipped with the gun. He is called " |
- | Ok, enough config-file now. Lets just leave it alone and test our model ingame instead. Roll on. | + | OK, enough config-file now. Lets just leave it alone and test our model ingame instead. Roll on. |
====== Finishing up ====== | ====== Finishing up ====== | ||
- | Ok, lets do this. Its time to test it ingame! Run PBOTool, select the stalker-folder and save it as stalker.pbo in the OFP addons folder. Then start up OFP. Go to the editor and find the civilian called " | + | OK, lets do this. Its time to test it ingame! Run PBOTool, select the stalker-folder and save it as stalker.pbo in the OFP addons folder. Then start up OFP. Go to the editor and find the civilian called " |
You`re back, huh? What? Something is wrong, you say? The gun is bigger than an airplane? Like this, for example: | You`re back, huh? What? Something is wrong, you say? The gun is bigger than an airplane? Like this, for example: | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
//Now THIS would be fun in multiplayer. But its more like "Big Bertha" | //Now THIS would be fun in multiplayer. But its more like "Big Bertha" | ||
- | Well, thats right. Its not scaled right yet. Hey, at least it is pointing in the right direction! And it works, | + | Well, thats right. Its not scaled right yet. Hey, at least it is pointing in the right direction! And it works, |
- | You need to use the 3d scale tool in o2 to make it the right size (remember when scaling to tick on the checkbox | + | You need to use the 3d scale tool in o2 to make it the right size (remember when scaling to tick on the check box "Apply to all LODs" so that the vertices in Memory LOD follows the rest of the model). |
- | One thing you can do to help you, is to " | + | One thing you can do to help you, is to " |
- | You can also merge usermade | + | You can also merge user made models, other sniper rifles downloaded from the net. Just use PBOTool to unpack them and have a look at their p3d file. When you`re done scaling and moving the gun into position, remember to move both the gun in " |
Here is how my model looked like in the end. Pretty cool, I think. | Here is how my model looked like in the end. Pretty cool, I think. | ||
- | {{ http://tactical.nekromantix.com/images/wiki/ | + | {{ https://pmc.editing.wiki/ |
- | One thing, though. You have noticed that we only have one model LOD, " | + | One thing, though. You have noticed that we only have one model LOD, " |
- | But now its time for you to feel proud because you just made your first weapon in OFP! As usual, you can download the final model [[http:// | + | But now its time for you to feel proud because you just made your first weapon in OFP! As usual, you can download the final model Brsseb_lesson3_done.rar |
That concludes lesson 3. Happy sniping. | That concludes lesson 3. Happy sniping. | ||
+ | |||
+ | **Download** samples and ready files; OFP.Brsseb_Lesson/ | ||
+ | < | ||
+ | magnet:? | ||
+ | </ | ||
+ | |||
====== Notes ====== | ====== Notes ====== | ||
- | This tutorial was written by Brsseb in [[http:// | + | This tutorial was written by Brsseb in [[http:// |
ofp/modeling/brsseb_lesson3.1223275123.txt.gz · Last modified: 2008/10/06 06:38 (external edit)