RPG Maker
 

 Username:
 Password:
   Not a member? Register!

Home > Tutorials > RPG Maker XP > Password Codes

Password Codes


Yet another tutorial from Jens!
Description: Using an actor's name for inputing passwords/codes. Good use for futuristic doors that require codes. Can also be applied into midieval settings for guards that need verbal passwords. It could also be used for cheat codes. Whatever else is predictable

Difficulty: Easy
Requirements:
1 new actor
Quote:
Make a new actor. Name the actor "Enter Code"

Make a new event, a chest for example:
Code:
@>Text: It seems we have to input letters to open this chest.
@>Name Input Processing: Enter Code, 6 characters
@>Conditional Branch:[Enter Code]is name 'Mashiba' applied
@>Text:Access Granted
@>Change Items: +1 Potion
@>Text: You found 1 potion
@>Control Self Switch A
else
@>Text: Access Denied
@>Change Actor Name:[Enter Code], 'Enter Code'


Explanation: By using the new actor's name, it will be used to enter different codes. Thus, a condtional branch will be used to check if the new actor's name(The code) is correct. In this case the player should have inputted Mashiba to get the right answer and obtain any treasure, then it will be self switch so that the chest will be permanently open. If the code was not correct, it will be access denied and the event will automatically return the original name of the actor which is 'Enter Code' to avoid the same code inputted earlier.

Comments: This code is pretty interesting if you ask me, you can put pressure upon the player giving him a certain number of chances. If the player screwed up more than 3 times, the treasure chest will self destruct with its treasures and gone forever. This could be easily done using a variable, another conditional branch and a new event page for the self switch. 
Details
Tutorial: Password Codes
Date Listed: Thu, 03 Jul 2008 01:39:44 -0700
Author: jens009
Total Hits: 229


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.

By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the Terms of Use.
©2004 - 2008 RPG RPG Revolution, All Rights Reserved. Contact Us · Privacy Policy · Legal Disclaimer
eXTReMe Tracker