Author Topic: How to skin components (with pics)  (Read 2215 times)

Offline kix

  • RR2 dev
  • *
  • Posts: 3452
  • Rep: -3
  • H
    • View Profile
    • Awards
How to skin components (with pics)
« 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)
1.png

2. Locate the bot in the Teams folder (mine is Teams0/bot5), and open it with Notepad++
2.png

3. Locate the component line you want to skin (usually its the last component in the bot file as you added it last)
3.png

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.
4.png

5. Locate the gmf file and copy it to the desktop.
It should look like this:
 
5.png

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)
 
6.png

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)
 
7.png

4. Skin the bmp as you like and save it
 
8.png

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
 
9.png

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)
 
10.png

4. Rename the txt file as you like and move it to Components folder
 
11.png

Open RA2 and test the component
 
12.png

I hope, i helped someone, or atleast tried to. Enjoy!

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to skin components (with pics)
« Reply #1 on: April 30, 2018, 04:16:42 PM »
theres literally 70 of these already

Offline Asbestosstar

  • Most Bizzare of 2017. Also2nd Best new host of 2017
  • Super Heavyweight
  • Posts: 862
  • Rep: -4
    • Asbestosstar Gaming
    • View Profile
    • Asbestosstar.com
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Asbestosstar
Re: How to skin components (with pics)
« Reply #2 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

Offline kix

  • RR2 dev
  • *
  • Posts: 3452
  • Rep: -3
  • H
    • View Profile
    • Awards
Re: How to skin components (with pics)
« Reply #3 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

Offline TheOrcCorp

  • I push buttons and hope GTM doesn't explode.
  • *
  • Posts: 853
  • Rep: 20
  • A mean, green, small brained machine!
    • View Profile
    • Awards
Re: How to skin components (with pics)
« Reply #4 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!
GTM 2017 Awards - Most Unique Bots (shared with DSC) and Most Enthusiastic Member!
GTM 2018 Awards - Friendliest and Kindest/Most Unique Bots/Best Tournament 2018/Best Tournament by Editing/Best Tournament by Matches!
GTM 2019 Awards - Friendliest and Kindest(how)/Favourite Staff Member/Hall of Fame Inductee

Offline kix

  • RR2 dev
  • *
  • Posts: 3452
  • Rep: -3
  • H
    • View Profile
    • Awards
Re: How to skin components (with pics)
« Reply #5 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

Offline Reier

  • Rieir
  • *
  • Posts: 8579
  • Rep: 8
  • I GOT 3RD IN RAW1
    • https://www.youtube.com/c
  • Awards old BOTM Winner
    • View Profile
    • Awards
Re: How to skin components (with pics)
« Reply #6 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
ALERT- Another WS coming up...
voted best bot builder two times and counting babayy. the best ra2 builder who has never won an actual tournament match
ReiAI pack for Ironforge
My drawings, and my webcomics
Why online PVP will save RA2
The problem with competitive IRL in RA2
I'm fine with hugging reier

Offline TheOrcCorp

  • I push buttons and hope GTM doesn't explode.
  • *
  • Posts: 853
  • Rep: 20
  • A mean, green, small brained machine!
    • View Profile
    • Awards
Re: How to skin components (with pics)
« Reply #7 on: May 04, 2018, 02:09:06 PM »
We chill...I think anyway :mrgreen:
GTM 2017 Awards - Most Unique Bots (shared with DSC) and Most Enthusiastic Member!
GTM 2018 Awards - Friendliest and Kindest/Most Unique Bots/Best Tournament 2018/Best Tournament by Editing/Best Tournament by Matches!
GTM 2019 Awards - Friendliest and Kindest(how)/Favourite Staff Member/Hall of Fame Inductee

Offline kix

  • RR2 dev
  • *
  • Posts: 3452
  • Rep: -3
  • H
    • View Profile
    • Awards
Re: How to skin components (with pics)
« Reply #8 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.