Thread: Debuffs?
View Single Post
04-20-09, 09:16 AM   #14
Seer
A Molten Giant
Join Date: Dec 2007
Posts: 649
Think I get what you mean, but since I think in an end user and support mind.. Might be misreading you :-p

but the person who created the layout might have given it a different name, etc.
Isn't that what "API's" are for ? Wouldn't a layout use the same names the engine expects (internal) ? If a layout only has one HUD option then selecting option 2 or 3 just show no hud.

Or, "just" make a selection box that shows the possible options for a given UI element.

The layout maker only defines a "Hud1" so the selection box only shows [Hud1] and [none]. A different layout has 3 possible huds so the selection box only shows [Hud1], [Hud2], [Hud3] and [none].. Off course Hud1 is the internal name, the "display name" could be totally different. Same for debuffs, unit frames etc etc.

The one who designs the layout decides what elements to "replace/offer" or not. If he makes a layout that doesn't show debuffs then that selection box only has the option [none].

Might be a real pain to set up, maybe even impossible, just a thought. Seems like it would be a flexible solution tho, except maybe the current available plug ins might cause problems for custom layouts, but that might allready be the case. (A layout defines the minimap to be at the top in the middle and the plug in tries to put it "back" in the right lower panel that doesn't exist or something like that)

The issue is that nUI is actually designed to be a UI engine, not a UI...
But, the engine needs to be told what to show, if a layout doesn't have the option to show something then nothing is shown and not show the parts of the UI you created to "show case nUI", unless the layout creater defines that his ui can use the default ui elements that come with nUI (if you allow that off course, might be better not to have a UI be able to use parts of other layouts).

I know nUI is a big mod, so not to belittle you/it (or other mods) but don't unit frame mods like oUF, pitbull offer similar options ? Load in a style and what is offered by that style can be tweaked a bit by the end user ?

Off course, not offering any options is a possible solution as well.. If a layout doesn't do what you (the user) wants, go ask the creator of the layout to change it, don't bother the programmer of the engine.
__________________
Take it as you want or leave it as it is.

Last edited by Seer : 04-20-09 at 09:33 AM.