HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom heros stop gaining XP

12-29-2005, 03:50 AM#1
absolutezero
This thread was lost in the server downtime, no fault to Tim. though.

Anywho, I encountered a peculiar problem testing my Star Wars ORPG map online a while back. Your Jedi/Sith hero started at level 4, so that you had a fair chance to survive the horrors of the world outside. Only one problem: both of us stopped gaining experience after reaching level 5. The bar remained completely empty and the number never changed. It was as if I had used a trigger somewhere to set XP gain to 0%, but I haven't done anything with xp gain.

The solution I have come up with is triggering XP by returning the level of a unit every time one is killed and giving XP with regards to the level (or in the case of a Hero, giving xp in relation to the hero's level).

But no one wants that to happen. It's a complicated and potentially buggy system and I would definetely prefer some more systematic way, if not restoring the original style.

Has anyone seen this before or have any idea why it happened or how to fix it?
12-29-2005, 04:40 AM#2
bobhellbringer
it's in gameconstants seriously <snip>!!!!!
Go to Advanced>Gameconstants it is on the bar next to the File and Edit buttons (near them)
12-29-2005, 05:33 AM#3
Panto
If you're killing neutral hostiles, the game is set up to stop giving heroes experience for them after level 5 (in order to prevent players of melee from creeping to max level). You can either change the baddies to a player slot or you can alter the percentage of experience given by creeps in Advanced>Gameplay Constants.
12-29-2005, 02:09 PM#4
absolutezero
Oh, wow, I didn't know that, lol. Thanks for the help, I'll just create a player slot for them.
12-29-2005, 04:23 PM#5
[niro]
Lots of people encounter this problem, yes, Neutral hostile units can only level a hero up to 5, and no further.

I believe you can change this in gameplay constants, or, just make the enemies a computer player.

Panto is correct.
12-29-2005, 09:55 PM#6
AnarkiNet
http://wc3wiki.game-advance.net/wiki/WorldEdit_FAQ - that thread has been added to the Warcraft 3 Modding Wiki (some of the thread).