Help - Search - Members - Calendar
Full Version: [Help]Record Book
RPG RPG Revolution Forums > Scripting > Event Emporium
Awakened Owl
I am making a game were you are a wizard and their is a library that you can go into to learn different skills(skills vary by level and quests that have been completed). In the main office I would like their to be someone that can tell you how advanced you are in certain subjects and just give the basic information about your character. Does anyone have any ideas on how to make this possible?
Knot
Well, exactly how does one become more advanced in subjects and what exactly do you want to show about the character?
Alot of things are available in the variables, you can set anything from the character's level to the ammount of steps taken. Then, it's a simple matter of using \v[] to display the variable in the text.
If you're looking for something more, you'll have to be more specific =P
RzrBladeMontage
There is a demo at the bottom of my post. Okay this is pretty simple to do as long as you have a decent skill level with eventing. You need variables, switches, and some common events. For this example we'll be using the Fire, Ice and Heal spells. They each get 3 common events (Normal, Greater, and Mass)

Step One:

Create 3 common events for each spell. Name them as such:

Skill Level: Fire
Skill Level: Greater Fire
Skill Level: Mass Fire
Skill Level: Ice
Skill Level: Greater Ice
Skill Level: Mass Ice
Skill Level: Heal
Skill Level: Greater Heal
Skill Level: Mass Heal

Now create 3 variables. Name them:

Skill: Fire
Skill: Ice
Skill: Heal

In all the normal spell common events (Fire, Ice, Heal) have the variable add by 1 for the spell used. Example:

Control Variables: [0001: Skill: Fire] +=1

Use that for the fire spell, then change it for the Ice and Heal spell. For the Greater of all the spells, have it increase by 2, and for the Mass of all spells, have it increase by 3. The higher the skill, the more EXP the player recieves. Now go to the Skills tab and under the Fire/Greater Fire/Mass Fire (and the other skills as well) click the drop down box under "Common Event:" and choose the correct one of the spell you're attaching it to.

Step Two:

Create an event that allows you to learn the new spells. Use conditional branches to check the players EXP (through Variables) to see if they have the correct amount of EXP to learn the skill. In this example, in order to learn the Greater Spells, the player needs to earn 25 EXP, and to learn the Mass Spells, the player needs to earn 50 EXP. I'll post a screen shot below so you understand what I mean.

Spell Learning







Step Three: (OPTIONAL)

Create an item, such as a "Crystal Ball" (The item I used). Let it only be able to be used from the Menu, and make sure it's non consumable. Now go and create a Common Event, call it Skill: Check. In that event, have the player choose what skill they want to get information on, and when they pick that skill, have it tell them how much EXP they currently have in that skill. Now go back to your Item and link the common event to it Here's a screen shot for you.

Crystal Ball


There you go, it's pretty simple. There might be a more simple way to do it, but I did this in about an hour an a half. Here's a demo as well for you.
Demo


EDIT: Do you mind if I post this as a submission for other people to use?
Awakened Owl
QUOTE (Knot @ Jul 15 2010, 10:17 PM) *
Well, exactly how does one become more advanced in subjects and what exactly do you want to show about the character?
Alot of things are available in the variables, you can set anything from the character's level to the ammount of steps taken. Then, it's a simple matter of using \v[] to display the variable in the text.
If you're looking for something more, you'll have to be more specific =P


Thanks Knot, I just knew of the \n[] to display a name, I didn't know you could do that with variables. With the information you just gave me and some other info I got from other people, I think I can do it now, thanks a ton. =D
PS: If you are more interested in what I am talking about just message me, I would be happy to explain, just not now, working on this record book.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.