Gw Temp

Menu

Tutorial - 'Battle Arena!' by NamelessWeapon

An item about RPGMaker 2000 posted on

Blurb

A Battle Arena tutorial, still being developed. Send comments to the author so he may improve it!

Body

Battle Arena FAQ
NamelessWeapon
ryanm1058123@yahoo.com

Please send any request, suggestions, and complaints to the above email address! Thanks!

One of the most wanted features of any RPG is some kind of battle arena. Like in Final Fantasy 7, you could get GP from winning battle arena matches(and games) to get your final limit break, Omnislash.

I will show you how to do a simple battle system FAQ.

----------------------------
Starting up the battle Arena
----------------------------
To start off, you'll want to make a map. You'll want an NPC, the keeper so to speak, to ask you if you want to participate in the battle arena. Also, you'll want to make 2 variables, CurrentGP(or whatever you'd like to call your 'points', I'm just using FF7 as an example), and CurrentBattle.

Here is the code.

Event Name: NPC
Event Level: Same as Hero
Event Condition: Push Key

Message: Keeper: Would you like to fight in the battle arena?
Show Choice:

[Yes]Case -Optional(Show walking graphic into battle arena)

Fork Variable CurrentBattle = 1
Start Combat: 1stMonster
Victory:Variable Change:CurrentBattle + 1
Change Variable CurrentGP +1
Fork Variable CurrentBattle = 2
Start Combat: 2ndMonster
Victory:Variable Change:CurrentBattle + 1
Change Variable CurrentGP +1
Fork Variable CurrentBattle = 3
Start Combat: 3rdMonster
Victory:Variable Change:CurrentBattle + 1
Change Variable CurrentGP +1
Fork Variable CurrentBattle = 4
Start Combat: 2ndMonster
Victory:Variable Change:CurrentBattle + 1
Change Variable CurrentGP +1
(And so on..)
// Note: I'll do a little explaining here. What this does is each time you press yes when the keeper asks you if you want to fight, it will check the variable CurrentBattle. If the variable is 1, you will fight the first monster. If the variable is 2, you will fight the 2nd monster. After each battle, if you win, the CurrentBattle will increase. You can keep on doing this until you get as many monsters as you want.
//
[Defeat]Case
Teleport to map with NPC
Message: Keeper: I guess you lost!

[No]Case
(do nothing here)
Show Current GP-/v[#numberofCurrentGPvariable]

Alright, theres a lot going on here, but it shouldnt be too complicated to go.

For those newbies, I'll show you how to do it step by step.

1. Click the <> in the event command box in your Battle Arena event.
2, Click Show Message.
3. Type whatever you would like the keeper to say, for my example," Would you like to fight in the battle arena?". Click ok once your done.
4. On the event commands menu, click Show Choice. For choice 1, yes. for choice 2,no,and for choice 3, Current GP. Put the cancel case as Choose 2. Click ok.
5. (Optional)Right under yes, press the <>, and then press Move Event. It is on the second page. Show your hero walking into the battle arena, or something like that.
6. Right under what you just did, click the <>. And then go to Fork Conditions. Choose your variable CurrentBattle. In the set input, put 1. Do not add an else case.
7. Right under the Fork Condition, click the <>. Click Start Combat,it's on the second page. Under Fix, put the enemy you would like to fight. And make the defeat case 'Add Case'.
8. Now under the newly added Victory case, click <>.Click Change Variable. Choose your variable CurrentBattle. Under Set, click +. And then under operand, set it to 1.
9. Right under what you just did, do the same thing with the Change Variable, just change the variable to CurrentGP.
10. Under the defeat case, click <>. Click Teleport, it is on the second screen. Teleport to your battle arena map(the one where you start). Also, if you want, you could add a Show Message from the Keeper saying,'You lost!' or something like that.
11. Under the Current GP Case, press the <>. Press Show Message. Type in this,'Your current GP is \v[CurrentGP].

Note: This might next explaining. The \v function shows the output of your variable. So, what you'll want to do for the \v, is, inside the [] put the number of the variable CurrentGP. So if CurrentGP's variable was 0001, it would be \v[0001].

12. When you want to end fighting, and start over from Monster1, just type this somewhere.

Change Variable CurrentBattle=1


-----------------
Using GP
-----------------

Now, I know the people who are playing your game arent gonna fight for nothing. You need to set rewards! I will show you how you use your GP to buy cool items.

Note: You can not use the shop system for this, the shop system only supports Gold, the standard money system. We will have to create our own Shop System.

Messg: GP Person:Would you like to use your GP to buy cool items?
Show Choice: Ether/Potion/Pheonix Down/Cancel
[Ether]Case
Fork Option CurrentGP = 40
Add Item: Ether 1 Incr
Variable Change CurrentGp - 40
ELSE
Messg: You do not have enough GP - sorry!
[Potion]Case
Fork Option CurrentGP = 40
Add Item: Potion 1 Incr
Variable Change CurrentGp - 40
ELSE
Messg: You do not have enough GP - sorry!
[Pheonix Down]Case
Fork Option CurrentGP = 40
Add Item: Pheonix Down 1 Incr
Variable Change CurrentGp - 40
ELSE
Messg: You do not have enough GP - sorry!
[Cancel]Case
(nothing here)

I won't explain step by step here, as I did it above for the previous part. You should be getting the hang of this battle arena stuff!

What is done here is, there is a GP Person asking if you would like to use your GP, if You choose one of the items, it will check if you have 40 GP, if you dont, it will give you a message box saying you dont have enough GP, and if you do have enough GP, it will add the item to your inventory, and remove 40(you can change this to whatever you want) from CurrentGP.

Well, this is all for the battle arena tutorial. I hope you get on your way with making a succesful battle arena!

If you do use this in your game, I please ask that you give me a tiny bit of credit, whether it be in your games credits, or on your website, just please give me credit.

Please email any problems, suggestions, and complaints to ryanm1058123@yahoo.com

Happy Coding!