How do you simulate reloading in a gun mod?

Started by CorThunder on Tue, 01/13/2015 - 16:21
Last seen on 21:42, 23. Mar 2017
Joined Jul 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How do you simulate reloading in a gun mod?
Tue, 01/13/2015 - 16:21

I'm trying to create a mod that involves various guns and crossbows. I wish to make it so that a player needs to reload after taking a shot or multiple shots, depending on the weapon.

 

My current idea is to make it so that after firing a weapon a certain number of times, there is a pause in which you cannot fire your weapon to simulate reloading. 

 

Problem is that I don't know how to make that happen. Can anyone lend me some help on noodling out this problem?