Debug Console: Difference between revisions

From Pizza Tower Wiki
Content added Content deleted
No edit summary
mNo edit summary
Line 45: Line 45:
*#*Brick can be regained when using the command in a [[Secret Eye|secret]] room, including the [[Sound Test]], however Brick will explode once removed from Gustavo. This can be fixed in the Sound Test by taunting before removing Brick, as this makes the game think the player is ''supposed'' to be Gustavo.
*#*Brick can be regained when using the command in a [[Secret Eye|secret]] room, including the [[Sound Test]], however Brick will explode once removed from Gustavo. This can be fixed in the Sound Test by taunting before removing Brick, as this makes the game think the player is ''supposed'' to be Gustavo.
*#*This also allows the player to leave the sound test and when entering any door as Peppino, the player will revert to Gustavo and Brick upon exiting the door, letting the player play through any level as Gustavo and Brick.
*#*This also allows the player to leave the sound test and when entering any door as Peppino, the player will revert to Gustavo and Brick upon exiting the door, letting the player play through any level as Gustavo and Brick.
* '''roomcheck''' - Cycles through every room in the game. This will wipe the Save File.
* '''roomcheck''' - Cycles through every room in the game. <u>'''This will wipe the Save File.'''</u>
* '''set_combo (number) (time)''' - Sets the [[Combo]] Meter to a value and the time it will last.
* '''set_combo (number) (time)''' - Sets the [[Combo]] Meter to a value and the time it will last.
* '''showcollisions true/false''' - Makes the collisions Visible.
* '''showcollisions true/false''' - Makes the collisions Visible.

Revision as of 02:07, 23 May 2023

The Debug Console is a cheat that allows use of the console commands.

WARNING: Improper use of the Console can and will delete your save file. It can help you cheat stuff like achievements or ranks, ruining your experience.

It's recommended to have Debug enabled while playing mods, since sometimes you can get stuck on walls. It's also useful when testing your own mods.

Enabling the Console

There's 2 ways to enable debug mode:

  • Adding "-debug" to the launch options
  • Editing the data.win. Search for “obj_debugcontroller_Create_0” in the code tab and go to “Disassembly" tab to change "pushi.e 0" to "pushi.e 1" and save.

While debug is active, press F5 to open the console.

Console Commands

  • alltoppins - spawns 5 toppins right behind Peppino.
  • bossinv true/false - disables the HP lost in boss battles, you'll still receive damage, but only the knockback. The hits taken don't count towards the Rankings or the Chef Tasks, but the "You hurt Peppino X Times." Still appears.
  • destroyice - Destroys ice blocks in Refrigerator-Refrigerador-Freezerator. Same function as the Furnaces.
  • givekey - Gives a normal level key. It's invisible but it's functional.
  • hardmode true/false - Enables the unused Hard Mode. a Heat meter will appear and Snick.exe will spawn and generate random enemies every once in a while. The enemies spawned will increase when the Heat meter is filled.
  • hidetiles true/false - Hides the tile layer.
  • lockcam - Locks the camera in place. Using the command again reverts the camera to normal.
  • noclip - Allows you to fly through the level ignoring collision. Pressing the Grab key disables noclip and holding the Mach key makes you move faster. This will remove transformations and revert the player back to normal Peppino.
  • panic (time) - Triggers Pizza Time. If time isn't specified, it lasts 5:31. If time is specified, every number is worth a milisecond. (for example, if you put 100, the timer will last a second) If Pizza Time was active and the command is activated, Pizza Time will end. This doesn't despawn Pizzaface.
  • player_room (room name) (door number [uses letters for some reason, door 1 is door A]) - Teleports you to a specific room and door. This is very case sensitive and will cause problems if used in unused or nonexistent rooms or doors. (you can become The Noise in one of the characterselect rooms just add A)
  • player_set_state - Changes Peppino's power-up to one of five selectable states.
    1. states.normal - Normal Peppino.
    2. states.knightpep - Knight transformation from Pizzascape.
    3. states.firemouth - Firemouth transformation from Oregano Desert.
    4. states.cheesepep - Cheese Peppino from Oh Shit!.
    5. states.ratmount - Gustavo, he'll spawn without Brick.
      • Brick can be regained when using the command in a secret room, including the Sound Test, however Brick will explode once removed from Gustavo. This can be fixed in the Sound Test by taunting before removing Brick, as this makes the game think the player is supposed to be Gustavo.
      • This also allows the player to leave the sound test and when entering any door as Peppino, the player will revert to Gustavo and Brick upon exiting the door, letting the player play through any level as Gustavo and Brick.
  • roomcheck - Cycles through every room in the game. This will wipe the Save File.
  • set_combo (number) (time) - Sets the Combo Meter to a value and the time it will last.
  • showcollisions true/false - Makes the collisions Visible.
  • showhud true/false - Toggles the HUD visibility.
  • unlock_boss_key 1/5 - Gives you a boss key of a boss.
  • unlock_toppins (level) - Unlocks the 5 toppins of a level.
  • throwarc - Unknown. Probably Greaseball related.
  • editor - Teleports you to the editor. It's disabled.
  • giveheat - Adds Heat to the Heat Meter. Since the Heat Meter is unused, this is useless.
  • camera_zoom (target) (speed) - Zooms the camera on Peppino at a set speed.
  • loadtest - It teleports you to a room that attempts to load the Final Boss third phase, but fails on some versions, crashing the game. On others it will take you to a unused room similar to the Tower Roof where the collisions are visible. It's not possible to leave without commands.