Reloading Gun

Started by ItzMcPotato on Fri, 05/20/2016 - 11:03

Topic category: Advanced modding

Last seen on 08:58, 8. Apr 2020
Joined May 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Reloading Gun
Fri, 05/20/2016 - 11:03

Hello! I would like to know if I can make a gun that has a certain amount of ammo and can be reloaded. Thank you in advance for helping me!

Last seen on 22:16, 18. Sep 2020
Joined Nov 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Even though Im not an
Tue, 05/24/2016 - 22:01

Even though Im not an advanced modder, I think you could use some variables. Or on the other hand you could somehow make a custom code or find a custom code for your needs.

Hope this helps... :3

Last seen on 06:08, 26. May 2020
Joined Dec 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if you don't know code you
Tue, 05/24/2016 - 23:23

if you don't know code you could make the gun change into another item (that looks the same) but doesn't shoot. Then you can make it so when you right click with the "unloaded gun" it will change into the normal gun again if you have the ammo item in your inventory, you can also make it consume the ammo when the change happens.

Last seen on 08:58, 8. Apr 2020
Joined May 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There is a bug and this
Mon, 06/06/2016 - 14:39

There is a bug and this cannot be done... :/

 

Last seen on 06:08, 26. May 2020
Joined Dec 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
what bug?
Mon, 06/06/2016 - 17:25

what bug?