Console

From Official Barotrauma Wiki
Revision as of 00:58, 1 August 2015 by Juanjp600 (talk | contribs) (Article originally written by [http://undertowgames.com Regalis])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The console can be opened or closed by pressing F3.

Command Description
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)
gamescreen, game Switches to the game screen
mainmenu, menu Switches to main menu
editmap, edit Switches to map editing mode
freecamera, freecam Stops the camera from being locked to the controlled character and allows it to be moved freely
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
losenabled, los Toggles the line of sight effect on/off
lightingenabled, lights, light Toggles lighting effects on/off
oxygen Replenishes oxygen in all rooms to 100.0
savemap [name] Saves the map that is currently loaded with the specified filename
loadmap [name] Loads the specified map
debugdraw Toggles the "debug draw" mode
kick [name] Kicks a player with the specified name from the server (can only by used by the admin of a server)