View unanswered posts | View active topics It is currently Thu Dec 26, 2024 5:50 pm



This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
 Sprite errors 
Author Message

Joined: Thu Aug 16, 2007 10:45 pm
Posts: 20
Post 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


Mon Sep 24, 2007 3:03 pm
Profile
User avatar

Joined: Sat Jun 30, 2007 4:39 am
Posts: 521
Post 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


Mon Sep 24, 2007 3:09 pm
Profile WWW
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.376s | 13 Queries | GZIP : Off ]