The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: markchapman on July 21, 2009, 05:34:56 PM

Title: variables keepiong experience?
Post by: markchapman on July 21, 2009, 05:34:56 PM
ok could someone explain to me really slow how to set this up. i want variables to keep XP for like fishing or mineing or some other skill. i know how to set up a regular fishing trip buit not one that you can gain fishing xp every fish you catch....
Title: Re: variables keepiong experience?
Post by: Sirius on July 23, 2009, 07:17:09 AM
Ok, I'll go into more detail later, but here's the basics:

I'm assuming you have some sort of event that says "You caught a fish! Gained 4 Exp (or however much experience you want it to be worth)!" located right off of a dock/boat/other fishing vessel. After that message, go into variable operations, make a new variable called "Fishing Experience" or something of the sort, and add 4 (or however much experience you want it to be worth). If you want a custom menu that includes experience, then well that takes more work than I care to explain right now. Say the person in charge of the fishing trip magically knows how much experience you have, so when you talk to him, his message should be "Very good. You currently have /v[XXXX] fishing experience." (The x's are the number of your variable in the database).

And that's the bare-bones basics behind (heh, alliteration) variable experience. Again, I'll elaborate tomorrow when I'm more awake. I know you can't do much with a simple number; that's just useless  :D
Title: Re: variables keepiong experience?
Post by: markchapman on July 24, 2009, 12:33:39 AM
 thanks,
Title: Re: variables keepiong experience?
Post by: Sirius on July 24, 2009, 05:59:42 AM
Alright, time for part two. I hope- You know what? I'll just make a topic for this; it'll be more organized. Hold tight.