I have a Hero unit set up with Veteracy. it works great, it gets experience when it kills. My question is. Can you set it up so that you level up by a trigger instead of the Data editor? idk. Reason i ask is because in the 'behavior' you need to click "+" and add a level to the behavior, i want a LOT of levels, so i think it might be easier to have a trigger run in a loop instead of clicking "+" for each level. yes/no? Thanks for any feedback. :D
"Catalog Field Value Set" Might do the trick through triggers, not sure. But you can make making easier data changes with the control + D hotkey or viewing the data editor in XML view and just copy paste earlier values and modify them to your needs.
Edit: Nvm Catalog Field Value Set wont to the trick since it needs to be in the data already.
i can simply copy/paste it in the data editor but then you have to go set the required experience for each level otherwise i could simply
copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste HAHAHAHA
The veretancy is still used to actually show your hero level; which you cannot do without it (unless you have a dialog base UI to show levels). I use a combo of the two. I award EXP and level bonus' through triggers, but use the behavior to show levels on units, and EXP required to level. I have a 60 level veterancy, which took maybe 10 minutes to make all of the levels for.
If you are going to use a custom UI, you have a lot more options. You can create a neat formula to create the EXP required for each level, and then create a moving bar that shows your current EXP compared to that value; which moves as you gain experience. You then also have to trigger EXP rewards based on units killed.
I prefer the dialog method; it allows for much more customization, and literally endless levels.
If you are looking for the fastest way possible, you will just have to suck it up and make a hundred levels (or however many) through the data editor. You could paste 10 at a time, and then do the EXP for them; then paste 10 more, ect.
Yeah but you don't need to wait for the GUI to open/close each time you want to change something after you copy it, you can just instantly change it there after pasting it.
could i create a trigger that gives feeds into a Integer Variable. like 1 zergling gets killed modify variable to +1, then when the number gets to say 10 it increases the level of the hero? or did i just repeat myself with different words? lol.
Edit: The only triggers that i found to alter levels are
Tech Tree - Add 1 to Upgrade upgrade for player 1
Unit - Add 0 level(s) to (Triggering unit) ability No Game Link
But this doesn't change the behavior set for Veteracy..
as i said above; if you trigger EXP gain, you will still need to manually create levels for the veterancy. You will still need to set EXP as well (even if it is just 1 exp per level). You cannot modify a units level +1 unless they have a level to be modified. The only way for them to have that level, is if it is added to a veterancy behavior, which that unit has.
Unless, as mentioned above, you trigger the EXP system, and create a fake leveling system to go with it. So you would need an integer array to keep track of the exp required for each level, and another to keep track of the "level" of the hero, so you know how much is needed for the next level. Then, when the level is reached, you will need a way to display to the player the level of the unit. You could simply have a dialog displayed on the screen where a level would normally be displayed, and every time a unit is selected, if their level is greater than 0, you could set the dialog to display the level saved for that unit. This would cause it to look similar to the way it does in game.
If you have a lot of units that can gain levels, you can use custom values on that unit to save their level; so you dont need to create a million variables for every unit spawned. You can use Custom Value 1 to save their current level, and Custom Value 2 to save their EXP, then compare that value witth your integer array to know when to increase the level (value 1).
I have a Hero unit set up with Veteracy. it works great, it gets experience when it kills. My question is. Can you set it up so that you level up by a trigger instead of the Data editor? idk. Reason i ask is because in the 'behavior' you need to click "+" and add a level to the behavior, i want a LOT of levels, so i think it might be easier to have a trigger run in a loop instead of clicking "+" for each level. yes/no? Thanks for any feedback. :D
@SC2UniversalDomination: Go
"Catalog Field Value Set" Might do the trick through triggers, not sure.But you can make making easier data changes with the control + D hotkey or viewing the data editor in XML view and just copy paste earlier values and modify them to your needs.Edit: Nvm Catalog Field Value Set wont to the trick since it needs to be in the data already.
@Knallertton: Go
i can simply copy/paste it in the data editor but then you have to go set the required experience for each level otherwise i could simply copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste copy/paste HAHAHAHA
The veretancy is still used to actually show your hero level; which you cannot do without it (unless you have a dialog base UI to show levels). I use a combo of the two. I award EXP and level bonus' through triggers, but use the behavior to show levels on units, and EXP required to level. I have a 60 level veterancy, which took maybe 10 minutes to make all of the levels for.
If you are going to use a custom UI, you have a lot more options. You can create a neat formula to create the EXP required for each level, and then create a moving bar that shows your current EXP compared to that value; which moves as you gain experience. You then also have to trigger EXP rewards based on units killed.
I prefer the dialog method; it allows for much more customization, and literally endless levels.
If you are looking for the fastest way possible, you will just have to suck it up and make a hundred levels (or however many) through the data editor. You could paste 10 at a time, and then do the EXP for them; then paste 10 more, ect.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
@SC2UniversalDomination: Go
Yeah but you don't need to wait for the GUI to open/close each time you want to change something after you copy it, you can just instantly change it there after pasting it.
thanks for the feedback.
the only other question i have is
could i create a trigger that gives feeds into a Integer Variable. like 1 zergling gets killed modify variable to +1, then when the number gets to say 10 it increases the level of the hero? or did i just repeat myself with different words? lol.
Edit: The only triggers that i found to alter levels are
Tech Tree - Add 1 to Upgrade upgrade for player 1
Unit - Add 0 level(s) to (Triggering unit) ability No Game Link
But this doesn't change the behavior set for Veteracy..
as i said above; if you trigger EXP gain, you will still need to manually create levels for the veterancy. You will still need to set EXP as well (even if it is just 1 exp per level). You cannot modify a units level +1 unless they have a level to be modified. The only way for them to have that level, is if it is added to a veterancy behavior, which that unit has.
Unless, as mentioned above, you trigger the EXP system, and create a fake leveling system to go with it. So you would need an integer array to keep track of the exp required for each level, and another to keep track of the "level" of the hero, so you know how much is needed for the next level. Then, when the level is reached, you will need a way to display to the player the level of the unit. You could simply have a dialog displayed on the screen where a level would normally be displayed, and every time a unit is selected, if their level is greater than 0, you could set the dialog to display the level saved for that unit. This would cause it to look similar to the way it does in game.
If you have a lot of units that can gain levels, you can use custom values on that unit to save their level; so you dont need to create a million variables for every unit spawned. You can use Custom Value 1 to save their current level, and Custom Value 2 to save their EXP, then compare that value witth your integer array to know when to increase the level (value 1).
Pretty easy really.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
@GlornII: Go
HA - HA - HA - you get a +1 for that. well done and thanks. :D
Ahh, the lengths I go to for a +1.
Look at me daddy, look at me!
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
http://www.sc2mapster.com/assets/starcraft-2-data-manager/
I've use that for adding 250 levels to a veterancy behavior.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)