Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Cheat Script, Add Cheat Codes
YOURMASTER001
post Aug 11 2010, 06:32 PM
Post #1



Group Icon

Group: Member
Posts: 1
Type: None
RM Skill: Intermediate




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. 

here is an example

This post has been edited by YOURMASTER001: Aug 11 2010, 06:34 PM
Attached File(s)
Attached File  Cheat_code.png ( 881.65K ) Number of downloads: 107
 
Go to the top of the page
 
+Quote Post
   
leongon
post Aug 11 2010, 07:18 PM
Post #2


Leongon of the Village of Awesome
Group Icon

Group: Revolutionary
Posts: 1,006
Type: Developer
RM Skill: Skilled




You are just eventing dude.


__________________________
Leon's Basic VX Scripts of Awesome:
Step 1. Passive Skills - Create skills that add passive bonuses. (shitty)
Step
2. Learning from Everyone - Learn skills from enemies, or allies, without being the target of the skill. (nice)
Step 3. Dual Battle Landscapes - Set background and foreground image for your battles. (nice)
Step 4. State Details - Add description to states, and allow viewing them on menu, and in battle. (nice)
Step 5. Item Quality Colors - Colourize item, weapon, armor and skill's name according their quality or affinity. (very nice)
Step 6. Skill Trees - Your actors can have talent trees now, like in the MMORPGs. (extremely nice)
Step 7. Main Menu Manager - Easy, straight, and intuitive total control of commands for the main menu. (very nice)

Drawing commissions are open. Facesets... monsters... anything: click here.


---------------------------------------------------------------------------------------------------------------------------------
Second place again xD
Deadly Christmas setup. 8.04 score... this one was not so fail. Yay!
Twist of Fate. Worst game in the competition... Yay!
Tie with two more guys out of 6 participants, so fail... Yay!
Go to the top of the page
 
+Quote Post
   
Night5h4d3
post Aug 12 2010, 05:36 AM
Post #3


The past tense
Group Icon

Group: +Gold Member
Posts: 1,199
Type: Scripter
RM Skill: Undisclosed




Moving to Event Emporium
~Night5h4d3


__________________________
Got 30 minutes? Then you've enough time to play this awesome game:

- potentially promising project page
- thanks holder
My growing space of user-bars:

about me:







I made the following!





Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Aug 12 2010, 12:11 PM
Post #4


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




I just posted something like this, but my version is just for testing mode (but it covers everything). It doesn't require a # input (just a secondary event, since it runs on switches), nor is it an item. They're pretty much the same, but mine takes far longer and isn't an item (but could be adapted to be one).


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
Tsaku Mitsajuni
post Aug 18 2010, 08:54 PM
Post #5



Group Icon

Group: Member
Posts: 4
Type: Musician
RM Skill: Beginner




You can also use a name input.
Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Aug 18 2010, 09:13 PM
Post #6


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




QUOTE (Tsaku Mitsajuni @ Aug 18 2010, 09:54 PM) *
You can also use a name input.

..which is what the one I made uses. The only problem is that you need to make a blank character, if you don't want to change someone's name.


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
jens009
post Aug 18 2010, 09:32 PM
Post #7


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




I think this is pretty decent, considering the fact that the cheat code is hidden from the player.
QUOTE (Alt_Jack @ Aug 18 2010, 10:13 PM) *
QUOTE (Tsaku Mitsajuni @ Aug 18 2010, 09:54 PM) *
You can also use a name input.

..which is what the one I made uses. The only problem is that you need to make a blank character, if you don't want to change someone's name.

Blank characters are not a problem at all! =]


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Aug 18 2010, 09:44 PM
Post #8


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




QUOTE (jens009 @ Aug 18 2010, 10:32 PM) *
I think this is pretty decent, considering the fact that the cheat code is hidden from the player.
QUOTE (Alt_Jack @ Aug 18 2010, 10:13 PM) *
QUOTE (Tsaku Mitsajuni @ Aug 18 2010, 09:54 PM) *
You can also use a name input.

..which is what the one I made uses. The only problem is that you need to make a blank character, if you don't want to change someone's name.

Blank characters are not a problem at all! =]

True, but it's only necessary in that sort of system. It's not very good if you're trying to keep your game small. You could just have it activate with a certain name (ex: calling the character "millionaire" would give the player 1 million gold).

BTW, nice work on the Cut-in script. I figured out how it works on my own...finally. sweat.gif


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
Finncarls1
post Jan 28 2011, 04:15 PM
Post #9


Level 1
Group Icon

Group: Member
Posts: 6
Type: None
RM Skill: Undisclosed




Thanks man, I found this super helpful because I couldn't find a script that worked laugh.gif


__________________________
It's not who you kill its what type of cereal you eat out of there skull
Supports:



Best game ive ever played on rpgmaker:
Peekaboo
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 26th May 2013 - 01:01 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker