HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Turning down hero xp

07-22-2004, 02:12 AM#1
Darth_Bob
All I'm trying to do is decrease the amount of experience heroes get from normal kills. I know it's in gameplay constants, I've been screwing around with the various hero xp settings, but it's the same every time. How do I do this?
07-22-2004, 09:57 AM#2
Darth_Bob
?????????????????????
07-22-2004, 10:47 AM#3
garith
Quote:
Originally Posted by Darth_Bob
?????????????????????

there are 2 ways:

you can A) increase the amount of experience the hero needs per level to upgrade OR

B) decrease the amount of XP given by every unit....

B is painfully slow so just do A... :D
07-22-2004, 03:22 PM#4
th15
The first few levels are governed by the "Hero EXP table" field. By default it should look something like "100,200".

I find this is the easiest way to control EXP gain rate though you have to enter every value manually. No matter what you do to the other settings, the first few levels (as many values as you enter) will always require the amount of exp you enter in this field.
07-23-2004, 08:07 AM#5
X_lDeath
Quote:
Originally Posted by th15
The first few levels are governed by the "Hero EXP table" field. By default it should look something like "100,200".

I find this is the easiest way to control EXP gain rate though you have to enter every value manually. No matter what you do to the other settings, the first few levels (as many values as you enter) will always require the amount of exp you enter in this field.

ya that works swell, but you'll have to do it for every single level cause he wants exp decrease for all levels i suppose
07-23-2004, 11:03 AM#6
Balthamos
Whoa whoa whoa, wait ok, BEFORE you do something as tedious as that, just create an action that lowers the percentage of xp that a player's heroes can earn...

Hero - Set Experience Rate
Make Player 1 (Red) Heroes gain 100.00% experience from future kills.

As long as you want it to apply to all heroes of a player or all heroes in the game, then that trigger will work fine for you, you can use it with a forloop for faster results if this is intended as a univeral change.

Admittedly this won't have complete control over xp gain, as the rate at which you'll gain it will still be proportional to warcraft's levelling rate, but if you're keeping the level 10 level cap then this should work fine.
07-23-2004, 05:06 PM#7
AntJAB
This has been talked about in several threads over the past couple years, maybe I'll throw up a simple tutorial on various ways to control XP gain when I get home.
I don't have anything here with me, out of town, but you are right that you can do what I think you want easily from the constants.
There are multipliers and adders in the constants that you can change.
Again, I'm not home right now or I could tell you specifics.
It comes down to a series of variables that can be changed in an equation.
Something like XP Gained = Unit Killed Level * variable + variable, etc.
So yes, you could make it so the XP gained is directly or not at all involved with the level of the unit, which you can assign to each unit in the editor. Blizzard already gave them default levels.
For varius maps I did I lowered or raised the variables int he constant to increase or decrease the ammount of XP gained.
To test it out, line up some guys and see how much each gives you when you kill them, and adjust the constants as needed.

When I get home in a couple days I'll probbably detail this, or find the origonal thread where it's listed in detail.

-Ant.