Disable "earned by" tooltip for AwA
Hey guys,
i am looking for a way to disable the popup tooltip "earned by xxx" when overing over an achievement with the new AwA system. So far I havent had any luck and am hoping somebody here can point me in the right direction :) Regards, ExoY |
|
This is not quite accomplishing what i am looking for.
I want to disable the pop-up tooltip that shows who erned an achivement when hovering over it, not the tooltip text within the achivements description. I just tried out the addon you referred to an the pop up tooltip is still there. Edit: i just check the vanilla game and it looks like the ingame "earned by" description text with the addons was actually removed by default and replaced by the pop up one. (except when indicated by "recent achivements) |
The text "earned by" is this string constant:
"Earned by: <<1>>", -- SI_ACHIEVEMENT_EARNED_FORMATTER If you search in the code for SI_ACHIEVEMENT_EARNED_FORMATTER you might find the place where it can be removed: https://github.com/esoui/esoui/blob/...ments.lua#L861 You can overwrite the string constant with an empty string so the text is not shown anymore: Lua Code:
Else the tooltip control of achievements are created here: Could be this control: https://github.com/esoui/esoui/blob/...ments.xml#L270 ZO_AchievementTooltip Connected to lua here: https://github.com/esoui/esoui/blob/...ents.lua#L1480 Object: ACHIEVEMENTS.tooltip Function showing it: https://github.com/esoui/esoui/blob/...ents.lua#L1752 ACHIEVEMENTS:ShowAchievementDetailedTooltip Lua Code:
#Not tested, hope it works and was the correct one :p If this was not intended you could also try to prehook the function and change the data in the function accordingly to your needs: Lua Code:
|
Thanks Baertram,
I will check it how but it does look promising. Edit: ShowAchievementDetailedTooltip wasnt the correct one, but this one ended up doing the trick: Lua Code:
but i didnt check, if it effects any other tooltips within the achievement context. |
Maybe this one then?
https://www.esoui.com/downloads/info...nonymizer.html |
Quote:
rofl :D:D:D:D:D:D:D |
Quote:
Also, I didn't realize they were probably asking so they could implement it into their own addon... that i linked... to them... Derp. |
:D Circle of life
|
Quote:
and i only wanted to make the addon if it not already exists :) But i thought it was intentional that you posted my addon as a reference for anybody else stumbling upon this thread :) |
All times are GMT -6. The time now is 11:46 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI