modui

Re: modui

by saruwatabi » Thu Dec 03, 2015 10:54 am

I gave this ui a try and im loving it so far, the only thing that is bothering me are the non-click-through nameplates. Is there a way to make them click-through? since it's annoying if you try to turn around when you fight and accidently click on the enemy nameplate and your camera doesn't move. I just so used to using nameplates, anyways, keep up the awesome work man!
User avatar
saruwatabi
Grunt
Grunt
 

Re: modui

by modernist » Thu Dec 03, 2015 11:05 am

Sadly i've previously tried to make them clickthrough and its just not possible through hard-wired limitations of the nameplate in Vanilla :[
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by saruwatabi » Thu Dec 03, 2015 11:08 am

i actually saw a post in the feenix forums where a guy made the classic nameplates clickthrough with some tweaks in the lua file...but i just can't find it for the love of god. I actually used it when nostalrius came out and it worked like a charm, but i had to stop playing because of rl issues and now i'm back, and i can't find this file D:

I'm not reliable when it comes to technology and stuff so i can't really try to tweak it for myself...
User avatar
saruwatabi
Grunt
Grunt
 

Re: modui

by modernist » Thu Dec 03, 2015 11:19 am

oh — if you (or somebody else) does ever find it again that would rule
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by saruwatabi » Thu Dec 03, 2015 11:24 am

oh shit, i actually found it...it was for the addon custom nameplates, that's why i couldn't find it, maybe you can come up with something for your addon -> http://www.wow-one.com/forum/topic/3089 ... don/page-3
User avatar
saruwatabi
Grunt
Grunt
 

Re: modui

by modernist » Thu Dec 03, 2015 11:47 am

yeah i just found that too — i'd been aiming for a better method that allowed drag + clickthrough on right click but standard behaviour on left click, but it wasn't really possible as far as i found :[

in the meantime, if you do just want to flat-out remove click functionality you can actually just add this line somewhere in this file between line 72-97:

Code: Select all
plate:SetFrameLevel(0)


which will drop nameplates behind the UIParent or WorldFrame (not sure which) frame that covers the game window, and therefore cause them to become uninteractable.
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by saruwatabi » Thu Dec 03, 2015 11:50 am

ah dang, a drag + click-though function sounds awesome though. thank you anyways for the fix, i'll give it a try! :D
User avatar
saruwatabi
Grunt
Grunt
 

Re: modui

by balsh » Thu Dec 03, 2015 1:19 pm

modernist wrote:yeah i just found that too — i'd been aiming for a better method that allowed drag + clickthrough on right click but standard behaviour on left click, but it wasn't really possible as far as i found :[

in the meantime, if you do just want to flat-out remove click functionality you can actually just add this line somewhere in this file between line 72-97:

Code: Select all
plate:SetFrameLevel(0)


which will drop nameplates behind the UIParent or WorldFrame (not sure which) frame that covers the game window, and therefore cause them to become uninteractable.

This is what I've been searching aswell thanks.
It works but the bars appear above the frameworks any way to fix this unaesthetic thing?
balsh
Sergeant
Sergeant
 

Re: modui

by kuurtzen » Thu Dec 03, 2015 2:58 pm

modernist wrote:oh you're right this is really nice and simple, easy to pull out into a castbar on TargetFrame too using the same table.

Shame about the collision with multiple same-name NPCs — but i guess you might be able to vaguely reduce that by only tracking target casts across any multiples? *shrug*

Or maybe i'll just limit it to players for now?


Up to you really. To me it's only a minor annoyance.

Btw, in case you're interested. i've add a functionality that was implemented in tbc that show empty bag slots. I find it quite handy

https://gist.github.com/anonymous/7de93b0a3f0030cf7f9b
kuurtzen
Senior Sergeant
Senior Sergeant
 

Re: modui

by modernist » Thu Dec 03, 2015 3:13 pm

Hah, good timing — I'd actually thought about that last night after quickly reinstalling retail to test my old/new ui
modernist
Sergeant Major
Sergeant Major
 

PreviousNext

Return to Addons & macros