gametechmods

Robot Arena => Tutorials and Tips => Other Tutorials => Topic started by: kix on April 30, 2018, 04:07:28 PM

Title: How to skin components (with pics)
Post by: kix on April 30, 2018, 04:07:28 PM
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)
 [ This attachment cannot be displayed inline in 'Print Page' view ]  
2. Locate the bot in the Teams folder (mine is Teams0/bot5), and open it with Notepad++
 [ This attachment cannot be displayed inline in 'Print Page' view ]
3. Locate the component line you want to skin (usually its the last component in the bot file as you added it last)
 [ This attachment cannot be displayed inline in 'Print Page' view ]
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.
 [ This attachment cannot be displayed inline in 'Print Page' view ]
5. Locate the gmf file and copy it to the desktop.
It should look like this:
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
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)
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
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)
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
4. Skin the bmp as you like and save it
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
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
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
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)
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
4. Rename the txt file as you like and move it to Components folder
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
Open RA2 and test the component
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
I hope, i helped someone, or atleast tried to. Enjoy!
Title: Re: How to skin components (with pics)
Post by: Badnik96 on April 30, 2018, 04:16:42 PM
theres literally 70 of these already
Title: Re: How to skin components (with pics)
Post by: Asbestosstar on May 03, 2018, 05:45:11 PM
theres literally 70 of these already

i honestly did not notice em i dont think. This is prolly one of the best.
we do not need hate
Title: Re: How to skin components (with pics)
Post by: kix on May 04, 2018, 03:36:50 AM
theres literally 70 of these already
Ah there is?
Well find them all and show me then
Title: Re: How to skin components (with pics)
Post by: TheOrcCorp on May 04, 2018, 04:47:27 AM
theres literally 70 of these already
Ah there is?
Well find them all and show me then

Whether there is or not, this has been the most simple and effective to follow so I approve! I'm gonna try my hand at this later and see how I do!
Title: Re: How to skin components (with pics)
Post by: kix on May 04, 2018, 05:04:16 AM
theres literally 70 of these already
Ah there is?
Well find them all and show me then

Whether there is or not, this has been the most simple and effective to follow so I approve! I'm gonna try my hand at this later and see how I do!
Eh, it's okay. It's just Badnik being Badnik
Title: Re: How to skin components (with pics)
Post by: Reier on May 04, 2018, 02:07:11 PM
theres literally 70 of these already
Ah there is?
Well find them all and show me then

Whether there is or not, this has been the most simple and effective to follow so I approve! I'm gonna try my hand at this later and see how I do!
Eh, it's okay. It's just Badnik being Badnik
https://gametechmods.com/forums/tutorials-and-tips/skinning-tutorial/

there's at least 2 more but I couldn't find them for some reason. more tutorials are fine as long as they work. everyone chill geez
Title: Re: How to skin components (with pics)
Post by: TheOrcCorp on May 04, 2018, 02:09:06 PM
We chill...I think anyway :mrgreen:
Title: Re: How to skin components (with pics)
Post by: kix on May 04, 2018, 02:18:29 PM
https://gametechmods.com/forums/tutorials-and-tips/skinning-tutorial/

there's at least 2 more but I couldn't find them for some reason. more tutorials are fine as long as they work. everyone chill geez
I thought that was legit bot skinning tutorial. Well i was i deffo wrong.