Profile image

Limited Ammo Gun (Updated, Free to Use)

22.7k Whills  11 months ago

Updated! When you run out of ammo, stop on the ground and hit Fire Weapons will reload the gun!

What's this?

This is the gun with limited ammo. The original guns in the game have unlimited ammo and it's annoying for users who want realistic guns. The funky trees control the activation of the gun, if you run out of the ammo, the gun will be deactivated.

How to use it?

Just drag the gun and save it as a subassembly, and also remember to copy the FIRST THREE VARIABLES (The last one is optional, in case you want to count how many times you fired the guns.) to your own build.

How to customize the ammo and rounds per second?

The default ammo is 900 and the default rounds per second is 100. You can change it by editing the gun's XML and modifying the variables. Please make sure that the XML and variables have the same values.

Enjoy and no credit is needed.

Spotlights

General Characteristics

  • Successors 2 airplane(s) +14 bonus
  • Created On Windows
  • Wingspan 4.6ft (1.4m)
  • Length 4.0ft (1.2m)
  • Height 3.3ft (1.0m)
  • Empty Weight 873lbs (396kg)
  • Loaded Weight 873lbs (396kg)

Performance

  • Wing Loading N/A
  • Wing Area 0.0ft2 (0.0m2)
  • Drag Points 1015

Parts

  • Number of Parts 5
  • Control Surfaces 0
  • Performance Cost 41
  • Log in to leave a comment
  • Profile image
    22.7k Whills

    Updated: The gun will be reloaded when you stop on the ground and hit the Fire Weapons button.

    Sorry for one thing I forgot to mention: you need to set the gun's burstCount in the XML to a very large number (like 10000) so that the ammo count will be correct. Don't set it to 0, this will make the gun's bullet trace look wired.

    Pinned 11 months ago
  • Profile image

    @Whills thanks:) ty for your time and appreciation<3

    6 months ago
  • Profile image
    22.7k Whills

    @skittleChan I am sorry but I don't have discord. You can simply leave comments on my posts and I will reply you :)

    +1 6 months ago
  • Profile image

    @Whills Hello whills, May i speak to you through discord?

    i need to talk to you about the F-16 you're currently making (WIP). perhaps, i can help you with some details.

    sincerely,

    Skittle

    6 months ago
  • Profile image
    462 Flyer24

    @Ooflauncher1 Not really. Why the devs still didn't give us an ammo limiter thing already that actually works is beyond me tho... ammoCount is a completely dysfunctional xml variable. Either way, this thing we have here is nice.

    7 months ago
  • Profile image
    1,144 Ooflauncher1

    @Whills didn’t think of that lol

    10 months ago
  • Profile image
    68.7k MrCOPTY

    @Whills 👍

    10 months ago
  • Profile image
    68.7k MrCOPTY

    @Ooflauncher1 This Looks Better (I Use It In My F9F-2 But Without Variables)

    10 months ago
  • Profile image
    22.7k Whills

    @MrCOPTY I just updated this and add a "reload" function. The gun will be reloaded when the player is stopped on ground and hit the Fire Weapons button.

    +2 10 months ago
  • Profile image
    68.7k MrCOPTY

    @Whills You Are Welcome, Note: Isn't Mine

    10 months ago
  • Profile image
    68.7k MrCOPTY

    @Whills You Are Welcome, Note: Isn't Mine

    10 months ago
  • Profile image
    22.7k Whills

    @MrCOPTY Thanks! I didn't know someone already figured it out.

    +1 10 months ago
  • Profile image
    68.7k MrCOPTY
    10 months ago
  • Profile image
    22.7k Whills

    @Ooflauncher1 Yeah I tried this, but as long as you didn't reach the burst count in a single shot, you can have unlimited ammo.

    +2 10 months ago
  • Profile image
    1,144 Ooflauncher1

    Bro you could’ve just set the burstCount property to however much ammo then change the timeBetweenBursts property’s value to like 99999999

    +1 10 months ago