wiki:Useful Console Commands

Version 1 (modified by jpawlick, 13 years ago) (diff)

--

Once Quagents is running, you can type ` (backtick) to bring up the game console, which allows you to chat as well as issue game console commands. You can use SHIFT-Page Up and SHIFT-Page Down to scroll in the console window.

\cmdlist - lists all commands.

\cvarlist - lists a bunch of variables that you can change to modify the game.

\follow [1+] - follow the client whose number is the argument. Once you are following, you can type "\follow" with no number to become a free-floating observer.

\map or \dev_map [MAP] - load the map. You can get a list of maps by typing, "\map " and pressing TAB. (You do need that space typed.)

\timescale [0-inf] - scale the simulation speed by the specified amount. There is a minimum number of msec per frame, so entering 0 will not cause strange problems.

\viewpos - prints location of the viewpoint of the user.

\kill - if you fall into a location that is supposed to autokill you but doesn't, \kill will let you respawn.

\cg_draw2D [0-1] - toggle drawing of the HUD.

\cg_drawGun [0-3] - toggle drawing of the gun.