Data Realms Fan Forums
http://45.55.195.193/

Sprite errors
http://45.55.195.193/viewtopic.php?f=1&t=7987
Page 1 of 1

Author:  Forteen [ Mon Sep 24, 2007 3:03 pm ]
Post subject:  Sprite errors

Hi, I'm trying to mod, but whenever I edit or make a picture, all I get is a big box, full of black lines. Sometimes when I select it, the game crashes. Could it be that I had the wrong color config?Can anyone help?

I have Ms-Paint and Photoshop Elements 1.0.


BTW, the mod I'm trying to make is the KOOL-AID guy

Author:  Electroclan [ Mon Sep 24, 2007 3:09 pm ]
Post subject:  Re: Sprite errors

Next time, post in Need Help? Read this.

Quote:
HALP! My sprite looks all weird ingame.. and when I select it, the game crashes! I checked the sprite in a graphics program and it looks fine! WTF?!


Like this?

Image

That is because your sprite is not 8-bit and doesn't match the CC palette. I won't tell you what 8-bit is. If you don't know, Wikipedia it.

Simply decreasing the color depth to 8-bit won't help, you'll only have the colors that the sprite uses. It won't match the CC palette, only 1 of 2 requirements. Sure, the mod won't crash now; but your sprite will look like an acid trip.

To get it to match the CC palette, memorize the dimensions of the screwed up sprite. 34 by 12 pixels, for example.

Next, make a COPY of palette.bmp (in Base.rte) and open it up in a graphics editing program. Resize the copy of palette to the exact dimensions of your sprite.

Next, copy the screwed up sprite into the palette copy, having it fit perfectly over all of the colors.

Save, and there! You now have a sprite that's 8-bit and has all the CC colors. You'll have to do this for every custom sprite that acts the same way.


And with that.. locked.

Image

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/