• Guest, HEROCRAFT PUBLIC RELEASE IS HAPPENING AN HOUR EARLIER! TONIGHT @ 7PM CST GET READY FOR IT! play.hc.to
    Read up on the guides and new systems! Here.
    View the LIVE Map here @ hc.to/map
    Stuck or have a problem? use "/pe create" to to open a ticket with staff (There are some known issues and other hotfixes we will be pushing asap)
  • Guest, Make sure to use our LAUNCHER! Read more here!

Easy mana bar tutorial

DailyDoseOfVitMe

Legacy Supporter 4
Retired Staff
Joined
Nov 8, 2013
So if you're a new player and you want to know how to add a mana bar on your screen I made this easy tutorial vid on how to do it.
You'll also need this (I adjusted it so it changes colors as you get lower on mana):
IFMATCHES(%CHATCLEAN%,"^Mana: (.+?) - (.+?)%",&mana,2);
SET(@#mana,%&mana%);
SETLABEL(ManaLabel, "Mana: %@#mana%%");
SETPROPERTY(ManaBar,colour,#FF00FFC0);
IF(@#mana<51);
SETPROPERTY(ManaBar,colour,#FFFFFF00);
ENDIF;
IF(@#mana<26);
SETPROPERTY(ManaBar,colour,#FFFF0000);
ENDIF;
FILTER;
ENDIF;
IFMATCHES(%CHATCLEAN%,"^MANA (.+?)%",&mana,1);
SET(@#mana,%&mana%);
SETLABEL(ManaLabel, "Mana: %@#mana%%");
SETPROPERTY(ManaBar,colour,#FF00FFC0);
IF(@#mana<51);
SETPROPERTY(ManaBar,colour,#FFFFFF00);
ENDIF;
IF(@#mana<26);
SETPROPERTY(ManaBar,colour,#FFFF0000);
ENDIF;
FILTER;
ENDIF;
SETLABEL(ManaLabel, "Mana: %@#mana%%");
SETPROPERTY(ManaBar,colour,#FF00FFC0);
IF(@#mana<51);
SETPROPERTY(ManaBar,colour,#FFFFFF00);
ENDIF;
IF(@#mana<26);
SETPROPERTY(ManaBar,colour,#FFFF0000);
ENDIF;
If anything does not work or you have further questions feel free to leave a reply.
 

Irishman81

Senior Staff
Guide
Architect
Balance Team
Legacy Supporter 7
Joined
Apr 1, 2013
no idea what you're talking about, i'm currently using Technic.
He's asking because your keys for those are red, indicating them being used for vanilla stuff or another mod
 
Top