Go to Page... |
Updated: | 02-28-10 11:20 PM |
Created: | unknown |
Downloads: | 42,701 |
Favorites: | 207 |
MD5: |
RantTooltip (GUI) Options here.
(NOTE: If you plan on using a layout other than the default layout, you need to delete the RantTooltip_Layout folder first.)
RantTooltip is a tooltip addon that was influenced by oUF to include a layout system for tooltips. You'll find it very similar to oUF. A sample layout is included, based on p3lim's oUF layout. It was designed to match p3lim's layout due to my personal use of it. I take no credit for the design.
The documentation included in the zip file should give you all the information you need on how you create your own tooltip layout.
For everyone who prefers the original RantTooltip look, I've uploaded a layout called RantTooltip Classic.
-[Rum] (Stuck)
"{Talents: [$spec]}{ ($talents)}",
"{Talents: [$spec] ($talents)}",
Comment Options |
01-27-10, 04:12 AM | |
A Defias Bandit
Forum posts: 2
File comments: 9
Uploads: 0
|
Awesome. Thanks Stuck
|
|
EmpireDawn |
View Public Profile |
Send a private message to EmpireDawn |
Find More Posts by EmpireDawn |
Add EmpireDawn to Your Buddy List |
01-27-10, 08:44 PM | |
|
Is there a way to have it return the name of the spec instead of just the numbers? (Demonology instead of 10/50/10) Or possibly both?
|
|
Hexe |
View Public Profile |
Send a private message to Hexe |
Find More Posts by Hexe |
Add Hexe to Your Buddy List |
Stuck |
View Public Profile |
Send a private message to Stuck |
Find More Posts by Stuck |
Add Stuck to Your Buddy List |
01-28-10, 04:49 AM | |
|
Hi Stuck ty for the update
but $curshort ,$maxshort seems to not work. or i missing something. trying with last ranttootip Code:
statusBar.Tags = "{$curshort - $perc %}" Code:
statusBar.Tags = "{$curshort}" Code:
statusBar.Tags = "$curshort" |
|
Aesh |
View Public Profile |
Send a private message to Aesh |
Find More Posts by Aesh |
Add Aesh to Your Buddy List |
01-28-10, 07:10 AM | ||
|
|
|
|
Stuck |
View Public Profile |
Send a private message to Stuck |
Find More Posts by Stuck |
Add Stuck to Your Buddy List |
01-28-10, 01:35 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 76
Uploads: 0
|
hello ! i've had some problems with addon:
1. tooltips doesnt always shows for raid frames. don't know why and can't find any pattern. they just random show or doesn't. same unit can once doesn't show tooltip and show on next mouseover. i'm using shadowed uf and had no such problem with another tooltip mods. 2. tooltip aligned to wrong place when mousover skada damage meter bars. everything else seems appear on cursor. and have one suggestion: 1. is it possible to make some talents cache ? when you try to look someone in crowd overlapping with other ppls or person moving it's just jump all the time between "loading" and talents data. i'm using default layout just added talents. |
|
Gregory |
View Public Profile |
Send a private message to Gregory |
Find More Posts by Gregory |
Add Gregory to Your Buddy List |
01-29-10, 08:59 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 16
Uploads: 0
|
Is it possible to add the Player's Title to the Tooltip before the $name function? This was a feature that aTooltip had (which broke with patch 3.3) and just wanted to know how to add it as a tag to use within this awesome tooltip mod.
Thanks [edit] Just realized that titles are now a protected function by Blizzard...sucks
Last edited by Tarquino : 01-29-10 at 09:40 AM.
|
|
Tarquino |
View Public Profile |
Send a private message to Tarquino |
Find More Posts by Tarquino |
Add Tarquino to Your Buddy List |
01-29-10, 01:18 PM | |||
|
I'll look into the problem of the tooltip not showing sometimes on raid frames. I think I have an idea of what you're talking about. I suspect problem with damage meters is a problem with damage meters. Could you elaborate? What are you mousing over on the damage meter bars. Yeah, I can add a talents cache. I didn't think of it when adding the $talents tag. Thanks.
|
||
|
Stuck |
View Public Profile |
Send a private message to Stuck |
Find More Posts by Stuck |
Add Stuck to Your Buddy List |
01-29-10, 03:19 PM | |
Guest
Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
|
Ok, I'm about to go insane. I've been working on this for a couple hours now, trying every single way I can think of to get this to work and coming up with either nothing or errors all over the place...
Coloured borders. In my self.PostSetUnit for GameTooltip, I've got lua Code:
However, the $name text is coloured by item quality...and according to what I could find in RantTooltip.lua... lua Code:
I've tried all kinds of stuff, in all kinds of locations. I've even tried some stuff that's just plain ridiculous, like lua Code:
At this point my brain is so fried from this simple little bugger I don't even know where to go from here. (lol) |
|
01-29-10, 03:53 PM | |||
|
If you want to color item borders by item quality you could do this: Code:
self.PostOnSizeChanged = function() if self:GetItem() then local link = select(2,self:GetItem()) local rarity = select(3,GetItemInfo(link)) or 1 self:SetBackdropBorderColor(GetItemQualityColor(rarity)) elseif self ~= GameTooltip then --because unit tooltips on the GameTooltip will be changing color based on the unit self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b) end end
Hope this helps.
Last edited by Stuck : 01-29-10 at 03:55 PM.
|
||
|
Stuck |
View Public Profile |
Send a private message to Stuck |
Find More Posts by Stuck |
Add Stuck to Your Buddy List |
01-29-10, 04:43 PM | |
Guest
Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
|
Almost there...
1. Has to be called on PreOnShow. PostOnSizeChanged will only change it for a fraction of a second. 2. Doesn't work for linked items, comparison tooltips, or addons that work off of these principles (such as AtlasLoot). |
|
01-29-10, 05:16 PM | ||
|
The self.PostOnSizeChanged function should be set for every tooltip, not just the GameTooltip. That's why it's not working for the ItemRefTooltip (the tooltip that shows when you click an item link), etc. The reason OnSizeChanged is better than OnShow for this kind of thing, is because when the item is set for the ItemRefTooltip, the tooltip doesn't have to show itself if it's already shown. For example, if you clicked an item link and had the ItemRefTooltip open and clicked another item link with the tooltip still open, the item on the tooltip would change but the tooltip wouldn't have to show again because it's already shown, however, it would change size. So, if you used OnShow to change the border color for the ItemRefTooltip based on the item quality, it wouldn't always work properly. You could try this instead: Code:
self:HookScript("OnTooltipSetItem", function() if self:GetItem() then --change border color here end end) self:HookScript("OnHide", function() if self:GetItem() then --change border back to the default color end end) edit: if HookScript doesn't work for the code above, use SetScript instead.
Last edited by Stuck : 01-29-10 at 05:28 PM.
|
|
|
Stuck |
View Public Profile |
Send a private message to Stuck |
Find More Posts by Stuck |
Add Stuck to Your Buddy List |
01-29-10, 06:05 PM | ||||||
Guest
Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
|
No idea what that could be. I even went through all my code and disabled everything that changed the border except for its' initial definition, and it still did it.
|
|||||
|
01-29-10, 06:15 PM | |||
|
Code:
if self:IsObjectType("GameTooltip") then --put the OnTooltipSetItem and OnHide functions here end
Last edited by Stuck : 01-29-10 at 06:19 PM.
|
||
|
Stuck |
View Public Profile |
Send a private message to Stuck |
Find More Posts by Stuck |
Add Stuck to Your Buddy List |
01-29-10, 06:22 PM | |||
Guest
Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
|
Very possible. Through all this stuff this poor little layout has been hacked nine ways to Sunday. I'm gonna spend a few hours late tonight cleaning her up.
lua Code:
**EDIT: Also, <3 <3 <3 <3 Thank you for your help!
Last edited by : 01-29-10 at 06:24 PM.
|
||
|