View unanswered posts | View active topics It is currently Thu Jan 09, 2025 10:15 pm



Reply to topic  [ 11 posts ] 
 Another sprites question, probably very simple solution 
Author Message
User avatar

Joined: Wed Jun 03, 2009 1:12 am
Posts: 93
Reply with quote
Post Another sprites question, probably very simple solution
Hi, I'm somewhat of a noob to cortex command and although I'm getting the hang of .ini files, I'm having trouble using sprites other than the ones in the game. I'm using the right colors, because the game accepts them, but when I load the sprite in the game, say, a gun, the gun appears fine untill I rotate it 90 degrees, then it suddenly becomes a jumbled mess of pixels. This is not an offset problem or color problem. Is there some sort of variable i need to adjust so that the gun's mirror image does not get messed up when rotated?


Sat Aug 01, 2009 3:37 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Another sprites question, probably very simple solution
Firstly, this should be in mod making.
Secondly, this is, in fact, a color problem - your sprite is using the right colors but has no palette.
Take a look here.
viewtopic.php?f=1&t=12442


Sat Aug 01, 2009 3:41 am
Profile WWW
User avatar

Joined: Wed Jun 03, 2009 1:12 am
Posts: 93
Reply with quote
Post Re: Another sprites question, probably very simple solution
Thank you for replying but I have a mac so this does not exactly work for me, since I dont have photoshop or ms paint. Pardon my ignorance on this topic but could you please clarify what you mean by the "right colors but wrong palette?" Isn't the palette the colors that are acceptable in the game? Those are the only ones I have used.


Sat Aug 01, 2009 6:41 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Another sprites question, probably very simple solution
The sprite has to be saved as a 256-bit bitmap in the proper color palette; just copying the colors over is not sufficient. The game simply doesn't read a 24-bit or improperly saved bitmap correctly.

As far as what to do, honestly I don't know. There has to be some way to do it on a Mac, but I haven't yet heard of one.


Sat Aug 01, 2009 6:58 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Another sprites question, probably very simple solution
Download and use Gimp. Pretty sure the palette files are around here somewhere...
EDIT: Actually just load Palette.bmp in Gimp and load the palette from it according to some other posts...


Sat Aug 01, 2009 7:10 am
Profile WWW
User avatar

Joined: Wed Jun 03, 2009 1:12 am
Posts: 93
Reply with quote
Post Re: Another sprites question, probably very simple solution
Thanks for the replies everyone, I will try it! One question though, what do you mean by "load the palette from it?" This might become apparent to me when I get gimp, but how do you load a palette?

(Sorry for excruciating noobishness and lack of computer knowledge in posts)


Edit: After I downloaded gimp it said that I needed X11 to run it, whats that? (I know this is sinking into the technical area of the forums)


Sat Aug 01, 2009 7:13 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Another sprites question, probably very simple solution
X11 is a version of operating system. What version of Mac's operating system are you using?
Apart from this, I have no solution other than to get someone with a PC to do it for you, perhaps resorting to just asking someone here to do it.


Sat Aug 01, 2009 8:10 am
Profile WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Another sprites question, probably very simple solution
411570N3 wrote:
perhaps resorting to just asking someone here to do it.

A new class of modding resource arises, the palette-er...


Sat Aug 01, 2009 1:51 pm
Profile
User avatar

Joined: Wed Jun 03, 2009 1:12 am
Posts: 93
Reply with quote
Post Re: Another sprites question, probably very simple solution
I got gimp and figured it out. Thanks for the help everyone!


Mon Aug 03, 2009 3:02 am
Profile
User avatar

Joined: Sun Aug 02, 2009 4:35 am
Posts: 15
Reply with quote
Post Re: Another sprites question, probably very simple solution
Wow, this was exactly what I wanted to know, and its working.

Now just to deal with a ton of sprites.

Again.

At least most of the coding is done.


Mon Aug 03, 2009 5:56 am
Profile
User avatar

Joined: Mon Jun 29, 2009 2:40 am
Posts: 610
Location: Deep below The Map of Mars
Reply with quote
Post Re: Another sprites question, probably very simple solution
Sorry to diverge from the topic slightly, X11 is a windowing system that runs inside osX, it's a program. Apple puts it on the extra install disk for the OS, and it's downloadable from their website. Sounds like you found it.
I don't much like using it, as it's not that efficient, though very good for making mac ports of linux programs.

Another program that does good editing on the Mac is Pixen http://opensword.org/Pixen/, which also does palettes well, and does not need X11.
Seashore http://seashore.sourceforge.net/ is basically the same idea, a lightweight editor.
Appleworks is also capable, but old now.

Oh, and with WINE installed, window's own paint runs fine.


Thu Aug 06, 2009 8:54 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 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.170s | 13 Queries | GZIP : Off ]