Problem making sprites

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
The NUtcracker
Posts: 843
Joined: Sun Jan 14, 2007 9:12 pm
Location: South Dakota
Contact:

Problem making sprites

Post by The NUtcracker »

I'm making custom graphics (don't ask to see them. They suck.) for a weapons mod to practice creating a weapon in decorate, and I've run into a problem. I need to figure out how to make it so the square outline goes away. How do I do that? I'm using MS-Paint, if that helps.
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Post by Zippy »

Depends on what format you are changing the graphic into before putting it in the wad. If it is PNG, just make sure the background of your sprite is set as the transparency color. If you using some tool which converts it into Doom's image format (such as XWE), then try making the background color cyan (0 255 255), since most programs which do the conversion treat cyan as transparent.
User avatar
The NUtcracker
Posts: 843
Joined: Sun Jan 14, 2007 9:12 pm
Location: South Dakota
Contact:

Post by The NUtcracker »

Zippy wrote:If it is PNG, just make sure the background of your sprite is set as the transparency color.
Okay, but what's the transparency color?
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Post by Zippy »

Whatever you set it to. A PNG doesn't have a specific transparency color. Whatever image tool you use to make your image into a PNG should have the capacity to set a specific color in the image to be the transparent color.
User avatar
The NUtcracker
Posts: 843
Joined: Sun Jan 14, 2007 9:12 pm
Location: South Dakota
Contact:

Post by The NUtcracker »

Thanks. Another sprite question: When I import a sprite from heretic/hexen/strife etc. it doesn't seem to look normal. Same when I import a doom graphic into them. How do you get around this?
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Post by Phobus »

You'd have to transfer the palette, or do a palette conversion for the sprites, as the monsters have graphics that are done in different palettes.
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Post by Zippy »

Exactly. The games don't use the same palettes, so the same exact colors which are used in one are not available in the others, and it just has to make due with that it has. Tools like XWE will try to match original colors in the sprite with their closest counter-part in the new palette, but you aren't going to get the same exact colors unless you change the palette of the game you are putting the sprites into (thus screwing over the look of all the sprites and textures native to the game.)
Locked

Return to “Editing (Archive)”