Barotrauma: Codes

Warning! Using cheats disables the ability to receive Steam achievements!

To access the console in the game, you can press the “F3” key. Once the console opens, you will be able to enter various commands that will provide you with interesting and useful features.

You can view in-game help for commands using the help command.

  • help — shows all available commands with descriptions;
  • mainmenu or menu – closes the session and sends to the main menu;
  • kick [player name] – kicks a player from the server;
  • ban [player name] – kicks a player from the server and bans him;
  • itemlist – shows a list of items to be created;
  • pause — switches pause mode (works only in a single session);
  • botcount [quantity] – adds bots (works only in multiplayer);
  • wikiimage_character — saves a screenshot of the character without a background. Saved in the game folder with the name wikiimage;
  • wikiimage_sub — saves an image of a submarine without a background. Each new screenshot replaces the previous image;
  • fpscounter — enable the frames per second counter;
  • showperf – enable performance information;
  • killdisconnectedtimer [number of seconds] – set the time after which the characters of disconnected players will be automatically killed;
  • togglekarma – turns the karma system on or off.
  • ManageRound – allows players to start and end a round;
  • SelectSub – all players can change submarine;
  • ConsoleCommands – players can use console commands (many require a separate permission);
  • KarmaImmunity  – protects players from the consequences of karma;
  • SellInventoryItems – Players can trade items from their pockets at the station;
  • SellSubItems – everyone can sell items from the submarine;
  • ManageHires – Allows players to hire or fire NPCs;
  • All – Provides players with all administrator capabilities.

Cheat codes

Codes disable achievements in the game.
To activate the function of entering cheat commands, you need to press F3 and enter the code word “enablecheats” without quotes .

  • explosion [Distance] [Strength] [Damage] [Damage to walls] [Strength EMP] – creates a small explosion at the cursor;
  • disablecrewai or enablecrewai – disables or enables AI (for all bots in the team);
  • enableenemyai or disableenemyai – enables or disables AI (monsters);
  • godmode – invulnerability for the character;
  • godmode_mainsub – gives invulnerability to the submarine;
  • fixitems – repairs all items and restores fuel;
  • heal  — full restoration of health;
  • revive [player name] – resurrects the specified character. If you do not specify a name, the effect will be applied to the controlled character;
  • giveexperience [amount] – add experience to the character;
  • teleport — teleports the character to the location indicated by the cursor;
  • teleportsub [start/end/cursor] — teleports the submarine to the start/end of the level/cursor;
  • fixwalls – restores all submarine walls;
  • spawnitem [item name] cursor or inventory — creates an item at the cursor or in the inventory. You can enter a Russian name;
  • power — fully charges the reactor;
  • freecam — free camera. To regain control, select a character from the list at the top left;
  • los — turn on or off line of sight mode;
  • lights — turn on/off additional lighting;
  • fire — turns on the fire mode. Close the console and left- click in the desired location.
  • ballastflora infect – Infects a random pump.
  • ballastflora growthwarp [number]  — Pump infection rate.
  • control «CREATURE»  — Control the selected creature.
  • fixhulls – Fix only those walls that are adjacent to hulls.
  • flipx – Mirror the submarine.
  • gender Male/Female/None — Change the gender of your character to the specified one.
  • giveaffliction [Name of the disease] [Its power] [On which character (if left blank, it will work on a controlled character or creature] – Give an affliction to a character.
  • kill — Kill a character.
  • killmonsters – Kill all creatures. Note: Only kills creatures that have activated.
  • lighting — Toggle lighting.
  • lock — Lock the submarine’s movement in all axes.
  • lockx – Locks the submarine’s movement along the x-axis.
  • locky — Locks the submarine’s movement along the y-axis.
  • los — Disable the “Light Of Sight” effect.
  • money X  — Give yourself so much money. Use only in campaign!
  • oxygen/air – All rooms have 100% oxygen.
  • power X  – Set the nuclear reactor to the specified temperature.
  • ragdoll (Player’s nickname ) – Applies the effect of pressing the “Ragdoll” button (space) to any creature and characters. If you leave the field empty, it is used on the controlled creature or character.
  • respawnnow — Respawn.
  • setclientcharacter [client name] [character name] – Gives control over the character.
  • setskill [all/indentifier] [max/level] [character name] — Give game skills.
  • spawn “Creature or profession name” cursor/inside/outside – Spawns a creature or character at the mouse cursor, in the submarine, next to the submarine, or at any spawn point if the field is left blank.
  • teleportcharacter [character name] — Teleport to the specified position.
  • teleportsub [start/end/cursor] — Teleport the submarine to the cursor position.
  • upgradeitem [upgrade] [level] [items] — Upgrade items.
  • water — Enable/disable the creation of water on the cursor when pressing LMB, as well as its “pumping out” on RMB.

Item IDs

Consumables

  • ID — weldingfueltank — Welding fuel tank
  • ID — fuelrod  — Fuel rod
  • ID — thoriumfuelrod — Thorium fuel rod
  • ID — fulguriumfuelrod  — Fulgurium Fuel Rod
  • ID — fulguriumfuelrodvolatile — Volatile Fulgurium Fuel Rod

Ammunition

  • ID – 40mmgrenade  – 40mm grenade
  • ID — revolverround — Revolver cartridge
  • ID — handcannonround — Homemade revolver cartridge
  • ID — spear  — Harpoon
  • ID — spearunique — Ahab’s Spear
  • ID — depthchargeshell — Depth charge shell
  • ID — coilgunammobox — Coilgun Ammo Box
  • ID — pulselaserammobox — Pulse Laser Fuel Box
  • ID — railgunshell — Railgun Shell
  • ID – detonator – Detonator
  • ID — nuclearshell — Nuclear shell
  • ID — alienshell — Physicorium shell
  • ID — railguncanistershell — Railgun shell

Hand weapons

  • ID – flamer – Flamethrower
  • ID — nucleargun — Fast nuclear accelerator
  • ID — assaultrifle — Assault rifle
  • ID — handcannon — Homemade revolver
  • ID — autoshotgun — Automatic shotgun
  • ID — divingknife — Diving knife
  • ID — divingknifedementonite — Dementonite diving knife
  • ID — divingknifeunique — European handshake
  • ID — divingknifehardened — Hardened diving knife

Tools

  • ID — crowbar — Lom
  • ID — crowbardementonite — Dementonite scrap
  • ID — crowbarhardened — Hardened crowbar
  • ID — handheldsonar — Portable sonar
  • ID — plasmacutter — Plasma cutter
  • ID – screwdriver – Screwdriver
  • ID — toolbelt — Tool belt
  • ID — weldingtool — Welding tool
  • ID — wrench  — Wrench
  • ID — wrenchhardened — Hardened key
  • ID — wrenchdementonite — Dementonite key

Genes

  • ID — increasedswimmingspeed — Caterpillar genes
  • ID — naturalmeleeweapon — Mudraptor genes
  • ID — damageresistance — Moloch’s Genes
  • ID — increasedwalkingspeed — Praying Mantis Genes
  • ID — decreasedoxygenconsumption — Tiger Hammerhead Genes
  • ID — increasedmeleedamage — Hammer genes
  • ID — healdamage — Hammer Matriarch Genes
  • ID — naturalrangedweapon — Spinel genes
  • ID — increasedswimmingspeed — Husk genes
  • ID — vigorondamage — Mollusk genes
  • ID – hyperactivityondamage – Skitter Genes
  • ID — hyperactivityondamage — Hunting genes