Additional cheat commands?

Chris H.'s Ultima / ACS-style game development system!

Moderators: Ice Cream Jonsey, Chris H

Post Reply
rld
Posts: 223
Joined: Sun Jan 25, 2009 2:17 am
Location: Dallas, TX

Additional cheat commands?

Post by rld » Mon Aug 01, 2011 11:23 am

Looking at the part of the code in O_PLAY0A.PAS which implements the various cheat/debug commands, and trying to think if anything else useful might be added here for game development.

One thing I definitely want to do is fix it so you can use the variable PEEK/POKE command (Ctrl-P, when debug mode is enabled), to read/write both sets of variables (A-Z and A2-Z2), not just A-Z as is currently implemented.

Anyone have any other suggestions for debug commands that might be helpful?

....
The current cheat/debug/special key list is:

Code: Select all

Normal game commands
--------------------
-/+  
   Change combat message speed
Ctrl-V
   Sound on/off/volume


Cheat/debug commands
--------------------
TAB
   Reload editor files
~  
   Show transparency mask/status
Ctrl-B
   Switch keybuffer on/off (not sure what this does exactly)
Ctrl-F
   Flight mode on/off
Ctrl-G
   Show free memory amount
Ctrl-H
   Restore HP/MP to maximum levels
Ctrl-L
   Show current location
Ctrl-T
   Show current time
Ctrl-W
   Warp to a specified location
Ctrl-X
   Run a specified macro
Ctrl-Z
   Turn on invisible mode


User avatar
Tdarcos
Posts: 6538
Joined: Fri May 16, 2008 9:25 am
Location: Arlington, Virginia
Contact:

Re: Additional cheat commands?

Post by Tdarcos » Tue Aug 02, 2011 12:27 am

rld wrote:Anyone have any other suggestions for debug commands that might be helpful?
See if you can find a copy of DUNGEON, which was the predecessor to ZORK that was written in Fortran and ran on the PDP-11 minicomputer.

There has been a release of DUNGEON that runs on the PC. Well, there is a cheat/debug system built into DUNGEON called GDT. It will basically allow you to
* show every message text by entering its number
* examine and change game variables, flags and settings
* examine and change arrays
* move user anywhere
* open and close some/all doors
* lock and unlock some/all locks
And other things. It might give you ideas.

Found it: http://www.ifarchive.org/indexes/if-arc ... ource.html - Search this page for Dungeon, there are 10 related files in the group. Once you have it running, bring up GDT and try the help.
"I said, ooh, I'm blinded by the lights
No, I can't sleep until I feel your touch."
-The Weeknd, Blinding Lights

User avatar
Ice Cream Jonsey
Posts: 23017
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey » Thu Aug 04, 2011 11:52 am

You mess with the horns, you get the beast, ACK!
the dark and gritty...Ice Cream Jonsey!

Post Reply