View unanswered posts | View active topics It is currently Thu Jan 02, 2025 8:45 pm



This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
 Reloading issue 
Author Message

Joined: Thu Dec 30, 2010 7:25 pm
Posts: 6
Post 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 186 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
Sat Jan 01, 2011 9:04 pm
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Post 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]


Sat Jan 01, 2011 9:31 pm
Profile

Joined: Thu Dec 30, 2010 7:25 pm
Posts: 6
Post 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...


Sat Jan 01, 2011 9:38 pm
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Post Re: Reloading issue
It's fine, everyone makes mistakes.


Sat Jan 01, 2011 9:48 pm
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Post 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.


Sat Jan 01, 2011 10:39 pm
Profile WWW
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 5 posts ] 

Who is online

Users browsing this forum: Google [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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.054s | 17 Queries | GZIP : Off ]