Console Commands (Subnautica): Difference between revisions

From Subnautica Wiki
No edit summary
Tags: Reverted Visual edit
(Undo revision 423119 by Pellye (talk))
Tag: Undo
Line 435: Line 435:
|}
|}


===Technical===<!-- debugstartmap -->
===Technical===
{| style="width: 100%;" cellspacing="1" cellpadding="1" border="0"
{| style="width: 100%;" cellspacing="1" cellpadding="1" border="0"
|-
|-
Line 473: Line 473:
| style="text-align:left; font-size:15px;width:75%;padding:5px;border-bottom:1px solid #747474;" |Shows a list of upcoming events, with the remaining time displayed.
| style="text-align:left; font-size:15px;width:75%;padding:5px;border-bottom:1px solid #747474;" |Shows a list of upcoming events, with the remaining time displayed.
|-
|-

| <code>debugrendermode [#]</code>
<!-- debugstartmap -->
|Cycles between various debug rendering layers such as depth, ambient occlusion, motion vectors, etc. (Currently only implemented in the experimental branch)
|
|-
| style="text-align:center; font-size:15px;width:25%;padding:5px;border-bottom:1px solid #747474;" |<code>debugstartmap</code>
| style="text-align:center; font-size:15px;width:25%;padding:5px;border-bottom:1px solid #747474;" |<code>debugstartmap</code>
| style="text-align:left; font-size:15px;width:75%;padding:5px;border-bottom:1px solid #747474;" |Displays all possible [[Lifepod]] spawn locations as a small black cube. To remove the cubes, rejoin the game.
| style="text-align:left; font-size:15px;width:75%;padding:5px;border-bottom:1px solid #747474;" |Displays all possible [[Lifepod]] spawn locations as a small black cube. To remove the cubes, rejoin the game.
|
|-
|-



Revision as of 02:10, 28 November 2022

This article is about {{#explode:Console Commands (Subnautica)|(}} in Subnautica. [[{{#explode:Console Commands (Subnautica)|(}} (Below Zero)|Click here]] for information on this subject in Below Zero.

Console Commands are a group of tools that adjust the player's experience outside the normal scope of Subnautica. These commands can be used for debugging purposes, to view partially-implemented content, or simply for player enjoyment.

Using these commands will disable all achievements and potentially impair the in-game experience! Make sure to save the game before using them!

Console Enable

On computer, the console needs to be enabled first in order to use it.

Press the F3 key, then the F8 key, and untick the "Disable Console" button in the top left.

After enabling the console, clear away the windows first, then while the game is in fullscreen mode, simply press the ENTER or ~ key to bring up the input field. The field will not appear if the game is windowed.

To send a command, enter your desired command in the input box, and press enter. Use the up key on your keyboard to scroll through your previously entered commands.

Input Box Use

Action Mouse & Keyboard Xbox One PlayStation 4 Nintendo Switch
Open Console
Enter
XBOX Left Bumper+XBOX A+XBOX Right Bumper PS4 L1.png+Combops4x.png+PS4 R1.png SwitchL.png+SwitchA.png+SwitchR.png
Show Previously
Entered Commands
Uparrow.png and Downarrow.png
Enter to select

Developer Menu

In the Pause Menu

Action Xbox One PlayStation 4 Nintendo Switch
Enable the Developer option XBOX Left Bumper+XBOX Right Bumper PS4 L1.png+PS4 R1.png SwitchL.png + SwitchR.png

List of Commands

Basics

[NAME] Represents a variable text input that depends on the command. A list of all useable Spawn IDs can be found on the Spawn IDs page.
[#] Represents a value of the player's choice.
[x] [y] [z] Represent coordinates.
  • [x] East & West
  • [y] Altitude
  • [z] North & South

Events

countdownship Initiates the countdown for the explosion of the Aurora's drive core.
explodeship Initiates the explosion of the Aurora's Drive Core
restoreship Returns the Aurora to its original form. Turns on radiation.
startsunbeamstoryevent Activates the Sunbeam story event.
sunbeamcountdownstart Activates the Sunbeam countdown.
precursorgunaim Plays the entire Quarantine Enforcement Platform shooting down the Sunbeam event.
playsunbeamfx Plays only the second part of the Quarantine Enforcement Platform shooting down the Sunbeam event.
infectionreveal Plays the animation of the player realizing he is infected with the Kharaa Bacterium.

Be warned that triggering this command advances the player's infection stage to 4.

forcerocketready Allows the Neptune Escape Rocket to be launched without disabling the Quarantine Enforcement Platform.

General

item [NAME] [#]
  • Adds a specified amount of a certain item to the player's inventory.
  • Example:
    item titanium 5
    • Will add 5 Titanium to the player's inventory.
  • For items with spaces in their name (e.g. Stasis Rifle), make them one word (e.g. stasisrifle).
  • A complete list of items can be found here.
clearinventory Deletes everything in the Inventory.
spawn [NAME] [#]
  • Spawns a specified amount of a certain object in front of the player.
  • Example:
    spawn seamoth
  • Example:
    spawn holefish 5
    • Spawns 5 Holefish in front of the player.
cure [#] Cures the player and all creatures in a specified range of the Kharaa Bacterium.
infect [#] Infects the player and all creatures in a specified range with the Kharaa Bacterium.
lldetach Detaches all lava larva from any vehicles.
playerinfection [#]
  • Changes the stage of the Kharaa Bacterium infection in the player (1-5).
  • A value of 5 will cure the player.
sub cyclops Spawns the Cyclops in front of the player.
sub aurora Spawns the Aurora behind the player.
sub escapepod Spawns a new Lifepod 5 at sea level somewhere within the Safe Shallows, and places the player inside.
filterwater

Causes every Water Filtration Machine on the map to instantly fabricate a Large Filtered Water.

filtersalt

Causes every Water Filtration Machine on the map to instantly fabricate Salt.

vehicleupgrades

Gives the player every common vehicle module.

cyclopsupgrades Gives the player every Cyclops module.
seamothupgrades

Gives the player every Seamoth module.

exosuitupgrades

Gives the player every Prawn Suit module.

exosuitarms

Gives the player every Prawn Suit arm.

spawnloot
tools loot
madloot
bobthebuilder
resourcesfor [NAME]
  • Provides resources for any specific craftable items.
  • Example:
    resourcesfor knife
ency [NAME]
  • Unlocks a specific data base entry.
  • The entry name is case sensitive and requires exact spelling with no spaces.
  • Example:
    ency crabsnake
  • Doing:
    ency all
    • Will give the player all of the data bank entries, even ones cut from the game.
damage [#]<1/code> Sets damage multiplier to player's choice.
takedamage [#] Damages player's health % amount equal to value. Max health is 100%.
instagib Toggles instagib mode, which allows the player to kill any killable creature in one hit, and the player will die instantly from any damage taken unless invisible is activated. Creatures that naturally defend themselves can kill predators in one hit (i.e. an Ampeel can oneshot a Ghost Leviathan Juvenile).
invisible Environmental godmode: Creatures will ignore the player completely, environmental hazards like heat or radiation will not harm player, vehicles take no damage from environment, collisions, or attacks by creatures. Oxygen/hunger/thirst in Survival and Hardcore modes function as normal.
(NOTE: Will be deactivated each time on loading the game save and must be entered into the console for each play session.)
filterfast Reduces the time Water Filtration Machines take to filter.
fastscan Reduces the scanning time when using the Scanner.
fastgrow Plantable flora will grow within a few moments when placed in any type of planter.
fasthatch Eggs will hatch within a few moments after being placed in an Alien Containment.
fastbuild
  • Allows the player to build modules in an instant of a second with the Habitat Builder.
  • This is good to use together with "nocost" command.
nocost Toggles nocost mode on and off. While on, the player can use the Fabricator, Habitat Builder, Mobile Vehicle Bay, Vehicle Upgrade Console and Modification Station even if they do not have the materials required. Note that if the player does have some or all of the materials required to make something, they will still be expended. Deconstructing an item with the Habitat Builder in this mode does not refund its construction materials.
nodamage Toggles all creatures' health, acting as invincibility. Typing the command again allows all entities to take damage as normal.
noenergy Toggles power usage for all vehicles, tools as well as the Seabases.
nosurvival
  • Disables the player's Food & Water requirements.
  • Removes sustenance value on items.
  • Only applicable for Survival and Hardcore modes.
  • Identical to freedom command.
oxygen Toggles loss of oxygen when underwater. You will regain oxygen normally.

Warning: If used after oxygen has reached 0, it won't save you from dying.

nitrogen Toggles longer underwater time and adds the factor of decompression sickness if not careful.
radiation Toggles radiation.
fixleaks Fixes the Aurora's radiation leaks in the generator room.
flood Floods every Cyclops on the map.
damagesub Damages every Cyclops on the map.
destroycyclops Destroys every Cyclops on the map.
restorecyclops Converts every Cyclops wreck on the map to a functional (but damaged) state.
vfx cyclopssmokeeffect (value) Generates the Cyclops smoke effect. Can be toggled from values 0 to 1.
bubbles Spawns several bubbles (air) around the player.
seaglide Spawns an unpowered Seaglide in front of the player.
dig [#] (this command does not work anymore)


  • Removes all terrain around the player in a sphere with a diameter of # meters (max value: 100).
  • This command puts a severe strain on the gameplay performance.
  • Do not put the value to over a million as the game will instantly crash
unlock [NAME]


unlock all Unlocks all Blueprints.
unlockdoors

Technical

  • freedom
  • creative
  • survival
  • hardcore
Changes game mode to chosen type.
day Sets time to day.
night Sets time to night.
daynight [#] Sets a specific time. # is a float from 0 to 1. "0" is midnight (same as 'night' command) and "0.5" is midday (same as 'day' command'). "0.15" is dawn. Each use of that command increments day counter by 1.
daynightspeed [#] Sets the day/night cycle speed multiplier (default 1). A # of "2" would be a day/night cycle twice as fast (shorter day and shorter night). A float such as 0.1 will make the day/night cycle 10x slower.
schedule Shows a list of upcoming events, with the remaining time displayed.
debugstartmap Displays all possible Lifepod spawn locations as a small black cube. To remove the cubes, rejoin the game.
cinematics Toggles animation for the player.
debugsound Toggles sound.
entreset Reloads all assets of the game (except for terrain).
gamereset Resets the game, including the player's inventory and position, to when it was last saved.
farplane [#] Changes your viewing distance. 1000 is default.

As you would expect changing it to 1 makes you unable to see

fog Toggles in-game fog.
fov [#] Toggles player camera zoom (5-60), 60 is default. Different types of lens framing such as flip, upside down, telescopic effect, etc., are found in the values of 5 to 500,000.
freecam
  • Allows you to freely leave your character and roam the terrain, even fly through solid objects. Use the command again to go back to your character. (WARNING: Very sensitive movements, cannot open menu or inventory while in freecam.)
  • To manipulate freecam movement, use shift to accelerate. Pressing the numbers 1-5 also appears to change the speed at which you move using shift.
fps Shows FPS.
nobloom Removes bloom. Game restart needed to re-apply.
noshadows Removes shadows. Game restart needed to re-apply.
printbiome Shows on screen what biome the player is currently in.
resetachievements In the Steam version, it resets all achievements that have been collected. Note that this cannot be undone.
spawnperf [NAME] [#] Teleports the player to 0, -5, 0 and spawns any prefabs that match the given name. For example, spawnperf alien 1 spawns various alien artifacts.
speed [#] Sets the game speed multiplier (default 1). A # of "2" would be 2x gameplay speed. A float such as 0.1 will slow gamespeed to 10%.
target Toggles target debug.
schoolfishai Toggles the AI of a Shoal of Fish.
vsync Toggles VSync.
vr Available VR options: None, Stereo, Split, Oculus, Morpheus.

Teleports

biome [NAME]
ghost
  • This is basically the no clipping option.
  • Lets the player freely roam through the map. When used again the player is teleported to the current location. Use number keys to change speed. E.g. pressing 5 while in ghost mode will set speed to 100 m/s.
  • Usage: when entering the command the first time you can move freely. When used the second time you are teleported to the current location.
  • Caution: when starting indoors and teleporting somewhere in the water you will be in water with land physics and vice versa.
warp [x] [y] [z]
  • Warps the player to the coordinates of their choice.
  • Example:
    warp 1 1 1
warpforward [#]
  • Warps the player forward by however many meters they desire
batch [x] [y] [z]
  • Warps the player to the centre of a batch of their choice.
  • Batches do not use the same co-ordinate system as the warp command.
    • x = 12, z = 12 is the centre of the map.
    • y = 18 is sea-level.
  • Example:
    batch 12 18 12
warpme

Teleports the player to the Cyclops, a Seabase, or Lifepod 5 depending on which the player last entered. Good for getting unstuck.

goto [NAME]
  • Teleports the player to a specific location.
    • Example:
      goto aurora
      • Teleports the player to the ramp leading into the Aurora's belly. Do not use before the Aurora has blown up, otherwise you will be inside the unexploded Aurora, which is not intended.
  • Aurora
    • WARNING- Teleporting into the Aurora's rooms may cause the entities to not load. It is recommended to go into the Aurora the normal way.
    • genroom
      • Teleports the player to the Aurora's generator room.
    • cargoroom
      • Teleports the player to the Aurora's cargo room.
    • exoroom
      • Teleports the player to the Aurora's exosuit room.
  • Degasi Bases
    • base1
    • base1a
      • Teleports the player to one of the mountaintop Seabases on the Floating Island.
    • base1b
      • Teleports the player to one of the mountaintop Seabases on the Floating Island.
    • base2
    • base3
  • Wrecks - It is advisable to use coordinates for wrecks locations.
    • wreck1
    • wreck2
    • wreck3
    • wreck4
    • wreck5
    • wreck6
    • wreck7
    • wreck8
    • wreck9
    • wreck10
    • wreck11
    • wreck12
    • wreck13
    • wreck14
    • wreck15
    • wreck16
    • wreck17
    • wreck18
    • wreck19
    • wreck20
  • Alien Bases
    • gun (Quarantine Enforcement Platform)
    • gun_inside
    • gunmoonpool
    • gun_Elevator_Enter
    • gun_Elevator_Exit
    • mountainteleporter
    • prison
    • aquarium (The containment for the sea emperor)
    • antechamber
    • lostriverbase - Note: This one might spawn you in a wall. Just swim out, they're only solid on the textured side.
    • lavacastlebase (Thermal Plant)
    • lavacastlebaseinside
  • Alien Arches
    • mountainteleporter
    • mushroomforestteleporter
    • lostriverteleporter
    • cragfieldteleporter
  • Escape Pods
    • escapepod21 (Lifepod 17)
    • escapepod22 (Lifepod 5)
    • escapepod23 (Lifepod 7)
    • escapepod24 (Lifepod 13)
    • escapepod25 (Lifepod 6)
    • escapepod26 (Lifepod 12)
    • escapepod27 (Lifepod 4)
    • escapepod28 (Lifepod 3)
    • escapepod29 (Lifepod 2)
    • escapepod30 (Lifepod 19)
  • Scatters (Random piles of Aurora debris)
    • scatter31
    • scatter32
    • scatter33
    • scatter34
    • scatter35
    • scatter36
    • scatter37
    • scatter38
    • scatter39
    • scatter40
    • scatter41
    • scatter42
  • Juvenile Sea Emperors
spawnnearby Respawns the player a small distance away. Good for getting un-stuck.
randomstart Teleports the player into Lifepod 5 and respawns Lifepod 5 at one of its initial spawn point locations at random.
kill Respawns the player instantly inside the lifepod. Useful as a "teleport" feature. Do NOT use on Hardcore game setting.