| Line 51: |
Line 51: |
| | Make sure all the options are set like this : | | Make sure all the options are set like this : |
| | | | |
| − | [[Image:
| + | The whole picture must be marked like this : |
| | + | |
| | + | Now press the “delete” key on the keyboard to clean the whole picture. After this choose “Deselect”. |
| | + | |
| | + | Now activate the Move Tool. |
| | + | |
| | + | Paste your object from the previous picture. |
| | + | |
| | + | As you can see the pasted object is too large so you need to shrink it a little bit. Go to Transform>Scale. |
| | + | |
| | + | As you can see the object is bound with squares. If you move the cursor over one of the squares it will become a two head arrow and you can click and hold the mouse button, then move the mouse to resize it to the size that you need. You can hold “SHIFT” when moving if you want to keep the aspect ratio. You can fill the “W: 100,0%” and/or “H: 100,0%” textbox with the needed percent as well. |
| | + | |
| | + | Also, you can experiment with the other Transform tools. Here is the example of “Rotate”. You rotate the object with the squares this time : |
| | + | |
| | + | When you are ready just press this : |
| | + | |
| | + | Now make sure that the channels look like this : |
| | + | |
| | + | Now is the time to “Flatten” the image. This will make all layers with objects to be merged to one background picture. You can’t move, resize or use any other action with the object anymore. Now it is just one picture on the background and you can only edit it as you would in paint. All you can do is draw on it. |
| | + | |
| | + | Now, use the Magic Wand Tool again like this : |
| | + | |
| | + | Inverse it. |
| | + | |
| | + | You can remove the hole in the “O” to the selection by holding down “ALT” + click inside of it. Now choose Save Selection. |
| | + | |
| | + | Choose the Alpha 1 channel like this : |
| | + | Make sure that all options are set like this and click “OK”. |
| | + | |
| | + | As you can see the “NO” object is now in the alpha channel too. To work or edit in the alpha channel layer click on it like this : |
| | + | |
| | + | The “eye” shows what layer you see. The blue marked layer shows in what layer you are working now. Now Deselect. The image must look like this : |
| | + | |
| | + | The alpha channel layer looks like a black/white image. If you want you can draw on him with every tool you want. Just remember that when you pick a color it must be only from the line of black-grey-white. The more white the color, the less transparent those pixels in the original coloured image will be. And the opposite, the more black the color that you use, the more transparent those pixels in the original coloured image will be. Use different variations of grey to make more smooth transition from transparent to non-transparent. After you are ready with the alpha channel, it is time to save your work. |
| | + | Go to File>Save As... |
| | | | |
| − | This is usefull when the object is more complicated and made of different colors. Lets imagine this “N” is made of different colors. Start clicking on the edges of the “N” one by one, to close the selection click again on the first point you clicked. The more accurate clicking points you have, the more good and smooth the selection will look.
| |
| | | | |
| − | [[Image:
| + | |
| | + | Choose a name for your file, select to save it as “Targa” (.TGA) . It’s very important to select “Alpha Channels”. Make sure all the other options are set like this and click “Save” : |
| | + | |
| | + | In the next window that will pop up select “32 bits/pixel”. Make sure its look like this and click “OK”. |
| | + | |
| | + | If you run the RA2 you will find the new decal you have just created. But you might see that there are some strange white bounds all around the decal (in this case all over the letters “NO”). This is because RA2 use the nearest pixels to smooth the edges of the decal. In this case, the color around the “NO” in our document is our background color which is white. If you don’t like this you can repair it very easy. |
| | + | |
| | + | Just open the decal file again. If your decal is made of only one color (like in this case with “NO” letters decal) you can correct the “white bounds” very easy. First, click Select All. |
| | + | |
| | + | Press the “DELETE” key on the keyboard. Now the RGB picture of the letters “NO” is gone. Choose deselect : |
| | + | |
| | + | Select the Paint Bucket Tool. |
| | + | |
| | + | Options must be set like this : |
| | + | |
| | + | Click on the big black color box (this is the primary color you draw with). |
| | + | |
| | + | After the color selection window is open, select a color that is the same with your decal color. Exactly pure red in our case with the “NO” letters. Click “OK” now. |
| | + | |
| | + | Now using the Paint Bucket Tool click somewhere inside of the document and it will look like this : |
| | + | |
| | + | Now you are ready. Use the regular save : |
| | + | |
| | + | Now, if you run the game and apply this decal you will see that there are no more signs of these “white bounds”. It does not matter that your whole picture is made of red color. The alpha channel is the one that will define what to draw and what not to. Yes, this means that you can full the whole document with some colors, but drawing in the alpha channel will define what and how to draw ingame. |
| | + | |
| | + | If your decal is a complicated picture made of many colors the situations is way more difficult. I will not explain in detail how to do it in this tutorial, but i will tell only that you need to surround your decal edges with the same color that your edges are made of. |
| | + | Now let’s learn how to make your decal with some cool transparency. Open you decal file again. Switch to work in the alpha channel. |
| | + | |
| | + | Open the color choose window again. Move the color select circle to the full left in the coloured box and move it only up and down. Doing this will allow you to very precisely select the percentage of your transparency. The more the grey comes to white, the more transparent, and the more the grey comes to black, the more non-transparent. Let’s choose for example the grey level to be like this. Click “OK” now. |
| | + | |
| | + | Select the Rectangle tool. |
| | + | |
| | + | Make sure the options are set like this and select the “Multiply” mode (you can experiment with the other modes too) : |
| | + | |
| | + | Now, select like this the area that you want to change to this percentage of transparency : |
| | + | |
| | + | It will become like this : |
| | + | |
| | + | Do a regular save. Now, ingame the decal will look like this : |
| | + | |
| | + | There are many ways to change the percentage of the transparency on some different parts of your decal picture. So, feel free to experiment and draw with any tool in the alpha channel layer. |
| | + | But above all, be creative. |
| | | | |
| − | Third way : Lasso Tool
| + | '''The End''' |
| − | | |
| − | Choose Lasso Tool.
| |
| − | | |
| − | Make sure all the options are set exactly like the Polygonal Lasso Tool
| |
| − | | |
| − | [[Image:
| |
| − | | |
| − | This way is not for people with shaking hands. This is free select mode where after the first click the lasso tool follow every moving with the mouse until its closed back to the first point. You can finish your selection by clicking again on the first point you clicked.
| |
| − | | |
| − | [[Image:
| |
| − | | |
| − | Fourth way : Color Range
| |
| − | | |
| − | [[Image:
| |
| − | | |
| − | Click on Color Range. Make sure all the options are set like this :
| |
| − | This way is only if you want to mark exactly a specific/definite color. It will mark what color you select, but it will mark EVERYWHERE that this color exist on the image. Now click inside of the object on the image. Now you see what you have marked. The white is marked, the black not. As you can see the letters “NO” have very sharp edges. To select a object that is made of color that vary a little bit or just to make the edges more smooth you need to use the Fuzziness slider. Experiment with it to see what suits your needs best. Now click “OK” button.
| |
| − | | |
| − | [[Image:
| |
| − | | |
| − | Those were some ways of making/selecting parts of a image. Use whatever way you prefer, and mark what you have need. I will mark the letters like this :
| |
| − | | |
| − | [[Image:
| |
| − | | |
| − | Now you need to copy the selection to the real file you will use. So, click copy.
| |
| − | | |
| − | [[Image:
| |
| − | | |
| − | If you don’t know how to make a new file and add an alpha channel in it, I will tell you one easy way to do this. Open one file from the original “.TGA” files from the game depending of what you want to build, a decal, component skin, arena skin, etc. In this case will be a decal. Click open and go to “…\RA2\Texture Library\decals”, choose the “Gear.tga” and click “OK”. You are now working in a new document. Click Select>All.
| |
| − | | |
| − | [[Image:
| |