| 
 
 
 
	
	
		
			|   | Page 1 of 1 
 | [ 11 posts ] |  |   Another sprites question, probably very simple solution 
        
        
            | Author | Message |  
			| Cadwaller 
					Joined: Wed Jun 03, 2009 1:12 am
 Posts: 93
   |   Another sprites question, probably very simple solutionHi, 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 | 
					
					   |  
		|  |  
			| TheLastBanana DRL Developer 
					Joined: Wed Dec 13, 2006 5:27 am
 Posts: 3138
 Location: A little south and a lot west of Moscow
   |   Re: Another sprites question, probably very simple solutionFirstly, 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 | 
					
					     |  
		|  |  
			| Cadwaller 
					Joined: Wed Jun 03, 2009 1:12 am
 Posts: 93
   |   Re: Another sprites question, probably very simple solutionThank 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 | 
					
					   |  
		|  |  
			| Grif REAL AMERICAN HERO 
					Joined: Sat Jan 27, 2007 10:25 pm
 Posts: 5655
   |   Re: Another sprites question, probably very simple solutionThe 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 | 
					
					   |  
		|  |  
			| 411570N3 
					Joined: Wed Jan 07, 2009 10:26 am
 Posts: 4074
 Location: That quaint little British colony down south
   |   Re: Another sprites question, probably very simple solutionDownload 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 | 
					
					     |  
		|  |  
			| Cadwaller 
					Joined: Wed Jun 03, 2009 1:12 am
 Posts: 93
   |   Re: Another sprites question, probably very simple solutionThanks 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 | 
					
					   |  
		|  |  
			| 411570N3 
					Joined: Wed Jan 07, 2009 10:26 am
 Posts: 4074
 Location: That quaint little British colony down south
   |   Re: Another sprites question, probably very simple solutionX11 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 | 
					
					     |  
		|  |  
			| Duh102 happy carebear mom 
					Joined: Tue Mar 04, 2008 1:40 am
 Posts: 7096
 Location: b8bbd5
   |   Re: Another sprites question, probably very simple solution411570N3 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 | 
					
					   |  
		|  |  
			| Cadwaller 
					Joined: Wed Jun 03, 2009 1:12 am
 Posts: 93
   |   Re: Another sprites question, probably very simple solutionI got gimp and figured it out.  Thanks for the help everyone! 
 
 |  
			| Mon Aug 03, 2009 3:02 am | 
					
					   |  
		|  |  
			| Sova 
					Joined: Sun Aug 02, 2009 4:35 am
 Posts: 15
   |   Re: Another sprites question, probably very simple solutionWow, 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 | 
					
					   |  
		|  |  
			| PhantomAGN 
					Joined: Mon Jun 29, 2009 2:40 am
 Posts: 610
 Location: Deep below The Map of Mars
   |   Re: Another sprites question, probably very simple solutionSorry 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 | 
					
					   |  
		|  |  
		|  |  
	
		
			|   | Page 1 of 1 
 | [ 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
 
 |  
 |