I am trying to have heroes that can level up. I have figured out how to set up veterancy behaviors and I see the hero xp bar showing up, but I don't know how to get heroes to start gaining xp when they kill units. Would someone care to explain to me how this is properly done?
Have you set the amount of XP given under Combat: Kill Experience of the unit when the target unit dies? Have you adjusted the Share and Target filters of the Veterancy behaviour (by default you only get exp from enemy kills)?
You can also add experience with Modify Unit effects and Unit XP Add XP trigger actions.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Okay. I just checked everything and yes the experience has been set for the units I was trying to gain experience from. The veterancy behavior that I am using, has 5 levels with increments of 100, 200,300, 400, and 500 xp to level up and its on its default settings. I did not change the share and target filters. Despite this, it does not seem to be working for some reason. I checked to see if their could be other conflicting behaviors, but don't seem to be. I am using it on a regular marine unit.
Notice here. It has 1 kill, but no XP gain. I am absolutely positive that the unit it killed(hydralisk) had some combat experience set. What could be other reasons that it may not be working?
I guess I will have to figure out what is going wrong. There was a number of triggers that I was using. Maybe that has something to do with it. I am unsure what might be behind all this though.
I am trying to have heroes that can level up. I have figured out how to set up veterancy behaviors and I see the hero xp bar showing up, but I don't know how to get heroes to start gaining xp when they kill units. Would someone care to explain to me how this is properly done?
Have you set the amount of XP given under Combat: Kill Experience of the unit when the target unit dies? Have you adjusted the Share and Target filters of the Veterancy behaviour (by default you only get exp from enemy kills)?
You can also add experience with Modify Unit effects and Unit XP Add XP trigger actions.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
Melee triggers might be supressing exp gain?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
Make a blank map and remove the melee triggers and then experiment. Never use your main project map for figuring new stuff out.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg