Console Commands are a developer tool generally designed for debugging purposes. In previous Subnautica games, console commands have been made available to the player. As of the first release of Subnautica 2, while console commands do exist within the game files, they are currently only accessible through the use of Mods.
Some commands such as fly and warp are disabled in the base game, creating a warning when used. In the Experimental Branch, these commands work normally.
Warning: Use of commands can cause damage to save files and should be used with caution.
List of Commands
Notable Commands
| Command | Description |
|---|---|
Item [...] [#]<br>Give [...] [#] | Gives the player the item corresponding with the string given in [...]. Optionally can include a number after the string to gain multiple of the item. Typing item with no string will show an interactive list of all items that can be spawned. If multiple items match the given string, a list of all possible matches will be displayed. |
Spawn [...] [#] | Spawns the object corresponding with the string given in [...] directly in front of the player. Optionally can include a number after the string to spawn multiple of the object. Typing spawn with no string will show an interactible list of all objects that can be spawned. If multiple objects match the given string, a list of all possible matches will be displayed. |
Speed [#] | Alters the game simulation speed, defaulting to a value of 1. Increasing the number speeds up game speed, while inputting a fraction between 0 and 1 will slow the game speed. Typing speed or speed 0 will safely freeze the game until the speed is changed again. |
SwimSpeed [#] | Changes the player's swim speed to the given number, in centimeters per second. The default is 400. |
Cheat Commands
| Command | Description |
|---|---|
Damage [#] | Damages the player by the inputted amount. Can kill the player. |
Equip [...] | Equips the player with the item corresponding with the string given in [...]. If the item is not Equipment, it is placed in the player's active hand slot. If the item exists in the player's inventory when the command is used, that item will be equipped to the player; otherwise, a new item will be given. Typing equip with no string will show an interactible list of all equippable items. If multiple items match the given string, a list of all possible matches will be displayed. |
FreeBuild | Unlocks all Blueprints and toggles the Freebuild cheat, allowing the player to build Seabases at no material cost. Blueprints unlocked this way will be lost when loading a save. |
God | Toggles God Mode on or off. God Mode grants the player invulnerability to all damage and unlimited Oxygen, Food and Water meters, and health. |
Heal [#] | Heals the player by the inputted amount, up to their current maximum health. |
Hunger | Toggles the Hunger cheat, which freezes the hunger meter in Survival Mode. |
Invisible | Toggles the Invisibility cheat, making the player invisible to hostile Lifeforms. |
MyHealth [#] | Sets the player's current health to the given number. Typing MyHealth or MyHealth 0 will instantly kill the player if in Survival Mode. |
NoCost | Toggles the No Cost cheat, allowing the player to build or craft any times without needing materials. |
Oxygen | Toggles the Oxygen cheat, granting the player unlimited Oxygen. |
StartingItems | Gives the player a Habitat Builder. |
Thirst | Toggles the Thirst cheat, which freezes the thirst meter in Survival Mode. |
UnlimitedPower | Toggles the Unlimited Power cheat, allowing all Seabase electronics to function without power. |
UnlockAll | Unlocks all Blueprints, Databank entries, and Biomods. Blueprints and Databank entries unlocked this way will be lost upon loading a save. |
UnlockAllBioAbilities | Unlocks all Biomods. |
UnlockAllDatabank | Unlocks all Databank entries. |
UnlockAllRecipes | Unlocks all Blueprints. |
Unstuck | Teleports the player to their current respawn point. |
Time Commands
| Command | Description |
|---|---|
SetTimeOfDay [#] | Sets the current time of day to the time specified, assuming that 0 is the start of the day and 1 is the end of the day. SetTimeOfDay 0.5 sets the time to mid-day (12:00). |
Day | Sets the current in-game time to day (12:00). |
Night | Sets the current in-game time to night (23:00). |
DayNight | Sets the current in-game time to the start of the day (00:00). |
DayOnly [#] | DayOnly 1 freezes the in-game time at mid-day (12:00). Inputting the command with any other number unfreezes time. |
FreezeTime | Freezes the current time to the current time of day. |
UnfreezeTime | Unfreezes time, allowing the time of day to progress normally. |
ToggleDiagnostic
The ToggleDiagnostic command displays an interactive menu showing all of the available diagnostic tools. Although the menu appears clickable and shows active diagnostics, they must be opened using individual ToggleDiagnostic commands. All menus opened using this command are visible both in the pause menu and while the game is active.
| Command | Description |
|---|---|
ToggleDiagnostic | Displays an interactive menu showing all of the available diagnostic tools. |
ToggleDiagnostic Ability | Opens a diagnostic rundown of the player's abilities, including the input actions they are bound to. |
ToggleDiagnostic AbilityInput | Similar to ToggleDiagnostic Ability, displays the player's abilities and their input actions, as well as the keybindings associated with those actions. |
ToggleDiagnostic ActorUID | Displays the UID of the object being looked at. |
ToggleDiagnostic Adaptations | Opens a menu showing all existing Adaptations. Individual adaptations can be toggled. |
ToggleDiagnostic AIDirector | Shows all current players. Possibly deprecated. |
ToggleDiagnostic AmbienceSound | Shows all conditional ambience sound effects and whether they are currently playing. |
ToggleDiagnostic AnimatingActors | Shows a list of all animating actors currently loaded in game. This list shows all animated objects, not just Lifeforms. |
ToggleDiagnostic Attachment | Displays a menu that shows the player's current speed when holding onto a Tadpole. |
ToggleDiagnostic AxumFinale | Opens a menu offering several functions for skipping story goals to reach the Axum message at the Axum Observatory. Functions include giving the player Axum Vision and the ability to translate the glyphs, clearing the Bloom Core beneath the Karakorum Power Plant, repairing the Turbine, and unlocking the observatory door. |
ToggleDiagnostic BioBed | Shows a list of all active Biobeds in the world, including the one at the Lifepod. Allows the player to assign their spawn remotely or teleport to any of the Biobeds. |
ToggleDiagnostic Biomods | Appears non-functional. |
ToggleDiagnostic Builder | Opens a menu showing various debug settings related to the Habitat Builder. |
ToggleDiagnostic Camera | Shows debug information and settings related to the player camera such as position and rotation. |
ToggleDiagnostic Coords | Opens a small window showing the player's coordinates and speed. |
ToggleDiagnostic DebugOverlay | Displays a large menu that shows a huge amount of information related to players, including inventory contents, attached UE5 components, attributes (which can be changed used the attr command), abilities (duplicate of the Ability diagnostic menu), tags, and other debug information. Using the Inventory tab, inventory contents can be dropped or inspected (opens a different debug window). |
ToggleDiagnostic DebugSettings | Displays a large menu that offers a variety of different cheats and debug settings. Several tabs are dedicated to showing information about the player. The Diagnostic tab is a duplicate of the ToggleDiagnostic command. The Gameplay tab shows some debug information and cheat toggles. The Cheats tab offers scrollable lists of items and objects for the item and spawn commands, as well as a scrollable list of cheats that can be activated. The rest of the tabs are largely debug-focused. |
ToggleDiagnostic Dialogue | Shows the name, playtime, and other debug info about the currently playing Dialogue voiceline. |
ToggleDiagnostic DynamicEvents | Shows a list of all possible "dynamic events" and some related information. |
ToggleDiagnostic DynamicItems | Shows a list of "dynamic items" which includes a small selection of unique objects such as Hyceans and Tadpoles. |
ToggleDiagnostic Entitlements | Displays a menu showing the user's unlocked entitlements including Twitch drops. |
ToggleDiagnostic EventRecorder | Shows a list of events. Usage unknown. |
ToggleDiagnostic EventTracker | Shows a list of all events and their completion status. |
ToggleDiagnostic GameCaptureSettings | Opens a menu with settings for altering camera movement. Clicking "Enable Game Capture Controls" will irreversibly lock the player's camera controls. |
ToggleDiagnostic GameTime | Shows current in-game time and day number, game session duration, and total save playtime. |
ToggleDiagnostic GlobalSimulation | Opens a menu listing all power sources and power drawing seabase parts. |
ToggleDiagnostic HoverTarget | Opens a menu showing some information about the object currently being looked at by the player. |
ToggleDiagnostic InGameCurrency | Opens a menu related to currencies. May be deprecated. |
ToggleDiagnostic Input | Shows a list of the player's action history, including anything linked to movement or a control. Active inputs are highlighted. |
ToggleDiagnostic Inventory | Shows a list of all containers in the world. Containers can be selected and their contents can be deleted, transferred to the player, or filled with new items. |
ToggleDiagnostic LightingManager | Displays a list of all lights in the game world along with their location and distance from the player. |
ToggleDiagnostic Map | Displays a map. Appears non-functional. |
ToggleDiagnostic Movement | Opens a menu showing various movement-related information and functions related to the player's position and speed. |
ToggleDiagnostic MusicVolumeManager | Opens a debug menu related to music. The Events tab shows all nearby sounds currently playing. The Music and Ambience tabs show the currently playing music and ambience tracks, respectively. |
ToggleDiagnostic Nearby | Shows a multi-tab menu composed of lists of all nearby non-Lifeform objects. Each list shows distance from the object and whether it has been scanned. The Scannables tab shows all nearby scannable fragments. The Clickables tab lists interactive objects such as Blackboxes. The Recipes tabs shows nearby Recipe Data Cards. The Buttons tab lists nearby interactive buttons, such as the one at Camp One. The Audio Logs tab shows Databank entries. The All Scannable tab shows all scannable fragments as well as all nearby Lifeforms. |
ToggleDiagnostic Network | Displays a debug menu related to multiplayer networks. Unknown what functions are available when used in multiplayer. |
ToggleDiagnostic PerfMon | Displays a menu with lists of objects and components for the purpose of monitoring game performance. |
ToggleDiagnostic PhotoTours | Shows a list of locations along with a description, location, and distance. Locations appear to be focused on distinct sections of various biomes or story-related areas. Each location has a non-functional "Go" button. |
ToggleDiagnostic PingSystem | Opens an interactive menu listing signals. The menu allows the same functionality as the PDA menu but also shows pings and allows for the creation and deletion of signals. |
ToggleDiagnostic PlayerCustomization | Shows the player's current customizations. |
ToggleDiagnostic Power | Opens a collapsed list of all placed seabase parts and their current power draw or generation. |
ToggleDiagnostic PSO | Opens a non-functional menu related to PSO precaching. |
ToggleDiagnostic RangeTracker | Shows a list of nearby objects and Lifeforms as well as their loaded LOD detail. |
ToggleDiagnostic Rendering | Opens a menu with debug information and functions relating to rendering and GPUs. |
ToggleDiagnostic RenderResources | Unknown function. |
ToggleDiagnostic ReplicationGraph | Opens a non-functional menu. |
ToggleDiagnostic SaveGame | Shows a list of all saves. Offers options for deleting all saves, opening the savegame folder, saving or reloading the current save, and starting a new save. |
ToggleDiagnostic SaveSystemTimers | Shows timers until the next save backup and autosave. |
ToggleDiagnostic Scan | Displays a list of all individual scans and the player's current progress on each one. Scans can be manually progressed or unscanned in the menu. |
ToggleDiagnostic Screenshot | Opens a menu that can take a screenshot with no UI visible. It is unknown if the screenshot is saved anywhere. |
ToggleDiagnostic SeedGrower | Shows a list of all nearby growable lifeforms and their growth progress. |
ToggleDiagnostic Slate | Shows a non-functional debug menu. |
ToggleDiagnostic Sonar | Opens a menu with information related to connected players and gaming platform. |
ToggleDiagnostic StoryGoal | Opens a menu with information relating to Databank entries and story goals. Individual story goals can be toggled, triggering whatever conditions are attached to it such as unlocking Databank entries progressing the story. Also shows a record of previously unlocked story goals. |
ToggleDiagnostic Tags | Shows a list of the player's tags which can be added or removed using the ToggleTag command. |
ToggleDiagnostic TickAggregation | Opens a debug menu with information related to game ticks. |
ToggleDiagnostic TimeSlicedTask | Shows a graph depicting task completion which is likely related to game performance. |
ToggleDiagnostic Trace | Opens a non-functional menu. |
ToggleDiagnostic VideoTours | Shows of a list of interactive video tours that the player can "Play". Clicking play teleports the player to the tour's location and moves them along a path very similar to a camera dolly. The player's camera is also taken over and controlled by the tour. The tour can be ended using the same menu, which will either teleport the player back to their previous location or will simply end the tour wherever they currently are. |
ToggleDiagnostic Weather | Opens a menu that allows the player to change the weather. All current weather options are variants of Clear, Cloudy, or Misty. |
ToggleDiagnostic WorldPartition | Opens a menu with some debug functions and a list of cells which are individual parts of the world. |
ToggleDiagnostic WorldPop2 | Opens a menu with a list of all resources and creatures and how many of each type are currently loaded. Also has a radar-like menu that shows nearby Lifeforms. |
Other Commands
| Command | Description |
|---|---|
Attr [...] [#] | Very powerful and flexible command that seems to allow the modification of hidden in-game values related to the player such as health and maxhealth. The first string given is the modified attribute, presumably taken from the player blueprint, and the number is the value to set that attribute to. |
ChangeSize [#] | Changes the player model's size. The default size is 1. |
Clear | Unknown. Crashes the game when used. |
Coords<br>GetCoords | Copies the player's current coordinates to their clipboard. |
DestroyTarget | Destroys the first entity the player's camera is looking at. |
Exit<br>Quit | Closes the game. |
Fly | Allows the player to fly in water or air. Disabled in released builds. |
FOV [#] | Changes the field of view to the given value. Default is 90. |
Ghost | Allows the player to fly ignoring collisions. Disabled in released builds. |
Goto [...] | Teleports the player to a named location corresponding with the string given in [...]. Disabled in released builds. Typing goto with no string will show an interactible list of all locations that can be teleported to. If multiple locations match the given string, a list of all possible matches will be displayed. |
Warp [x] [y] [z] | Teleports the player to the given world coordinates. Disabled in released builds. |
FastSwim | Greatly increases the player's swimming speed. Disabled in released builds. |
History | Opens a history of the previously used commands. |
Kill | Kills the player. |
NewGame | Starts a new Survival Mode save instantly. This command creates a separate save file, so saving on the new game will not destroy your previous save. However, progress since the last save will NOT be saved when the command is executed. |
NoClip | Allows the player to fly ignoring collisions. The same effect as ghost. Disabled in released builds. |
Open [...]<br>SwitchLevel [...]<br>Travel [...] | Switches to a different level. Most levels other than the base game world are disabled. |
OpenSavesFolder | Opens the saves folder located at ...\Appdata\Local\Subnautica2\Saved\SaveGames |
ObserverCamera | Enables a detached camera controlled with the same controls as the player, while still maintaining collision. |
Pause | Pauses or unpauses the game, which effectively freezes all movement and animations. Unrelated to game speed. |
PlayersOnly | Unknown. Seems to freeze player movement when used, but can be toggled back off. |
PlayerStart [...] | Teleports the player to a pre-determined location and gives them several "starter" items depending on the location. Some items are placed in floating lockers near the player. Inputting PlayerStart by itself shows an interactible list of all viable PlayerStart locations. |
r.Fog [#] | Inputting this command with any number other than 1 will disable fog. Typing r.Fog 1 will re-enable fog. |
RestartLevel | Reloads the most recent save. |
ShowDebug | Toggles a debug menu showing some values for the player. |
ShowPDA | Opens the PDA. |
Slomo | Sets the current game speed to an extremely small number, similar to the speed command. |
Surface | Teleports the player to the surface of the water at their exact coordinates. |
Teleport | Teleports to the first object directly in front of the player, with huge but not unlimited distance. Attempting to teleport into the sky teleports the player to the world origin. |
ThirdPerson | Toggles third person mode. |
ToggleFreeCam | Enables a camera that detaches from the player. Controls for the free camera are drastically different from the regular control scheme. |
ToggleHUD | Disables all UI. WARNING: Disables the command console and pause menu as well, leaving the player softlocked and unable to save or re-enable UI. |
ToggleStoryGoal [...] | Enables certain hidden flags based on the given string. Can be used to progress story, trigger dialogue, or unlock individual databank entries. |
ToggleTag [...] | Allows the toggling of some internal tags, such as Cheat.HideMask |
wp.Runtime.ToggleDrawDataLayers | Toggles a display of "Data Layers", which are effectively switches to show/hide parts of the world. Individual Data Layers can be toggled with wp.Runtime.ToggleDataLayerActivation. |
wp.Runtime.ToggleDataLayerActivation [...] | Toggles an individual Data Layer, such as those used to hide blockouts. A list of active and inactive Data Layers can be acquired using wp.Runtime.ToggleDrawDataLayers. |