Console: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
BTGamepedia>@DeletedUser40580494
(added enable/disable crew AI)
m (Redirected page to Console Commands)
Tag: New redirect
 
(42 intermediate revisions by 16 users not shown)
Line 1: Line 1:
The '''console''' is a debugging window usable to alter content while in-game; it can be opened or closed by pressing F3. While its main use is to get around bugs, it can also be used to cheat or set up interesting situations.
#redirect [[Console Commands]]
 
In multiplayer, only the person hosting the game can use the console.
 
The console only recognize specific inputs called '''console commands''', which are listed hereafter. Note that the console is not case-sensitive: it doesn't matter if any letter (or all, or any) is in uppercase.
 
{| class="wikitable"
!Command
!Description
!
!
|-
|control [name]
|Assume control of a character/creature. The name must be the same as the name of the folder where the characters configuration file is located ("human"/"tigerthresher"/"moloch" etc). Note that currently, there is no way to attack while controlling a creature.
|
|
|-
|debugdraw
|Toggles the "debug draw" mode.
|
|
|-
|disablecrewai
|Deactivates the crew AI in single player, making the crew inactive unless directly controlled. See "enablecrewai".
|
|
|-
|editmap, edit
|Switches to map editing mode.
|
|
|-
|enablecrewai
|Activates or reactivates the crew AI in single player. See "disablecrewai".
|
|
|-
|editwater, water
|Allows adding water into rooms or removing it by holding the left or right mouse buttons.
|
|
|-
|fixitems
|Sets the condition of all items in the map to 100.0.
|
|
|-
|freecamera, freecam
|Stops the camera from being locked to the controlled character and allows it to be moved freely.
|
|
|-
|gamescreen, game
|Switches to the game screen.
|
|
|-
|kick [name]
|Kicks a player with the specified name from the server (can only by used by the admin of a server).
|
|
|-
|lightingenabled, lights, light
|Toggles lighting effects on/off.
|
|
|-
|loadmap [name]
|Loads the specified map.
|
|
|-
|losenabled, los
|Toggles the line of sight effect on/off.
|
|
|-
|mainmenu, menu
|Switches to main menu.
|
|
|-
|oxygen
|Replenishes oxygen in all rooms to 100.0.
|
|
|-
|savemap [name]
|Saves the map that is currently loaded with the specified filename.
|
|
|-
|spawn [name]
|Spawns a character/creature at a random spawnpoint (or at coordinates 0,0 if no spawnpoints are found). The name must be the same as the name of the folder where the characters configuration file is located ("human"/"tigerthresher"/"moloch" etc).
|
|
|}

Latest revision as of 18:05, 10 February 2021

Redirect to: