Console: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
BTGamepedia>@DeletedUser40580494
(added "control", alphabetized the commands)
Line 6: Line 6:
!
!
|-
|-
|spawn [name]
|control [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)  
|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.
|
|
|
|
|-
|-
|gamescreen, game
|editmap, edit
|Switches to the game screen
|Switches to map editing mode.
|
|
|
|
|-
|-
|mainmenu, menu
|editwater, water
|Switches to main menu
|Allows adding water into rooms or removing it by holding the left or right mouse buttons.
|
|
|
|
|-
|-
|editmap, edit
|fixitems
|Switches to map editing mode
|Sets the condition of all items in the map to 100.0.
|
|
|
|
|-
|-
|freecamera, freecam
|freecamera, freecam
|Stops the camera from being locked to the controlled character and allows it to be moved freely
|Stops the camera from being locked to the controlled character and allows it to be moved freely.
|
|
|
|
|-
|-
|editwater, water
|gamescreen, game
|Allows adding water into rooms or removing it by holding the left or right mouse buttons
|Switches to the game screen.
|
|
|
|
|-
|-
|fixitems
|kick [name]
|Sets the condition of all items in the map to 100.0
|Kicks a player with the specified name from the server (can only by used by the admin of a server).
|
|
|
|
|-
|-
|losenabled, los
|lightingenabled, lights, light
|Toggles the line of sight effect on/off
|Toggles lighting effects on/off.
|
|
|
|
|-
|-
|lightingenabled, lights, light
|loadmap [name]
|Toggles lighting effects on/off
|Loads the specified map.
|
|
|
|
|-
|-
|oxygen
|losenabled, los
|Replenishes oxygen in all rooms to 100.0
|Toggles the line of sight effect on/off.
|
|
|
|
|-
|-
|savemap [name]
|mainmenu, menu
|Saves the map that is currently loaded with the specified filename
|Switches to main menu.
|
|
|
|
|-
|-
|loadmap [name]
|oxygen
|Loads the specified map
|Replenishes oxygen in all rooms to 100.0.
|
|
|
|
|-
|-
|debugdraw
|savemap [name]
|Toggles the "debug draw" mode
|Saves the map that is currently loaded with the specified filename.
|
|
|
|
|-
|-
|kick [name]
|spawn [name]
|Kicks a player with the specified name from the server (can only by used by the admin of a server)
|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).
|
|
|
|
|}
|}

Revision as of 04:03, 24 February 2016

The console can be opened or closed by pressing F3.

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.
editmap, edit Switches to map editing mode.
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).