This tutorial shows you how to skin a component
First of all, you need to find the gmf of the component in components file. (In this case a 106 saw)
Easiest way is this:
1. Attach a component on a bot (Best way would be if it's the first bot in the first team)
2. Locate the bot in the Teams folder (mine is Teams0/bot5), and open it with Notepad++
3. Locate the component line you want to skin (usually its the last component in the bot file as you added it last)
4. Locate the component in the Components folder (just copy the name.txt line and paste it in search bar), copy it to the desktop, enter it and look for the model line.
5. Locate the gmf file and copy it to the desktop.
It should look like this:
DECOMPILING, SKINNING, COMPILING AND USING THE COMPONENT:
I suggest using Serge's decompiler & compiler... Thing you need to do tho: 1. Set compatibility mode to Win XP, 2. check "Run this program as administrator"
Decompiling:
Open decompiler, select component, name it as you like (NOTE: You need to add .gmf as it doesn't add by default)
Skinning:
1. Open the decompiled gmf file with Notepad++
2. Locate the bitmap line, copy the name of the bitmap (in this case sawblaze.bmp), and name it as you like (usually line 41)
3. locate the old bmp file (one you copied), duplicate it, and rename it as you named it in the gmf (in this case ooh)
4. Skin the bmp as you like and save it
Compiling:
Open the compiler, select the decompiled file you edited, and compile it. Name it as you like (NOTE: You need to add .gmf as it doesn't add by default)
Using the component in RA2:
1. Move the compiled component in the folder original file was
2. Open the txt file you copied to background
3. Change the model gmf to the one you compiled (Optional: Change the name if you want to)
4. Rename the txt file as you like and move it to Components folder
Open RA2 and test the component
I hope, i helped someone, or atleast tried to. Enjoy!