Data Realms Fan Forums
http://45.55.195.193/

Can't Locate Sprite
http://45.55.195.193/viewtopic.php?f=1&t=22316
Page 1 of 1

Author:  Jackal [ Wed Mar 30, 2011 12:36 pm ]
Post subject:  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?

Author:  Duh102 [ Wed Mar 30, 2011 3:04 pm ]
Post subject:  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?

Author:  Jackal [ Wed Mar 30, 2011 9:30 pm ]
Post subject:  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.

Author:  Duh102 [ Wed Mar 30, 2011 9:36 pm ]
Post subject:  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?

Author:  Jackal [ Wed Mar 30, 2011 9:49 pm ]
Post subject:  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

Author:  Roast Veg [ Wed Mar 30, 2011 10:06 pm ]
Post subject:  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.

Author:  Jackal [ Wed Mar 30, 2011 10:19 pm ]
Post subject:  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.

Author:  Roast Veg [ Wed Mar 30, 2011 10:54 pm ]
Post subject:  Re: Can't Locate Sprite

Nope, 256 colours, as per the palette. Try to change it to this.

Author:  Jackal [ Wed Mar 30, 2011 10:58 pm ]
Post subject:  Re: Can't Locate Sprite

Alright, gotcha. Thanks guys! I'll try that, and see if it works.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/