How Do you make a gun with a firerate?

Started by CreeperMiner on

Topic category: Advanced modding

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How Do you make a gun with a firerate?

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??

 

Joined Mar 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use a cooldown procedure.
Tue, 03/09/2021 - 23:35

Use a cooldown procedure.

Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, I know. My comment was…
Wed, 03/10/2021 - 03:25

Yeah, I know.

My comment was way before when Cooldown was added so...