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

4.2.2.2 Boolean Commands

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 (the fps command doesn't really exist anymore, so this is only an example):

The following boolean commands are available :

colldet
Enable/disable collision detection. Corresponds to -colldet and -nocolldet commandline options.

debug
Enable/disable more debug information (which is written in `debug.txt' if the program crashes provided your system can catch crashes).

stats
Enable/disable statistics display. Corresponds to -stats/-nostats commandline options and `Walktest.Settings.Stats' configuration option. Note that enabling the statistics counter automatically disables the display of the coordinates.

portals
Enable/disable drawing through portals. If this is off, a portal will just draw as the default texture on the polygon.

console
Open/close console (is done automatically by TAB key).

coordshow
Enable/disable display of coordinate at runtime. Note that enabling the coordinates display automatically disables the statistics display.

zbuf
For debugging. When enabled this will show an alternate view where far away objects are rendered in another color. In other words: it tests the Z buffer. It works best in 16-bit mode.

debug0
Debug command. The function of this command is undefined but it serves as a place-holder for some debugging functionality. A particular version of Crystal Space may assign some action to this command but another version may remove this action again.

move3d
Toggle between between pure 3D movement (Descent-like) and `comfortable' movement (Quake-like). The latter is now default. This basically affects the left and right arrow keys which now rotate the camera how you would expect it and also includes a gravity system. When you enable 3D movement the gravity system is also disabled.

do_gravity
Enable/disable gravity (enabled by default).

freelook
If freelook is enabled the mouse moves around like in Quake. By default freelook is disabled.

sprlight
Change quality setting of sprite lighting. If yes every vertex will be lit according to the correct distance with the light. If no then the distances for all vertices are calculated to the center of the sprite. Default is `no'. This option can also be set with the `Engine.Lighting.SpriteQuality' option in the configuration file.

fullscreen
Toggle fullscreen mode on/off.


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

This document was generated using texi2html