Data Realms Fan Forums
http://45.55.195.193/

Help with coding?
http://45.55.195.193/viewtopic.php?f=1&t=16131
Page 1 of 1

Author:  Zephyr [ Fri Aug 07, 2009 5:36 am ]
Post subject:  Help with coding?

A friend and I are working on a mod project, and we started using one weapon from the Gun Template. It was just a test to see what we could do with it, but he keeps on getting this error:

Abortion in file .\system\contentfile.cpp. line 549, because:
failed to load data file object with following path and name
Private.rte\devices\sprites\PTRS-sprite-gun000

Any suggestions?

Author:  p3lb0x [ Fri Aug 07, 2009 2:20 pm ]
Post subject:  Re: Help with coding?

You either have a wrong filepath or only one sprite for the gun. In the that case you either need to make a firing sprite or find FrameCount = 2 under the sprite path and change it to 1

Author:  LowestFormOfWit [ Fri Aug 07, 2009 2:23 pm ]
Post subject:  Re: Help with coding?

p3lb0x wrote:
You either have a wrong filepath or only one sprite for the gun. In the that case you either need to make a firing sprite or find FrameCount = 2 under the sprite path and change it to 1


And if you're only using one sprite for the gun, you don't use 000 at the end of the filename.
000 is for nonfiring.
001 is for firing.

Author:  Zephyr [ Sat Aug 08, 2009 3:14 am ]
Post subject:  Re: Help with coding?

Thanks, but for some reason, he and I corrected some stuff and it was fixed. Ill keep all that other stuff in mind when creating more weapons. Many thanks!

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