Thread Tools Display Modes
12-09-08, 10:06 PM   #1
Siku
A Fallenroot Satyr
 
Siku's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 29
Editing Game tooltips

I recently started trying to make my own addons, and right now im blocked at trying to edit the tooltips that opens when you go over Strength, Agility and such, problem is the how to do it,

So far, i know i would need to hook the tooltip to edit it, but whenever i try reading about that, it explaisn how to hook an item, spell or buff, not really what i want.

I also checked in the framexml and what i want would be the PaperDollStatTooltip, but im not sure if its the name or what to do exactly with the info.

And by reading wowwiki widget api documentation, i guess that would go inline with using GameTooltip:AddLine (or AddDoubleLine)...

So, anyone out there could help a future author with how to get it all together?
  Reply With Quote
01-23-09, 08:32 AM   #2
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 68
I am yet to make a mod that alters the tool tip, but the best advice I have for you is to read the code of some addons that do it, and then fiddle and poke them.

Check out the documentation at http://wowprogramming.com and http://www.wowwiki.com/World_of_Warcraft_API

Some addons that modify the tooltip:
Engravings

TipTac

ManaPerc

Also, check out LibExtraTip. Via norganna SVN, it 'Assists in the management of additional tooltip information.'

Also, for real-time help (at IRC speeds), visit the WoWInterface community at irc.freenode.net#WoWUIDev.

And do you have The book? Recommended.

If you still cannot understand how to do tooltips, try something simpler and work your way up to that.
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.

Last edited by Mike-N-Go : 01-23-09 at 08:35 AM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Editing Game tooltips

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off