Skip to content

Developer Console

Ryan Miceli edited this page Dec 17, 2022 · 11 revisions

The developer console works much like the in-game consoles you may have encountered in other games. It allows you to enter text commands to spawn objects, change levels, open the game's debug menu, and more.

Basic use

The in-game developer console is always enabled and can be accessed at any time by pressing the ` (tilde) key to open it. When you start typing a command auto complete suggestions will appear, you can select an option by using the Up and Down arrow keys, and auto-complete the option by pressing the TAB key. When you are finished typing a command press ENTER to submit it. You can access previously entered commands by using the Up/Down arrow keys to cycle through the command history buffer.

Console commands

Below is a list of console commands, what they do, and what parameters they take. When using the console commands it is important to note that some of these commands can crash your game if used incorrectly. These are intended for research purposes so avoid using them if you are afraid of losing any unsaved game progress.

Some console commands take parameters which are outlined in <> brackets, optional parameters are outlined in [] brackets. When typing the command into the developer console do not include the brackets.

Areas:

Spawning Objects/Items:

Move lines:

Misc:

Spawn Item

spawn_item <item id>

Spawns the specified item at the player's position. For a list of spwnable item ids please see Item IDs. Not all items are spawnable using the spawn_item command, for things like vehicles and npcs you will need to use spawn_object instead.

Spawn Object

spawn_object <object name> [archive path]

Spawns the specified object at the players position. The object name parameter is the name of the class object you want to spawn, ex: uVehicleOm09. For a list of object names you can use with this command please see Object IDs. When using an object name from this list you do not need to use the archive path parameter.

The archive path parameter is the archive file path for the object. For example, the archive file path for the red car is arc\rom\om\om0009\om0009. This parameter is intended to be used for objects not listed in the link above and is needed to spawn objects that are not loaded in the current area. Spawning an object that has not been loaded can cause the game to crash.

Any object that inherits uSnatcherModel can be spawned using this command.

Load Area

load_area <area name>

Loads the specified area, area name can be one of the following:

Area name Description
s100 Entrance Plaza
s200 Paradise Plaza
s300 Wonderland Plaza
s400 North Plaza
s500 Seon's Food & Stuff
s600 Maintenance Tunnels
s700 Leisure Park
s800 Al Fresca Plaza
s900 Intro cut scene area (doesn't work)
sa00 Food Court
sb00 Military area

Print memory stats

print_mem_stats

Prints memory statistics for the game's memory pools.

Print move lines

print_move_lines

Prints each "movement line" and all objects in each line. A movement line is a group of entities that the game is actively updating, this can be enemies, npcs, items, lighting, the player, etc.

Pause move line

`pause_move_line

Suspends the specified movement line from updating, the line number must be between 0 and 31 inclusive. To see what objects are in a move line use the print_move_lines command. A movement line is a group of entities that the game is actively updating, this can be enemies, npcs, items, lighting, the player, etc.

Resume move line

resume_move_line <line number>

Resumes a paused move line so it will run updates, the line number must be between 0 and 31 inclusive. To see what objects are in a move line use the print_move_lines command. A movement line is a group of entities that the game is actively updating, this can be enemies, npcs, items, lighting, the player, etc.

Enable zombie spawner

enable_zombie_spawner

Enables the zombie spawner debug option. Pressing down on the left thumb-stick on the controller will spawn a bunch of zombies in the players immediate area. Must have a controller connected to use.

Item Randomizer

item_randomizer <0/1>

Randomizes items that are spawned on the map. Use 1 or 0 to enable or disable item randomization.

Open debug menu

open_debug_menu

Opens the game's debug menu, also known as SysMenu. This is a re-implemented version of the debug menu using the ImGui UI interface. Some of the functionality of the debug menu that was available in beta versions of the game has been removed in the final version, so some options may be missing or non-functional.