| Author | Message | 
        
			| Jackal 
					Joined: Sat Jan 22, 2011 2:23 am
 Posts: 213
 Location: Somewhere over the rainbow of public acceptance.
   |   Can't Locate SpriteI am working on a mod that includes a flintlock pistol, and the .ini for the pistol is all good. The sprite needs some work, but it's basic shape and colors have been defined. The only problem is, when I try to run Cortex Command with the mod, I get an error saying that it can't locate the sprite file. I checked over everything time and time again, and nothing seems wrong. I remembered to put .bmp at the end of my FileLocation, and the sprite is a bitmap. I don't think you need to define sprites in the Index.ini, do you? 
 
 | 
		
			| Wed Mar 30, 2011 12:36 pm | 
					
					     | 
	
	
		|  | 
	
			| Duh102 happy carebear mom 
					Joined: Tue Mar 04, 2008 1:40 am
 Posts: 7096
 Location: b8bbd5
   |   Re: Can't Locate SpriteWhat exactly is the error? Do you have the right amount of frames made or did you forget to set the frames to 1 if you only have the one? 
 
 | 
		
			| Wed Mar 30, 2011 3:04 pm | 
					
					   | 
	
	
		|  | 
	
			| Jackal 
					Joined: Sat Jan 22, 2011 2:23 am
 Posts: 213
 Location: Somewhere over the rainbow of public acceptance.
   |   Re: Can't Locate SpriteNo, I defined the number of frames as 1, since it's just that sprite. Is it the name? Does it need to be Flintlock0000.bmp or something, despite the lack of multiple frames? Currently, it's just Flintlock.bmp. 
 
 | 
		
			| Wed Mar 30, 2011 9:30 pm | 
					
					     | 
	
	
		|  | 
	
			| Duh102 happy carebear mom 
					Joined: Tue Mar 04, 2008 1:40 am
 Posts: 7096
 Location: b8bbd5
   |   Re: Can't Locate SpriteNo, as long as you have specified framecount to be 1 it doesn't look for the suffix.Post the offending mod folder?
 
 
 | 
		
			| Wed Mar 30, 2011 9:36 pm | 
					
					   | 
	
	
		|  | 
	
			| Jackal 
					Joined: Sat Jan 22, 2011 2:23 am
 Posts: 213
 Location: Somewhere over the rainbow of public acceptance.
   |   Re: Can't Locate SpriteSure. I just changed it a tad before I read your post, but the error is still there. I know the whole thing is a bit unorganized as well, but I am hoping to make it a lot larger. 
 
 | 
		
			| Wed Mar 30, 2011 9:49 pm | 
					
					     | 
	
	
		|  | 
	
			| Roast Veg Data Realms Elite 
					Joined: Tue May 25, 2010 8:27 pm
 Posts: 4522
 Location: Constant motion
   |   Re: Can't Locate SpriteIt could be that your sprite isn't saved correctly, as in, the difference between a 24 bit bitmap and a 256 colour bitmap. 
 
 | 
		
			| Wed Mar 30, 2011 10:06 pm | 
					
					   | 
	
	
		|  | 
	
			| Jackal 
					Joined: Sat Jan 22, 2011 2:23 am
 Posts: 213
 Location: Somewhere over the rainbow of public acceptance.
   |   Re: Can't Locate SpriteAnd, that would be the problem. So, it should be saved as a 24-bit bitmap? I wasn't sure, so I just went save as and slapped .bmp on the end. 
 
 | 
		
			| Wed Mar 30, 2011 10:19 pm | 
					
					     | 
	
	
		|  | 
	
			| Roast Veg Data Realms Elite 
					Joined: Tue May 25, 2010 8:27 pm
 Posts: 4522
 Location: Constant motion
   |   Re: Can't Locate SpriteNope, 256 colours, as per the palette. Try to change it to this. 
 
 | 
		
			| Wed Mar 30, 2011 10:54 pm | 
					
					   | 
	
	
		|  | 
	
			| Jackal 
					Joined: Sat Jan 22, 2011 2:23 am
 Posts: 213
 Location: Somewhere over the rainbow of public acceptance.
   |   Re: Can't Locate SpriteAlright, gotcha. Thanks guys! I'll try that, and see if it works. 
 
 | 
		
			| Wed Mar 30, 2011 10:58 pm | 
					
					     | 
	
	
		|  | 
	
	
		|  |