Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: invayne on April 18, 2015, 03:28:36 PM
-
been trying to figure this out but how would one go about setting up a xp system that works off a linear curve so that the values will rise per lvl ... any info on this would be cool
-
What part are you stuck on?
Its pretty straightforward to maintain an XP variable, add to it when something happens like you killed a monster, then check if its over X number. If its over X number, multiply X number to increase the next goal and set the current XP variable to zero.
-
that part right there is there any way to create a curve? cause multiplying seems to be kinda hard say you need 200 xp for 1 lvl if you multiply that by 2 its 400 im looking to do something more of a curve so its not so that you dont just get as an example 400, 800, 1600, ect so it be like 400 maybe for 2nd lvl to get to lvl 2 then 760 for next lvl something along those lines
-
I think you could but I haven't messed with it. You could create a Curve with real values in the X and Y, then use the Sample Curve action to grab the xp goal at whatever level.
-
testing the sample curve never used it before so hopping it will do the trick i set up the curve to go from min to max lvl so hoping it will give a value between that not exactly sure how its suppose to work if theres no way to give it a values but we will see thanks lane