Download
(7Kb)
Download
Updated: 08-05-09 04:46 PM
Pictures
File Info
Updated:08-05-09 04:46 PM
Created:04-15-09 08:15 AM
Downloads:3,737
Favorites:15
MD5:

RantTooltip: Lite

Version: 0.02
by: Stuck [More]

This is the lite version of RantTooltip (http://www.wowinterface.com/downloads/info10988-RantTooltip.html).

More info to come.

0.02 - updated for 3.2.

0.01 - initial release
Optional Files (0)


Post A Reply Comment Options
Unread 12-26-09, 07:58 AM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
I've been working on a completely new version of RantTooltip: Lite. I might stop updating the original RantTooltip altogether.

The new version of RantTooltip: Lite will include a layout system, which is very similar to and inspired by oUF (http://www.wowinterface.com/downloads/info9994-oUF.html).
Report comment to moderator  
Reply With Quote
Unread 06-05-09, 08:17 AM  
Ayuki
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
it buggs together with quest helper.. quest helper tooltips dosent show up after a long time it does then you get error..
Report comment to moderator  
Reply With Quote
Unread 06-03-09, 09:14 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
Option to disable the Tooltip Icon please.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 12:17 AM  
Ayuki
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Error..

Error: attempt to index local 'text' (a nil value)
AddOn: RantTooltipLite
File: RantTooltipLite.lua
Line: 182
Count: 1


just a error report :P it comes up sometiems when enemy dies... i think when they got me targettted... it spams in tooltip like
Target: [YOU]
Target: [YOU]
Target: [YOU]
Target: [YOU]
then error comes
Report comment to moderator  
Reply With Quote
Unread 05-14-09, 03:03 PM  
Crissa
A Flamescale Wyrmkin
 
Crissa's Avatar

Forum posts: 136
File comments: 16
Uploads: 0
Re: Re: options...

Yeah, I got the border done already... However, reaction colors seem wrong sometimes; it has red for any of the other faction and green for any of this faction, and I'm used to it being on basis if they're flagged PvP or not or I'm flagged PvP or not... Is that possible?

I took out the code I didn't want and got the colors I wanted ^-^ Figured that out eventually with some tinkering. I haven't coded anything directly since coding as TV-safe mode addon while doing Molten Core runs.

-Crissa
Report comment to moderator  
Reply With Quote
Unread 04-28-09, 03:52 AM  
02cspearson
A Kobold Labourer
 
02cspearson's Avatar

Forum posts: 0
File comments: 10
Uploads: 3
Cheers

Originally posted by Stuck
Open RantTooltipLite.lua, at the top there is a table called "RantTooltip["Options"]". The line you're looking for is, "anchor = { "CURSOR", 0, 10 },". You can anchor it wherever you want. It's relative to UIParent.

So for example, you can change it to:
Code:
anchor = { "BOTTOMRIGHT", -25, 75 },
This would anchor it to the bottomright of the screen.
Brilliant stuff. Cheers. Excellent Mod.
Report comment to moderator  
Reply With Quote
Unread 04-21-09, 03:36 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by 02cspearson
This is great but I don't like to have the ToolTip at Cursor. How do I change it to Anchor?
Open RantTooltipLite.lua, at the top there is a table called "RantTooltip["Options"]". The line you're looking for is, "anchor = { "CURSOR", 0, 10 },". You can anchor it wherever you want. It's relative to UIParent.

So for example, you can change it to:
Code:
anchor = { "BOTTOMRIGHT", -25, 75 },
This would anchor it to the bottomright of the screen.
Report comment to moderator  
Reply With Quote
Unread 04-21-09, 03:33 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Re: options...

Originally posted by Crissa
The lack of comments in your code is making customizing this a bit of a pain. Little rusty here... I got the tooltips where I wanted, I can (sorta) change the background.

I'd like to take out the color changing border (only want simple borders); have guild/reaction override class color on the names; and make the background brighter (less black and grey, more the color I want. I changed it to the reaction color... Hadta move the reaction color block before the options block, but that's fine ^-^)

Lastly, is there any way to carve bits out of other tooltip programs so I just had the item I wanted... Like for instance adding item level and icon to the item tooltips, or one of the achievements infos?

-Crissa
I will add comments in the future. Sorry about that. Have you tried the original RantTooltip? I made RantTooltip: Lite specifically for minimalist purposes, for those who didn't want a lot of options. I'll release another version soon that will comment everything you want to change.

If you want a constant border or background color, go to line 255. That's where the background and border is changed for unit tooltips. You can comment out "GameTooltip:SetBackdropBorderColor(color.r, color.g, color.b)", or "GameTooltip:SetBackdropColor(r-.85, g-.85, b-.80, 1)".

If you want reaction color on player names instead of class colors, look at line 374. You should delete the first if conditional, so:
Code:
	if UnitIsPlayer(unit) then
		local class = select(2,UnitClass(unit))
		r = RAID_CLASS_COLORS[class].r
		g = RAID_CLASS_COLORS[class].g
		b = RAID_CLASS_COLORS[class].b
	elseif UnitPlayerControlled(unit) then
Becomes:

Code:
	if UnitPlayerControlled(unit) then
Report comment to moderator  
Reply With Quote
Unread 04-21-09, 06:58 AM  
02cspearson
A Kobold Labourer
 
02cspearson's Avatar

Forum posts: 0
File comments: 10
Uploads: 3
This is great but I don't like to have the ToolTip at Cursor. How do I change it to Anchor?
Report comment to moderator  
Reply With Quote
Unread 04-17-09, 12:57 AM  
Crissa
A Flamescale Wyrmkin
 
Crissa's Avatar

Forum posts: 136
File comments: 16
Uploads: 0
options...

The lack of comments in your code is making customizing this a bit of a pain. Little rusty here... I got the tooltips where I wanted, I can (sorta) change the background.

I'd like to take out the color changing border (only want simple borders); have guild/reaction override class color on the names; and make the background brighter (less black and grey, more the color I want. I changed it to the reaction color... Hadta move the reaction color block before the options block, but that's fine ^-^)

Lastly, is there any way to carve bits out of other tooltip programs so I just had the item I wanted... Like for instance adding item level and icon to the item tooltips, or one of the achievements infos?

-Crissa
Last edited by Crissa : 04-17-09 at 11:21 AM.
Report comment to moderator  
Reply With Quote
Unread 04-16-09, 02:27 AM  
larkrune
A Murloc Raider

Forum posts: 6
File comments: 24
Uploads: 0
eh, figured i'd end up being wrong, was updating addons while grabbing the rest of the update and didn't look to closely before posting that i suppose i should pay more attention
Report comment to moderator  
Reply With Quote
Unread 04-15-09, 11:28 PM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Re: Status Bar

Originally posted by Chasim
What would I need to edit in the .lua to remove (or comment out) the status bar completely?
Add:

Code:
GameTooltipStatusBar:Hide()
right below line 261.

So it should look like:
Code:
	if raidIndex then
		RantTooltip.icons.raid:SetTexture("Interface\\TargetingFrame\\UI-RaidTargetingIcon_"..raidIndex)
	end
	GameTooltipStatusBar:Hide()
end
Lines 116-119 are there to set the texture of the bar. ;p
Report comment to moderator  
Reply With Quote
Unread 04-15-09, 10:52 PM  
larkrune
A Murloc Raider

Forum posts: 6
File comments: 24
Uploads: 0
Re: Status Bar

Originally posted by Chasim
What would I need to edit in the .lua to remove (or comment out) the status bar completely?
I could be wrong, but if you edit out lines 116-119 I think that should do what you want
Report comment to moderator  
Reply With Quote
Unread 04-15-09, 07:09 PM  
Chasim
A Defias Bandit

Forum posts: 2
File comments: 85
Uploads: 0
Status Bar

What would I need to edit in the .lua to remove (or comment out) the status bar completely?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: