Stat Gauges for zMUD

by Unknown

Back to Mechanic's Corner.

Unknown2006-11-11 17:17:50
I saw a script from Kharaen, and it had a stat gauge, like the one on Nexus, left hand corner of the screen. I was wondering, how do you make one of those. The one Kharaen made was really cool, but with alot of extra autosipping stuff, there was just too much to get rid of with out the thing being blown to bits. Could someone help me with making it? I don't want any scripts, just a little Tutorial on how to make it. I know it may take a while to write, but you'll have my eternal gratitude if you do help!
Soll2006-11-11 17:39:20
1) You'll need to have triggers to take your maxhealth and current health from your score and prompt respectively. Use 'prompt' instead of 'newline' for the prompt triggger (self-explanitory).

2) Create a new button.

3) Select 'Gauge' from the button types.

4) In the caption, put 'Health'

5) Go to the 'Gauge' tab

6) In the 'Value' box, enter '@' in the 'Gauge Max' box enter '@', then in the 'Gauge Low' box, enter the number you want the gauge to be defined as having low/critical health. You can either set it to a constant, or to a variable. (500, or @currenthealth/4)

7) Select the three colours you want.

8) Go to the 'Position/Size' tab and fiddle with it until you like it.
Kharaen2006-11-11 17:47:23
There are prompt, and score, triggers with the autosipper I gave you, with the variables MAXHP, HP, MAXMP, MP, MAXEGO, EGO.
Unknown2006-11-11 18:58:59
QUOTE(Kharaen d'Attai @ Nov 11 2006, 05:47 PM) 352849

There are prompt, and score, triggers with the autosipper I gave you, with the variables MAXHP, HP, MAXMP, MP, MAXEGO, EGO.


Yes, but I'm just wondering how I would go about and customizing that stuff. I'm not that good of a scripter for zMUD, so I just asked for help.

And thank you for the Autosipper! It works well!
Unknown2006-11-11 19:57:09
There needs to be something in the prompt that shows your level, EXP percentage, and your Level Rank... it would make this Level button I'm making alot more... well, better. Kinda like the one that Nexus has.
Kharaen2006-11-11 22:14:57
QUOTE(Ysuran @ Nov 11 2006, 02:57 PM) 352859

There needs to be something in the prompt that shows your level, EXP percentage, and your Level Rank... it would make this Level button I'm making alot more... well, better. Kinda like the one that Nexus has.


Yup,

CODE

  Sex    : Faeling          Race      : Faeling
Level  : 77 (94%)      Rank      : Paramortal
  Health: 9999/9999     Endurance : 99999/99999
  Mana  : 9999/9999     Willpower : 99999/99999
  Ego    : 9999/9999     Reserves  : 999%
  Karma: 100%          Esteem    : 99%
Unknown2006-11-12 02:09:17
Hrm... nevermind...