Download
(4 Kb)
Download
Updated: 09-29-13 03:23 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:09-29-13 03:23 PM
Created:09-13-13 07:15 PM
Downloads:1,361
Favorites:23
MD5:
5.4
rTooltip
Version: 50400.04
by: zork [More]
Info
A simple tooltip addon.
Config
Basically none. You can adjust values directly in the core.lua if you like.
Credits
Wildbreath, Freebaser
SVN:
http://code.google.com/p/rothui/sour...w5.0/rTooltip/
50400.04
- added UnitAura caster info
- added UnitAura isBossDebuff info
- added UnitTarget info

50400.03
- fixing the unit = nil error

50400.02
- added classification icons (rare, elite, boss)
- added dead/ghost strings

50400.01
- initial release
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
50400.03a
3kB
zork
09-14-13 12:39 PM
50400.02
3kB
zork
09-14-13 06:50 AM
50400.01
2kB
zork
09-13-13 07:15 PM


Post A Reply Comment Options
Unread 09-08-14, 01:51 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1351
File comments: 3223
Uploads: 86
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-06-14, 09:01 PM  
Xully
A Deviate Faerie Dragon

Forum posts: 19
File comments: 121
Uploads: 0
hi, i have tooltip:SetOwner(parent, "ANCHOR_CURSOR") , but it doesn't want to be on top of the cursor, it is following the cursor height but stuck to the right of the screen :S
Xully is offline Report comment to moderator  
Reply With Quote
Unread 07-15-14, 01:59 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1351
File comments: 3223
Uploads: 86
Re: Edge Size / Texture

If you want to learn more about backdrop textures you can check out http://www.wowinterface.com/download...tBackdrop.html. You need to adjust the backdrop textures/values of the tooltip.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 07-15-14 at 01:59 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 07-13-14, 05:38 PM  
Danielps1
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 19
File comments: 17
Uploads: 2
Edge Size / Texture

Hey, I want to change the Size of the edges/the round of it. Where can I do that? You load some standard Edge Textures but If i change the settings of those, I don't get what i want.

Also is it possible to add Texture for the edges? I would like them to look like the rest of my edges
Danielps1 is offline Report comment to moderator  
Reply With Quote
Unread 01-13-14, 12:26 PM  
Mirrikh
A Theradrim Guardian
 
Mirrikh's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 60
File comments: 42
Uploads: 2
cool thank you zork.
Mirrikh is offline Report comment to moderator  
Reply With Quote
Unread 01-13-14, 06:51 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1351
File comments: 3223
Uploads: 86
Open rTooltip/core.lua and change the font variable to
Lua Code:
  1. cfg.font.family = "FONTS\\myfont" --or any other font path
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Unread 01-13-14, 12:00 AM  
Mirrikh
A Theradrim Guardian
 
Mirrikh's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 60
File comments: 42
Uploads: 2
Hey zork, love your tooltip, i was wondering how would i change the font for it? trying to make it fit with the rest of my Ui.
Mirrikh is offline Report comment to moderator  
Reply With Quote
Unread 11-20-13, 09:10 AM  
MoonWitch
A Rage Talon Dragon Guard
AddOn Author - Click to view AddOns

Forum posts: 342
File comments: 149
Uploads: 8
Zork,

I just wanted to thank you and tell you (hoping you aren't mad) that I "forked" rTooltip. I am building upon it to further customise it. I've given credit though. It's nothing I am releasing, just for myself. https://github.com/moonwitch/rTooltip
MoonWitch is offline Report comment to moderator  
Reply With Quote
Unread 09-30-13, 05:11 AM  
Imithat
A Deviate Faerie Dragon
 
Imithat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 147
Uploads: 5
perfekt!

danke zork für mal wieder ein tolles addon!
Imithat is offline Report comment to moderator  
Reply With Quote
Unread 09-30-13, 01:44 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1351
File comments: 3223
Uploads: 86
Originally Posted by Fixeh
...
NOOOOOOOOOO!!!

Don't do this. This is really bad. OnUpdate scripts run on every single frame that is printed to the screen. What the hell.

Actually the solution is much easier. All you have to do is to apply a hex color instead of a textcolor.

I already apply a textcolor but Blizzard is currently overriding it under ceirtan circumstances and currently I leave it that way because I don't mind.

A solution is to wrap the GameTooltipTextLeft1 text string in a hex color.
Lua Code:
  1. if UnitIsGhost(unit) then
  2.   self:AppendText(" |cffaaaaaa<GHOST>|r")
  3.   GameTooltipTextLeft1:SetText(("|cff%s%s|r"):format(GetHexColor({r=0.5,g=0.5,b=0.5}), GameTooltipTextLeft1:GetText()))
  4. elseif UnitIsDead(unit) then
  5.   self:AppendText(" |cffaaaaaa<DEAD>|r")
  6.   GameTooltipTextLeft1:SetText(("|cff%s%s|r"):format(GetHexColor({r=0.5,g=0.5,b=0.5}), GameTooltipTextLeft1:GetText()))
  7. end

The stausbar recoloring is another thing I actually like. Blizzard updates the healthbar color on value changes. All you would have to do is hook the OnValueChanged event and update the color if you want.

Lua Code:
  1. local GameTooltipStatusBar = GameTooltipStatusBar
  2.  
  3. local function UpdateStatusbarColor()
  4.   --do sth
  5.   if GameTooltipStatusBar.color then
  6.     GameTooltipStatusBar:SetStatusbarColor(color)
  7.   end
  8. end
  9.  
  10. GameTooltipStatusBar:HookScript("OnValueChanged", UpdateStatusbarColor)
  11.  
  12. --for each unit update the color
  13. GameTooltipStatusBar.color = color
  14. GameTooltipStatusBar:SetStatusbarColor(color)
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-30-13 at 02:02 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-29-13, 03:27 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1351
File comments: 3223
Uploads: 86
Added the UnitTarget info and some more aura informations.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-22-13, 06:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1351
File comments: 3223
Uploads: 86
Re: Hi~

@hoslam
No thanks. Just use a tooltip that does it for you then.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-21-13, 10:58 PM  
hoslam1
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Hi~

Hi, fix the game system in tooltip. please...

I can see another person's target when I select another person.

but I cannot see them in your tooltip. And add the info about level in guild, if you possible.
hoslam1 is offline Report comment to moderator  
Reply With Quote
Unread 09-17-13, 05:11 PM  
Dzl
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
thank you!
Dzl is offline Report comment to moderator  
Reply With Quote
Unread 09-17-13, 01:43 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1351
File comments: 3223
Uploads: 86
@Dzl
Sure. Get rid of this:
Lua Code:
  1. --loop
  2.     for i = 2, GameTooltip:NumLines() do
  3.       local line = _G["GameTooltipTextLeft"..i]
  4.       if line then
  5.         line:SetTextColor(0.5,0.5,0.5)
  6.       end
  7.     end
Alternatively change the color to whatever you like.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-17-13 at 01:44 AM.
zork is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: