I have had to do this in my game... Only a point with 2 level, you cannot make a learn give a point every several levels but there is a workaround that i came up with... There are a few parts to it...
First make an upgrade Call it somthing like "Learn Available", then make a requirement that requires the player to have the "Learn Available" upgrade...
Go to your learn ability, and set the initial points to like 5000, and the points per level to 0, then go to each index for abilities in the learn ability and set the requirement on them to "Learn Available"
Go to the command card on your hero, and whatever button you have for the learn submenu, take off the "Learn Ability" and set it to none, this way the number of points you have wont show on the learn button in game, but other than that it will work the same
Next you have to make triggers to manually research and unresearch "Learn Available" for each player, just do somthing like increment a variable for a player when a hero levels up and his level is evenly divisable by 5, and decrement the variable when your hero uses a learn ability, whenever you change the variable check to see if it is = to 0, if it is =0 unresearch the "Learn Availabe" for that player, and if not research it... Also, it adds a nice effect if,when you research learn available for the player, turn the ability hilight for your learn ability on, and turn it off when it is not researched... that way ur learn button will flash when you have available points...
Ummm atm it is only implemented in my main project... however, it shouldent be hard for me to make a tutorial for it... and upload a demo map there... Ill do it tomorrow, its late now, im going to sleep lol
Ummm atm it is only implemented in my main project... however, it shouldent be hard for me to make a tutorial for it... and upload a demo map there... Ill do it tomorrow, its late now, im going to sleep lol
I just implemented a level functionality to my leveling library (see signature).
All you'd need to do is validate that the level is a factor of 5 and that this "point" has not been given already.
If you need help, feel free to PM me. :)
Rollback Post to RevisionRollBack
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
To post a comment, please login or register a new account.
hey,
so basically right now with the data Editor you can only give a minimum of 1 point per Level, but that's to much,
how would I go about with triggers to add +1 point every 5 levels to my Hero's Level Behavior?
so that way he can only learn a new spell every 5 levels.
@Selfcreation: Go
I have had to do this in my game... Only a point with 2 level, you cannot make a learn give a point every several levels but there is a workaround that i came up with... There are a few parts to it...
First make an upgrade Call it somthing like "Learn Available", then make a requirement that requires the player to have the "Learn Available" upgrade...
Go to your learn ability, and set the initial points to like 5000, and the points per level to 0, then go to each index for abilities in the learn ability and set the requirement on them to "Learn Available"
Go to the command card on your hero, and whatever button you have for the learn submenu, take off the "Learn Ability" and set it to none, this way the number of points you have wont show on the learn button in game, but other than that it will work the same
Next you have to make triggers to manually research and unresearch "Learn Available" for each player, just do somthing like increment a variable for a player when a hero levels up and his level is evenly divisable by 5, and decrement the variable when your hero uses a learn ability, whenever you change the variable check to see if it is = to 0, if it is =0 unresearch the "Learn Availabe" for that player, and if not research it... Also, it adds a nice effect if,when you research learn available for the player, turn the ability hilight for your learn ability on, and turn it off when it is not researched... that way ur learn button will flash when you have available points...
Hope that Helps!
hey thanks allot :P you wouldn't happen to have a demo map would you?
im pretty bad with triggers , if not ill try hard , hehe
Ummm atm it is only implemented in my main project... however, it shouldent be hard for me to make a tutorial for it... and upload a demo map there... Ill do it tomorrow, its late now, im going to sleep lol
Ummm atm it is only implemented in my main project... however, it shouldent be hard for me to make a tutorial for it... and upload a demo map there... Ill do it tomorrow, its late now, im going to sleep lol
@Selfcreation: Go
too bad we cant just put .2 in the points per level place :P
Well I threw it up on the editor suggestions thread to be able to add points in decimal form :D
I just implemented a level functionality to my leveling library (see signature).
All you'd need to do is validate that the level is a factor of 5 and that this "point" has not been given already.
If you need help, feel free to PM me. :)