playMaker

Author Topic: xp system how to?  (Read 2419 times)

invayne

  • Full Member
  • ***
  • Posts: 105
xp system how to?
« 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

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: xp system how to?
« Reply #1 on: April 18, 2015, 03:59:46 PM »
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.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

invayne

  • Full Member
  • ***
  • Posts: 105
Re: xp system how to?
« Reply #2 on: April 18, 2015, 04:06:19 PM »
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

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: xp system how to?
« Reply #3 on: April 18, 2015, 04:25:05 PM »
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.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

invayne

  • Full Member
  • ***
  • Posts: 105
Re: xp system how to?
« Reply #4 on: April 19, 2015, 08:35:54 AM »
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