View unanswered posts | View active topics It is currently Sat Dec 28, 2024 2:53 pm



Reply to topic  [ 7 posts ] 
 Weird Sprite broblem 
Author Message
User avatar

Joined: Thu Jan 05, 2012 8:18 am
Posts: 76
Location: In a Sauna, roasting to death
Reply with quote
Post Weird Sprite broblem
I've Got a weird sprite broblem. The sprite of the gun always looks like this.
Image


And yes. It is in the palette
Could this have something to do with the fact that it has two sprites?


Wed Feb 15, 2012 9:08 pm
Profile
User avatar

Joined: Sun Dec 25, 2011 7:23 am
Posts: 269
Reply with quote
Post Re: Weird Sprite broblem
I think I've had this problem before as well.
To solve,

1. Go to Coalition.rte/Devices/Sprites
2. Copy any random sprite picture, I'll just call this sprite pic x
3. Paste sprite pic x into your mod folder where you keep all the sprites
4. Open sprite pic x in MS Paint (I assume you're using windows)
5. Now open up your gun sprites in MS Paint.
6. Copy first gun sprite onto sprite pic x. Chances are it will overlap. This is intended.
7. Scale down the picture to fit your first gun sprite.
8. Save picture.
9. Close picture
10. Delete original first gun sprite and rename sprite pic x as whatever name your first gun sprite was named.
11. Repeat with second gun sprite.


It's actually a lot simpler than it sounds. I'm just really bad at explaining stuff in written words.

edit: And no, this shouldn't have anything to do with having 2 sprites. I think it's just a slight problem with saving an 8-bit picture with the wrong specifications or something, but since you said the palette's fine, I don't know what else the problem could be.


Thu Feb 16, 2012 2:04 pm
Profile
User avatar

Joined: Thu Jan 05, 2012 8:18 am
Posts: 76
Location: In a Sauna, roasting to death
Reply with quote
Post Re: Weird Sprite broblem
ryry1237 wrote:
I think I've had this problem before as well.
To solve,

1. Go to Coalition.rte/Devices/Sprites
2. Copy any random sprite picture, I'll just call this sprite pic x
3. Paste sprite pic x into your mod folder where you keep all the sprites
4. Open sprite pic x in MS Paint (I assume you're using windows)
5. Now open up your gun sprites in MS Paint.
6. Copy first gun sprite onto sprite pic x. Chances are it will overlap. This is intended.
7. Scale down the picture to fit your first gun sprite.
8. Save picture.
9. Close picture
10. Delete original first gun sprite and rename sprite pic x as whatever name your first gun sprite was named.
11. Repeat with second gun sprite.


It's actually a lot simpler than it sounds. I'm just really bad at explaining stuff in written words.

edit: And no, this shouldn't have anything to do with having 2 sprites. I think it's just a slight problem with saving an 8-bit picture with the wrong specifications or something, but since you said the palette's fine, I don't know what else the problem could be.

I'm using GIMP.
Does it make affect the fixing in any way?


Thu Feb 16, 2012 2:29 pm
Profile
User avatar

Joined: Sat Oct 09, 2010 10:01 am
Posts: 303
Location: Afrique d' Sud
Reply with quote
Post Re: Weird Sprite broblem
The problem is you are saving it in the wrong colour format.
Its bmp 32 bit I believe.


Thu Feb 16, 2012 2:56 pm
Profile YIM WWW
User avatar

Joined: Sun Dec 25, 2011 7:23 am
Posts: 269
Reply with quote
Post Re: Weird Sprite broblem
Bmp-32?
Cortex command uses the 256 color palette which only requires 8 bits.
Unless I am terribly mistaken, normal CC sprites are in bmp 8, and glows are in bmp 16.


Thu Feb 16, 2012 4:41 pm
Profile
User avatar

Joined: Thu Jan 05, 2012 8:18 am
Posts: 76
Location: In a Sauna, roasting to death
Reply with quote
Post Re: Weird Sprite broblem
Problem Solved!!


Thu Feb 16, 2012 5:11 pm
Profile
User avatar

Joined: Wed Jul 06, 2011 5:11 pm
Posts: 226
Reply with quote
Post Re: Weird Sprite broblem
You can find swatches for GIMP here. Very helpful for spriting. Also, Paint in windows 7 doesn't save the palette properly even if you save it in 256 color mode.


Thu Feb 16, 2012 7:07 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 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.067s | 14 Queries | GZIP : Off ]