Bookmark RPG RPG Revolution! RPG RPG Revolution RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker 2003 > How to make a Skill-Associated Item: For Newbies

How to make a Skill-Associated Item: For Newbies


This is a very old tutorial I made last year using RPG Maker 2000. It shouldn't be hard to figure out what event commands in 2k3 you should use so I'm leaving it as it is. Enjyo!

~~~HOW TO MAKE A SKILL BECOME ASSOCIATED WITH AN ITEM~~~

Heya folks. Ok, before we get cracking, I have to confess; this is my first ever tutorial! Ok with that? Let's do this!

Rightos, this is a pretty simple newbie tutorial on how to have a certain skill by equipping an item. In other words associating a skill with equipment. This tutorial. for use in RM2k/3. For this tutorial, I'm using RM2k. I'm going to assume you're using RM2k too. You will need to make:

1. The item you want to associate with a skill.
2. The skill itself.
3. A common event for each character for who that certain item is equippable.

First, go to the database menu.
Select the hero tab (it should be automatically selected) and make a new hero called "Testhero" or whatever you want to call the hero.

Then, go to the items tab. Make a new equip item. Weapon, Armor, Shield, Helmet, Accessory, Whatever. For this tutorial, let's just make a weapon called "Harbinger".
Set the weapon specs to whatever you want; it won't mess up the skill associating.
IMPORTANT: Make sure that the checkbox for "Testhero" is checked, so that the hero "Testhero" can equip the weapon "Harbinger"!!!

Next, go to the skills tab.
This is the fun part, making your skill. Select the name of the skill. For the purpose of this tutorial, let's call it "Double Slash". Set the specs of the skill;
again, it won't mess up the skill associating.

Great, the coding's next. Since this is the part which most newbies will find difficult, I'll show the steps in points.

STEPS:

Step 1: Go to the Common Events Tab.

Step 2: Make a new common event. Name it anything you want, but for the purpose of this tutorial let's name it "Testhero Equip Skill".
NOTE ON NAMING: It's best for the name of the common event to match with the hero's name.

Step 3: Set the event start condition to "parallel process".


Only do steps 4-5 if you know what you're doing and have some more RM2k/3 Experience.

Step 4 (Optional): Check the "Appearance Conditions Switch" Box. CLick on the three dots (...) box.

Step 5 (Optional, with Step 4): Make a switch. Name it whatever you want. For this tutorial, name it "TestheroEquipSkill". Click Ok.

Now, you ask me, what's the purpose of these optional steps?
Let me tell you.
Having too many parallel processes run at a time can make your game lag. So, you only want to make this parallel process event run ONLY WHEN YOU NEED IT.
Now, as you know, or should know, anyway, every game has an intro. So I want to make the event "Testhero Equip Skill" start running AFTER THE INTRO.

So after the intro, stick this piece of code into your event which was processing the intro (By this I mean running the introduction, showing the messages and everything):

<>Change Switch: [####: TestheroEquipSkill]-ON set
(#### is number of the switch)

In words,
Set the Switch "TestheroEquipSkill" ON.
Click OK.
So, when you have something like a cut scene, turn the switch "TestheroEquipSkill" OFF. It's that simple.

Now, after that hectic bit, let's go to the normal steps.


Step 6: In the Events command, make the hero "Testhero" "Forget" the skill "Double Slash". It should turn out something like this:

<>Change Skill: Testhero- Double Slash->Forget

In words: Go to "change skill", under target, select "Fix", choose "Testhero" from the drop down box. In "Set", choose "Forget", and in "Change Skill", choose "Double Slash".

Done with that? Good. Now for the hardest part. Hard for newbies, anyway....

Step 7: Add a Fork Option in the "Event Commands":
Go to "Fork Conditions" (Or "Conditional Branch" if you're using 2k3).
Click on tab 2.
Select Hero. From the drop down box, select "Testhero".
Click the (..) box next to the name, "Testhero".
Check "item". From the drop down box, select "Harbinger". That was the name of the weapon you made in case you forgot.
Uncheck the "Add ELSE Case" Option
Click OK.
Your code should turn out like this:

<>FORK Optn: Testhero- Harbinger Equipped
<>
:END Case
<>

Step 8: Inside the Fork Option, add this:
Go to "Change Skill".
Select "Fix", then select "Testhero" from the drop-down box.
Under "Set", make sure "Memorize" is checked.
Under "Change Tech Skill", select "Double Slash".
Click OK.

Your code should turn out lik this:

<>FORK Optn: Testhero- Harbinger Equipped
<>Change Skill: Testhero- Double Slash->Memory
:END Case
<>

Your overall code in the event "Testhero Equip Skill" should be:

<>Change Skill: Testhero- Double Slash->Forget
<>FORK Optn: Testhero- Harbinger Equipped
<>Change Skill: Testhero- Double Slash->Memory
:END Case
<>

Done. But wait. There's an alternative way to doing this.

Instead of adding-

<>Change Skill: Testhero- Double Slash->Forget

-in the Event ABOVE the Fork Option
You can make your Fork Condition has an "ELSE" Case
So it turns out like this:


<>FORK Optn: Testhero- Harbinger Equipped
<>Change Skill: Testhero- Double Slash->Memory
:ELSE Case
<>
:END Case
<>

Then cut and paste the "Change Skill: Testhero" forget the Skill Double Slash command into the ELSE Case.
It should turn out like this:

<>FORK Optn: Testhero- Harbinger Equipped
<>Change Skill: Testhero- Double Slash->Memory
:ELSE Case
<>Change Skill: Testhero- Double Slash->Forget
:END Case
<>

I prefer the first method because to me, it's much easier.
So now you're done with associated a skill to an item. Use this method for as many heroes as you want
But you're going to have to use:
1. Different Common Events for each hero
2. If you did steps 4-5, a different initiation switch for each Hero.
3. Also you're going to have to make each hero "Forget" and "Memorize" the skill separately.

And that's all there is to it. I hope you liked this unneccessarily in-depth tutorial. =)

Cheers!

Details
Tutorial: How to make a Skill-Associated Item: For Newbies
Date Listed: Wed, 11 Jun 2008 03:34:03 -0700
Author: Vale
Total Hits: 490


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal