Page 1 of 1

How to make guns not use ammo?

Posted: Wed Aug 05, 2015 7:40 am
by barronvonburp
Make a weapon not require ammo, without the player having to input anything into their console.

Re: How to make guns not use ammo?

Posted: Wed Aug 05, 2015 7:47 am
by minmay
in the FirearmAttackComponent set these fields:

Code: Select all

loadedCount = math.huge,
clipSize = math.huge,

Re: How to make guns not use ammo?

Posted: Wed Aug 05, 2015 8:09 am
by barronvonburp
I tried setting the ammobox to math.huge and working my way from there.
It didn't work. It only gave 1 pellet.
Anywho that worked, thanks.