PDA

View Full Version : [Tutorial] Simple Pokemon Custom Battle System for RM2k3


jtveclipse12
August 8th, 2006, 07:41 PM
After look through some of the forums I’ve noticed that a lot of people have question on a Pokemon Custom Battle System (PCBS). So I thought I would give it a try… and here’s a simple PCBS that I came up with.

First off this is not going to be exactly like the Pokemon games. It will just give you a ruff idea on how to make one… What’ll be missing, the menu, and basically every thing dealing with stats… but don’t worry this will be a good start if you’re not sure how to make one.

Things you need.
1.rm2k3
2.The cbstutorial.zip (Edit you really don't need this, bbg is a background image, and the other are self explanitory)
3. Time it's long tutorial

Let’s Get Started…
Create a small map 20 x 15 and name it “CBS” or something of the sort…

Create a small map 20 x 15 and name it whatever you want (I named my “Map”) and apply a Pokemon Chipset to it.

Change your hero to a Pokemon Charset.

Fill the area with grass… and make the outsides of the map trees….

Add your players starting position somewhere in the middle of the map.

Add a small patch of grass in front of you Hero… (So you don’t have to walk far when testing.)

Enter event mode (F7) and double click on the grass area to add an event…

Change the “Event Start Condition” to “On Hero Touch”… this changes it to when the hero touches the event it becomes active.

In the “Event Command” double click and add “Erase Screen” (Page 2)
Change the “Erase Screen Type” to “Mosaic”… this obviously erases the screen in a mosaic way...

In the “Event Command” double click and add “Teleport” (Page 2)
Teleport it somewhere on the map “CBS”… teleports your Hero to the “CBS” map

In the “Event Command” double click and add “Set Hero Transparency” (Page 2)
Check “Transparency” in the “Hero Transparency Settings”… this makes your Hero to where he/she is unable to be seen…
(Optional way to do this is to change the CharSet to a blank CharSet)

In the “Event Command” double click and add “Disable Status Menu” (Page 3)…
Make sure disable is checked…. This makes you unable to call the status menu.

In the “Event Command” double click and add “Show Screen” (Page 2)
Change the “Show Screen Type” to “Mosaic”… this obviously shows the screen in a mosaic way...

In the “Event Command” double click and add “Show Picture” (Page 2)
“Pic Number” = “1”… Select Picture “bbg” (Provided in the zip)
“Position” X=160 Y=120… “Transparency” = None

In the “Event Command” double click and add “Show Picture” (Page 2)
“Pic Number” = “2”… Select Picture “bbg02” (Provided in the zip)
“Position” X=160 Y=200… “Transparency” = None

In the “Event Command” double click and add “Show Picture” (Page 2)
“Pic Number” = “3”… Select Picture “025pikachu_front” (Provided in the zip)
“Position” X= 35 Y=35… “Transparency” = Stir (Not sure what stir is… but its opposite of none)

In the “Event Command” double click and add “Move Picture” (Page 2)
“Pic Number” = “3”…
“Position” X=285 Y=35…

Explanation… the first 2 events shows the backgrounds.
The third event shows the Spirit Pikachu on the left of the screen.
The last event moves Pikachu over to the right of the screen.
Side note… always make sure that you have different pictures set to different “Pic Number”

In the “Event Command” double click and add “Show Message” (Page 1)
Type “Wild Pikachu appeared!”

In the “Event Command” double click and add “Show Message” (Page 1)
Type “Go! Charmander!”

In the “Event Command” double click and add “Show Picture” (Page 2)
“Pic Number” = “4”… Select Picture “004charmander_back” (Provided in the zip)
“Position” X= 35 Y=142… “Transparency” = Stir

In the “Event Command” double click and add “Change Variable” (Page 1)
Click on the button with 3 small dots… add a variable called “Your Health”
Under “Variable Settings” check the radial button “Set”
Under “Operand” check the radial button “Set”… enter “25” for the value.

Explanation what this does is the variable “Your Health” represents the health of you Pokemon…
Setting it to 25 gives you Pokemon a health of you guessed it 25.

In the “Event Command” double click and add “Change Variable” (Page 1)
Click on the button with 3 small dots… add a variable called “Enemy Health”
Under “Variable Settings” check the radial button “Set”
Under “Operand” check the radial button “Random”… enter “15” to “20” for the value.

Explanation… does the same as the one above…
Except it’s for your enemy and it gives the a random health of 15 to 20

In the “Event Command” double click and add “Change Variable” (Page 1)
Click on the button with 3 small dots… add a variable called “Potions”
Under “Variable Settings” check the radial button “Set”
Under “Operand” check the radial button “Set”… enter “3” for the value.

Explanation… it gives you 3 potions…

In the “Event Command” double click and add “Change Switch” (Page 1)
Click on the button with 3 small dots… add a switch called “Your Turn”
Under “Switch Settings” check “ON”

Explanation this turn the switch “Your Turn” on… which activates the next event below…

Now go to the map “CBS”

Double click anywhere to add an event and name it “Your Turn”
Under “Event Condition” check “Switch” click the button next to it
and choose the “Your Turn” switch.
Under “Event Start Condition” selected “Parallel Process”

Explanation this tells the event only to do this event if the switch “Your Turn” has been turned on…
This was the last event we did on the “Map” map…

Now in the “Event Command” double click and add “Fork Condition” (Page 3)
Check the radial button “Variable” and choose the variable “Your Health”
Check the radial button “Set” and enter a value of “1”
Then on the drop down choose “Above”
Under “Options” make sure “Add Else Case” is checked

Explanation… This tells the event that if “Your Health” (The variable we set to 25)
is 1 and above to proceed to the first fork event... If “Your Health” is not 1 or above it
will go the “Else Case”

In the “Event Command” double click and add “Show Choice” (Page 1)
“Choice One” = Attack
“Choice Two” = Item

In the “Event Command” double click and add “Change Switch” (Page 1)
Make sure that you double click under “[Attack] Case”
Under “Choose Switch” check “One” click the button and add the switch “You Attack”
Under “Switch Settings” check “ON”

Explanation… This turn the switch “You Attack” on… which will be use here shortly.

In the “Event Command” double click and add “Change Switch” (Page 1)
Make sure that you double click under “[Item] Case”
Under “Choose Switch” check “One” click the button and add the switch “You Item”
Under “Switch Settings” check “ON”

Explanation… same as the one before but for the items (Which is your potions)…

Now go down to the “Else Case” and add “Change Switch” (Page 1)
Under “Choose Switch” check “One” click the button and add the switch “You Death”
Under “Switch Settings” check “ON”

Explanation…Will be used later on…

Now go out of the even “Your Turn” and Double click a new area to create a new Event
Name it “You Attack”
Under “Event Condition” check “Switch” click the button next to it
and choose the “Your Attack” switch.
Under “Event Start Condition” selected “Parallel Process”

Explanation this tells the event only to do this event if the switch “Your Attack” has been turned on…

In the “Event Command” double click and add “Change Switch” (Page 1)
Under “Choose Switch” selected “Your Turn”
Under “Switch Settings” check “OFF”

Explanation this tells the event to turn off the event “Your Turn”

In the “Event Command” double click and add “Show Choice” (Page 1)
“Choice 1” = Scratch
“Choice 2” = Growl (Note: this one really won’t do anything)

Under “[Scratch] Case” is where you would add your pictures to animate the attack… so
Double click and add “Show Picture” (Page 2)
“Pic Number” = “20” “Select Picture” = “animattack_scratch01”
“Position” X= 285 Y=35… “Transparency” = Stir

Explanation… by know you should be starting to get it!

In the “Event Command” still under “[Scratch] Case” double click and add “Wait” (Page 2)
“Timer” = “3”

Explanation… waits for .3 seconds

In the “Event Command” still under “[Scratch] Case” double click and add “Erase Picture”
“Pic Number” = “20”

Erases Picture 20

Still under “[Scratch] Case” Double click and add “Show Picture” (Page 2)
“Pic Number” = “21” “Select Picture” = “animattack_scratch02”
“Position” X= 285 Y=35… “Transparency” = Stir

In the “Event Command” still under “[Scratch] Case” double click and add “Wait” (Page 2)
“Timer” = “2”

In the “Event Command” still under “[Scratch] Case” double click and add “Erase Picture”
“Pic Number” = “21”

In the “Event Command” still under “[Scratch] Case” double click and add “Show Message”
“Charmander used Scratch”

In the “Event Command” still under “[Scratch] Case” double click and add “Change Variable”
Check “One” select “Enemy Health”
Under “Variable Settings” check “-”
Under “Operand” check “Random” set “5” to “8”

Explanation…. When you use the attack “Scratch” the “Enemy Health” will decrease
By a random number from 5 to 8.

In the “Event Command” still under “[Scratch] Case” double click and add “Change Switch”
Turn OFF the “You Attack” switch.

In the “Event Command” still under “[Scratch] Case” double click and add “Change Switch”
Turn ON the “Enemy Turn” switch.

Now under the “[Growl] Case” you can use the same method as “Scratch”

Since this tutorial is getting pretty long I’m gonna skip to the enemy Turn.

Add another event on the “CBS” map and call it “Enemy Turn”
Under “Event Condition” select the switch “Enemy Turn”
Under “Event Start Condition” selected “Parallel Process”

In the “Event Command” add a “Fork Condition”
Check “Variable” select “Enemy Health”
Check “Set” input “1”
Change to “Above”
Check “Add Else Case”

Explanation… this is just like the “Your Turn”

Add all you animations for pikachus thunder shock

In the “Event Command” add a “Show Message”
“Pikachu used Thunder Shock!”

In the “Event Command” add a “Change Variable”
Check “One” select “Your Health”
“Random” “2” to “5”

Explanation… Thunder Shock will do anywhere from 2 to 5 damage

In the “Event Command” add a “Change Switch”
Turn OFF “Enemy Turn”

In the “Event Command” add a “Change Switch”
Turn ON “Your Turn”

Explanation… This turn off the “Enemy Turn” and turns on “Your Turn”
allowing you to go

Now under “Else Case”
In the “Event Command” add a “Show Message”
“Wild Pikachu Fainted”

In the “Event Command” add a “Change Switch”
Turn OFF “Enemy Turn”
Turn ON “Enemy Death”

Go back to the “CBS” Map double click to add another event
Name “Enemy Death”
“Event Condition” set to “Enemy Death”
“Event Start Condition” set to “Parallel Process”

In the “Event Command” add events “Change Switch” to turn off
The following switches… “Your Turn” “You Attack” “You Item” “Enemy Turn”

In the “Event Command” add a “Show Message”
Something like you won… yadayadayada…

In the “Event Command” add a “Teleport”
Back to the “Map” map… the one you start at…

In the “Event Command” add a “Change Switch”
Add switch “After Battle” “ON”

Go back to the “Map” map… and open the event you first created
Create a new page… under “Event Conditions” select switch “After Battle”

Insert the event to set your Hero’s transparency back to normal….

For the “You Item” you basically use the small method as “You Attack”
For the “You Death” basically use the same as “Enemy Death”


Now hopefully I’ve wrote this tutorial down right…
but if you can’t get something to work just send me a PM

Please give me a little break… I know this probably isn’t the best way to do it… but I’m a newbie… and this it the first time I’ve ever used rm2k3…

One problem though is... after you win the first time and go back to the map and try to fight again... it doesnt really work right... if someone knows how to fix this please tell me!

Side note… if this doesn’t work just try things out for yourself… it’s a far better way to learn… For example it was 10 times easier for me to make this CBS by experimenting… then it was for me to make a CMS (Custom Menu Screen) following a tutorial.

Space Guard
August 10th, 2006, 06:36 AM
This CBS works! There is a glitch when you finish the battle 9You can't battle again) But I bet some RM2K3 Scripter can easily sort that out!
Well done!
SG06

jtveclipse12
August 10th, 2006, 11:28 AM
Yeah if you look at the second to last thing I said... I tell you that there's a problem.
Hopefully some can help fix that problem... I don't think this was to bad for my first CBS... I mean this is the first time I've used the program....

Here is some screenshots of what it'll come out as....

Edit:
Ok I found out how to fix the problem.
On the Event "Enemy Death"
Where I said to
(In the “Event Command” add events “Change Switch” to turn off
The following switches… “Your Turn” “You Attack” “You Item” “Enemy Turn”)
Don't do that one...

Add this before the "Teleport" event
In the “Event Command” add a "Erase Picture"
Erase Pictures "1", "2", "3", and "4"

Add this after the "Change Switch" "Afterbattle"
In the “Event Command” add a "Change Switch"
Select switch "Enemy Death" turn OFF

Space Guard
August 10th, 2006, 10:16 PM
The core CBS Is absolutely Fantastic! I would rate this 10/10 as it works really well and looks authentic. You should really change the background though (To make it look more like a Pokemon Battle)
Well done with finding the problem!
SG06

(PS at the begininng i would add a Change message options: Transparent, botom command so that the text shows through onto the Pokemon style Text Box)

jtveclipse12
August 11th, 2006, 02:14 PM
Yeah you can do that... But if you use the rm2k3 system font... it's a white blue color so it is hard to read... You would need a Pokemon color font for it to work.

Frost-Bite
August 16th, 2006, 05:27 PM
Could you do the same sort of thing for rmxp?

jtveclipse12
August 17th, 2006, 08:39 PM
Could you do the same sort of thing for rmxp?

Uhhh.. I don't have RMXP but I imagine you probably could... But I think it would be better to take advantage of the scripting feature...

hypersonicX
August 19th, 2006, 04:31 AM
Nope it don't do it in RMXP i try it but theres no Erase Screen at there -.-

~Azura
August 19th, 2006, 12:05 PM
Uhhh.. I don't have RMXP but I imagine you probably could... But I think it would be better to take advantage of the scripting feature...

He's right, why spend your time with events, when you can script?

=)

educruz
August 19th, 2006, 01:44 PM
Azura , você é brasileiro ??? Você sabe se tem alguém que sabe fazer um Script de PokeDEX ? ( Azura, you are brazilian? You know if somebody knows how make a PokeDEX Script? )

~Azura
August 19th, 2006, 06:37 PM
This is not the place to discuss that.

And yes, I'm from Brazil.

And yes, I have a Pokedex Script.

som1unkn0wn
August 20th, 2006, 12:56 AM
You can make a Pokemon CBS in RMXP with scripting. that is one of my current projects and ill post it in my starter kit when it is done.

Space Guard
August 20th, 2006, 01:27 AM
This tutorial is very useful and can be modified to become a trainer battle with switching PKMN. It is very easy to use. Well done again!

Auron
August 21st, 2006, 03:22 AM
Hey...It's a nice tutorial...Well...Actually I don't use RPG Maker 2003...But someday, I'll be back and I'll try it ^_^

Thanks for the tutorial ;)

educruz
August 21st, 2006, 08:08 AM
Ok ! Really this is not a very good place , but , i have an other question , this PokeDéx script was made by de KGC Module or momo ? Because i already tried these , and i didn't obtained to make to function ! Do you can teach me how make these PokeDéx script or pass them for me ? Thank you for the attention ! XD

~Azura
August 21st, 2006, 01:47 PM
Again this is not the place. Pm me.

Sorry for offtopic posts.

vivilakers
September 1st, 2006, 01:24 AM
I like to try it but i'm kinda using RPG Maker XP for my game right now....any script for RPG Maker XP in a CBS??

Datriot
September 1st, 2006, 02:11 AM
Not bad, this is quite good for people who have Rm2k3 and cannot make their own battle system. Good job!

jtveclipse12
September 17th, 2006, 03:55 PM
Okay not to be rude but people stay on topic... theres a forum for asking questions and requesting things....

Anyway it seems that everyones seeming to like the tutorial... so I was thinking about making a updated tutorial on the cbs... which will added the Pokemon style menus... so if you think i should just reply...

x24
September 22nd, 2006, 07:07 AM
I would like that.. also could u reupload what uve done?

Bradston
September 22nd, 2006, 12:59 PM
I can't download the cbstutorial.zip.
When I click on it, it takes me to a blank page.
Help would be awesome!

MisterTdK
September 23rd, 2006, 03:27 AM
I cant download it to.

Maybe the someone can explain whats wrong??

Maybe you can upload it at an other site?

jtveclipse12
September 23rd, 2006, 12:47 PM
Yeah, I'm not sure whats wrong... and I don't know if I have the zip file anywhere. But I'll look for it... but if you just wait I'll make a new tutorial...

Bradston
September 23rd, 2006, 12:56 PM
can someone give me the link to a place where i can get the .php format thing?

martin052095
September 23rd, 2006, 02:21 PM
hello im new. How do you make a hack? Everyone is making the hacks so easily i don't know where to start!!!!!!

jtveclipse12
September 23rd, 2006, 04:16 PM
Well for a good start... you might wanna check the Rom and Hack threads...

PokeCreator_09
September 23rd, 2006, 07:26 PM
hello im new. How do you make a hack? Everyone is making the hacks so easily i don't know where to start!!!!!!

This is the game Development section, for making games from scratch, with programs like RM2K3 or Gamemaker.

I love that you put out a simple, yet working CBS tutorial out for all of the beginners out there. I was going to sometime, but I'm glad you already took the time to do it.

swarage
January 27th, 2011, 05:22 PM
d00d, too much text
dont bore people
no offense
but yeah
pics plz
XD
srry if i wuz mean

Cilerba
January 28th, 2011, 11:58 AM
This thread is a little over 4 years old. The rules for bumping threads is two-months. Read the rules next time.

-locked-