Console

From Official Barotrauma Wiki
Revision as of 10:11, 4 August 2020 by Jade Harley (talk | contribs)
Jump to: navigation, search

Not to be confused with the in-game installation, "Terminal"


Template:Stub The console is a debugging window usable to alter content and view errors while the game is opened. The console can be opened or closed by pressing F3, though this can be changed in settings.

While its main use is debugging, it can also be used to spawn creatures/items or use moderation commands.

In multiplayer, players with the "Console commands" permission are allowed to use specific commands under the "Permitted console commands" section of the permissions menu.

The console accepts player-inputted commands through a text box at the bottom of the console. These commands will be listed below, alphabetically.

Submarine Editor

The following commands are available for use in the Submarine Editor.

Command Description
alpha [0-255] Set the alpha (transparency) of the selected items/structures.
color [0-255] [0-255] [0-255] Set the RGB values of the selected items/structures.
resetselected Resets the properties of the selected items/structures to prefab default.
save [submarine name] Saves the currently loaded submarine to ..\Barotrauma\Submarines\[submarine name]. Also works in singleplayer.
setentityproperties [property name] [value] Set the [property name] of the selected items/structures to [value].

Singleplayer Commands

The following commands are available for use in the singleplayer campaign.

The console when opened