Page 1 of 1

RPG Algorithms

Posted: Tue 19 Jun, 2007 1:07 pm
by ProphetsDementia
Okey-dokey, I need some formulas to help with Elementz.
Currently, I have NO formulas for the level up sequence.

*HP gain
*MP gain
*EXP limit gain

I MUST HAVE THESE! :x Any help will be credited in-game!

Thanks a bunch!

Posted: Tue 19 Jun, 2007 3:36 pm
by King Harold
How do you want them to be?

Posted: Tue 19 Jun, 2007 5:21 pm
by ProphetsDementia
A formula that specifies how many points to increase the maximum HP by and so on.

A learning curve of sorts. Slowly at first then quickly later on.

Posted: Tue 19 Jun, 2007 6:26 pm
by King Harold
So would maxhp *= 1.2 or something do?
Most RPG's also make leveling so that it will become increasingly harder at higher levels, something like:
(currentlevel + 10)*(currentlevel + 9) for a nice effect, the number would be the XP needed to reach the next level, 90 to reach lvl 1, then 110 extra to reach lvl 2 (200 total xp), etc..
Some RPG's use only that, others only decrease the XP earned, others do both, it makes sense that a higher level character does not earn as much xp from a low leveled enemy as does a newbie after all.

How does your MP/HP system work? Do you want it to regenerate? If so then you should probably only bind the amount of HP/MP to the level, and make the regeneration speed upgradeable with special items etc. ofcourse it makes sense to have upgrade items for the amount of HP/MP as well.

Up to you though, your game :)

Posted: Tue 19 Jun, 2007 8:38 pm
by kv83
A good way to start is to read the Dungeon Master GUide or the Players Handbook (or both) of Dungeon & Dragons :)

Posted: Thu 21 Jun, 2007 1:28 pm
by ProphetsDementia
I don't wanna pay money to read a book I won't use again. (NECROPOST)

Posted: Thu 21 Jun, 2007 1:33 pm
by Super Speler
But what if you were to use it again :P. It is a fun game (if not played for hours strait).

Posted: Thu 21 Jun, 2007 1:50 pm
by kv83
ProphetsDementia wrote:I don't wanna pay money to read a book I won't use again. (NECROPOST)
Reading it in the store doesn't mean buying it :O

Posted: Thu 21 Jun, 2007 3:21 pm
by driesguldolf
You might want to try out the way pokemon deals with the stats:
instead of continueing with the last stats, it has a fromula to calculate the stats, check it here:
http://www.gamefaqs.com/portable/gbadva ... 3596/22554

Posted: Thu 21 Jun, 2007 9:13 pm
by kalan_vod
ProphetsDementia wrote:I don't wanna pay money to read a book I won't use again. (NECROPOST)
You could find a download of it or a friend to borrow it from, and that is no where near a necro post :P..