Tooltip - LuaTexts
(former CowTip_LuaText)
Allows to configure the content of unit-tooltips with custom Lua-Codes.
It uses a modified version of PitBull4's LuaText-ScriptEnv.
Some functions were removed.
Some new were added.
Some were modified to better suite for tooltips.
If Cowtip is installed it automatically disables cowtips built-in dogtag-based text-module.
-
View User Profile
-
Send Message
Posted Oct 11, 2009The only thing I will add is a collection of premade texts to select from (like the luatext-module in pitbull4).
-
View User Profile
-
Send Message
Posted Oct 11, 2009Hello,
Is there any plans to add some kinda GUI to configure the data show/colors/formatting..etc without having to know the Lua Code ???
Cuz I wanna reformat the tooltip and add some extra stuff like mana/hp..etc but i donno Lua Code
Thx :)
-
View User Profile
-
Send Message
Posted Oct 10, 2009should do the trick. Some doc on the functions is on the TODO-list ;)
-
View User Profile
-
Send Message
Posted Oct 10, 2009Hello there
Can anyone help me with the lua code for the default level race class line? I wanna add it so when I see a druid in bearform it comes something like, Level 80 Tauren Druid (Bear) and for Treeform (Tree) etc. and maybe when a priest is in Shadowform it comes (SF)
I've tried the for many hours to add it but I can't for the life of me make it work :)
Thanks in advance.
-
View User Profile
-
Send Message
Posted Oct 7, 2009Sorry for the breakage. I just did it the same way pitbull4 does it, but obviously rock doesn't like it. However, it should be fixed in v0.3-beta-9-gfb49c25.
-
View User Profile
-
Send Message
Posted Oct 6, 2009It seems one of the last commits has broken all rock-dependant addons for me. Well, actually i'm not sure if it's you, but one of the add-ons i've updated recently resulted in popping up errors for Quartz, XLoot, XlootMaster, XlootGroup and CowTip. I'm no programmer, but it looks like both LibDewDrop and LibRock are pretty much unhappy. I only presume it's you because cowtip's the only rock addon i have updated. Update - i've posted a ticket showing couple of errors i got, but that's not all of em. Update MK II - yup it's the last version of cowtip_luatexts alright, just reverted to stable version and everything seems back to normal.
-
View User Profile
-
Send Message
Posted Oct 3, 2009Actually the Colorize-function does set the Alpha-value to FF so the output actually is |cff00cc00_guild_name_|r
-
View User Profile
-
Send Message
Posted Oct 3, 2009Yup, close enough. Although i kind of failed to figure out how do i set brightness this way, and the colour i get is exactly the same as friendly npc names. Any way to set that "FF"00cc00, not just 00cc00?
-
View User Profile
-
Send Message
Posted Oct 2, 2009guess I have to move the line-config to AceConfig or some custom stuff.....
edit:
works though
-
View User Profile
-
Send Message
Posted Oct 2, 2009Lies, this returns |cff00cc00_guild_name_|r
-
View User Profile
-
Send Message
Posted Oct 2, 2009damn LibRockConfig...
is the the "non-fucked-up-by-rock"-codeline.
-
View User Profile
-
Send Message
Posted Oct 2, 2009And thanks yet again! :D This last string really IS complicated o.O
One more question: how do i make my guild name green-coloured, like classic cowtip did it? You did that by default through hexcode in lua, but after copypaste in game i'm only getting the text, not colours.
-
View User Profile
-
Send Message
Posted Oct 2, 2009ah, of course.
should work.
-
View User Profile
-
Send Message
Posted Oct 2, 2009Thanks again, but this returns 1337/1337 (1%) for me, instead of 1337/1337 (100%)
-
View User Profile
-
Send Message
Posted Oct 2, 2009might help.
The text for that might be rather complicated.
would show something like
-
View User Profile
-
Send Message
Posted Oct 2, 2009Well thanks, but i actually need something like HP(%HP) or current_hp/max_hp
-
View User Profile
-
Send Message
Posted Oct 1, 2009Health and Mana should work the same way as they do in pitbull4_LuaTexts
I'm thinking of adding some Codes-data-base for premade luacodes
-
View User Profile
-
Send Message
Posted Oct 1, 2009Any slight chances of adding Health/Mana lines? Or could you please give me an example of such lines?
-
View User Profile
-
Send Message
Posted Sep 30, 2009Thank you very much for inserting the location and whatnot into the code. This has become a -must have- since it definitely improved framerate and helps clean up visual quality of Cowtip. Thank you ^.^
-
View User Profile
-
Send Message
Posted Sep 30, 2009