Download
(15 Kb)
Download
Updated: 09/05/15 11:30 PM
Pictures
File Info
Compatibility:
Update 7 (1.7.0)
Update 6 (1.6.5)
Updated:09/05/15 11:30 PM
Created:04/01/15 01:36 AM
Monthly downloads:40
Total downloads:9,607
Favorites:20
MD5:
Categories:Discontinued & Outdated, Discontinued & Outdated
ChampionBar  Popular! (More than 5000 hits)
Version: 1.0.2
by: Sasky [More]
Outdated
When ZOS reworked the champion bar after removing Veteran Ranks, they also removed the secondary champion point bar. Part of why this addon looked so integrated was I used that bar to show enlightenment. That's no longer possible, as that part of the UI is gone.

Overview

When you're VR14, you don't need to see a bar telling you you're at 100%. Heck, you don't even care about the 14 anymore with the champion rank there. This addon replaces the main XP bar with the champion rank progress. The second bar is then used to show your enlightenment pool.

Features

The UI is wholly integrated with the native ZOS controls, so it behaves like the bar normally does: showing on major events and hiding when it's not needed.

The main bar changes colors depending on which champion point is next.

The tooltip shows how much enlightenment you have stored up.

Note: This only activates on VR16 characters. On lower levels it only replaces the tooltip to show enlightenment.

Localization
Thanks solaxx for the French translation.
Thanks Apokh for the German translation.
I added Spanish translation consistent with the Cervanteso terminology

Future
This is largely feature-complete. I probably won't add much to this, as I want it to be a simple drop-in replacement for the default bar.
1.0.2 - Fixes for Imperial City update
1.0.1 - Fix initialization
1.0.0 - Stable release
- Add Spanish translation
- Make new bar display on login
- Replace lower character tooltip to show enlightenment pool
- Fix "ENLIGHTENED" to use translated text
- Make bar glow with CP color
0.9.4 - Add German translation
0.9.3 - Make bar nonlinear, add FR translation
0.9.2 - Fix c+p issue
0.9.1 - Potential fix for skill xp
0.9.0 - Initial release
Archived Files (9)
File Name
Version
Size
Uploader
Date
1.0.1
15kB
Sasky
04/09/15 06:58 PM
1.0.0
15kB
Sasky
04/06/15 12:43 AM
1.0.0
14kB
Sasky
04/06/15 12:38 AM
0.9.4
14kB
Sasky
04/04/15 12:48 PM
0.9.3
14kB
Sasky
04/03/15 01:21 AM
0.9.2
12kB
Sasky
04/01/15 10:28 AM
0.9.1
12kB
Sasky
04/01/15 10:12 AM
0.9
12kB
Sasky
04/01/15 01:36 AM
0B
04/01/15 01:36 AM


Post A Reply Comment Options
Unread 04/08/15, 09:12 AM  
Sasky
AddOn Author - Click to view AddOns

Forum posts: 231
File comments: 87
Uploads: 4
Originally Posted by SpellBuilder
Sasky, please check your ChampionBar.init() function. For non level-cap players you do not unregister this event handler, which I think is wrong.
Also it seams to me that function VPMaxBarType:GetBarGradient() is defined twice.
Both just lead to minor extra processing (as the functions can safely be repeated), but yeah I'll fix it.
Report comment to moderator  
Reply With Quote
Unread 04/09/15, 07:40 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Hello and first, thanks for this addon,

I've a little remark

I'm actually 190/400 K xp for my next champion rank.
Illumination indicated is : 98,356k. (0.9 champion rank). Your formula is false

it's = illumination / GetChampionXPInRank(GetPlayerChampionPointsEarned())
so ~25% for me.

PS : Could you change the 0.x to x % in tooltip ?

thank you.
Report comment to moderator  
Reply With Quote
Unread 04/09/15, 09:21 AM  
Sasky
AddOn Author - Click to view AddOns

Forum posts: 231
File comments: 87
Uploads: 4
Originally Posted by Ayantir
Hello and first, thanks for this addon,

I've a little remark

I'm actually 190/400 K xp for my next champion rank.
Illumination indicated is : 98,356k. (0.9 champion rank). Your formula is false

it's = illumination / GetChampionXPInRank(GetPlayerChampionPointsEarned())
so ~25% for me.

PS : Could you change the 0.x to x % in tooltip ?

thank you.
Perhaps it's not worded well, but that is actually how much enlightenment/illumination you have stored up, not the actual XP you've earned to the next rank. That makes it completely independent of your current progress within the rank.

You have 98,356 enlightenment (en)/illumination (fr). The means if you burn through all the enlightenment, you'll earn 0.98 champion points while enlightened.

Is this on a non-VR14 character? For VR14, there are 2 separate bars -- one for progress within the champion point and one for the enlightenment pool. That's not as distinct VR1-13, as the main XP bar and VR level are still needed. It was added more as an afterthought from the standpoint of someone primarily using this on a VR14 character and could probably be tweaked.
Report comment to moderator  
Reply With Quote
Unread 04/09/15, 10:44 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Originally Posted by Sasky
Originally Posted by Ayantir
Hello and first, thanks for this addon,

I've a little remark

I'm actually 190/400 K xp for my next champion rank.
Illumination indicated is : 98,356k. (0.9 champion rank). Your formula is false

it's = illumination / GetChampionXPInRank(GetPlayerChampionPointsEarned())
so ~25% for me.

PS : Could you change the 0.x to x % in tooltip ?

thank you.
Perhaps it's not worded well, but that is actually how much enlightenment/illumination you have stored up, not the actual XP you've earned to the next rank. That makes it completely independent of your current progress within the rank.

You have 98,356 enlightenment (en)/illumination (fr). The means if you burn through all the enlightenment, you'll earn 0.98 champion points while enlightened.

Is this on a non-VR14 character? For VR14, there are 2 separate bars -- one for progress within the champion point and one for the enlightenment pool. That's not as distinct VR1-13, as the main XP bar and VR level are still needed. It was added more as an afterthought from the standpoint of someone primarily using this on a VR14 character and could probably be tweaked.
I'm v14 since ages. I understood your tricks, but it's hard to understand, due to multiplier.


When I look in EnlightenmentPoolBar.lua #80

I see
Lua Code:
  1. math.floor(ep/10000)/10, --CP

for me, it should be

Lua Code:
  1. zo_round(ep/(GetChampionXPInRank(GetPlayerChampionPointsEarned()))*100) .. "%", --CP

But, that's not all, because if I got 98k in enlightment pool, I need to multiply it by the multiplicator actually on my char.
So in reality, I don't get 98k enlightment pool. I get 98k * 4 = 392k xp in enlightned state.


Which it coincides with the rule of 1 day = 1 CP and your trick. (I did 3 crafts quests , so it burned me 8k xp).

So, your function EPBarType:GetEnlightenedTooltip() should be :

Lua Code:
  1. function EPBarType:GetEnlightenedTooltip()
  2.     local ep = GetEnlightenedPool() * (GetEnlightenedMultiplier() + 1) -- reality
  3.     local msg = {
  4.         GetString(SI_ENLIGHTENMENT),
  5.         ": ",
  6.         ZO_CommaDelimitNumber(ep),
  7.         "/",
  8.         ZO_CommaDelimitNumber(self:GetLevelSize()),
  9.         "\n(",
  10.         zo_round(ep/(GetChampionXPInRank(GetPlayerChampionPointsEarned()))*100) .. "%", -- my fix for precentage
  11.         " ",
  12.         GetString(SI_CHAMPION_POINTS),
  13.         ")"
  14.     }
  15.     return table.concat(msg, "")
  16. end


This fix will work if tomorrow ZOS decide that enlightment multiplier will be *6.85 instead of *3 .


ZOS themselves had difficulties to explain how multiplier works

Look at
http://forums.elderscrollsonline.com...t-how-it-works

I find the answer itself really confusing compared of the ingame reality.

Nowhere ingame you'll see that a champion level is 100k, it's displayed 400k on the original bar, the function returns 400k everywhere, etc.

I really think that the 100k enlightment / day should be avoided.
ok, it's reality in API, but with those 100k you must add the multiplier.

And for a lambda user , it's simplier, I guess.
Report comment to moderator  
Reply With Quote
Unread 04/09/15, 11:39 AM  
Sasky
AddOn Author - Click to view AddOns

Forum posts: 231
File comments: 87
Uploads: 4
Originally Posted by Ayantir
This fix will work if tomorrow ZOS decide that enlightment multiplier will be *6.85 instead of *3 .

...

Nowhere ingame you'll see that a champion level is 100k, it's displayed 400k on the original bar, the function returns 400k everywhere, etc.

I really think that the 100k enlightment / day should be avoided.
ok, it's reality in API, but with those 100k you must add the multiplier.

And for a lambda user , it's simplier, I guess.
It seems a bit difference of perspective. For me, the raw pre-multiplier number is better. It correlates 1:1 with XP from a kill, XP earned towards VR, etc. XP/hr numbers don't change based on your enlightenment state and give you an indication of how fast you drain it. If they change the multiplier, it won't change how fast your enlightenment drains. The raw API data is shown as enlightenment, allowing you to see how quickly it goes down, what you need to get rid of it, etc.

The reason you'd want the actual multiplied XP remaining is for "how many champion points can I earn?" or "how much of a champion point can I earn?". That's why I put the conversion to CP in the tooltip. It might be better for lower amounts of enlightenment (where it's "how much of a CP") to use a percent (10%, 25%, 95%), but towards the middle or upper end of the range (where it's "how many CP") I think number of points is preferable (5.6 vs 560%) as when seeing 560% you'll mentally convert anyways.

I think the other reason I shied away from percents is that it's ambiguous. Which is seen: percent into/left in the champion rank, percent of max enlightenment left (that's the fraction given), or the actual percent of a CP you'll earn. Note that the tooltip for "(1.3 Champion Points)" is distinct from the "Champion Rank" text.

It might be preferable to make it more agnostic to changes in the multiplier for when it converts to the "(X.X Champion Points)" text, but I don't see a compelling reason to multiply the amount of enlightenment for the raw numbers.

(PS: I don't actually put anywhere an enlightenment/day indicator anywhere.)
Last edited by Sasky : 04/09/15 at 03:35 PM.
Report comment to moderator  
Reply With Quote
Unread 04/09/15, 11:48 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
np as long as you had this reflexion yourself
Report comment to moderator  
Reply With Quote
Unread 04/10/15, 04:01 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3851
Uploads: 3
option to always show exp bar, pl s

for now i use Raetia info hub, and it has this feature, but its too buggy
- errors with mouseover
- if i turn off this option it now show bar even on default events(character screen"C")
Report comment to moderator  
Reply With Quote
Unread 04/10/15, 06:37 PM  
Sasky
AddOn Author - Click to view AddOns

Forum posts: 231
File comments: 87
Uploads: 4
Originally Posted by QuadroTony
option to always show exp bar, pl s

for now i use Raetia info hub, and it has this feature, but its too buggy
- errors with mouseover
Raetia doesn't work because all it does is set the control to visible after it's faded. However, the progress bar expects the bar type to be set -- otherwise it doesn't know how to display the text. That's also why something like the Legerdemain skill line will persist there until opening a menu.

http://www.esoui.com/downloads/info7...rienceBar.html is something else that always shows. It looks like it might work, but I haven't checked yet.

Originally Posted by QuadroTony
- if i turn off this option it now show bar even on default events(character screen"C")
Huh? Don't understand what you're saying.
Report comment to moderator  
Reply With Quote
Unread 04/10/15, 06:38 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3851
Uploads: 3
nvm - thanks for answer!
Report comment to moderator  
Reply With Quote
Unread 04/18/15, 08:46 PM  
Belazarus

Forum posts: 0
File comments: 3
Uploads: 0
Question XP % on ChampionBar

Hi there

I totally love this addon, it's a brialliant idea and a nice neat slick design.
My suggestion is, would it be possible to have an optional setting to simply display the % to next level, on the bar. So for example: 25%.
Or maybe even have the xp and % - so like this: 132,000 xp 76%
You get the idea

This would make the addon perfect for me, as it's much easier to monitor our progress on the bar, if we can see a % indicator. I imagine it would be a fairly simple addition.

Any thoughts ?
Report comment to moderator  
Reply With Quote
Unread 04/28/15, 05:00 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Hello Sasky,

When I open a chest, I still got the my CP level instead of legerdemain one. (and the bar is 100% full which is not accurate with my current legerdemain xp bar).

Could you try to recheck this too ?

Many thanks.
Report comment to moderator  
Reply With Quote
Unread 05/03/15, 10:13 AM  
OmniObsessed

Forum posts: 9
File comments: 70
Uploads: 0
Feature Request - Toggle to keep enabled

Would like option to toggle Champion XP on permanently. Low priority though.
Report comment to moderator  
Reply With Quote
Unread 05/15/15, 05:22 AM  
Martan

Forum posts: 4
File comments: 76
Uploads: 0
The bar isn't showing for me other than inside menus. When questing or killing mobs that are around my level then it won't show at all. I've previously used Slightly Improved Experience Bar. Could that be the cause and if so, how do I fix it?
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 07:45 PM  
Martan

Forum posts: 4
File comments: 76
Uploads: 0
Okey if you want to make the bar always show then you need to open up ChampionBar.lua and scroll down to the very bottom you will see

function ChampionBar.init()
--Only show for max VR characters
if GetUnitLevel("player") ~= 50 or GetUnitVeteranRank("player") ~= 14 then
ChampionBar.initLowerLevel()
else
ChampionBar.initMaxLevel()
end
EVENT_MANAGER:UnregisterForEvent("ChampionBar", EVENT_PLAYER_ACTIVATED)

end
If you insert this
-- Add the experience bar to the two hud displays so it always shows up
SCENE_MANAGER:GetScene("hud"):AddFragment(PLAYER_PROGRESS_BAR_FRAGMENT)
SCENE_MANAGER:GetScene("hudui"):AddFragment(PLAYER_PROGRESS_BAR_FRAGMENT)
SCENE_MANAGER:GetScene("hud"):AddFragment(PLAYER_PROGRESS_BAR_CURRENT_FRAGMENT)
SCENE_MANAGER:GetScene("hudui"):AddFragment(PLAYER_PROGRESS_BAR_CURRENT_FRAGMENT)
bellow
EVENT_MANAGER:UnregisterForEvent("ChampionBar", EVENT_PLAYER_ACTIVATED
then the bar will never fade.

Great addon by the way.
Last edited by Martan : 05/18/15 at 07:46 PM.
Report comment to moderator  
Reply With Quote
Unread 05/31/15, 03:41 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
When you get the enlightment buff, you rank is changed by esoui.

I'm v14, 170 cp levels, the bar smoothly display 14 then 15 then 16
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: