Data Realms Fan Forums
http://45.55.195.193/

What is the syntax/spriting error here?
http://45.55.195.193/viewtopic.php?f=1&t=16096
Page 1 of 1

Author:  Cadwaller [ Mon Aug 03, 2009 10:06 pm ]
Post subject:  What is the syntax/spriting error here?

I learned how to make sprites in palette recently and after a few fairly sucessful attempts I tried to make a sniper rifle and paste it onto a combination heavy/ light sniper code (shown below) when I loaded the game, it quit and told me this:

"Failed to load datafile object with the following path and name:

Coalition.rte/Devices/Sprites/CompactSniper000"

Heres the code for the sniper: http://pastebin.com/f4996a07e

If you think there might be a problem with the image I attached it below too (although I'm pretty sure it is in palette and in indexed mode)

Please tell me if you can figure out what the problem is.


Thanks, cadwaller

Attachments:
CompactSniper.bmp [342 Bytes]
Not downloaded yet

Author:  Duh102 [ Mon Aug 03, 2009 10:26 pm ]
Post subject:  Re: What is the syntax/spriting error here?

Good job with the pastebin.
You error is here.
Code:
                FilePath = Coalition.rte/Devices/Sprites/CompactSniper.bmp
        FrameCount = 2

FrameCount should be 1.

Author:  Cadwaller [ Tue Aug 04, 2009 10:14 pm ]
Post subject:  Re: What is the syntax/spriting error here?

Thanks for responding, but I changed that and it still had the error, the problem seems to be based in the sprite or something because the game said "unable to load datafile object" then listed the path to the sprite for the weapon.

Author:  Geti [ Wed Aug 05, 2009 12:49 am ]
Post subject:  Re: What is the syntax/spriting error here?

you still have it name as "whatever"000.bmp
when framecount = 1, you dont need the 000

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