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!
I had been looking around Hive for a while, searching for a system that did something similar, and found little to nothing. I know it can be done outside of triggers fairly easily, through GamePlay Constants and Experience Given in the object Editor, but many, like myself, don't understand the Constants.
So to alleviate my issues, I decided to create this system, and figured, if I am looking for something like this, maybe others are as well, so here it is!
Contents
Triggers
ChangeLog
Contains the Following:
Allows you to set custom values for Experience Given upon Kills
Allows you to set custom units to variables, to define what units give experience
Allows you to define the value of level experience required
This system was designed to enable the user to customize the units which can be killed for experience, as well as the total experience given upon kill. It checks to ensure that the killing unit is a hero, compares the current experience to the required experience, and compares the dying unit UnitType to ensure it is contained in the variable array of the system as a unit that does give experience.
In the future, this system will also have portions designed to handle custom destructibles, giving experience upon destroying them, that way if you have a profession system, you can gain defined experience for using them.
Variables
Variable Setup Trigger
Level Trigger
Variables are defined in the Variable Setup trigger, All variables in that trigger short of the following snippet are customizable.
For each (Integer A) from 1 to ExpSys_MaxLevel, do (Actions)
Loop - Actions
Set VariableSet ExpSys_ExpToLevel[(Integer A)] = ((Integer A) x ExpSys_ExpInt)
Set the Maximum Level for the heroes.
Set VariableSet ExpSys_MaxLevel = 10
Set the experience difference required per level, Level 1 - 20Exp, Level 2 - 40Exp, Level 3 - 60Exp and so on...
Set VariableSet ExpSys_ExpInt = 20
Define the Unit which will give experience to the Hero.
Set VariableSet ExpSys_Creep[1] = Bandit
Define the Experience given by the previously defined unit.
Set VariableSet ExpSys_ExpGiven[1] = 8
All variables mentioned in this section are customization unless otherwise told. Any variables not explained here, are recommended not to be changed, as it will have an effect on the entire system.
Thats the overall goal. I may also look into adding support for destructables, that way if you have proffesions, you can gain experience from those as well. I will make it togglable with a boolean, that way it checks what portion is active.
Why does your map and system not work? The hero gets to 20 exp and nothing happens. Why does this happen? The triggers are also really hard to understand. Can the exp requirement in the hero UI be changed to show how much exp is needed for the next level or something to indicate how much is needed?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.