View unanswered posts | View active topics It is currently Thu Mar 28, 2024 4:03 pm



Reply to topic  [ 10 posts ] 
 Sprites all appear incredibly broken 
Author Message

Joined: Wed Dec 28, 2011 6:57 pm
Posts: 26
Reply with quote
Post Sprites all appear incredibly broken
I'm trying to create my first custom actor, but have already run across a problem--Sprites. No matter what I make, what colors I use, even from the palette the game recognizes (Of course!) all my sprites still appear incredibly bugged ingame. While my soldier is facing one way, the transparent parts on the retextured areas completely block other parts of the soldier from rendering, and when facing the other way the textures look buggy/glitchy similar to missingNo. Can anybody tell me what I'm doing wrong?


Fri Jun 20, 2014 5:08 am
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Sprites all appear incredibly broken
No matter what colours you use or the file format you save it in it'll appear that way unless the sprite is in palette. What that means is that the file specifically only uses the colour in that palette and cannot deviate. Basically CC has it's own image format (almost).

There's a couple of threads on this but here's one asking the same question: http://forums.datarealms.com/viewtopic.php?f=1&t=25413&hilit=Palette

Keep in mind images cannot be paletted by windows vista and onwards versions of paint. I have also attached a paletted 'null' sprite. TO use simply open with mspaint xp version and paste in your sprite and save as.


Attachments:
File comment: This is in Base.rte if you ever lose it
Null.bmp [1.06 KiB]
Not downloaded yet
Fri Jun 20, 2014 5:20 am
Profile

Joined: Wed Dec 28, 2011 6:57 pm
Posts: 26
Reply with quote
Post Re: Sprites all appear incredibly broken
dragonxp wrote:
No matter what colours you use or the file format you save it in it'll appear that way unless the sprite is in palette. What that means is that the file specifically only uses the colour in that palette and cannot deviate. Basically CC has it's own image format (almost).

There's a couple of threads on this but here's one asking the same question: http://forums.datarealms.com/viewtopic.php?f=1&t=25413&hilit=Palette

Keep in mind images cannot be paletted by windows vista and onwards versions of paint. I have also attached a paletted 'null' sprite. TO use simply open with mspaint xp version and paste in your sprite and save as.


Thank you so much for the quick reply. I'll try to figure this out with this info.


Fri Jun 20, 2014 5:25 am
Profile

Joined: Wed Dec 28, 2011 6:57 pm
Posts: 26
Reply with quote
Post Re: Sprites all appear incredibly broken
dragonxp wrote:
No matter what colours you use or the file format you save it in it'll appear that way unless the sprite is in palette. What that means is that the file specifically only uses the colour in that palette and cannot deviate. Basically CC has it's own image format (almost).

There's a couple of threads on this but here's one asking the same question: http://forums.datarealms.com/viewtopic.php?f=1&t=25413&hilit=Palette

Keep in mind images cannot be paletted by windows vista and onwards versions of paint. I have also attached a paletted 'null' sprite. TO use simply open with mspaint xp version and paste in your sprite and save as.

Okay, so I've followed your instructions and used your null file and sprited over that, but it still shows as very glitchy. The only colors I've used are from the palette, nothing from anything else. I'm using BMP files, and no transparency and magenta where I want it transparent, but it still won't work.


Fri Jun 20, 2014 5:47 am
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Sprites all appear incredibly broken
What program are you using


Fri Jun 20, 2014 6:41 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Sprites all appear incredibly broken
Did you make sure to export your sprites in palette? It sounds like you might not have, even if you use the right colors, the actual file format of the BMP has to be arranged a certain way (which you cannot change just by using the right colors). Check this tutorial if you haven't already.


Fri Jun 20, 2014 12:35 pm
Profile

Joined: Wed Dec 28, 2011 6:57 pm
Posts: 26
Reply with quote
Post Re: Sprites all appear incredibly broken
Okay, never mind. I figured out something that works. I make the sprite in Paint.NET, then save it, then copy it over to the null file using MS Paint, and save it as the original name.


Fri Jun 20, 2014 5:18 pm
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Sprites all appear incredibly broken
Sorry if I didn't make too much sense. But what you're doing when you paste into mspaint is putting the resulting sprite into palette and in this bitmap the only colours that are usable are the ones in the palette because mspaint auto configs the image provided the palette is in the image (the first time). But that process should be all you need soo what I said may or may not be irrelevant.


Fri Jun 20, 2014 6:16 pm
Profile
User avatar

Joined: Wed Jan 23, 2013 10:05 pm
Posts: 46
Location: USA
Reply with quote
Post Re: Sprites all appear incredibly broken
This is my most hated problem in all of Cortex Command modding because you can't make sprites from any other programs at all. You have to make everything from scratch in MS Paint. No more advanced editors allowed in any stage of creation, which really sucks.


Mon Jun 23, 2014 9:22 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Sprites all appear incredibly broken
You can use any editor you like, you just have to do the final paletting step in some editor that supports paletting.
Duh102 wrote:
Check this tutorial if you haven't already.


Mon Jun 23, 2014 11:31 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.421s | 17 Queries | GZIP : Off ]