Custom EXP Curves

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by Tsukihime, Aug 8, 2012.

  1. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,055
    Location:
    Toronto
    First Language:
    English
    Custom EXP Curves

    -Tsukihime

    Define custom exp curves using your own formula.

    Can be set for actors or classes.

    Actors take precedence if both are defined.

    Usage

    Add the tag



    Code:
    <exp-curve: your_formula>
    
    <exp-curve: level*200>
    
    Only the `level` variable is valid

    You can print out the curves by making the script call.



    Code:
    $game_actors.print_exp_table
    
    to create a file called "exp.csv" in your project folder for each actor

    Download

    http://db.tt/BQ2cHomP
     
    #1
    deilin, Acetonide and Peltron like this.
  2. Peltron

    Peltron Orange Ventius Leader Veteran

    Messages:
    170
    Likes Received:
    11
    First Language:
    English
    Oh man! This is a great script! I've seen so many people wanting to create their own EXP curve! Definitely liking this! B)

    If only it were for RMXP too!
     
    #2
  3. Crimson Dragon Inc.

    Crimson Dragon Inc. Crimson Dragon Veteran

    Messages:
    925
    Likes Received:
    133
    Location:
    Sheboygan wisconsin
    First Language:
    english
    Primarily Uses:
    RMMV
    how does it work? how would i set it if i want on character (every hero in my story has a unique class and equipment set total of 15 heros) a unique growth that requires atleast 1000000 exp to grow to lvl 99?
     
    #3
  4. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,055
    Location:
    Toronto
    First Language:
    English
    You just tag your actor with the exp curve tag.



    Code:
    <exp-curve: level * 1000>
    
    Means the level 1 requires 1000 exp, level 2 requires 2000 exp , ...

    Up to you to figure out how to meet your exp requirements.

    Although I say "Formula" it isn't necessarily a math formula.

    You could toss in all the ruby you want in there like if/else statements (you will need to use semi-colons).
     
    Last edited by a moderator: Aug 9, 2012
    #4
  5. deilin

    deilin Ranger/Elementalist Veteran

    Messages:
    1,189
    Likes Received:
    173
    First Language:
    English
    I rarely have levels up to 99. At most is @50, but I have similar script in my games. The exp max can be changed in script, but might display odd.
     
    #5
  6. Crimson Dragon Inc.

    Crimson Dragon Inc. Crimson Dragon Veteran

    Messages:
    925
    Likes Received:
    133
    Location:
    Sheboygan wisconsin
    First Language:
    english
    Primarily Uses:
    RMMV
    i'm allowing lvl 99s but i want them to have to work for it after lvl 55
     
    #6
  7. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,055
    Location:
    Toronto
    First Language:
    English
    If you want the exp curve to go really steep after a certain point, you can say something like



    Code:
    level < 56 ? level * 1000 : level * 10000
    
    This script relies on the user's mathematical background. If calculus is childsplay, then it should be easy to make nice curves.
     
    Last edited by a moderator: Aug 9, 2012
    #7
  8. Kalix

    Kalix Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    English
    Your download link is either broken or not working. Is it possible for you to upload it somewhere like Mediafire? I REALLY want to try out your script.
     
    #8
  9. noajb

    noajb Villager Member

    Messages:
    18
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMVXA
    Link is dead. Does anyone still have the script?
     
    #9
  10. tale

    tale Volunteer Veteran

    Messages:
    379
    Likes Received:
    580
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
  11. noajb

    noajb Villager Member

    Messages:
    18
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMVXA
    @tale
    Oh, that works. Thanks!
     
    #11

Share This Page