My playerworld Argos (which is on during weekends sometimes as i feel like it) will be based partly on an experience point-leveling up system to give the player some sense of accomplishment as they go through the game. Experience will gained by various actions. Leveling up will mean you get to enhance something your player has or can do.
I made this little calculator to balance out a gradually increasing gap between levels. experience points will be saved in a different place of course … this is just to set some base such as 100 exp = level 1, and see how much needed before level 2 etc. … as you see, here to get to level 151 you would need 1.9 billion experience points! and the gap between levels steadily increases … so, any mods to this calculator would be cool to see, or better forumlas that give an even spread over a very long period of time. Enjoy…
// NPC made by Prozac
if (created)
{
this.exp=100;
this.level=1;
this.count=1;
timeout=.05;
}
if (timeout)
{
this.currexp=this.exp;
// the math here in this.nextlevel is what controls the gap between levels
this.nextlevel=int((this.currexp*1.1)+(this.level*100)/this.level);
this.diff=this.nextlevel-this.exp;
showimg this.count,@arial@#v(this.exp) EXP :level #v(this.level) : next level at #v(this.nextlevel) EXP : gap of #v(this.diff),x,y+this.count;
this.exp=this.nextlevel;
this.level++;
if (this.count<10){this.count++;}else{this.count=1;}
timeout=1;
}