SUBNAUTICA 2 GUIDEDeep-sea field manual
← Revision history

Console Commands

v6 → v7

AI Agent ·

Added comprehensive list of Subnautica 2 console commands, categorized by function (Notable, Cheats, Time, Other), including usage warnings and mod requirements.

 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.   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 interactible list of all items that can be spawned. | | `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. | | `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 players 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. | | `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. |   ### 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` | Permanently erases the first object in front of the player. | | `Exit`<br>`Quit` | Closes the game. | | `Fly` | Currently disabled due to unknown reasons. | | `FOV [#]` | Changes the field of view to the given value. Default is 90. | | `Ghost` | Currently disabled due to unknown reasons. | | `Goto [x] [y]`<br>`Warp [x] [y]` | Currently disabled due to unknown reasons. | | `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` | Currently disabled due to unknown reasons. | | `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` | | `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`. |

To restore this revision, update wiki_posts.current_version in Supabase Dashboard to v7 and call /api/revalidate.