Debug Console: Difference between revisions
From Pizza Tower Wiki
Content added Content deleted
BrochachoYT (talk | contribs) mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The Debug Console |
The Debug Console allows use of the console commands. |
||
<big>'''WARNING: Improper use of the Console can and will delete |
<big>'''WARNING: Improper use of the Console can and will delete the save file it is used in.'''</big> |
||
It's recommended to have |
It's recommended to have the debug console enabled while playing mods, due to issues mods can cause (for example getting stuck inside of walls). |
||
== |
== Enabling the Console == |
||
There |
There are 2 ways to enable debug mode: |
||
* Adding "-debug" to the launch options |
* 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. |
* 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 |
While it is active, pressing F5 will open the console. |
||
== |
== Console Commands == |
||
* '''alltoppins''' - spawns 5 [[toppins]] right behind [[Peppino]]. |
* '''alltoppins''' - spawns 5 [[toppins]] right behind [[Peppino]]. |
||
* '''bossinv true/false''' - disables the HP lost in boss battles |
* '''bossinv true/false''' - disables the HP lost in boss battles. The hits taken don't count towards the Rankings or the Chef Tasks, but the "You hurt Peppino X Times." still appears.<!-- I think it counts towards the damage taken stat but I don't want to say something im not sure about and i can't test it now. --> |
||
* '''destroyice''' - Destroys ice blocks in [[Refrigerator-Refrigerador-Freezerator]]. Same function as the Furnaces. |
* '''destroyice''' - Destroys ice blocks in [[Refrigerator-Refrigerador-Freezerator]]. Same function as the Furnaces. |
||
* '''givekey''' - Gives a normal level key |
* '''givekey''' - Gives a normal level key. |
||
* '''hardmode true/false''' - Enables the unused Hard Mode |
* '''hardmode true/false''' - Enables the unused Hard Mode - the [[Heat Meter|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. |
||
** Snick.exe can spawn: |
** Snick.exe can spawn: |
||
*** [[Cheeseslime|Cheeseslimes]] |
*** [[Cheeseslime|Cheeseslimes]] |
||
Line 34: | Line 34: | ||
* '''hidetiles true/false''' - Hides the tile layer. |
* '''hidetiles true/false''' - Hides the tile layer. |
||
* '''lockcam -''' Locks the camera in place. Using the command again reverts the camera to normal. |
* '''lockcam -''' Locks the camera in place. Using the command again reverts the camera to normal. |
||
* '''noclip''' - Allows |
* '''noclip''' - Allows flying through the level ignoring collision. Pressing the Grab key disables noclip and holding the Dash key increases flight speed. 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, |
* '''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, 100 would be 1 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 <small>''[uses letters |
* '''player_room (room name) (door number <small>''[uses letters, door 1 is door A]''</small>)''' - Teleports the player to a specific room and door. This is very case sensitive and will cause problems if used in unused or nonexistent rooms or doors. |
||
* '''player_set_state''' - Changes Peppino's [[Transformations| |
* '''player_set_state''' - Changes Peppino's [[Transformations|transformation]] to one of five selectable states. |
||
*# states.normal - Normal Peppino. |
*# states.normal - Normal Peppino. |
||
*# states.knightpep - Knight |
*# states.knightpep - Knight Peppino. |
||
*# states.firemouth - Firemouth |
*# states.firemouth - Firemouth Peppino. |
||
*# states.cheesepep - Cheese Peppino |
*# states.cheesepep - Sticky Cheese Peppino. |
||
*# states.ratmount - [[Gustavo]], he'll spawn without Brick. |
*# states.ratmount - [[Gustavo]], but he'll spawn without Brick. |
||
*#*Brick can be regained when using the command in a [[Secret Eye|secret]] room, including the [[Sound Test]], however Brick will |
*#*Brick can be regained when using the command in a [[Secret Eye|secret]] room, including the [[Sound Test]], however Brick will vanish 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. <u>'''This will |
* '''roomcheck''' - Cycles through every room in the game. <u>'''This will erase 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. |
||
* '''showhud true/false''' - Toggles the HUD visibility. |
* '''showhud true/false''' - Toggles the HUD visibility. |
||
* '''unlock_boss_key 1 |
* '''unlock_boss_key 1-5''' - Gives a boss key. |
||
* '''unlock_toppins (level)''' - Unlocks the 5 toppins of a level. |
* '''unlock_toppins (level)''' - Unlocks the 5 toppins of a level. |
||
** '''The following are the levels with their data name respectively.''' |
** '''The following are the levels with their data name respectively.''' |
||
Line 72: | Line 72: | ||
*** '''[[WAR]] - war''' |
*** '''[[WAR]] - war''' |
||
* '''throwarc''' - Unknown. Probably [[Greaseball]] related. |
* '''throwarc''' - Unknown. Probably [[Greaseball]] related. |
||
* '''editor''' - Teleports |
* '''editor''' - Teleports to the editor. It's disabled. |
||
* '''giveheat''' - Adds Heat to the Heat Meter. Since the Heat Meter is unused, this is useless.<!-- it may work in the hard mode heat meter?? --> |
* '''giveheat''' - Adds Heat to the Heat Meter. Since the Heat Meter is unused, this is useless.<!-- it may work in the hard mode heat meter?? --> |
||
* '''camera_zoom (target) (speed)''' - Zooms the camera on Peppino at a set speed. |
* '''camera_zoom (target) (speed)''' - Zooms the camera on Peppino at a set speed. |
Revision as of 09:54, 5 June 2023
The Debug Console allows use of the console commands.
WARNING: Improper use of the Console can and will delete the save file it is used in.
It's recommended to have the debug console enabled while playing mods, due to issues mods can cause (for example getting stuck inside of walls).
Enabling the Console
There are 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 it is active, pressing F5 will open the console.
Console Commands
- alltoppins - spawns 5 toppins right behind Peppino.
- bossinv true/false - disables the HP lost in boss battles. 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.
- hardmode true/false - Enables the unused Hard Mode - the 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.
- Snick.exe can spawn:
- Cheeseslimes
- Forknights
- Swedish Monkeys
- Pencers
- Flying Anchovys
- Tribe Cheeses
- Bandito Chickens
- Pineacools
- Noise Goblins
- Pickles
- Peppibots (only spawn as Shoulder Bash variant)
- Snick.exe can spawn:
- hidetiles true/false - Hides the tile layer.
- lockcam - Locks the camera in place. Using the command again reverts the camera to normal.
- noclip - Allows flying through the level ignoring collision. Pressing the Grab key disables noclip and holding the Dash key increases flight speed. 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, 100 would be 1 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, door 1 is door A]) - Teleports the player to a specific room and door. This is very case sensitive and will cause problems if used in unused or nonexistent rooms or doors.
- player_set_state - Changes Peppino's transformation to one of five selectable states.
- states.normal - Normal Peppino.
- states.knightpep - Knight Peppino.
- states.firemouth - Firemouth Peppino.
- states.cheesepep - Sticky Cheese Peppino.
- states.ratmount - Gustavo, but he'll spawn without Brick.
- Brick can be regained when using the command in a secret room, including the Sound Test, however Brick will vanish 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 erase 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 a boss key.
- unlock_toppins (level) - Unlocks the 5 toppins of a level.
- The following are the levels with their data name respectively.
- John Gutter - entrance
- Pizzascape - medieval
- Ancient Cheese - ruin
- Bloodsauce Dungeon - dungeon
- Oregano Desert - badland
- Fun Farm - farm
- Wasteyard - graveyard
- Fast Food Saloon - saloon
- Crust Cove - plage
- Gnome Forest - forest
- Deep-Dish 9 - space
- Golf - minigolf
- The Pig City - street
- Peppibot Factory - industrial
- Oh Shit! - sewer
- Refrigerator-Refrigerador-Freezerator - freezer
- Pizzascare - chateau
- Don't Make A Sound - kidsparty
- WAR - war
- The following are the levels with their data name respectively.
- throwarc - Unknown. Probably Greaseball related.
- editor - Teleports 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.