Data Realms Fan Forums
http://45.55.195.193/

Reloading issue
http://45.55.195.193/viewtopic.php?f=1&t=20990
Page 1 of 1

Author:  BinaryDecision [ Sat Jan 01, 2011 9:04 pm ]
Post subject:  Reloading issue

I'm having issues with making a weapon, after following along with the gun scripting & offset tutorial, making my terrible looking gun and magazine, I can't seem to get it to work. Specifically the issue is the gun never loads its magazine, the actor drops in holding it with its ammo count at 0, as he goes to load it the gun just goes to 'Reloading...' forever. If you're feeling generous enough to help please excuse the terrible looking sprites, its my first gun I just wanted to make it work.

Attachments:
File comment: Gun .ini
FlechetteGun.ini [4.57 KiB]
Downloaded 187 times
File comment: Gun
FlechGun.bmp [534 Bytes]
Not downloaded yet
File comment: Magazine
FlechMag.bmp [114 Bytes]
Not downloaded yet
File comment: gun w/ offsets shown
FlechGunOffsets.bmp [534 Bytes]
Not downloaded yet

Author:  dragonxp [ Sat Jan 01, 2011 9:31 pm ]
Post subject:  Re: Reloading issue

Maybe because there isn't a magazine specified in the HDFirearm?

You need this line:
Code:
Magazine = Magazine
      CopyOf = [name of magazine defined]

Author:  BinaryDecision [ Sat Jan 01, 2011 9:38 pm ]
Post subject:  Re: Reloading issue

dragonxp wrote:
Maybe because there isn't a magazine specified in the HDFirearm?

You need this line:
Code:
Magazine = Magazine
      CopyOf = [name of magazine defined]


man that is more embarrassing than leaving the safety on in an action movie...

Author:  dragonxp [ Sat Jan 01, 2011 9:48 pm ]
Post subject:  Re: Reloading issue

It's fine, everyone makes mistakes.

Author:  zalo [ Sat Jan 01, 2011 10:39 pm ]
Post subject:  Re: Reloading issue

BinaryDecision wrote:
dragonxp wrote:
Maybe because there isn't a magazine specified in the HDFirearm?

You need this line:
Code:
Magazine = Magazine
      CopyOf = [name of magazine defined]


man that is more embarrassing than leaving the safety on in an action movie...


That line is going into my special book of quotes for obscure situations.

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