|
|
In this tutorial you will learn...
How to install a script system (using one of mine as an example)
Hello, and welcome to the first of my Script System tutorials for RPG Maker XP! In these tutorials I will be teaching you how to install
script systems, and, if applicable, how to modify them to your taste. In this tutorial, I will be teaching you how to install any script
system, using my party-switching script as an example; it has everything for good examples: replacing and adding-in scripts. If you would like
tutorials on specific script systems, head to the Sitemap and navigate to the Script System tutorials, and
select the second tutorial or ones after.
Just before I begin, I would like to say that as of yet, I am not a scripter
and so this script is extremely simple when it comes to fancy animations and the like! No doubt I will elaborate it
in time, but for now, it's a bit rough and ready.
So, without further ado, let's begin! Firstly, you will need to download this script pack, which contains all the modified and new
scripts which you will need for this tutorial.
Okay, once you've got those, you need to start up RPG Maker XP and open your project that you would like this installed into. When you have
your project file opened in front of you, open the script editor by clicking on the icon or pressing F11 on your keyboard. You'll be presented
with this...
This is the notorious Script Editor, which may look a little daunting if you've never come across it before - but don't let it scare you too much!
This is where all the internal workings
of your game happen - everything from displaying the player and drawing the maps to making the menu and organising battles. You need to be very
careful with anything that you change in here - but as long as you follow this tutorial and don't change anything that you don't mean to,
then nothing should go wrong.
So, let's install the system! The scripts that
we need to replace here are:
Game_Party
Window_MenuStatus
Window_Target
Window_SaveFile
Scene_Battle 1
Scene_Battle 3
And we also need to add two new scripts:
Window_Switch
Window_Question
So, find, in the script list, Game_Party and highlight everything in that script, and press Delete. Don't worry; I know what I'm doing! Now, in
the script pack that you have downloaded, find the .txt file entitled Game_Party, and open it. It should look like this...
(It may be displayed in a different font, depending on your preferences within Notepad.) Now, highlight all of this, right-click and select
copy. When you've done that, head back to your project file, and, in the Game_Party script that we have just cleared, paste in what we have just copied, using
right-click and paste. The top of your Game_Party script should now look like this:
Okay so far? Now we need to do this with the other scripts that need replacing: just find them within your script editor, delete everything in
there, and replace from the script that you downloaded. Make sure that the names match up!
Doing alright? When you've finished, you should have also replaced Window_MenuStatus,
Window_Target, Window_SaveFile, Scene_Battle 1 and Scene_Battle 3. Once you've done that, we can add the new scripts in.
At the bottom of your script list, you will find the script Main which you may have seen before, depending on whether you've taken a look at my
Script Fix tutorials or not. Right click on this, and you will see a menu like this...
As shown in the picture, click Insert and you will get a new, blank script above Main. The first script that we need to create is called Window_Switch,
so type that into the box, like so...
Now find the script called Window_Switch in the script pack that you downloaded, open it, and copy its entire contents into your new Window_Switch
script, so that it looks like this:
Got it? Now we need to do exactly the same - but this time, our new script will be called Window_Question. Once we've done that, we paste in
the contents that are in the Window_Question.txt file in the script pack. Now we should be left with two new scripts, called Window_Switch
and Window_Question. And now we've finished! To test the script, make a new map with a placeholder event set to action button, and in the
commands section, add actors so that you have a total of seven, and then add a battle processing command. This is found on the third page of event
commands, right at the top. Your event should look like this...
And so that you can see how it works, I've included some screenshots for you below (click the numbers below to show the different pictures)...
1
2
3
4
5
And that concludes my tutorial on how to install my party-changing system! If you want to know how to modify the script so that you can have more
than seven people in your party, check out the next tutorial.
:: Home ::
:: Next Tutorial >> ::
|
|