Lusternia Fancy GUI

by Vadi

Back to Mechanic's Corner.

Vadi2010-01-01 01:49:00

Lusternia Fancy GUI for Mudlet


This package implements the Nexus GUI in Mudlet. The same images and locations are used, so it looks very similar! Of course though, the pictures are property of IRE, so don't sell this or anything.

Features:
  • Nearly exact-same aesthetically pleasing look
  • Working, clickable compass
  • Working gauges
  • Working, clickable Vote button



Technology features:
Besides looking quite pretty and making you at home in Mudlet after a lot of Nexus use, this is also a pretty good technology demo - so feel free to be impressed by the customization power you have in Mudlet, and pick apart the script to see how it was done.

  • Good use of labels with images on them
  • Label-image tiling
  • Trigger funnels and filters to easily capture room exists (no code and regex voodoo)
  • Use of gauges & updating of them
  • Future use of CSS styling on labels
  • Handling of window resize (re-position all elements)


Installation instructions:
  1. Download and extract contents of zip folder somewhere
  2. Import XML file in Mudlet
  3. Edit the SETTINGS file for the location of the skin-lusternia folder on your computer
  4. Click save and watch the magic happen! If it doesn't happen, restart Mudlet
  5. Oh yeah, set it config prompt all for now to make gauges work


Upgrade instructions:
  1. Delete the Lusternia Fancy GUI trigger and script folders (that's two of them)
  2. Follow the installation instructions


Things to do
  1. Make the power bar work
  2. Make the xp bar work (off qsc/sc though)
  3. Maybe put in some stuff in the bottom empty part where Nexus has it's input line. Or leave it up to you to put whatever you want?


*Note: The rounded bars require Mudlet 1.0.6 or 1.1.0, whichever will be released after 1.0.5. So right now, it'll probably look like this for you - however as soon as you upgrade, they'll switch to the sexy roundness. That or if you're using the latest development version of Mudlet.
Vadi2010-01-01 02:19:09
Forgot to mention - you need to do config prompt all for now. I hope to make it work with custom prompts in the future.
Unknown2010-01-01 05:46:36
That's some sexy GUI!

I am 110% in love with mudlet!
Unknown2010-01-01 18:02:18
Mine doesn't work at the moment. Everything except the bars is blank.
Vadi2010-01-01 18:17:24
That would mean that it didn't find the pictures aka the path is wrong. Can you copy/paste what did you set the path to?
Unknown2010-01-01 18:23:59
QUOTE (Vadi @ Jan 1 2010, 06:17 PM) <{POST_SNAPBACK}>
That would mean that it didn't find the pictures aka the path is wrong. Can you copy/paste what did you set the path to?


I thought it might be that.

CODE
gfx_path = ]


I've tried without C:\\, with "home" instead of C and with forward slashes. Is there a way to refresh the UI or will it update on its own?
Vadi2010-01-01 18:36:12
Oops, my bad. Current version will only work on mac/linux because I used forward slashes for all images themselves. Give me a sec then.
Unknown2010-01-01 18:40:31
Ah OK, thanks.
Unknown2010-01-01 22:00:13
QUOTE (Vadi @ Jan 1 2010, 06:36 PM) <{POST_SNAPBACK}>
Oops, my bad. Current version will only work on mac/linux because I used forward slashes for all images themselves. Give me a sec then.


Are you sure that's a problem? In almost all cases you can use forward slashes on Windows... I think the setting just needs to be specified as "C:/lusty/skin-lusternia"
Unknown2010-01-01 22:51:16
That definitely doesn't work. I tried to edit the XML myself but didn't get anywhere.
Vadi2010-01-01 22:56:00
Uploaded v2 which is the fixed version. It was paths + the fact that windows version of qt refused to load jpg/gif images (patent restrictions or whatever), while my linux one was. Changing images to png made it work on Windows too and the paths are proper now.
Senna2010-11-17 05:59:52
Looks great, except... the download link appears to be broken! (http://dl.dropbox.com/u/84880/lusternia-fancy-gui-v2.zip) If you could re-upload that for me, that'd be awesome and I would be very grateful smile.gif
Unknown2010-11-17 13:02:10
QUOTE (Senna @ Nov 17 2010, 05:59 AM) <{POST_SNAPBACK}>
Looks great, except... the download link appears to be broken! (http://dl.dropbox.com/u/84880/lusternia-fancy-gui-v2.zip) If you could re-upload that for me, that'd be awesome and I would be very grateful smile.gif


Tada!
Unknown2011-01-27 20:57:16
how would I go about making the power bar and xp bar work?
Vadi2011-01-27 22:11:18
By adding tracking for that and having the gauges update? The scripts and triggers are all there.
Estarra2011-01-27 22:25:35
Very nice!!

wave.gif wave2.gif wave.gif wave2.gif
Lilia2011-01-27 22:49:58
I made the xp one work pretty easily, but the power isn't really a gauge, it just shows the pictures or not, depending on how much power you have. I haven't taken the time to learn how to do that, but I believe it would be labels.
Vadi2011-01-27 23:29:09
I think I made an update later that fixed both the power and experience later on. No idea where is it though.
Mezz2011-02-13 16:46:48
please!

any update about this gui??
Mezz2011-02-15 22:36:41
anyone that was able to make the powerbar and the xp bar to work?