View unanswered posts | View active topics It is currently Mon Jan 06, 2025 11:14 pm



Reply to topic  [ 8 posts ] 
 Mag not falls down 
Author Message

Joined: Fri Oct 03, 2008 12:34 pm
Posts: 19
Reply with quote
Post Mag not falls down
However im "training" in modding , and i have problems . My shotgun's visiable magazine dont falls down . When it (shotgun) reloads the magazine gust ... gone .


Sun Oct 19, 2008 5:53 pm
Profile
User avatar

Joined: Thu Aug 09, 2007 6:37 pm
Posts: 889
Location: Not Jewtown.
Reply with quote
Post Re: Mag not falls down
...What?

Are you saying your shotgun doesn't have a magazine?

Shotguns don't have magazines.


Sun Oct 19, 2008 6:00 pm
Profile WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Mag not falls down
Check the magazine code. If I remember right, there might be a code called HasMagazine = 0 in there.

I seem to remember seeing it on the blunderbuss.

FalconX: All shotguns besides break-action ones have magazines. Just they're usually fixed to the gun. There's plenty with removable magazines, though.


Sun Oct 19, 2008 6:04 pm
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: Mag not falls down
It'll be easier to help if you post the code or ever the whole mod. (Don't loot at me for help though, I'm ain't the best at modding)


Last edited by Roon3 on Sun Oct 19, 2008 7:44 pm, edited 1 time in total.



Sun Oct 19, 2008 6:07 pm
Profile WWW

Joined: Fri Oct 03, 2008 12:34 pm
Posts: 19
Reply with quote
Post Re: Mag not falls down
I changed mag's sprite from null to a custom sprite . Do i need to change something more to have a mag that i can see ? And Grif there arent that line.


Sun Oct 19, 2008 6:14 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Mag not falls down
My bad.

Discardable = 0

Make it 1 and your mag will work fine.


Sun Oct 19, 2008 6:18 pm
Profile
User avatar

Joined: Tue Jul 03, 2007 12:33 am
Posts: 1275
Location: Elsewhere.
Reply with quote
Post Re: Mag not falls down
Grif wrote:
My bad.

Discardable = 0

Make it 1 and your mag will work fine.

I was about to say that yeah, that is a very useful variable.


Mon Oct 20, 2008 1:20 am
Profile
User avatar

Joined: Sun Dec 09, 2007 3:08 pm
Posts: 481
Location: Islamic Republic of Bradistan, Yorkshire, England
Reply with quote
Post Re: Mag not falls down
You could also remove the entire line because it's at 1 by default, if I remember correctly. You'll also want to change the offsets.


Thu Oct 23, 2008 8:29 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users


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.049s | 13 Queries | GZIP : Off ]