View unanswered posts | View active topics It is currently Sat Dec 28, 2024 12:33 am



Reply to topic  [ 10 posts ] 
 Sprite Problems 
Author Message
User avatar

Joined: Sun Mar 04, 2007 11:22 pm
Posts: 254
Location: In my happy and/or unhappy place.
Reply with quote
Post Sprite Problems
I have had this problem, I don't know if this has been posted before, (it probably has) but can anyone help.

Whenever I try to make a sprite of my own, and try it in game, this weird thing happens.

Can anyone help?


Attachments:
TestDump045.bmp
TestDump045.bmp [ 900.05 KiB | Viewed 3295 times ]
Fri Dec 14, 2007 7:33 pm
Profile WWW
User avatar

Joined: Sat Jun 30, 2007 4:39 am
Posts: 521
Reply with quote
Post Re: Sprite Problems
Lucky for you, I have this thing already copied.. search next time.

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.


EDIT: Hey, it looks like bad sprites don't crash the game in B19. Interesting..


Fri Dec 14, 2007 7:36 pm
Profile WWW
User avatar

Joined: Sun Mar 04, 2007 11:22 pm
Posts: 254
Location: In my happy and/or unhappy place.
Reply with quote
Post Re: Sprite Problems
Yeah, the thing is, I used the CC pallete.


Fri Dec 14, 2007 7:42 pm
Profile WWW
User avatar

Joined: Sat Jun 30, 2007 4:39 am
Posts: 521
Reply with quote
Post Re: Sprite Problems
DudeGuy wrote:
Yeah, the thing is, I used the CC pallete.

Is it saved as an 8-bit .bmp?


Fri Dec 14, 2007 7:55 pm
Profile WWW
User avatar

Joined: Sun Mar 04, 2007 11:22 pm
Posts: 254
Location: In my happy and/or unhappy place.
Reply with quote
Post Re: Sprite Problems
I have to check.

EDIT: I can't tell. The thing is saved over Bitmap, but that isn't working. Does the 8-bit determine on size? Because, the reason i'm having so much trouble is that this is my first try at spriting, and after seeing the giant monstrosities people have made as mods, I didn't think size mattered.


Fri Dec 14, 2007 7:57 pm
Profile WWW
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post Re: Sprite Problems
Send the sprite to me, I'll check it and make it 8 bit if it isn't already.


Fri Dec 14, 2007 8:18 pm
Profile
User avatar

Joined: Sun Mar 04, 2007 11:22 pm
Posts: 254
Location: In my happy and/or unhappy place.
Reply with quote
Post Re: Sprite Problems
Well, here's the sprites

I'm working on the offsets, I know how to do them, but... here's the sprites.


Attachments:
Digger000.bmp [990 Bytes]
Downloaded 188 times
Digger001.bmp [990 Bytes]
Downloaded 189 times
Fri Dec 14, 2007 8:43 pm
Profile WWW
User avatar

Joined: Tue Dec 26, 2006 9:35 am
Posts: 481
Reply with quote
Post Re: Sprite Problems
They should be fixed now.


Attachments:
Digger000.bmp [1.36 KiB]
Downloaded 119 times
Digger001.bmp [1.36 KiB]
Downloaded 119 times
Sat Dec 15, 2007 8:53 am
Profile
User avatar

Joined: Sun Mar 04, 2007 11:22 pm
Posts: 254
Location: In my happy and/or unhappy place.
Reply with quote
Post Re: Sprite Problems
Still not working. Even with Breen's sprite fix.


Sat Dec 15, 2007 6:31 pm
Profile WWW

Joined: Sun Jun 24, 2007 6:13 am
Posts: 505
Reply with quote
Post Re: Sprite Problems
Save it as a 256 color .bmp


Sat Dec 15, 2007 6:48 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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.048s | 16 Queries | GZIP : Off ]