What are the Debugging keys?

From OHRRPGCE-Wiki

Jump to: navigation, search

Debugging keys are special function keys that you can use to test certain things out in GAME.EXE. The debugging keys can be disabled in the General bitsets menu in CUSTOM.EXE to prevent cheating. You may find the debugging keys helpful when testing out your game, but you will probably want to disable them before you distribute your game.

  • Walkabout Debugging Keys
    • F1 Show Minimap (See Also: Even if I disable the minimap, I can still display it with F1)
    • F1 + ~ Realign hero 0 with the tile grid
    • CTRL+F1 Pick a spot on the minimap of any map, to teleport to.
    • F2 Quicksave anywhere
    • F3 Quickload anywhere (Warning: Do not quicksave or load during a script, especially if the suspend player command has been issued. It will screw things up)
    • F4 Calls up the Tag-debug screen, which shows you which tags are OFF and which are ON, and lets you change them (+ and - scroll, CTRL+ sets and CTRL- unsets)
    • F5 Focus the camera on the next hero (Or on the first hero if none are in focus)
    • F6 Hold down to allow you to pan the camera freely, using the arrow keys. Press F5 to return to the hero.
    • F7 toggles simulate-levelup-bug mode. This causes equipment's stat-bonuses to be added to your stats at each levelup. (included for compatability with some older games)
    • F8 Raw-edit gen(). This gives you direct access to the data represented in the General Game Data menu, as well as an assortment of other data. Press Esc to exit.
    • F9 Raw-edit gmap(). This gives you direct access to the data represented in the General Map Data submenu of the map editor.
    • F10 Toggle script-debugging mode. This shows a bar at the top of the screen indicating script memory usage, and a bunch of obscure numbers at the bottom showing the status of all running scripts. Pressing F10 once turns on regular debugging mode, F10 again turns on detailed-debugging mode (which repaints EVERY cycle and can go quite slow) and pressing F10 a third time turns debugging mode off next tick (or, if you can't wait, pressing Esc will turn off script debug mode immediately)
    • F11 Walk through walls
    • CTRL+F11 Show NPC ID and reference numbers. The reference numbers are shown without the negative signs. Negative ID numbers means an NPC that is hidden due to tag conditions.
    • CTRL + and CTRL - adjust the speed control (although it didn't work properly in voxhumana and earlier versions)
  • In-Battle Debugging Keys
    • F4 Instantly Run (even from inescapable enemies)
    • F5 Gain a million Experience Points
    • F11 Display Enemy ready-meters and state-variables
  • Non-debugging Keys
    • F12 Take a screenshot, saved in BMP format. F12 also works almost everywhere in GAME.EXE, such as on the menus (F12 always works, regardless of whether or not debugging keys are disabled)
    • CTRL+~ (Ctrl and tilde) displays the current framerate, works everywhere in Game and Custom.

[edit] See Also

Personal tools