Data Realms Fan Forums
http://45.55.195.193/

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

Author:  DudeGuy [ Fri Dec 14, 2007 7:33 pm ]
Post subject:  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 3299 times ]

Author:  Electroclan [ Fri Dec 14, 2007 7:36 pm ]
Post subject:  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..

Author:  DudeGuy [ Fri Dec 14, 2007 7:42 pm ]
Post subject:  Re: Sprite Problems

Yeah, the thing is, I used the CC pallete.

Author:  Electroclan [ Fri Dec 14, 2007 7:55 pm ]
Post subject:  Re: Sprite Problems

DudeGuy wrote:
Yeah, the thing is, I used the CC pallete.

Is it saved as an 8-bit .bmp?

Author:  DudeGuy [ Fri Dec 14, 2007 7:57 pm ]
Post subject:  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.

Author:  TrouserDemon [ Fri Dec 14, 2007 8:18 pm ]
Post subject:  Re: Sprite Problems

Send the sprite to me, I'll check it and make it 8 bit if it isn't already.

Author:  DudeGuy [ Fri Dec 14, 2007 8:43 pm ]
Post subject:  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

Author:  BreenedandScrooned [ Sat Dec 15, 2007 8:53 am ]
Post subject:  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

Author:  DudeGuy [ Sat Dec 15, 2007 6:31 pm ]
Post subject:  Re: Sprite Problems

Still not working. Even with Breen's sprite fix.

Author:  Pyrorex [ Sat Dec 15, 2007 6:48 pm ]
Post subject:  Re: Sprite Problems

Save it as a 256 color .bmp

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