Console: Difference between revisions
From Official Barotrauma Wiki
BTGamepedia>@DeletedUser40580494 (added enable/disable crew AI) |
BTGamepedia>Telyak (Corrected out of date info.) |
||
Line 12: | Line 12: | ||
|- | |- | ||
|control [name] | |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). | |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"/"[[Tiger Thresher|tigerthresher]]"/"[[Moloch|moloch]]" etc). Some creatures can attack by pressing the R key. Additionally, the [[Husk]] has a fully usable inventory and can interact with the [[Submarine]] as if it were a player. | ||
| | | | ||
| | | | ||
Line 72: | Line 72: | ||
|- | |- | ||
|losenabled, los | |losenabled, los | ||
|Toggles the line of sight effect on/off. | |Toggles the line of sight effect on/off. This can be used to reduce lag. | ||
| | | | ||
| | | | ||
Line 92: | Line 92: | ||
|- | |- | ||
|spawn [name] | |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). | |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"/"[[Tiger Thresher|tigerthresher]]"/"[[Moloch|moloch]]" etc). | ||
| | | | ||
| | | | ||
|} | |} |
Revision as of 02:39, 25 May 2017
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.
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.
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). Some creatures can attack by pressing the R key. Additionally, the Husk has a fully usable inventory and can interact with the Submarine as if it were a player. | ||
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. This can be used to reduce lag. | ||
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). |