How do I add cheats to my game?

From OHRRPGCE-Wiki
Jump to navigation Jump to search

Depending on what you want to do, you would probably go about this in different ways. First and foremost, remember that there is no default way of adding cheats. You should probably be more specific.

Hidden Cheats[edit]

One rather easy cheat is to leave a rather easy fight that grants incredible equipment and/or tons of XP after defeating the opponents. This can be found in "Ends of the Earth 2" south of the castle at the beginning of the game. Just hide an invisible NPC, spot that has a 99 encounter rate with this battle as its only option, or even a more stylized version where you find a hidden door that leads to a NPC that is given dialog that could characterize him and ultimately cushion the entertainment lost from reduction of challenge.

This idea could be helpful for testing, or make a room that allows you to change which party members are in your group, what level you are through battling, and gives you doors to various locations in the game. If you leave this in the game after releasing it, it could very easily be considered a cheat.

Possible Concept of Cheat Menus[edit]

With the addition of custom menus you could quite easily add a cheat menu to the game. Select the option to have the game skip the loading screen and add a new game script that brings up a menu that asks if the player would like to start a new game, load a save file, adjust some options options for a new game (maybe add these to the default menu so that the player can adjust them in game), or do something that most players step aside from... such as viewing the credits. You could allow the player to back from the credits at any time by pressing any key and return to the main menu, or, if they sat through the whole thing, they could be treated to a new menu option labeled "Cheats". This method will only have the cheats work when the player is starting a new game.

In an older version of OHRRPGCE I couldn't find any way to load a game of the player's choice in game, so I (DukeofDellot) used the load game from a specific slot that was decided by the option that you could bring up a save menu and make it return a variable equal to the save slot without actually saving the game to that slot. If anyone knows what I'm trying to say, please replace this statement with your own, or if they have the option to just load from a slot chosen by the player in game, please just delete this.

A look at a Basic Achievement System[edit]

for advanced users

Another option, a achievement based system similar to the one from Goldeneye 007 64 could be made, but it should be approached cautiously after you've got a good idea what you're doing and maybe have some success with major game changing effects in plot scripting. Essentially you need to bypass (or maybe exploit is a better term) the default saving system. When in game, saving the game would alter several different global variables then save them all to the default save game, probably the first slot. Whenever starting up the game it would skip the load screen and run a script immediately that loads that one save file (If you get creative with it, you could pull as many save files as you want out of that one default save by adding an additional list of global variables. Events in the game could unlock cheats, possibly stat bonuses, limitless money, free (or quicker) leveling, secret weapons, access to more challenging secret dungeons, harder difficulties, or even the ever popular "New Game+" (Bringing your buffed up characters back to the beginning of the game without making your characters weaker, though maybe strengthening the opponents).

Some of these, especially noting the "New Game+" could be done with the normal save options, but if you're looking into using this and can't figure most of it out on your own (there's quite a bit more to this), then you might should go and finish your current game without it.


A cheat that asks for the player to type something to get the effect is beyond me (DukeofDellot). So I ask anyone who knows to replace this statement with a method of doing this.

Anyone who can come up with other methods of adding cheats, secrets, or other means of making the game easier (or obnoxiously more difficult) to post designs or suggestions here. Remember that inspiring each other can lead to more entertainment in the long run.