Whats Your Gui Look like?

Buck
Posts: 19
Joined: Tue Aug 30, 2016 8:11 pm

Re: Whats Your Gui Look like?

Post by Buck » Thu Jan 19, 2017 2:37 pm

My GUI for 4Dimensions:

Image

I got a little bit carried away while developing this, but it's fun to do. I don't use bitmap graphics because they don't scale well, and I like to keep things clear and simple. I used Geyser for the GUI.

Some of the functionality:
  • The top left lists the currently active spells, buffs and affects. The thickness of the blue border tells you how long the spell is still active for. If the border flashes, it will be active for less than 30 seconds. Moving the mouse over an affect shows you the name and the active time left. For the images I use a spritesheet instead of individual images.
  • The angel wings show positive alignment. The brighter the image, the more saintly you are. If you have a negative alignment, a red devil shows up on the left instead.
  • The MUD supplies the hour by MSDP, the GUI calculates the minutes based on the last time it received an hour update.
  • The help link opens up a menu with help topics, which in turn display help on the main window.
  • The options link shows a menu of toggle-able options. Clicking an item toggles that option.
  • The minimap data is supplied by the MUD. For the tiles I also use a spritesheet instead of separate images. Underneath the map it shows the room name and the area name.
  • The coloured bars display (in order): Experience, movement points, stamina, mana, health and enemy name/level/health (only if you're fighting).
  • The chat log at the mid-top is toggle-able, resize-able and move-able. This was tricky to do in Geyser.
It also adds some additional non-GUI functionality:
  • Self updater. The plugin checks for new versions and installs them automatically.
  • Whenever someone connects or disconnects it is displayed in the main window.
  • Whenever you identify something, the description is stored as well as the location you identified the item at. You can list or search through all the items you've previously identified.
  • You can configure a buff list. Calling a buff check then sees if each buff on that list is active, and activates it if it isn't.
  • A custom alias engine. This is to make it easier for novice users to add aliases. It supports variables that you can set yourself. You can also set aliases specific to a room or zone.
  • A mush like trigger engine. In order to convert more of our players from mushclient to mudlet, I had to make them able to use mushclient triggers. Many players find Mudlet's alias and trigger interface complex and confusing. Both the alias and trigger engine are operable completely from the input line.
  • Simple highlight command
  • Timer command
  • Stats tracker command. This makes a snapshot of all numeric data sent via MSDP. If you call it again, it shows the variables that have changed and by how much. This is useful if you want to check what difference a certain piece of equipment or spell makes.
  • A note system that lets you make notes globally, by zone or by room.
There are a few other minor things as well, but this is the bulk of it.

User avatar
Akaya
Posts: 412
Joined: Thu Apr 19, 2012 1:36 am

Re: Whats Your Gui Look like?

Post by Akaya » Sun Jan 22, 2017 4:24 pm

I applaud you Buck. I find the blue rings you use as cooldown timers very clever! How are you doing this through Geyser?

Buck
Posts: 19
Joined: Tue Aug 30, 2016 8:11 pm

Re: Whats Your Gui Look like?

Post by Buck » Sun Jan 22, 2017 8:18 pm

Akaya wrote:I applaud you Buck. I find the blue rings you use as cooldown timers very clever! How are you doing this through Geyser?
Thanks Akaya, I appreciate it!

For the blue rings I used stylesheets to set round borders:
Code: [show] | [select all] lua
    container:setStyleSheet( string.format( [[
        background-color: black;
        border: %fpx solid #6E93C9;
        border-radius: %fpx;
      ]], border_size, ICONSIZE/2))

User avatar
Vadi
Posts: 4701
Joined: Sat Mar 14, 2009 3:13 pm

Re: Whats Your Gui Look like?

Post by Vadi » Tue Feb 14, 2017 8:47 pm

Very impressive work. How does the API for your command-line alias and trigger engine look like? (post in a new thread if you're happy to explain)

Buck
Posts: 19
Joined: Tue Aug 30, 2016 8:11 pm

Re: Whats Your Gui Look like?

Post by Buck » Thu Feb 16, 2017 2:29 pm

Vadi wrote:Very impressive work. How does the API for your command-line alias and trigger engine look like? (post in a new thread if you're happy to explain)
Thanks a lot!

I posted some explanation on how to use the aliases and triggers here: http://forums.mudlet.org/viewtopic.php?f=6&t=16462. If you need other details, let me know. :)

User avatar
Vadi
Posts: 4701
Joined: Sat Mar 14, 2009 3:13 pm

Re: Whats Your Gui Look like?

Post by Vadi » Thu Feb 23, 2017 9:48 pm

Angie wrote:After getting the first feedback from our players, we released an upgrade that improves functionality, especially in the bottom area where the most important info is displayed. (I also added another dragon, because you can never have enough dragons.)

Image

Overview of the main functions:

1. Character avatar. About a hundred avatar icons come bundled with the GUI for the player to choose from.
2. Guild icon. A trinket that has some thematic connection with the player's guild is displayed here (holy symbol for priests, acorn for druids, whetstone for blademasters etc.)
3. Character name and title.
4. Character stats.
5. House key. If the character owns a house, the key will be shown here.
6. Layout adjustment. Clicking these arrow icons collapses any or all of the left, top and right sections. Useful on smaller resolutions. Since the upgrade, Mudlet will remember which sections you had collapsed.
7. Active effects. Icons that show what spells or skills are affecting you.
8. Alignment indicator. The gem gradually changes colour from dark purple (demonic alignment) to bright white (saintly).
9. Wimpy info. Shows the level and direction of wimpy.
10. Vitals gauges. Mental, physical, opponent health (and opponent name). The health bar also has an indicator of wimpy level.
11. Fullness gauges. Show how much more alcohol, food and non-alcoholic drinks you can consume.
12. Exp gauge. Shows experience progress to next stat.
13. Money. How much money you have on hand.
14. Inventory. Equipped items are shown in yellow, kept items in red, carried items in tan. Can be filtered using the buttons at the top.
15. Burden. Shows your burden level.
16. Mapper.
17. Who list. Not yet active, needs more gmcp support in game.
18. Channels console. Ditto, we need to add more gmcp support in game first.
19. World map. Opens a graphical world map that can display guild locations, newbie areas, mapped areas or places of transportation (ports and dragon hitchhike points).
20. GUI help. Opens an interactive help that displays info about any element of the GUI on mouseover:

Image

If you want to check it out, it now autoinstalls, but it only works on Mudlet 2.1 (for some reason the autoinstall freezes on Mudlet 3.0).
This went under my radar. For anyone who hasn't seen this, they also have a webpage describing it: http://midnightsun2.org/gateways/gui.html?show=overview

Seriously nice work, congrats!

User avatar
Angie
Posts: 51
Joined: Fri May 02, 2014 11:43 pm

Re: Whats Your Gui Look like?

Post by Angie » Mon Feb 27, 2017 10:28 pm

Thanks, Vadim! :D

I noticed the screenshots you show on the Mudlet media page still show the older version of our GUI, if you want the newer version, here are the updated screenshots:

http://www.midnightsun2.org/img/screens ... 1_full.jpg
http://www.midnightsun2.org/img/screenshots/1-1_map.jpg
Angie @ Midnight Sun 2
Alayla @ God Wars 2

User avatar
Vadi
Posts: 4701
Joined: Sat Mar 14, 2009 3:13 pm

Re: Whats Your Gui Look like?

Post by Vadi » Tue Feb 28, 2017 7:28 am

Sure, updated. Do you have a version with a more modern Windows look? That one looks like it's from the 00's.

You could also style how Mudlet itself looks like with: http://wiki.mudlet.org/w/Manual:UI_Func ... StyleSheet

User avatar
Vadi
Posts: 4701
Joined: Sat Mar 14, 2009 3:13 pm

Re: Whats Your Gui Look like?

Post by Vadi » Tue Feb 28, 2017 7:29 am

Buck wrote:My GUI for 4Dimensions:
Could I add this to the Mudlet screenshots page?

User avatar
SlySven
Posts: 919
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Whats Your Gui Look like?

Post by SlySven » Wed Mar 01, 2017 6:06 pm

Sorry Angie, I did not realise you are behind Midnight Sun 2, but I do like what you have done with what we've nailed together. :D

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests