Ammo Count Hud/Gui

Started by TheRedstoneDroid on

Topic category: Advanced modding

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ammo Count Hud/Gui

Like everyone knows in every CoD theres the ammo hud that tells you how much ammo you got, so if there is any way how the hecking heck can I do it in Mcreator?

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to make a overlay…
Sat, 11/09/2019 - 09:35

You need to make a overlay mod element, and then you'd probably need to set in procedures and then use NBT tags or global variables in the overlay to show how much ammo you have.

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well here's the thing…
Sat, 11/09/2019 - 17:08

Well here's the thing.... how do I do that?

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Look at this tutorial: https…
Sun, 11/24/2019 - 00:47

Look at this tutorial: https://www.youtube.com/watch?v=nDoclprdfV0&t=91s

 

1. Create your overlay in any paint software (I recommend paint.net)

2. Then create an entity NBT tag that represents the ammo count.

3. Store the NBT tag to a GLOBAL_SESSION variable (Idk if this step matters but I tried NBT tags connected to overlays, and they glitched out, but global variables seemed to work fine.)

4. Create an overlay and have the ammo bar fill for the nbt values. (Watch the video it is easier to understand and only 3 minutes long.)