GUI help

by Anarias

Back to Mechanic's Corner.

Anarias2005-07-14 08:02:54
Ok, as a bit of a disclaimer I want to say that I am aware that my newbie-ish posts for help are popping up with more and more frequency and I'm sorry for that. Blame Zarquan or Larkin or however you know him for this because lately I've been frantically reading up on anything I can about how to script in Zmud because I want to decipher his free Achaean system and then design my own.

So, after taking another look at the GUI's that have been posted here, Amaru's in particular because of the sexy black theme, I've been trying to toy with making my own. I was messing around with the #noop %btnimage stuff but can't quite get it to work. What do I need to do to have my buttons replaced by different .bmp's? And as a side note, where are the .bmp files that come stock with zmud? I can't find them at all.

Thanks for the patience.
Anarias2005-07-14 08:28:09
Actually, within minutes of posting that, I figured out what was wrong and managed to get it working quite nicely.

Now I have a new problem. I don't quite understand how to trigger something successfully off the prompt when it comes to the part where you have your eq, balance and the various def's displayed. Like if I wanted my button to light up when I had kafe up, how would I trigger the prompt to track that?
Nayl2005-07-14 08:39:59
#trigger {(*)h, (*)m, (*)e, (*)p (*)} {#if %pos( k, %5) {add defences kafe} {del defences kafe}}
Except, with more stuff in the kafe bit, that's just to show it.
Anarias2005-07-14 09:40:59
I found a post by Zarquan that talked about a different prompt because that one failed to catch a dash that would result in certain situations. This post I believe...

QUOTE(Zarquan @ Jan 6 2005, 07:18 AM)
This is the sort of prompt trigger I see most people use, and there's just one problem with it. When you have no equilibrium, balance, blindness, deafness, kafe, and you're not prone, all you get is a dash at the end. This pattern won't cover that. Here's what I use to catch all prompts:

CODE
^(%d)h, (%d)m, (%d)e, (%d)p ()

25817



So would I just replace your trigger of
CODE
{(*)h, (*)m, (*)e, (*)p (*)}
with Zarquan's trigger of
CODE
^(%d)h, (%d)m, (%d)e, (%d)p ()
?
Nayl2005-07-14 09:47:16
If you like, but you'd still need to learn how to use %pos with it.
Unknown2005-07-14 15:11:00
And you'll want to add more flags to that last part of the pattern now, too. When I posted that, it was all I knew about the flags. Now, it could look more like (depending on your prompt configuration, of course) . Heh.
Anarias2005-07-14 19:06:53
I couldn't really resist doing this. I loved Anu's system in Achaea and I love the way it looks here so I just had to make this today. This is the first bit of how my system is shaping up to look.

The only thing about my display that I like better is that the numbers below the gauges aren't just reiterating your current health, mana or ego. You can already see that information on your prompt as well as graphically in the gauges themselves. I decided to have those buttons display percentages, so as in the example provided you can see precisely what percentage my mana stands at after transversing to the ethereal and back.

Fun stuff!

wub.gif Amaru

Edit- Bah, Paint is such a crappy program. I'll fix the picture when I get back home later today. Oh, and the two boxes displaying Nejii's name are my target displays. The top one is for things I want to kill, the bottom is for things I want to influence. After using the same target variable for both and nearly attacking a city guard I decided this way was much safer.