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

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker 2003 > Cheat Codes and Passwords

Cheat Codes and Passwords


Okay here is what we're gonna do...

The List!:
Make an event that will allow us to open the cheat menu.

Make a common event to check for any possible cheat
entered.

Make a cheat code that does something neat.

You will need:
An item *NOT REALLY IT DEPENDS HOW YOU WANT TO TRIGGER THIS*

A variable

A common event

Alot of conditional branches


Okay you have to create a common event firstly.
Make it open a input number menu with the accompanied message, "Input cheat code" or "Input Password" so the player knows to enter any cheat codes.

Make the input box at least 4 digits long so the cheat code isn't too easy to crack and guess.

Make the number you input be held in a variable labeled "CHEATCODE" so you it can remember the code.

Here comes the annoying part... Depending how many cheat codes you make you will have to let the event run a conditional branch to check if the variable "CHEATCODE" is that cheat code.

Example:
CHEATCODE VARIABLE IS REMEMBERING THE NUMBERS: "1337"
Player enters "1337"
Conditional Branch checks and reads variable as "1337"
Make it do what you want said cheatcode to do. In this case I'll let it give the player's party all level ups.
Change Character Level, increase by one. Set switch after so you can't rape a single cheat and use it over and over if you don't want the player to and make a conditional fork that checks if that switch is on if you want the cheat to be a one time thing.
Make an event call this common event and all should run accordingly if a problem occurs PM me and I can guide you further.

Pretty simple eventing and very fun and versatile function that could make a game more interesting. Also gives the game an old-school touch. 
Details
Tutorial: Cheat Codes and Passwords
Date Listed: Tue, 23 Mar 2010 22:45:01 -0400
Author: Puck
Total Hits: 1633


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