• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Custom Level system?

Status
Not open for further replies.
Level 12
Joined
Mar 10, 2008
Messages
869
Hi,

I was wondering if anyone knew how to make a custom leveling system?
I have a variable with the exp of something and it goes:
Lvl 1: 100
Lvl 2: 210
Lvl 3: 330
Lvl 4: 460
Lvl 5: 600
etc...

What would be the best/easiest/most efficiant way to make a custom-leveling system without doing millions of if/then/else?

BTW: The level system is for an ability.
 
Hi,

I was wondering if anyone knew how to make a custom leveling system?
I have a variable with the exp of something and it goes:
Lvl 1: 100
Lvl 2: 210
Lvl 3: 330
Lvl 4: 460
Lvl 5: 600
etc...

What would be the best/easiest/most efficiant way to make a custom-leveling system without doing millions of if/then/else?

BTW: The level system is for an ability.

maybe you might want to have a formula for the exp needed to make it just 1 If/then/else.. example
  • If
    • Conditions
      • If EXP is greater than or equal to (100 + HeroLevelxblahblah)
If there is no formula for the exp requirement I don't think you can simplify it.....
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Okay, I guess everything is done with variables, so this is the formula:

  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • ProficiencyXP Equal to (100 + ((100 x ProficiencyLevel) + ProficiencyModifier))
      • Then - Actions
        • Set ProficiencyLevel = (ProficiencyLevel + 1)
        • Set ProficiencyModifier = (ProficiencyModifier + (ProficiencyLevel x 10))
      • Else - Actions
Err... I can't fill in the rest of the events/conditions/actions, since I don't know when your proficiency (or whatever it is) should level...
But this is the XP-system :/
 
Level 12
Joined
Mar 10, 2008
Messages
869
Yeah. Thanks.

The person that I'm making Life ORPG with, thought of a different, balanced-ish kind of exp/level 'thingy'.
Level 0 - 50 (For algarithm usage, not an actual level)
Level 1 - 50
Level 2 - 100
Level 3 - 150
Level 4 - 250
Level 5 - 400
Level 6 - 650
Level 7 - 1050
Level 8 - 1700
Level 9 - 2750
Level 10 - 3450

If you can see - it's like that maths thingy... you know... the rabbit breeding thingy... anyway. It adds the 2 previous level exp's to get the next levels exp.

How could I do that?


... I used 'thingy' a lot.
 
Status
Not open for further replies.
Top