[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 3.1.4 Console Commands

As soon as you run Walktest, you see the world that is loaded, and you can move about in it. Pressing `Tab` replaces your view with a console into which you can type commands. Pressing `Tab` again clears the console and returns you to the view of the map.

To get a fairly current list of the commands, press `Tab` to get the console then type `help`.

Many of the commands are used to show or set internal variables. For example, `coordshow` will show whether the coordinate display is currently enabled or not. Use `coordshow on` or `coordshow off` to change the state. A command that accepts `on` or `off` also accepts `toggle` to change the current state. This is useful when bound to a key, so that you don't have to have one key to turn a feature on and another to turn it off.

Some of the commands are bound to single keypresses, so they can be invoked when not in console mode. This is controlled by the ``/data/config/autoexec.cfg'` file, and is indicated alongside the description of the full command inside square brackets.

Commands are of various types:

- General commands, DO something instead of changing a variable. How the argument is interpreted depends on the command
- Boolean commands have either an on or off state. When you just type the command without arguments it will show you the current state of the command (on or off). To turn the state on just use: on, yes, true, or 1 as the first argument of the command. To turn it off use: off, no, false, or 0. To toggle a state use toggle. Example: stats toggle to turn on and off the Statistics display.
- Value commands has some value associated with it. Typing the command without arguments will show the current value. Just type the value after the command to change it. Using a ``++'` or ``--'` operator before the value will increase or decrease the value with the given amount. Example (gamma command doesn't exist, this is only an example):
  - ``gamma'`: show current gamma value
  - ``gamma 1.5'`: set gamma to 1.5
  - ``gamma ++0.05'`: increase gamma with 0.05
  - ``gamma --0.05'`: decrease gamma with 0.05

If there is a key name after the command name in square brackets, this is the default binding and the shortcut can be used when not in console mode.

The commands have been broken down into categories, but some commands defy categorisation. If you can't find what you're looking for, keep looking!

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ]

This document was generated using texi2html 1.76.