Buffer 'Dot' Commands

Introduction

Dot commands change config.txt settings on the fly.  Instead of quitting the game, editing the config.txt file and restarting, a command can be typed in the Chat Buffer.

All dot commands are entered into the Chat Buffer.  Press T to open the Chat Buffer then type in the particular command in the following format:  .command_name [parameter if necessary].  Then press Enter.

Dot Command Format.command [parameter].

Parameters can be text, file names and paths, number values, and on/off toggles (i.e., 1/0).

Graphics Commands

.anisotropic [number] This is a filter that affects the appearance of texture. The Targetware engine detects the maximum for your card and uses that, because different video cards support different levels. The values used here start at 1, for no anisotropic filtering, and then increase from there at factors of 2 (2 4, 8, etc.). Higher values result in better looking textures, but at the expense of frame rate.
.fullanisotropic [0/1] Normally, not every texture has anisotropic filtering applied to it. This command allows you to enable the filtering for all textures. Results may vary greatly by video card.
.log [module name] [level] This sets the logging level of the named module. Example: ".log scene 3" will record information from the scene (graphics) module to the maximum level.
.objectdetail [number] This command allows you to modify when objects are reduced in detail. If set to 0, every object will be drawn at full detail all the time. 1 is normal. Values greater than 1 result in less detail, less often.
.terraindetail [number] This changes the distance to which terrain is drawn in high detail. There is a tradeoff between detail and frame rates, of course. The greater the detail, the more work for the video card and CPU. The value entered here correlates to windows, but it takes into account several factors: distance, screen aperature (Field of View) as well as the height and width of the Targetware window.
.terrainmipmap [0/1] Mipmapping allows terrain textures to render in the distance at lower detail levels automatically. Turning it Off (0) will reduce texture memory usage, but will likely result in some 'shimmer' in distant terrain textures.
.terrainrender [number] Sets the level of terrain layers to be displayed from in game.

Debugging

.damage [percent] [part name] Damage the indicated part by the percentage entered. Example: ".damage 100 left wing fuel tank."
.fire [0/1] [part name] Start (1) or stop (0) a fire in the named part. Example: ".fire 0/1 left wing fuel tank."
.leak [0/1] [part name] Start (1) or stop (0) a leak in the named part. Example: ".leak 0/1 left wing fuel tank."
.update [filename, full path] This command flushes the memory cache and reloads a file. It is primarily useful as a debugging tool. This is very useful for testing animations. For example, if you're modifying an animation on an F4U: run TW in windowed mode, load a scenario, tweak the animation, then: ".update /tr/planes/f4u-1/f4u1.anm."  Geometries and textures will update on screen immediately. Animations only update for new objects, so if you updated the F4U animation, for example,  you'd have to select No Unit, then select your unit again for the animations to show.

Viewing Related

.cleanscreenshot [0/1] On (1) means screenshots don't include debug, fps, console, menus, etc. Off (0) means all that junk shows up in the screenshot. By default, this is enabled and a screenshot with UI elements is available by pressing ALT+F2.
.freemove [number] Meters per second you move when in free move viewing mode.
.visibility [meters] Maximum visual range.

Scenario Related

.roster Displays the number of players on each team.
.time [time] Changes the time of day. Example, ".time 0600" sets the time on the server to 6:00 AM.
.units [number] Changes the type of units in debug display. 0 = Metric, 1 = English, 2 = Nautical.

Sound

.volume [number] Sets Targetware volume relative to system volume. 1.0 = 100% system volume, 0.5 = 50% system volume.

Admin

See Server Administration Commands

Movies & Screenshots

See Using the Targetware Guncam.