Author Topic: How to skin domes?  (Read 947 times)

Offline TheUnknownRobotics

  • UnknownMartin
  • Heavyweight
  • Posts: 577
  • Rep: -4
  • Sm4sh NNID: Nixtram
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
How to skin domes?
« on: June 08, 2014, 09:17:24 AM »
I'm not sure why, but the domes don't have any image to edit on. :( Any help on getting to do so?
Mostly a lurker and Sm4sh Bros. player nowadays. :3

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: How to skin domes?
« Reply #1 on: June 08, 2014, 10:29:55 AM »
There's no bmp for them, you need to edit the hex color in the GMF to make them change color. I'm not entirely sure where that is so I can't help. Sorry.

Offline Gazea2

  • Ultra Heavyweight
  • Posts: 3670
  • Rep: 9
  • the one and only
    • View Profile
    • Awards
  • Skype: gazea2
Re: How to skin domes?
« Reply #2 on: June 08, 2014, 12:38:29 PM »
HELLO (bear with me, I've never skinned any of these before)
Right, so the GMF uses hex codes for component colours. Here is the chart that I use.

When you decompile Dome1.gmf in the Domes folder using a GMF decompiler, I usually use Serge's, you should be left with a notepad file that can be opened. Near the top you should find:

Code: [Select]
*MATERIAL_LIST
{
*MATERIAL_COUNT 2
*MATERIAL
{
*MATERIAL_REF_NO 0
*MATERIAL_NAME Material #53
*MATERIAL_CLASS Multi/Sub-Object
*MATERIAL_AMBIENT 0x313131
*MATERIAL_DIFFUSE 0x313131
*MATERIAL_SPECULAR 0xE5E5E5
*MATERIAL_SHINE 0.100000
*MATERIAL_SHINESTRENGTH 0.000000
*MATERIAL_TRANSPARENCY 0.000000
*MATERIAL_WIRESIZE 1.000000
*MATERIAL_SHADING Other
*MATERIAL_XP_FALLOFF 0.000000
*MATERIAL_SELFILLUM 0.000000
*MATERIAL_FALLOFF Other
*MATERIAL_XP_TYPE Other
*MATERIAL_LIST
{
*MATERIAL_COUNT 3
*MATERIAL
{
*MATERIAL_REF_NO 0
*MATERIAL_NAME 2 - Default
*MATERIAL_CLASS Standard
*MATERIAL_AMBIENT 0x313131
*MATERIAL_DIFFUSE 0x313131
*MATERIAL_SPECULAR 0xE5E5E5
*MATERIAL_SHINE 0.100000
*MATERIAL_SHINESTRENGTH 0.000000
*MATERIAL_TRANSPARENCY 0.000000
*MATERIAL_WIRESIZE 1.000000
*MATERIAL_SHADING Blinn
*MATERIAL_XP_FALLOFF 0.000000
*MATERIAL_SELFILLUM 0.000000
*MATERIAL_FALLOFF Other
*MATERIAL_XP_TYPE Filter
}
*MATERIAL
{
*MATERIAL_REF_NO 1
*MATERIAL_NAME 1 - Default
*MATERIAL_CLASS Standard
*MATERIAL_AMBIENT 0x6AD0FF
*MATERIAL_DIFFUSE 0x6AD0FF
*MATERIAL_SPECULAR 0xE5E5E5
*MATERIAL_SHINE 0.100000
*MATERIAL_SHINESTRENGTH 0.000000
*MATERIAL_TRANSPARENCY 0.700000
*MATERIAL_WIRESIZE 1.000000
*MATERIAL_SHADING Blinn
*MATERIAL_XP_FALLOFF 0.000000
*MATERIAL_SELFILLUM 0.000000
*MATERIAL_FALLOFF Other
*MATERIAL_XP_TYPE Filter
}
*MATERIAL
{
*MATERIAL_REF_NO 2
*MATERIAL_NAME 3 - Default
*MATERIAL_CLASS Standard
*MATERIAL_AMBIENT 0x000000
*MATERIAL_DIFFUSE 0x000000
*MATERIAL_SPECULAR 0xE5E5E5
*MATERIAL_SHINE 0.100000
*MATERIAL_SHINESTRENGTH 0.000000
*MATERIAL_TRANSPARENCY 0.000000
*MATERIAL_WIRESIZE 1.000000
*MATERIAL_SHADING Blinn
*MATERIAL_XP_FALLOFF 0.000000
*MATERIAL_SELFILLUM 0.000000
*MATERIAL_FALLOFF Other
*MATERIAL_XP_TYPE Filter
*TEXTURE_LIST
{
*TEXTURE_COUNT 1
*TEXTURE
{
*MAP_NAME Map #0
*MAP_CLASS Bitmap
*BITMAP generic_refmap2.bmp
*MAP_AMOUNT 1.000000
*MAP_DIFFUSE
*MAP_TYPE Other
*UVW_U_OFFSET 0.000000
*UVW_V_OFFSET 0.000000
*UVW_U_TILING 1.000000
*UVW_V_TILING 1.000000
*UVW_ANGLE 0.000000
*UVW_BLUR 1.000000
*UVW_BLUR_OFFSET 0.000000
*UVW_NOISE_AMT 1.000000
*UVW_NOISE_SIZE 1.000000
*UVW_NOISE_LEVEL 1
*UVW_NOISE_PHASE 0.000000
*BITMAP_FILTER Pyramidal
*BITMAP_MAP_CHANNEL 1
}
}
}
}
}
*MATERIAL
{
*MATERIAL_REF_NO 1
*MATERIAL_NAME 4 - Default
*MATERIAL_CLASS Standard
*MATERIAL_AMBIENT 0x969696
*MATERIAL_DIFFUSE 0x969696
*MATERIAL_SPECULAR 0xE5E5E5
*MATERIAL_SHINE 0.100000
*MATERIAL_SHINESTRENGTH 0.000000
*MATERIAL_TRANSPARENCY 1.000000
*MATERIAL_WIRESIZE 1.000000
*MATERIAL_SHADING Blinn
*MATERIAL_XP_FALLOFF 0.000000
*MATERIAL_SELFILLUM 0.000000
*MATERIAL_FALLOFF Other
*MATERIAL_XP_TYPE Filter
}
}

As far as I can tell, changing the bitmap doesn't do anything (not sure if it's a placeholder or something? I know it's the bitmap used for the shinywheel..). The first block in the code above controls the colour of the rivets, and the second block controls the actual colour of the disc. The same is probably true for the other GMF's.

You can change the transparency, shine etc of the component by changing the number after where it says *MATERIAL_TRANSPARENCY, or the appropriate one for the thing that you would like to change. The hex codes after *MATERIAL_AMBIENT, *MATERIAL_DIFFUSE and *MATERIAL_SPECULAR control the colours of the component. I believe the Beetlebros have a tutorial on their website about the specifics of what each one does.

If you have any questions, feel free to ask :)


Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: How to skin domes?
« Reply #3 on: June 09, 2014, 05:47:20 PM »
If you want to put an actual skin on a dome, rather than a solid color, the best way is to use Heavy Metal Noise's decal component.  It will require a bit of .gmf editing to resize it to fit the dome, but there are only four mesh points so it's super easy.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline TheUnknownRobotics

  • UnknownMartin
  • Heavyweight
  • Posts: 577
  • Rep: -4
  • Sm4sh NNID: Nixtram
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: How to skin domes?
« Reply #4 on: June 09, 2014, 06:39:11 PM »
If you want to put an actual skin on a dome, rather than a solid color, the best way is to use Heavy Metal Noise's decal component.  It will require a bit of .gmf editing to resize it to fit the dome, but there are only four mesh points so it's super easy.
My only problem is that it's not for me. I might try this, though.
Mostly a lurker and Sm4sh Bros. player nowadays. :3