Go to Page... |
Updated: | 02-28-10 11:20 PM |
Created: | unknown |
Downloads: | 42,703 |
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 |
Arcadian Del Sol |
View Public Profile |
Send a private message to Arcadian Del Sol |
Find More Posts by Arcadian Del Sol |
Add Arcadian Del Sol to Your Buddy List |
07-02-10, 12:34 PM | |
A Deviate Faerie Dragon
Forum posts: 10
File comments: 3
Uploads: 0
|
how in hell do i open the config window im going crazy help me out please and perhaps someone who got it working can post a step by step of how he installed the new update all i have now is the tooltip floating free abuff players heads when i mouseover them cant ancor it no where
|
|
GUN3R |
View Public Profile |
Send a private message to GUN3R |
Find More Posts by GUN3R |
Add GUN3R to Your Buddy List |
06-28-10, 01:26 PM | ||
|
I'm sorry for not being able to update RantTooltip more often. I haven't been playing in a while.
|
|
|
Stuck |
View Public Profile |
Send a private message to Stuck |
Find More Posts by Stuck |
Add Stuck to Your Buddy List |
06-24-10, 04:04 PM | |
|
No longer working properly in 3.3.5
Anychance of getting a fix? Thnks |
|
Sepioth |
View Public Profile |
Send a private message to Sepioth |
Find More Posts by Sepioth |
Add Sepioth to Your Buddy List |
05-15-10, 11:55 PM | |
A Deviate Faerie Dragon
Forum posts: 16
File comments: 56
Uploads: 0
|
i usually figure this stuff out - the lua file says it should be on the cursor, but it's not - what am I missing?
|
|
neov |
View Public Profile |
Send a private message to neov |
Find More Posts by neov |
Add neov to Your Buddy List |
05-11-10, 04:49 PM | |
|
I've been pooking around trying to change the default texture to a simple plain texture I've made myself, but everytime the tooltip has just gone completly black. Could I please have a some elaboration on how to change the default tooltip into a flat (no gradient no nothing) please?
/Aapoo PS. Apart from not being able to change the texture, i'm very pleased with ranttooltip! GJ! ds. |
|
aapoo |
View Public Profile |
Send a private message to aapoo |
Find More Posts by aapoo |
Add aapoo to Your Buddy List |
04-28-10, 10:29 PM | ||
|
Code:
(if Guild = "player":Guild then Green else (if Faction = "player":Faction then Cyan else Yellow end) end) Guild:Angle It basically showed the Guild Name in green if it's your guild, cyan if it's of the same faction as you (horde/alliance) and yellow if it's from the other faction. Anyway I have quite a few more questions, so I've sent you a PM. You've got mail |
|
|
Avitus |
View Public Profile |
Send a private message to Avitus |
Visit Avitus's homepage! |
Find More Posts by Avitus |
Add Avitus to Your Buddy List |
04-26-10, 09:55 AM | |||
|
edit: BTW, I edited my post below, I've been meaning to ask you, what did you mean by faction colors on the tooltip?
Last edited by Stuck : 04-26-10 at 10:01 AM.
|
||
|
Stuck |
View Public Profile |
Send a private message to Stuck |
Visit Stuck's homepage! |
Find More Posts by Stuck |
Add Stuck to Your Buddy List |
04-25-10, 12:16 PM | |
|
Thanks for the quick reply, sounds very promising. I'll be trying all this as soon as I can connect to wow (apparently ISP issues till Thursday) and will report back here.
In regards to conditional coloring: Wouldn't it be best to move the complete tag logic to layouts then in future releases of RTT? If the whole "RantTooltip["Tags"] = {}" block was removed from the main RantTooltip.lua and shifted to the layout file, it would allow layout designers to play around with colors without having to go back and edit the main mod (which defeats the whole point of having a layout system and breaks compatibility every time a new RTT version is released). Older layouts would have to be updated accordingly (copy paste the Tags block), but that's a small price to pay. I've already seen Layouts that package modified RTT versions and I don't think that's a good direction to go. In regards to right aligned text: I'll dig around the Cowtip lua files and try to figure out how he does it. If all else fails, maybe someone from the greater mod community has an idea/tip how to implement this.
Last edited by Avitus : 04-25-10 at 12:21 PM.
|
|
Avitus |
View Public Profile |
Send a private message to Avitus |
Visit Avitus's homepage! |
Find More Posts by Avitus |
Add Avitus to Your Buddy List |
04-25-10, 11:01 AM | |||||||
|
If that doesn't work, try adding this to your layout: Code:
local nametag = RantTooltip.Tags["$name"] RantTooltip.Tags["$name"] = function(unit) local name = nametag(unit) if UnitIsFriend(unit, "player") and not UnitIsPvP(unit) then name = name:gsub("|cff%x%x%x%x%x%x", "|cffffffff") --put whatever color you want here end return name end
Code:
local guildtag = RantTooltip.Tags["$guild"] RantTooltip.Tags["$guild"] = function(unit) local guild = guildtag(unit) if GetGuildInfo("player") == GetGuildInfo(unit) then guild = guild:gsub("|cff%x%x%x%x%x%x", "|cffffffff") --put whatever color you want here end return guild end
Code:
RantTooltip.Tags["$title"] = function(unit) local PvPRank = UnitPvPRank(unit) return (PvPRank:match("Scarab") or PvPRank:match("Gladiator") or PvPRank:match("Arena") or PvPRank:match("Battlemaster") or PvPRank:match("Grand Marshal") or PvPRank:match("High")) and ("|cfffffff"..PvPRank.."|r") or (UnitIsFriend(unit, "player") and not UnitIsPvP(unit) and "|cfffffff"..PvPRank.."|r" or "|cfffffff"..PvPRank.."|r") or ((PvPRank:match("Alliance") or PvPRank:match("Horde")) and "|cfffffff"..PvPRank.."|r") end
Code:
"$name|$target", "$guild|$rank", "$level",
edit: I've just thought up a potential way to make color changes easier. The default function would look like this: Code:
RantTooltip.Tags["$name"].func = function(unit) local name = UnitName(unit) if blabla == true then return RantTooltip.Tags["$name"].color[1]..name.."|r" else return RantTooltip.Tags["$name"].color[2]..name.."|r" end end Code:
RantTooltip.Tags = { ["$name"] = { func = func, color = { "|cffffffff", "|cffff0000" }, }, } Code:
RantTooltip.Tags["$name"].color[1] = "|cff00ff00"
Last edited by Stuck : 04-26-10 at 09:46 AM.
|
||||||
|
Stuck |
View Public Profile |
Send a private message to Stuck |
Visit Stuck's homepage! |
Find More Posts by Stuck |
Add Stuck to Your Buddy List |
04-24-10, 08:30 PM | ||
|
I've recently switched from CowTip and I'm trying to replicate my somewhat elaborate tooltip config with RTT now, however there are a couple issues:
1. Coloring in the layout: I really like the idea of a layout system (I'm trying to build my own to distribute to guild members), but at the moment it seems very limited: All the colors are hardcoded in RantTooltip.lua, meaning if I want a specific element/tag to show in a different color I have to: -Either edit the main mod (RantTooltip.lua), which would defeat the purpose of a layout system and would break every time a new version of RTT is released. Or -Create a duplicate tag of each tag I want to recolor in my layout file. This would be very inefficient, especially considering some of the longer tags like $spec for example. Is there any efficient way to play with the coloring in the layout? If not, any plan of moving the tag coloring over to the layout file in future versions of RTT (possibly add a syntax so color can be specified next to each tag in RantTooltip:SetUnitTags{})? 2. Conditional coloring: My LuaFu is failing me, how would I go about setting conditional colors for things like Name or Guild? Something like (DogTags used in Cowtip): Name: Code:
(IsFriend and not PvP ? Cyan NameRealm ! HostileColor NameRealm) Code:
(if Guild = "player":Guild then Green else (if Faction = "player":Faction then Cyan else Yellow end) end) Guild:Angle 3. Conditionals based on tag results: Is there a way of adding conditionals based on return value of a tag? For example I had CowTip set up in a way to scan player titles, if it was a meaningful title I cared about (Gladiator, Battlemaster etc.) it would show in a special color next to the name. If not, it was discarded: Code:
(PvPRank:Contains("Scarab") or PvPRank:Contains("Gladiator") or PvPRank:Contains("Arena") or PvPRank:Contains("Battlemaster") or PvPRank:Contains("Grand Marshal") or PvPRank:Contains("High") ? PvPRank:Fuchsia " ") (IsFriend and not PvP ? Cyan NameRealm ! HostileColor NameRealm) (PvPRank:Contains("Alliance") or PvPRank:Contains("Horde") ? " " PvPRank:Fuchsia) Any way of doing such filtering in RTT? 4. Right aligned text:
Sorry for the wall of text, but RTT is the first (only?) Tooltip mod I've found which comes close to the customization that the abandoned CowTip provided and it's so close to being a perfect replacement even if configuring it requires a bit more work. I would stick with CowTip if it wasn't for the memory leak and the messy bug with building HP. Thanks for a great addon |
|
|
Avitus |
View Public Profile |
Send a private message to Avitus |
Visit Avitus's homepage! |
Find More Posts by Avitus |
Add Avitus to Your Buddy List |
04-11-10, 12:11 PM | |
|
Hi have followed bug:
22x RantTooltip-0.28\RantTooltip.lua:562: attempt to perform arithmetic on field '?' (a nil value) <in C code>: ? Locals: (*temporary) = <function> defined =[C]:-1 = <function> @ Interface\FrameXML\GameTooltip.lua:185: = <function> @ RantTooltip\RantTooltip.lua:561: --- |
|
angel100780 |
View Public Profile |
Send a private message to angel100780 |
Visit angel100780's homepage! |
Find More Posts by angel100780 |
Add angel100780 to Your Buddy List |
04-05-10, 02:53 PM | |
A Defias Bandit
Forum posts: 2
File comments: 49
Uploads: 0
|
Just switched to this from TipTop and I'm liking what I see so far. But I'm using RTT_Remix layout and everytime I mouse over something I get this error
Code:
Interface\AddOns\RantTooltip\RantTooltip.lua:661: <unnamed>:SetText(): Font not set Count: 1 Call Stack: [C]: ? [C]: in function `SetText' Interface\AddOns\RantTooltip\RantTooltip.lua:661: in function `UpdatePowerBar' Interface\AddOns\RantTooltip\RantTooltip.lua:504: in function `SetUnit' Interface\AddOns\RantTooltip\RantTooltip.lua:558: in function <Interface\AddOns\RantTooltip\RantTooltip.lua:557> [C]: ? |
|
Wisprunner |
View Public Profile |
Send a private message to Wisprunner |
Visit Wisprunner's homepage! |
Find More Posts by Wisprunner |
Add Wisprunner to Your Buddy List |
03-17-10, 07:49 AM | |||
|
You mean when you click a item on the chat for example it shows the item icon on the left right? U just need to comment the followning part of the code: Code:
if self == ItemRefTooltip then self.itemIcon = self:CreateTexture(nil, "OVERLAY") self.itemIcon:SetWidth(37); self.itemIcon:SetHeight(37) self.itemIcon:SetPoint("TOPRIGHT", self, "TOPLEFT", -1, 0) end
It seems exaile is one of them. Well to my eyes, since exaile doenst has a border i can't really tell if the statusbars are inside or out of the frame hehe.
Last edited by apocalipsus : 03-17-10 at 07:49 AM.
|
||
|
apocalipsus |
View Public Profile |
Send a private message to apocalipsus |
Visit apocalipsus's homepage! |
Find More Posts by apocalipsus |
Add apocalipsus to Your Buddy List |
03-16-10, 02:50 PM | |
|
How can one go about hiding the ItemIcon that appears in the TopLeft corner? I've commented out code left and right in this addon that calls it and nothing.
|
|
willgk |
View Public Profile |
Send a private message to willgk |
Visit willgk's homepage! |
Find More Posts by willgk |
Add willgk to Your Buddy List |