Cutstuff Forum

Mega Man 8-bit Deathmatch => Projects & Creative => Skins & Bots etc => Topic started by: Balrog on February 10, 2011, 11:55:15 PM

Title: [TUTORIAL] Adding your own medals
Post by: Balrog on February 10, 2011, 11:55:15 PM
I suck at writing tutorials normally(I wrote the "Easy" way for the MM8BDM Linux tutorial), but I might as well give it a go.

I assume you already have your medal sprite set up as a PNG. If you don't you can make it easily with your friendly neighborhood GIMP (http://www.gimp.org), Photoshop, or Paint.NET. The Spriters Resource (http://www.spriters-resource.com) has tons of Mega Man sprites to compose your medal with, but you probably already knew that. Remember to fill the non-sprite bits of your image with transparency as you would a skin. I haven't tested it, but you should probably set the image to use a indexed color palette to - just to be safe.

Fire up SLADE and open MM8BDM-v1c.pk3 or whatever the main data file is called when you're reading this. Click on sprites then skulltag. You should see something like this:

(http://i56.tinypic.com/fp9hyg.png)

Select the sprite that you want to replace. Usually the first four letters of the sprite name match the first four letters of the name of its medal. For example, the sprite for the Excellent Medal is named EXCLA0. Now pick Import from the toolbar and and find your new medal sprite.

(http://i53.tinypic.com/2gwesch.png)

Set the Type combobox to Sprite(since that's what we're working with) and the offset number in the second box to 45. From here, tweak the offset numbers as you would a skin. You want the bottom edge of the faint grey box around your image to be just above the horizontal black line and the vertical black line to be running through the center of your medal. Click Save and you're done!

(http://i56.tinypic.com/54exjm.png)

Unfortunately, this procedure isn't likely to work for WADs placed in the skins folder due to how Skulltag loads them. Feel free to prove me wrong though. MODs that are loaded in a server that contain custom medal sprites should work fine.
Title: Re: [TUTORIAL] Adding your own medals
Post by: Lio on February 11, 2011, 12:01:31 AM
Why shouldn't it work on a skin folder? All it does is replace an empty png with a sprite. Things that don't work on the skin folder are pk3/wads with protected lumps such as Decorate, palettes and such.
Title: Re: [TUTORIAL] Adding your own medals
Post by: Balrog on February 11, 2011, 12:35:09 AM
Skins are added before everything else. That means when MM8BDM-*.pk3 gets loaded your custom medal gets overwritten with the blank one.
Title: Re: [TUTORIAL] Adding your own medals
Post by: Lio on February 11, 2011, 01:03:15 AM
From experience I know skins are added after the IWAD content, at least on Doom. Then extra pk3/wad content is loaded. Maybe MM8BDM doesn't loads everything in the same order, but it should work in my opinion.
Title: Re: [TUTORIAL] Adding your own medals
Post by: Ivory on February 11, 2011, 02:02:25 AM
I thought skins were the last thing to be loaded?
Title: Re: [TUTORIAL] Adding your own medals
Post by: TERRORsphere on February 11, 2011, 02:45:12 AM
It would work anyway. I modified the title graphic for GVH to "GVH Rainbow Edition" and it worked in my skins (and every other wad/pk3).
Title: Re: [TUTORIAL] Adding your own medals
Post by: Lio on February 11, 2011, 08:17:29 AM
Quote from: "Ivory"
I thought skins were the last thing to be loaded?
Woops, I didn't see what I was typing. I meant skins are loaded after the IWAD > Extra Content procedure. But yes, skins are loaded after everything else, my bad.
Title: Re: [TUTORIAL] Adding your own medals
Post by: Balrog on February 11, 2011, 07:21:32 PM
Oops, my mistake. Medals work just fine in the skins folder.