Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat Dec 02, 2006 11:06 am   

[1.17] Question: Speed Menus
 
I'm trying to separate out my classes into various packages and such and I wanted to know the if the zMUD way was still the right way to sub-menus.

In zMUD you create menu item Cures, a class folder Cures (that you mark as type sub-menu) and in that class you would menu item for all your cure spells. This still works perfectly in CMUD and your end result is something like so.

Cure (Menu)
Cure (Class - sub menu type)
--> Cure light (Menu)
--> Cure Serious (Menu)

Now I also noticed the CMUD allows child menus and thus I was wondering if the class folder of Sub-menu type was still needed.

What I was trying to do and was not able to (possibly because of a bug or that's just not how the CMUD works) is this is to organize my spells by class (i.e. Mage, Cleric, Monk etc) but have all spells of the type (Buffs, Heals, Attack) show up under a same speed menu item.

In other words if I organize them like this

Spells (Package)
->Spells (Module)
-->Cleric (Class)
---->Cure (Menu)
------>Cure light (child-menu)
------>Cure Serious (child menu)
-->Mage (Class)
--->Cure (Menu)
------> Minor Heal (Child Menu)

I would hope to see this Speed menu when I right click the MUD menu (assuming all classes and menus are enabled)

--> Cure
----> Cure light
----> Cure Serious
----> Minor Heal.

I also tried organizing them like this... but no luck either.

Spells (Package)
->Spells (Module)
-->Cleric (Class)
---->Cure (Class - Submenu Type)
---->Cure (Menu)
------>Cure light (child-menu)
------>Cure Serious (child menu)
-->Mage (Class)
---->Cure (Class - Submenu Type)
---->Cure (Menu)
------> Minor Heal (Child Menu)


My testing has shown that only the old zMUD way works, and I was trying to get a sense of what is the recommended way to approach this using the CMUD feature set.
_________________
Asati di tempari!
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat Dec 02, 2006 11:21 am   
 
After, playing around with it a bit more ... I figured out what I needed to do.

Spells (Package)
->Spells (Module)
-->Cure (Menu)
-->Cleric (Class)
---->Cure (Class - Submenu Type)
------>Cure light (child-menu)
------>Cure Serious (child menu)
-->Mage (Class)
---->Cure (Class - Submenu Type)
------> Minor Heal (Child Menu)

As a reccomendation Zugg, I'd remove or disable the child menu button on the menu edit panel. I know it will probably be a bit tricky since you likely reuse that component on several edit panels, but it prevents the end user from trying to access what I'd call an "implied feature." I'm sure there'll be a few that will try to use a feature if it looks like it can be done. It's probably minor enough to leave until after public release though.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Sat Dec 02, 2006 6:33 pm   
 
Actually, you can do submenus in two different ways in CMUD:

1) The "zMUD" way, as you mentioned. This involves putting a submenu within a class, then using that class name in the menu. Looks like that is what you have done.

2) The "CMUD" way uses the Add Child Menu button. This is sort of like creating a trigger state. It adds a submenu to the current menu. This allows you to create a menu structure with submenus without messing with classes. You can drag/drop menus into each other to create the menu structure that you want.

If method (2) isn't working, then I'll take a look at it.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net