How Do you make a gun with a firerate?

Started by CreeperMiner on Thu, 04/27/2017 - 23:36

Topic category: Advanced modding

Last seen on 14:59, 28. Sep 2019
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How Do you make a gun with a firerate?
Thu, 04/27/2017 - 23:36

Im making a zombie apocalypse mod and I added the Remington 700,but since its a sniper I dont want it to shoot super fast!Does anyone know how to make the gun wait after Its used or something??

 

Last seen on 07:58, 22. May 2020
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
you could make a second item
Sat, 04/29/2017 - 06:42

you could make a second item of the gun called "reloading" and add an event so when the gun is shot it's replaced with an item that on a tick rate of (however long you want) to delete and spawn back the real gun, it's edgy but might work.

Last seen on 15:56, 13. Jul 2020
Joined Nov 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hey, found a solution. Make…
Thu, 08/01/2019 - 14:17

Hey, found a solution.

Make a gui with a button that says "Cycle Bolt" then set the procedure as "close GUI" or something like that

So people will need to press ESC or Click the button to continue using the gun. You can add a cool cycle sound effect too, go look for Gun ASMR videos and edit the sound with Audacity