Ammo Count Hud/Gui

Started by TheRedstoneDroid on Sat, 11/09/2019 - 02:25

Topic category: Advanced modding

Last seen on 23:59, 5. Dec 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Ammo Count Hud/Gui
Sat, 11/09/2019 - 02:25

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?

0Upvote this forum topic
Last seen on 08:00, 13. Dec 2019
Joined Aug 2019
User points:

Statistics:

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

0Upvote this forum topic
Last seen on 23:59, 5. Dec 2019
Joined Jul 2015
User points:

Statistics:

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

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

0Upvote this forum topic
Last seen on 01:08, 14. Dec 2019
Joined Sep 2019
User points:

Statistics:

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

0Upvote this forum topic