[ < ] [ > ]   [ << ] [ 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 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.

fps
Enable/disable FPS display (frames per second). Corresponds to -fps/-nofps commandline options and `Walktest.Settings.FPS' configuration option.

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.

things
Toggle the display of things on/off (default on).

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 basicly 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.

pvs
Toggle pvs visibility culling on/off. Use this in combination with the c-buffer (see cbuffer command) to enable the PVS. In the current release of CS this feature is still experimental.

pvsonly
With this command you can indicate that ONLY the PVS should be used for visibility culling and not any other technique. Default is off.

freezepvs
Use this command to freeze the PVS to a given position. This is very useful for debugging a PVS as you can then walk around and see where the PVS is culling nodes. Use this command with 'pvsonly' for better debugging.

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.

palette
Toggle on/off displaying the palette on top of everything (just below the Crystal Space logo). Works in 8-bit modes only.

fullscreen
Toggle fullscreen mode on/off. This will only work with X windows right now and only if the X drivers were compiled with this option.


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

This document was generated using texi2html