RPG Algorithms

Got questions? Got answers? Go here for both.

Moderator: MaxCoderz Staff

Post Reply
User avatar
ProphetsDementia
Regular Member
Posts: 81
Joined: Wed 06 Dec, 2006 2:20 am
Location: Tokyo, Kanto, Japan

RPG Algorithms

Post 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!
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

How do you want them to be?
User avatar
ProphetsDementia
Regular Member
Posts: 81
Joined: Wed 06 Dec, 2006 2:20 am
Location: Tokyo, Kanto, Japan

Post 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.
"Choice. The problem is choice."
"Quite correct. Strange; that was quicker than the others."
"Others?"

"In your case, this is the sixth version of the Matrix."
"Sixth version? Then, either no one told me or no one knew."
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post 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 :)
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

A good way to start is to read the Dungeon Master GUide or the Players Handbook (or both) of Dungeon & Dragons :)
Image
User avatar
ProphetsDementia
Regular Member
Posts: 81
Joined: Wed 06 Dec, 2006 2:20 am
Location: Tokyo, Kanto, Japan

Post by ProphetsDementia »

I don't wanna pay money to read a book I won't use again. (NECROPOST)
"Choice. The problem is choice."
"Quite correct. Strange; that was quicker than the others."
"Others?"

"In your case, this is the sixth version of the Matrix."
"Sixth version? Then, either no one told me or no one knew."
User avatar
Super Speler
Regular Member
Posts: 113
Joined: Fri 09 Feb, 2007 2:20 am
Location: Alpha Centuri

Post by Super Speler »

But what if you were to use it again :P. It is a fun game (if not played for hours strait).
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post 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
Image
User avatar
driesguldolf
Extreme Poster
Posts: 395
Joined: Thu 17 May, 2007 4:49 pm
Location: $4080
Contact:

Post 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
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post 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..
Post Reply