View unanswered posts | View active topics It is currently Fri Jan 10, 2025 11:58 am



Reply to topic  [ 9 posts ] 
 Can't Locate Sprite 
Author Message
User avatar

Joined: Sat Jan 22, 2011 2:23 am
Posts: 213
Location: Somewhere over the rainbow of public acceptance.
Reply with quote
Post Can't Locate Sprite
I 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
Profile WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Can't Locate Sprite
What 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
Profile
User avatar

Joined: Sat Jan 22, 2011 2:23 am
Posts: 213
Location: Somewhere over the rainbow of public acceptance.
Reply with quote
Post Re: Can't Locate Sprite
No, 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
Profile WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Can't Locate Sprite
No, 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
Profile
User avatar

Joined: Sat Jan 22, 2011 2:23 am
Posts: 213
Location: Somewhere over the rainbow of public acceptance.
Reply with quote
Post Re: Can't Locate Sprite
Sure. 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.


Attachments:
YeOldeWeps.rte.rar [2.16 KiB]
Downloaded 166 times
Wed Mar 30, 2011 9:49 pm
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Can't Locate Sprite
It 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
Profile
User avatar

Joined: Sat Jan 22, 2011 2:23 am
Posts: 213
Location: Somewhere over the rainbow of public acceptance.
Reply with quote
Post Re: Can't Locate Sprite
And, 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
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Can't Locate Sprite
Nope, 256 colours, as per the palette. Try to change it to this.


Wed Mar 30, 2011 10:54 pm
Profile
User avatar

Joined: Sat Jan 22, 2011 2:23 am
Posts: 213
Location: Somewhere over the rainbow of public acceptance.
Reply with quote
Post Re: Can't Locate Sprite
Alright, gotcha. Thanks guys! I'll try that, and see if it works.


Wed Mar 30, 2011 10:58 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 9 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.070s | 15 Queries | GZIP : Off ]