Page 1 of 1

Teleporting in later Sierra Games.

Posted: Sat Feb 21, 2009 5:07 am
by Tawmis
You can do ALT D, and then type TP then a room number to teleport around in the older Sierra games (LSL1, KQ1, KQ2, KQ3, KQ4?, etc) - but was there a way (and I thought there was) to do it in the next generation of games (LSL2, KQ4, etc)?

Re: Teleporting in later Sierra Games.

Posted: Sat Feb 21, 2009 10:45 am
by MusicallyInspired
Yes there is. It's a way more complicated procedure though as it's not just typing in commands but the ability to alter every variable in the game. So, unless you know what every variable was for (and you can only go by numbers) you mostly have no idea what you're doing.

To open the debug mode press both shift keys and then the minus key on the numpad (pressing the shift keys and the letter "d" might work as well). This will pause the game and bring up a debug information window which, I believe, displays the current command being processed. You can press the SpaceBar (I think it is) to step through each game cycle to see exactly what's happening with each command. There's a shortcut key to display all the functions you can do but a couple are pressing "G" for global variable and "L" for local variable (where global variable is a variable that's declared and used throughout the entire game and local variable is a variable declared and used only in one room and discarded when you leave that room).

So in debug mode press G and a window will pop up asking which global variable you want to alter. The numbers are from 0 to however many global variables are in a game (I know of no way to figure out just how many is in each game). When you type in the number of the global variable and press enter another window will pop up asking you to enter the new value of the variable. For instance, if the global variable you picked was the current room number that Ego (the main character) resides in you could change its value to whatever room number you wanted. You can figure out which room number is which by opening the game in SCI Studio and checking the background resources. Usually the number of the picture of the room you want is the same number as that room's script so you'd put in that number to teleport to that room. The trick, however, is figuring out which global variable is the Current Room variable as it's different for every game.

Clear as mud? :)

Re: Teleporting in later Sierra Games.

Posted: Mon Feb 23, 2009 12:56 am
by Tawmis
Clear as um... mud. :)