Macro Mod - Basic Armour Durability Display

Discussion in 'Basic Tutorials' started by rockboy2000, Jun 15, 2013.

  1. rockboy2000

    rockboy2000 Mayor
    Mayor ⛰️⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Oct 19, 2012
    Messages:
    1,344
    Trophy Points:
    50,410
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +310
    This is much like jakeyray18's durability display macro. It is very simple. I made it at the request of Tdogg120.

    In the screenshot below there are progress bars beneath, these are slightly more complicated so I will add them in the future.

    Thanks again to jakeyray18 for letting me use some of his screenshots.


    First you must access the macro mod menu. To find the key press the Esc key. Then go to "Options", click on "Controls" and then use the arrows keys to find your "Macro activate" key. Default is grave which is the "~" key.

    [​IMG]

    Now you want to open the Macro Mod menu. Do this by pressing the shift key and your "macro activate" key simultaneously. Then click the GUI editor button located in the bottom right corner, circled in the screenshot below.

    [​IMG]

    Now you must double click on the tab called "ingame" listed under the available screens as shown in the screenshot below.

    [​IMG]

    Now we want to create a label in the "ingame" screen so first click on the "Button Panel Commands" icon. Then click on the "Add Label" button.

    [​IMG]

    Now you must choose where you would like to place the label, place it where you want. It can be changed later on so it does not really matter. Once you have placed the label a box should appear.

    In the "Label text" box type "Helmet: %%" without the quotes. In the binding type "HELMDURABILITY" again without the quotes.

    [​IMG]

    Create another label this time with the label text being "Chest: %%" without the quotes and type "CHESTPLATEDURABILITY" in the binding box.

    [​IMG]

    For the leggings again make a label. In the label text box type "Leggings: %%" and in the binding box type "LEGGINGSDURABILITY".

    [​IMG]

    For the boots make another label and type "Boots: %%" in the label text box and in the binding box type "BOOTSDURABILITY".

    [​IMG]

    And now you are done.
     
    #1 rockboy2000, Jun 15, 2013
    Last edited: Jun 15, 2013
  2. JBuks

    JBuks Tycoon
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 18, 2012
    Messages:
    1,625
    Trophy Points:
    44,840
    Gender:
    Male
    Ratings:
    +507
    Is there a way where you can add the armor gui? (I.e. The helmet, chestplate, ext.)
     
  3. rockboy2000

    rockboy2000 Mayor
    Mayor ⛰️⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Oct 19, 2012
    Messages:
    1,344
    Trophy Points:
    50,410
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +310
    I don't quite understand what you mean.

    Sent from my GT-I9300 using Tapatalk 4 Beta
     
  4. jjustin0357

    jjustin0357 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Nov 18, 2012
    Messages:
    115
    Trophy Points:
    25,470
    Gender:
    Male
    Ratings:
    +23
    For those of you who want to know exactly how he did it, Do the exact same thing but He put progress bars' below the Durability displayers so just put Progress bars under the Durability displayers in the EXPR section type in the HELMDURABILITY or whatever it is for that piece of armor then type in the Amount of uses on your piece of armor/tool (TIP: Most all diamond tools are 1561 Durability) in the Max value and it should immediately work, Anyway that's how I figured it out. If you can't figure out what durability your armor is do /dura in-game or hold (F3+H) In-game at the same time it should show your durability when your mouse scrolls over it.
     
    #4 jjustin0357, Jun 16, 2013
    Last edited: Jun 16, 2013
  5. GungnirIncarnate

    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jul 18, 2012
    Messages:
    3,229
    Trophy Points:
    47,340
    Gender:
    Male
    Ratings:
    +481


    That will work yes but there is a much easier way to get the max durability of an item, just set it as, for example:

    Say you want to create a progress bar for the chestplate durability, you create the progress bar and set the progress bar to expressions, set the binding to CHESTPLATEDURABILITY, then instead of doing what you suggested and finding the durability of the chestplate and setting the max variable as that then it will only suit that particular type of armor, instead set the max variable as CHESTPLATEDAMAGE this will set the max value ad the max damage that can be taken by the type of armor you are wearing, so if you are wearing iron it will show iron, if you are wearing diamond it will show diamond or even leather.

    You can do the same with the other armor pieces also, like the helm max value would be HELMDAMAGE, leggins would be LEGGINSDAMAGE and boots ofcourse would be BOOTSDAMAGE. This will set the max values to match the max damage the armor piece you are wearing can withstand no matter what type of armor you are wearing.

    Also rockboy2000 I am glad someone finally got around to making this, I haven't had alot of time for this sort of thing. :)
     
  6. rockboy2000

    rockboy2000 Mayor
    Mayor ⛰️⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Oct 19, 2012
    Messages:
    1,344
    Trophy Points:
    50,410
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +310
    It was something I wasn't planning on making a tutorial on until tdogg approached me and would keep asking when I would make a tutorial on it. I finally gave into his demands and made it :)
     
  7. GungnirIncarnate

    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jul 18, 2012
    Messages:
    3,229
    Trophy Points:
    47,340
    Gender:
    Male
    Ratings:
    +481


    Yeah I was getting harassed about it too but I really haven't had the time to get around to it.