modui

Re: modui

by modernist » Wed Oct 21, 2015 11:48 pm

qweefer09 wrote:LOVE the ui. is there anyway to take the range indicator off raid frames and show incoming heals?


thanks. incoming heals is on the to-do list, along with more expressive debuff tracking for decursing.

there's currently no range indicator — do you mean when the health momentarily changes to green? that simply indicates a change in hp value.
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by qweefer09 » Thu Oct 22, 2015 12:35 am

ahh ok ! and thanks man that would be awesome for us healers!



also would it be possible to make a totem bar for the nameplate?
qweefer09
Grunt
Grunt
 

Re: modui

by Wosh » Thu Oct 22, 2015 5:18 am

hi modernist o/
In the image below I see that you made colored health bars on nameplates but I don't have them to show in game. Is that still a feature included in the last version?
Image
There might be a way to avoid showing the critters like the Squirrels. Not sure if it's possible in Vanilla tho.

To hide the pets, I found this in CustomNameplates:
Code: Select all
local function isPet(name)
   Pets = {"Orange Tabby", "Silver Tabby", "Bombay", "Cornish Rex", "Hawk Owl", "Great Horned Owl",
   "Cockatiel", "Senegal", "Black Kingsnake", "Brown Snake", "Crimson Snake", "Prairie Dog", "Cockroach",
   "Ancona Chicken", "Worg Pup", "Smolderweb Hatchling", "Mechanical Chicken", "Sprite Darter", "Green Wing Macaw",
   "Hyacinth Macaw", "Tiny Black Whelpling", "Tiny Emerald Whelpling", "Tiny Crimson Whelpling", "Siamese",
   "Unconscious Dig Rat", "Mechanical Squirrel", "Pet Bombling", "Lil' Smokey", "Lifelike Mechanical Toad"}
   for _, petName in pairs(Pets) do
      if name == petName then
         return true
      end
   end
   return false
end


and then place in the modPlate function this:
Code: Select all
         HealthBar:Show()
         Name:Show()
         Level:Show()

         if showPets ~= true then
            if isPet(Name:GetText()) then
               HealthBar:Hide()
               Name:Hide()
               Level:Hide()
            end
         end
Wosh
Grunt
Grunt
 

Re: modui

by modernist » Thu Oct 22, 2015 10:03 am

Wosh wrote:hi modernist o/
In the image below I see that you made colored health bars on nameplates but I don't have them to show in game. Is that still a feature included in the last version?

There might be a way to avoid showing the critters like the Squirrels. Not sure if it's possible in Vanilla tho.

To hide the pets, I found this in CustomNameplates:
{code}


\o
it is: https://github.com/obble/modui/blob/mas ... plates.lua

uses more or less the same method as customnameplates — quickly targeting each nameplate and then storing the class type in an array to match. the nature of it means that the process only runs once you've dropped your existing target, but that's just vanilla for you.

I've just added non-combat pet tracking based on that code [with a little dry cleanup] too.

i have actually previously experimented with hiding critters using that api call, but it becomes very difficult to match when one or more of the same name is shown and i ultimately decided to drop it.
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by modernist » Thu Oct 22, 2015 11:25 am

very simple energy tick tracking enabled in latest version:

Image

truly horrendous gif capture, sorry. i was rendering a video at the same time :p
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by Wosh » Thu Oct 22, 2015 12:07 pm

Thank you so much but..
I don't know what's going on, the healthbar is still not colored per player class :oops: so there's something wrong on my end despite I used a fresh WoW install folder (no addons no WTF no WDB)

Otherwise I suggest you a few things:
1- on the nameplates.lua the border fits better your UI style if it's darker:
Code: Select all
border:SetVertexColor(.1, .1, .1)

instead of:
border:SetVertexColor(.4, .4, .4)

2- It should be nice to implement for the chat the timestamp and clickable url links and dunno if it's in already: the clickable invites.
3- The color of the unit health, mana, energy could be a bit refreshed to have that perfect mix between classic and modern.
I found in that code some colors that would fit me think (they fits very well for the nameplates already), I let you sort it out :D
Code: Select all
         local red, green, blue, _ = Name:GetTextColor() --Set Color of Namelabel
         -- Print(red.." "..green.." "..blue)
         if red > 0.99 and green == 0 and blue == 0 then
            Name:SetTextColor(1,0.4,0.2,0.85)
         elseif red > 0.99 and green > 0.81 and green < 0.82 and blue == 0 then
            Name:SetTextColor(1,1,1,0.85)
         end

         local red, green, blue, _ = HealthBar:GetStatusBarColor() --Set Color of Healthbar
         if blue > 0.99 and red == 0 and green == 0 then
            HealthBar:SetStatusBarColor(0.2,0.6,1,0.85)
         elseif red == 0 and green > 0.99 and blue == 0 then
            HealthBar:SetStatusBarColor(0.6,1,0,0.85)
         end

         local red, green, blue, _ = Level:GetTextColor() --Set Color of Level
         
         if red > 0.99 and green == 0 and blue == 0 then
            Level:SetTextColor(1,0.4,0.2,0.85)
         elseif red > 0.99 and green > 0.81 and green < 0.82 and blue == 0 then
            Level:SetTextColor(1,1,1,0.85)
         end

4- could the map with its poinpoints you're preparing work with Cartographer or Gatherer Mining and Herborist?

Finally as a workaround for the moment I'm using that CustomNameplates that I edited to fit your UI (you can see the colors I talked about on the nameplates, I'm going to attempt to apply them to the unitframes)

Image
Image
Image
Image
with a few healthbars: http://i.imgur.com/QyLZ0LG.jpg (that one's too big :D )

How could I darken a bit the border of the Minimap?

Edit: you seem to do not have the Blizzard colors and texture within your unitframes :o so that would be an other thing that is broken for me here :?

Edit2: here's the link to download the modified CustomNameplates for modui, like that you can check how I'd like yours somehow :mrgreen:
not for you modernist ;) : don't forget to change the line:
Code: Select all
modplate\nameplates.lua
in modui/modui.toc
to
Code: Select all
## modplate\nameplates.lua
Wosh
Grunt
Grunt
 

Re: modui

by modernist » Thu Oct 22, 2015 12:41 pm

Wosh wrote:Edit: you seem to do not have the Blizzard colors and texture within your unitframes :o so that would be an other thing that is broken for me here :?


you mean the unit frames are not displaying class colours too? assuming you have some other addons installed there might be something overwriting or tainting the RAID_CLASS_COLORS table

http://wow.gamepedia.com/Class_colors

otherwise i can only assume your file paths are messed up or I'm missing something obvious. do also note that i am only colouring enemy player health bars by class currently, players from your own faction stay green.

try unchecking all addons but modui and see if the issue still occurs.

power/rep values are easy to change, i'll think about it.

timestamps already exist in the code — they just need uncommenting:
https://github.com/obble/modui/blob/mas ... nt.lua#L90
urls would be nice, sure. dunno what clickable invites are?

map flags are meant to be very simple and used on a per session basis (they won't save when you log out) so i probably won't be engineering any complexity or cross-addon functionality.

though if there's any issues with them whilst those addons are installed then let me know
Last edited by modernist on Thu Oct 22, 2015 12:46 pm, edited 1 time in total.
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by vido » Thu Oct 22, 2015 12:44 pm

Timestamps are already in the chat.lua as far as i can tell. You just have to uncomment it. Cool stuff btw modernist, it's exactly what I've been looking for.
Last edited by vido on Thu Oct 22, 2015 12:46 pm, edited 2 times in total.
vido
Sergeant Major
Sergeant Major
 

Re: modui

by Wosh » Thu Oct 22, 2015 12:44 pm

The unitframes are ok, just the class color on the nameplates is not showing as if I understood well you changed them to show like the warrior on your screenshot above.
vido wrote:Timestamps are already in the chat.lua as far as i can tell. You just have to uncomment it. Cool stuff btw modernist, it's exactly what I've been looking for.

Thank you very mush! Phew it seems there are a lot of mystery eggs I haven't found yet.
Edit:
modernist wrote:note that i am only colouring enemy player health bars by class currently, players from your own faction stay green.

Haaaaa that was that. Problem solved then!
Last edited by Wosh on Thu Oct 22, 2015 12:53 pm, edited 2 times in total.
Wosh
Grunt
Grunt
 

Re: modui

by modernist » Thu Oct 22, 2015 12:52 pm

ya, make sure to test them on the opposite faction :]

re: minimap & nameplates: https://github.com/obble/modui/commit/a ... 594a5d0eb8
modernist
Sergeant Major
Sergeant Major
 

PreviousNext

Return to Addons & macros