View unanswered posts | View active topics It is currently Thu Jan 09, 2025 2:22 am



Reply to topic  [ 4 posts ] 
 Sprite problems! 
Author Message
User avatar

Joined: Sat Mar 28, 2009 1:46 pm
Posts: 26
Reply with quote
Post Sprite problems!
Okay, so I was making this mod thing or whatever, and when I went to test it out, I got an error message that said: "Failed to load datafile object with following path and name: Dakron.rte/Devices/Weapons/Dakronian Pistol/Dakronianpistol000.bmp "

So I went and check the .ini where the sprite was used, and then I checked the path, and they seemed to be exactly the same.

So, anyone know why its giving me the error message? I snooped around the forums for a bit, and the best answer I could find was something about the palette that the game uses, but I'm not exactly sure what that means....


Sat Mar 28, 2009 1:54 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Sprite problems!
The pistol sprite does not have a second frame, does it?
That error usually comes up because people forget to set the FrameCount to 1.


Sat Mar 28, 2009 5:42 pm
Profile
User avatar

Joined: Fri Oct 17, 2008 9:46 pm
Posts: 5212
Location: The Grills Locker.
Reply with quote
Post Re: Sprite problems!
The problem you are having is probably related to the framecount of the sprite. To fix it, go to the FrameCount variable under the FilePath, and set it to 1. That way, the game will not need the 000 in the end of the filename anymore.


EDIT: oh no, duh102 was faster than me!


Sat Mar 28, 2009 5:43 pm
Profile WWW
User avatar

Joined: Sat Mar 28, 2009 1:46 pm
Posts: 26
Reply with quote
Post Re: Sprite problems!
Okay, I decreased the frame count to one, not sure if that did it or not.

But I opened up palette.bmp in base.rte and use the colors from that in the pistol.bmp thing.

But it works now, so I don't care.


Sun Mar 29, 2009 12:01 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: Majestic-12 [Bot]


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.098s | 14 Queries | GZIP : Off ]