Home > Tutorials > RPG Maker VX > RPG Maker VX - Cheat codes
RPG Maker VX - Cheat codes 
This tutorial will show you an easy way to create cheats using common events.
If there is something you do not understand please contact me, and I’ll be happy to explain a.s.a.p.
At one moment two titles will be followed by --Option 1--, --Option 2-- or/and --Option 3--, this means that there are two ways of doing is and you can choose which one you want to use.
The names, text and numbers I use you can change and use your own but I am using then so it will be simpler to explain.
-Step 1 - creating the Common Event-
Go to the 'Common Events' tab in 'Database' and create a new common event. Call it 'Cheats', then double click on a blank space and select 'Show text' and write '-Enter Cheat Code-'. Press Ok.
Now you need to 'Input Number...' Create a new Variable and call it ‘cheats’. Now under Digits enter the number of Digits (Numbers) you want your Cheat code to be (for example: if the cheat code is '16387' then the number of Digits is '5'. Press Ok.
Next create a 'conditional branch'. Select 'variable' and select the Variable you have just created. Choose 'Equal to' and under 'constant' type the number you want your cheat code to be (it must be the same amount of Digits you wrote earlier' (in this case I wrote '5' Digits so my 'constant' will be '16387'. Press Ok.
Now just ABOVE 'Else' double click on a blank space. Now you can choose what you want your cheat code to do (for example, if you want the cheat code to give the player 10000 Gold then: Select 'Change money' and make it so it will add you 10000 Gold). Press Ok.
If you want more that one code then under else, create a different 'conditional branch' and do exactly the same as before but with a different 'Constant' and make it do something different (e.g. restore your health).
-Step 2 - Event- --Option 1--
Create an event somewhere on the map (double click on a blank square) and change 'Below Character' to 'Same as Character'. Give it a nice Picture and then double click on a blank space under where it says 'list of Event Commands'. Click on 'Call Common Events' and choose the common event you just created ('cheats'). Press Ok, and then press Ok again.
This will make it so when you press enter on this Event it will activate the common event and ask you to enter a cheat code.
-Step 2 - Item- --Option 2--
Create a new Item in Database. Call it whatever you want and give it a nice icon and description. Under 'Scope' Select 'none’ and under 'Occasion' select 'Only from the Menu'. Under 'Consume' choose 'No' and under where it says 'Common Event' select the common event you created earlier ('cheats'). Make something in your map which gives or sells you the item (e.g. Chest, shopkeeper) and you will be able to access the cheat from the Menu (press 'Esc' then press enter again under Item, choose the Item and press enter once more.)
-Step 2 - Skill- --Option 3--
Another way which I discovered not long ago is to use a skill so you can enter a cheat DURING battle. To do so is very simple. Create a new Skill, do the same things as you did with the Item (Scope: None, Occasion: Always/Only in battle, Common Event: Cheats) and make a way to get it in your game (shopkeepers) or add it to your beginning skills you have it when you start a new Game.
Hope this helped. Again, if you have any problems don't hesitate to contact me.
|
|
Details
|
|
Tutorial:
|
RPG Maker VX - Cheat codes |
|
Date Listed:
|
Thu, 03 Sep 2009 06:41:09 -0400 |
|
Author:
|
Killerguitar007
|
|
Total Hits:
|
3910 |
|
|