Submit Your Article Guild Wars 2 Forum RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker VX > 0.How to put a cheat system into your game.0

0.How to put a cheat system into your game.0


Hi there, I know I'm hardly active on the forums, but this is my first tutorial, so hopefully you like it.

This tutorial basically lets you have a cheat system. This means players can input codes which do anything you want them to do.

Okay then, let's get started.

First of all, create an item (This can be done without an item as I'll explain later). Make it so the player knows that it's for codes. For example, I done:

Name- Reality Warper
Icon- A keyboard.
Description- This strange object lets you input codes to warp time and space (CHEATS!!!)

Next, go to the Common Events tab. Create a new common event called Cheats (or whatever you want). Now, create a text event command saying something like: -INPUT CODE-.
Then create a Input number command. Create a new variable
and call it whatever you want, then choose it. Then choose how many digits you want all your cheat codes to be. I chose 8, but it can be any number between 1 and 8. Once you've done that, click OK. Next make a Conditional Branch command. Choose Variable, then change it to the one you made earlier. Next, choose Equal to from the drop down menu. Then choose Constant. Here, put in the number you want one of your cheat codes to be. For example, I done 47658901. Remember to make it as long as the number of digits you chose in the Input number command. Now click OK. In the conditional branch you just created, you create a cheat. For example, I done a Complete Healing code which went like this:

@>Text: -COMPLETE HEALING ACTIVATED-
@>Recover All: Entire Party

This will display a message saying:
-COMPLETE HEALING ACTIVATED-, then it will heal the entire party. You can also easily put an animation or SE
in with it.

Now (with the way I have created it) when the player uses
the Reality Warper, s/he will be prompted to put in a code. If 47658901 is entered, the entire party will be healed. If not.... Well we'll come to that pretty soon.

Now obviously you'll most likely want more than one cheat in your game (If you want any at all that is, but then you wouldn't be reading this tut if you didn't).

To do this, go to Else. Then go back to where you created the Input Number event. Do the EXACT same here. Now do the conditional branch event. Do the exact same, apart from where you put in the number that you wanted your code to be. Here, put in a new code, but again it MUST be the same amount of digits as the last. And again once you click OK, make the cheat under Conditional Branch. This time, I done:

@> Play SE: 'Shop', 80, 100
@> Text: -1,000,000G ACTIVATED-
@> Change Gold: +1000000

You should know what it does. If you want ANOTHER cheat, then do exactly what we done there, starting from when we go to else.

After you've done all your codes, go to Else once more and create an event notifying the player that he got the code wrong. I done:

@> Play SE: 'Buzzer1', 80, 100
@> Text: -INCORRECT CODE-

Now finally, go back to the Items tab and go to your item you created. Click on the drop down menu under Common Event: and choose the Common Event you created. Viola! You've created an item which lets you input codes!

Like I said, you can do this in an event. If you haven't created the Common Event we've been doing, then you can create it in the event. If you have created in however (or if you want to do it in the common events anyway) then in the event you want to start the cheat engine in, choose Call Common Event and select the event you created.

So how was it? Could you PLEASE leave feedback and suggestions? Okay then, thanks a lot for reading this. 
Details
Tutorial: 0.How to put a cheat system into your game.0
Date Listed: Tue, 05 Aug 2008 04:41:05 -0700
Author: Lou
Total Hits: 10621


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