Charas-Project

Game Creation => Requests => Tutorials => Topic started by: karlc on March 05, 2008, 01:32:31 AM

Title: How to make a custom HP and EXp
Post by: karlc on March 05, 2008, 01:32:31 AM
if im tryin to create a cbs, how do i do a custom hp&damage system and a custom EXP system? With algorithms? HOW?
Anybody know how to?
Title:
Post by: WarxePB on March 05, 2008, 04:28:25 AM
If you have to be asking those questions, you're probably not ready to make a CBS yet.

Your best bet is to look through the help file. It gives you some algorithms that the engine uses, and just experiment with those until you get the hang of using them.
Title:
Post by: karlc on March 06, 2008, 04:28:26 AM
hey idc, i wanna try, someone give me a tut please!
Title:
Post by: Ben on March 06, 2008, 04:37:15 AM
yeah...its not a matter of reading one tut...more like.... read them all, know how to implement them in different scenarios and proceed to do it yourself.

What youve asked isnt going to be answered with one tutorial.
Title:
Post by: SaiKar on March 06, 2008, 06:18:15 AM
The ironic and frusterating part about tutorials is, generally speaking, by the time you've learned enough to understand the tutorial, you don't need to read the tutorial to know what to do any longer.
Title:
Post by: Prpl_Mage on March 06, 2008, 06:46:54 AM
Quote
Originally posted by SaiKar
The ironic and frusterating part about tutorials is, generally speaking, by the time you've learned enough to understand the tutorial, you don't need to read the tutorial to know what to do any longer.


I agree with Sai Kar to the full.

Tutorials are more or less headstarts, but that's for people who know what to do, just not in what order you should put it ect.

But yeah, there might be a tut out there somewhere, but chances  are that you won't understand it; it's almost better to try on your own.
Title:
Post by: Ben on March 06, 2008, 07:33:13 AM
Quote
Originally posted by SaiKar
The ironic and frusterating part about tutorials is, generally speaking, by the time you've learned enough to understand the tutorial, you don't need to read the tutorial to know what to do any longer.


so true it blew my mind
Title:
Post by: DragonBlaze on March 06, 2008, 05:12:49 PM
Experiance would be hard coded into your monsters. Monsters will require variables for all their stats (hp, mp, attack, defence, experiance, ect). All you need to do is when you kill the monster, use the "chang experiance" command on the first page of the event commands box. Select whole party, and then go down and select "Amout stored int" and select the variable that you stored the monster experiance in.

For hp and damage. You make a variable for the hero's hp. Then you set that variable to the heros hp.

For a damage algorithm, a simple algorithm for finding damage would be:
multiply the hero's attack power by 2.
suptract that by the monster's defence.
This gives you the damage.
Subtract the damage from the hero's hp.
Title:
Post by: karlc on March 07, 2008, 02:19:29 AM
ok thanks guys. ill try to use the tutorial, DragonBlaze, but first i'm going to use the help file and get familiar with variables and algorithms and stuff.