Making an auto artillery gun
- Vilespring
- Posts: 740
- Joined: Sat Nov 24, 2012 5:47 am
- Location: Somewere in the United States
Making an auto artillery gun
I have been playing with the AutoFire code a bit to make some automatic artillery, when I noticed that the gun fires only 3 times before it stops. The gun is a wespe with the engine disabled and driver's position removed. I would like the gun to fire until the wespe's ammo rack is dry.
A picture is worth a thousand words, but takes up three thousand times the memory.
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Re: Making an auto artillery gun
Have you tried setting the MagSize to -1 (negative one)?
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
- Vilespring
- Posts: 740
- Joined: Sat Nov 24, 2012 5:47 am
- Location: Somewere in the United States
Re: Making an auto artillery gun
I tried it, but the gun still fired only 3 times by it's self. (me staring at it)
A picture is worth a thousand words, but takes up three thousand times the memory.
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Re: Making an auto artillery gun
I don't know what to say other than making suggestions. Just mess around with the code, see if you can change somehting that you think will make it work.
Sometimes modding takes sitting back and thinking.
Try removing the networkInfo, that's one of my ideas. Next, try making the magSize 1 and the numberOfMags -1.
Sometimes modding takes sitting back and thinking.
Try removing the networkInfo, that's one of my ideas. Next, try making the magSize 1 and the numberOfMags -1.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
- Vilespring
- Posts: 740
- Joined: Sat Nov 24, 2012 5:47 am
- Location: Somewere in the United States
Re: Making an auto artillery gun
I have done some fiddling and I have gone to this conclusion; the gun can only fire 3 times by its self. the gun gets "stuck" after the third shot. by "stuck," I mean the reload bar stops midway, and the gun stays back from the recoil, not pushed back to its normal position. I also have learned another thing that is pretty funny. The gun still fires after it's dead, I have been blown up by a wreck a few times. 

A picture is worth a thousand words, but takes up three thousand times the memory.
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"