Quote: (@HeavyBlade) Razma | (@HeavyBlade) *Ramza | (&R...
blade2k » articles & tutorials

jump to:
Tutorials » Game Creation » RPG Maker 2000

Double Attack Accessory Tutorial


Reading Article
Author: The Fierce Diety
Posted on 08/05/2004
print :: back to list
Use this tutorial to make an accessory that allows the wearer to attack twice.

T

his tutorial will explain how to make an accessory that will allow the wearer to attack twice in battle, similar to the offering item in FFVI. I have done this using Rm2k3, so I'm not sure if it works correctly in Rm2k.

For this tutorial you will need one item, one common event for each character, one switch for each character, and one page of battle events for each character.

Make an item and set its type to accessory. Lets pretend you are calling it [offering]. Don't do anything else with it unless you want it to raise or lower attack.

Make a switch for each character in your game. Lets pretend you have a charcter named alex. Call the switch "Alex A2x ON." Lets pretend it is switch [0001]

Now for the common events. Again, make one for each character in your game. I'll use Alex as an example. Call the event "Alex 2x Attack" and set the trigger to parallel process. All you need is one conditional branch with a custom handler if the condition is not met. Make the condition [Alex] has the [offering] equipped. In the main section of the branch, use switch operations to turn the switch [alex A2x On] on. Under the else handler, turn the same switch off. The scripting should look like this.

Name Trigger
Alex 2x Attack Parallel Process


<>Branch: Alex Offering Equipped
<>Switch Operation: [0001:Alex A2x ON] ON
<>
: Else Handler
<>Switch Operation: [0001:Alex A2x ON] OFF
<>
: End
<>

Now go to monster groups and make a new page of battle events for each charcter in your game. Yet again, alex will be the example. Set the trigger to Switch [0001:Alex A2x ON] ON. The use the enable combo option and set the character to alex, the command to fight or attack (whatever you called it) and make the number of repetitions 2 (you can make it higher if you want). And thats it. The scripting should look like this:

Trigger Switch [0001: Alex A2x On]

<>Enable Combo: Alex Attack Repeats 2 Times
<>

Remember, whatever pages of battle events you make, must be copied into all monster groups.