HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

hero xp question

10-17-2006, 02:35 PM#1
Nazra7
how do i change the amount of xp that is required for each level?
10-17-2006, 05:06 PM#2
Naakaloh
There is a set of fields under gameplay constants that relate to experience required per level
10-17-2006, 05:48 PM#3
Nazra7
yeah but which one? i tried to change the constant her xp table to higher numers but that didnt work... didnt change anything.
10-18-2006, 07:51 PM#4
Mystic-Ssj5Goku
There are 3 Parts to the Experiance Feilds.

Normal Unit Experiance.
Hero Unit Experiance.
Hero Level Requirements.

I beleive you changed the second instead of the third.
10-18-2006, 08:20 PM#5
Fireeye
there are 4 values you need to enter
HeroXP Required - Constant Factor
This Value is constant and will be added to the required exp at the end
e.g. standart setting but with Constant Factor 50
Level X: No change/Change
Level 1: 200/200
Level 2: 500/550
Level 3: 900/1000
Level 4: 1400/1550
Level 5: 2000/2200
HeroXP Required - Level Factor
Increase with every Level, it's kinda hard to explain, but if you don't change any other values, the increasement is LF/100.00*(100+(Current Level + 1)*100)
e.g with 50.00
Level 1: 200/200
Level 2: 500/350
Level 3: 900/550
Level 4: 1400/800
Level 5: 2000/1100
HeroXP Required - Previous Value Factor
this is the only field i don't really understand, sorry, but i know, that this factor controls to the biggest part the increasement of the needed exp to the next Level
e.g. with 2.00
Level 1: 200/200
Level 2: 500/800
Level 3: 900/1800
Level 4: 1400/4100
Level 5: 2000/8800
HeroXP Required - Table
This value is the needed "base" exp, it will only be added at the first Level but don't have any effect on the increasement
e.g. with 300
Level 1: 200/300
Level 2: 500/600
Level 3: 900/1000
Level 4: 1400/1500
Level 5: 2000/2100
10-18-2006, 11:49 PM#6
Ignitedstar
I remember that there was a nifty site that allowed one to compute the values within data fields. Then, it would calculate the amount of EXP needed for a number of levels depending on how many one wanted. However, since my computer got reformatted, I don't have the site anymore.
10-19-2006, 07:13 AM#7
Nazra7
whoa.... complicated stuff... i guess i wont change it since its not like anyone is going to play my map for 3 days trying to get to lv 20 or anything. my map is for multi player. and i doubt anyone would have that much patience in massive multi play. thanks for your help guys.
10-19-2006, 08:08 AM#8
Mystic-Ssj5Goku
He actually Over complicated it a bit its really very simple.

Also Previous Level Factor is how much of the previous level is counted.

E.g. 200 + 50

.90
200 - Level 1
230 - Level 2
244 - Level 3

2.00
200 - Level 1
450 - Level 2
950 - Level 3

Be very Very careful if you use a Negative as it Will Eventually Collapse in upon itself if the amount of exp tacked on each level isnt sufficient to reach max level. By this I mean the amount of more exp required after a certain point will become 0 and he'll flash through the rest of the levels as if he just picked up a Tome of power + 1000.
10-19-2006, 08:18 AM#9
Fireeye
Sorry Mystic-Ssj5Goku, but if you don't know that your results are correct, test it.
I made a test with 2.0 and this are the datas:
Level 1: 200/200/200
Level 2: 500/800/480
Level 3: 900/1800/832
Level 4: 1400/4100/1248
Level 5: 2000/8800/1723
Your datas are always too low for 2.00, i gonna test it for 0.9 and gonna try to find out how it exactly controls the exp.
---Edit---
Tested with 0.9, added it.
10-19-2006, 10:37 AM#10
Nazra7
if you guys would really like to help me and save time could you tell me what constants need what value for this:

levels require double the xp for the previous level starting at 5000

so forexample level 2 requires 5000 xp and level 3 requires 10000 level 4 requires 20000 and so on.

max level is 20 if i didnt say already. you guys are great help i want to let you know.
10-19-2006, 11:52 AM#11
Fireeye
That should be what you want.
HeroXP Required - Constant Factor: 0
HeroXP Required - Level Factor: 0.00
HeroXP Required - Previous Value Factor: 2.00
HeroXP Required - Table: 5000
10-19-2006, 07:29 PM#12
Mystic-Ssj5Goku
Well you didnt use a constant of 50 but it still seems off what I thought regardless of that. Hm.
10-20-2006, 11:45 PM#13
st33m
Taken from http://www.wc3campaigns.net/showthre...403#post796403

Quote:
-----aiursrage

The overall purpose of these four fields is to define a value of experience
for every possible level. The "Table" field does this by simply specifying
exactly that, an experience value for each level.

For example:
Hero XP Gained - Hero, Table = 100,120,160,220,300
which means that a hero will receive 100 XP for killing a level 1 hero, 120
XP for killing a level 2 hero, and so forth.
Now then, explicitly setting a value for every single hero level can be
tedious and wasteful if you have a lot of hero levels (say, 500). So, the
three formula fields are used to calculate all values beyond those in the
existing table field.
This formula computes the experience value "f(x)", for level "x", based on
the level and previous experience value, as well as a constant:

f(x) = C + L*x + P*f(x-1)

where

C = Constant Factor field
L = Level Factor field
P = Previous Value field

Continuing our example using the Hero XP Gained - Hero fields (C = 100, L = 0,
P = 1), the experience gained from killing a level 6 hero would be:
100 + 0*6 + 1*300 = 400
Note that the 300 is the experience for level 5, which comes from the table.
For level 7, we get:
100 + 0*7 + 1*400 = 500
and so on. This particular equation is quite simple, it just adds 100 more for
every level.
Now we can look at the Hero XP Gained - Normal fields, where

Table = 25 (only one entry!)
C = 5
L = 5
P = 1

and compute

f(1) = 25 (from table)
f(2) = 5 + 5*2 + 1*25 = 40
f(3) = 5 + 5*3 + 1*40 = 60
f(4) = 5 + 5*4 + 1*60 = 85
f(5) = 5 + 5*5 + 1*85 = 115
10-21-2006, 07:40 AM#14
Ignitedstar
Or... You could just use this(Thank you so much the person who found it for me).

http://war3.slerman.net/expcalc.html
10-21-2006, 10:12 PM#15
st33m
Well damn, that is handy...