Data Realms Fan Forums
http://45.55.195.193/

weird bug with HDFirearm
http://45.55.195.193/viewtopic.php?f=1&t=31420
Page 1 of 1

Author:  Softwaredrug [ Mon Jul 09, 2012 4:15 pm ]
Post subject:  weird bug with HDFirearm

Hello,

I recently started modding, which is mostly just copypasting the .ini's from some standard weapons, changing some values and making a few sprites, but with a HDFirearm I made, I get a very odd error.
The crash report is added below, and the abort screen says it read everything perfectly, ending with "Index.ini - done!"
I have read through all the lines of code multiple times, and I can't seem to find any error.

Attachment:
File comment: crash report
error.png
error.png [ 24.03 KiB | Viewed 3123 times ]


Can anyone help me out?

here are the .ini's:

Attachment:
File comment: the weapon ini
Automator.ini [7.29 KiB]
Downloaded 215 times
Attachment:
File comment: index.ini
Index.ini [302 Bytes]
Downloaded 206 times

Author:  4zK [ Mon Jul 09, 2012 5:45 pm ]
Post subject:  Re: weird bug with HDFirearm

I'm guessing you have only one frame for the weapon.

Try changing FrameCount to 1 under the weapon sprite path.

(FrameCount >= 2 indicates you have multiple frames for the weapon, i.e. the frame(s) that the weapon changes to when it's shot. This is mostly useless, since the shooting sprite only appears for a split second, but some weapons like the gatling gun use it for barrel-spinning animations.)

Author:  Arcalane [ Mon Jul 09, 2012 5:58 pm ]
Post subject:  Re: weird bug with HDFirearm

The problem may be with the sprites rather than the code. What program did you make them with?

For instance- In my experience, GIMP 2.8 has an error that prevents it from properly saving indexed bitmaps. Whilst most not-in-palette sprites simply render weirdly, CC refused to load any indexed/paletted sprites I made using GIMP 2.8.

Author:  Softwaredrug [ Mon Jul 09, 2012 6:32 pm ]
Post subject:  Re: weird bug with HDFirearm

yeah, I do have only 1 frame...*palm*. Dumb mistake. That solved the problem though, so thanks for the help! :D

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