• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Changing XP gain for killing any unit.

Status
Not open for further replies.
Level 18
Joined
Aug 23, 2008
Messages
2,319
If you want to change how many XP you gain, go to 'Advanced' --> 'Gameplay Constants' and scroll down to 'Hero XP Gained'. There you can change the base XP gained, bonus XP per level of killed opponent and other stuff to change XP gaining. Modify to your wishes!

To be able to change the default values to the values you want, check the box 'Use Custom Gameplay Constants'
 
Level 6
Joined
Mar 26, 2008
Messages
239
If you want to change how many XP you gain, go to 'Advanced' --> 'Gameplay Constants' and scroll down to 'Hero XP Gained'. There you can change the base XP gained, bonus XP per level of killed opponent and other stuff to change XP gaining. Modify to your wishes!

To be able to change the default values to the values you want, check the box 'Use Custom Gameplay Constants'

I knew it already, I just wanted to know if I can make different XP gain for different unit in object editor, thanks anyway.

Then, Problem is solved, I will make one system then, which will give xp with every attack depending on damage dealt.
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
Like said before: You can change the level of every unit type to whatever you want, so if you want the same XP gained from the same type of unit, you just have to change the level of the unit-type to what matches the XP you want to gain from it. The maximum level of hero's can be changed at 'Advanced' --> 'Gameplay Constants', and change the value of 'Hero Maximum Level' up to a maximum level of 10000. If you want different XP even among units of the same unit-type, then you indeed better to with the XP/damage system.
 
Level 6
Joined
Mar 26, 2008
Messages
239
Heh, I failed in making this system, but I've already fixed the problem, but ofcourse if u can give me the system of XP/damage system, u are welcome=)
I couldn't do it because EVENT_UNIT_DAMAGED isn't player event, and I don't know how to make the trigger affect any unit, I mean all units...
 
Status
Not open for further replies.
Top