You also need to lower the exp curve to reach levels above 6500. (needed exp to level up)Hold Shift when you double Click the field, it removes the fields regular limits.
Thank you, it worked, but not quite like I intended.Hold Shift when you double Click the field, it removes the fields regular limits.
My personal project. Just for myself.What project are you doing that you need more than 10,000 level?
Okay, this is my mistake. A character above certain level remains at level one. Can you please explain, how to lower exp curve so it'd look like on your screenshot?You also need to lower the exp curve to reach levels above 6500. (needed exp to level up)
No, just my humble personal project.Are you creating a disco map where the hero levels up every half second to create a lighting effect?
in Gameconstants there are 3 exp formulars.
Needed Exp to level up <- this one you need to change to enable levels over 6500
Exp gained by non heroes.
Exp gained by heroes.
How they work:
There is constant factor: exp value rises each level by this value (linear) (1, 2, 3 ,4 ,5, 6, 7 ....)
Level factor: exp value adds a linear rising value (summation row) (1, 3[1+2], 6[1+2+3], 10[1+2+3+4], 15 ...)
table: define custom values used on that levels.
previous value:
As formular:
value = constant x level + (heroLevel² + heroLevel)/2 x levelfactor + previousvalue x factor
To enable really high levels (from a exp point) remove or shrink down the level factor. Cause level factor becomes really big from level 6500.
Warcraft 3 only supports exp values upto 2,147,483,648 (2^31) one needs to keep that summation row low.
(summartion row value of 6500 = 21,128,250 ), won't have much left, if you multiply that with 100 (2,112,825,000 almost 2,147,483,648).
if you change the needed table you also should change exp gained.
use shift + enter to edit the max hero level field inser 66,000.
Now you need to lower the needed exp to level up, cause default exp curve will exceed the value an 32 bit integer can take on level 6500.
To reach high levels, I recomment for example.
Needed Exp Table 0
Needed Exp Level 0
Needed Exp Constant 100
Needed Exp previous 1.0
Now every levelup would need 100 exp, which allows such a high max level.
Problem is that higher units/heroes give now to much exp, but that was not the question until now.
Edit: You can visualize the exp values your fomular defines by using an excel software (libre office for example).
The exp needed for the highest wanted level must not exceed 2^31.
I always make maps for my personal use, and this is one of them. Just want a hero to be above certain level, that is all.Why the heroes need so many levels anyway? Are you trying to make a map with the objective exceeding limits?