Manually Editing the config.txt
File
The config.txt file controls many
important game settings. Located in your /user/
directory, config.txt is a text file that can be
edited with any text editor or the Settings menu..
The Config file is divided into several sections:
Note: [0/1] indicates Off/On values;
[text] letters or numbers, [number] a value, usually
integers. The brackets [ ] describe the setting value
and are not put in the config file.
[Log] Section
This section controls what gets logged.
| SETTING |
DEFAULT |
DESCRIPTION |
| Directory = [file directory] |
log |
The /Targetware/ sub-directory in which logs
will be saved. |
| Level = [number] |
2 |
This determines the level of detail which
will be recorded in logs.
- 0 = No Information
- 1 = Error Information Only
- 2 = Normal Information Level
- 3 = Maximum Information Level
|
| Save = [0/1] |
1 |
When enabled, a log
file will be created with a date/time stamp
every time the Targetware application is run.
These logs will be located in the /Targetware/log/ directory, which is created
automatically. Note: it would
be wise to periodically delete old log files
if disk space is a concern. |
| Timestamp = [0/1] |
1 |
Places the time/date stamp on each line of
the logs. |
| Stdout = [0/1] |
0 |
Turning this on will log to "standard out"
instead of to a log file. |
[Log Levels] Section
This section controls the level of logging for various
categories of information.
| SETTING |
DEFAULT |
DESCRIPTION |
| main = [0-3] |
1 |
Logs general information including chat. |
| flight = [0-3] |
1 |
Logs flight information. |
| joystick = [0-3] |
1 |
Logs joystick and other input device information. |
| scene = [0-3] |
1 |
Logs graphic information. |
| sound = [0-3] |
1 |
Logs sound information. |
| net = [0-3] |
1 |
Logs network connection information. |
[Screen] Section
|
SETTING |
DEFAULT |
DESCRIPTION |
| Width = [pixels] |
800 |
Screen width. Use standard width/height
ratios, e.g., 1024x768, 1280x1024, etc. |
| Height = [pixels] |
600 |
Screen height. Use standard width/height
ratios, e.g., 1024x768, 1280x1024, etc. |
| Depth = [bits
of color depth] |
16 |
Color depth in bits. 16 or
32 are recommended. |
| Refresh = [hz] |
0 |
Monitor refresh rate. If
set to 0, it uses the monitor's default rate. |
| Windowed [0/1] |
0 |
Currently, Targetware can be run
in a window by setting this value to 1. |
| Render Flags
= [number] |
0 |
Render Flags are primarily used
for debugging. Setting this will cause a loss
of performance. There are four possible elements
to set. Enter the sum of the indicated values
to set render flags as desired.
Disable Compiled Vertex Arrays = 1
Disable Vertex Array Objects = 2
Disable Vertex Array Range = 4
Disable Hardware Mipmaps = 8
|
| Multisample
= [number] |
0 |
This enables anti-aliasing. Make
sure that your video card supports multisampling
and the value you set it to. |
[Graphics]
Section
All of the important video settings are controlled
by this section.
|
SETTING |
DEFAULT |
DESCRIPTION |
| Gamma = [number] |
1.0 |
Controls the Gamma levels of
your video display. Increase this number to
brighten your screen, decrease it to have a
darker screen. |
| Texture Preload
= [0/1] |
0 |
All of the textures used by a
scenario will be loaded before the scenario
begins, slowing down the overall loading process.
Useful if your video card can simultaneously
hold all of the textures of a scenario. |
| Max Texture
Size = [number] |
512 |
Textures larger than the indicated
value are automatically reduced. Acceptable
values are powers of 2 (128, 256, 512, 1024,
etc). |
| Terrain
Detail = [number] |
3000 |
This controls the distance at
which terrain is drawn in high detail. This
will effect frame rights; greater distances
will reduce frame rates, lesser distances should
increase them. The value is a factor related
to meters but isn't actually meters because
Level of Detail calculations are based on distance,
and screen aperture (i.e. FOV combined with
height/width of the TW window). |
| Object Detail
= [number] |
1.0 |
This determines when objects
are reduced in detail. If set to 0, every object
will always be drawn at full detail, with significant
performance consequences. Values between 0 and
1 result in more detail than normal. 1 is normal.
Higher values show less detail. |
| Cloud Detail
= [number] |
10 |
The number of sheets drawn
within each layer of clouds, which gives them
some vertical depth. Higher numbers of sheets
will impact Frames Per Second. The minimum
setting is 1. |
| Transparency
Mode = [0/1] |
0 |
Enabling this setting will improve
the appearance of transparent graphics, such
as particle systems behind transparent parts,
overlapping transparent parts, etc., at the
expense of frame rate. |
| Max Visibility
= [meters] |
15000 |
The maximum distance at which
Targetware will display objects and terrain. |
| Anisotropic
Level = [number] |
2 |
Higher levels of this type of
texture filtering will result in better looking
graphics at the expense of frame rate. Setting
this to 1 turns it off (no anisotropic filtering).
Other acceptable values are factors of 2 (2,4,
8, etc). |
| Full
Anisotropic = [0/1] |
0 |
Enables Anisotropic filtering
for all textures. |
| Terrain
Mipmap = [0/1] |
1 |
Mipmapping automatically renders
lower level terrain textures in the distance.
For best appearance of terrain textures, turn
this On. To save on texture memory, at the expense
of terrain appearance quality, turn it Off. |
| Terrain
Supertexture = [number] |
128 |
This is the resolution
of distant terrain textures. Higher resolutions
will improve detail at range but at the cost
of performance. Resolutions must be a
value of 2. |
| Terrain
Render Level = [number] |
3 |
Determines the
level of terrian to render. Different terrain
layers are set to different layers. For example,
if set to 2, only those terrain layers marked
as level 2 or lower will be displayed. This
allows a player to sacrifice terrain quality
for performance. |
| Detail
Textures = [0/1] |
1 |
If enabled, detail
textures will be applied to textures in the
game. |
| Screenshot
Jpeg = [0/1] |
0 |
By default, screenshots
will be saved as .TGA files. Enable this setting
to save screenshots as .JPEG images. |
| Screenshot
Jpeg Quality = [%] |
90 |
The quality of
screenshots saved as Jpegs. The higher the quality,
the larger the file size. |
| Stretch
Main UI = [0/1] |
1 |
Stretches the
Main UI to fill the screen dimensions defined
in the [Screen] section. |
| Stretch
In-Game UI = [0/1] |
1 |
Stretches the
In-Game UI to preserve the dimensions specified
in the ui.txt. |
| Environment
Map = [0/1] |
1 |
Enables environment
maps to be displayed. |
[Interface] Section
| SETTING |
DEFAULT |
DESCRIPTION |
| Splash = [file and path] |
ui/tw_splash.jpg |
File and path of the splash screen displayed
when Targetware is started. |
| UI = [file and path] |
ui/ui.txt |
File and path of the User Interface File. |
| Options = [file] |
options.txt |
File that controls aircraft specific options
chosen by the player. |
| Keyboard = [file] |
keyboard.txt |
The keyboard file within the /user/ directory
to be used. |
| Mouse Swap Pitch = [0/1] |
0 |
Set to 1 to invert your mouse movement. |
| Joysticks = [directory] |
joysticks |
The directory where the joystick files to
be used are located. |
[Movies] Section
| SETTING |
DEFAULT |
DESCRIPTION |
| Width = [pixels] |
100 |
Width of the movie window. Note: this is centered
on the screen. |
| Height = [pixels] |
100 |
Height of the movie camera. Note: this is
centered on the screen. |
| FPS = [frames/second] |
10 |
The number of frames that the movie will record.
Recording movies does impact performance. The
more frames recorded, the greater the loss of
performance. |
| Link to Guns = [0/1] |
0 |
Links the movie camera to the gun trigger
when on. |
| Trigger Delay = [seconds] |
1.0 |
The time delay between the gun trigger release
and when the movie stops recording, if Link
to Guns is On. |
| Key Toggle = [0/1] |
1 |
When off, the camera is only on while the
record button is pressed. When on, it stays
on until it is turned off. |
[Client Game Settings]
Section
| SETTING |
DEFAULT |
DESCRIPTION |
| Units = [number] |
1 |
This controls which type of measurement units
are displayed in the debug text. 0 = Metric,
1 = English, 2 = Nautical. |
| Free Move Speed = [m/s] |
300 |
Speed of free move in meters per second. |
| Mouselook = [0/1] |
0 |
Enables mouselook when on. |
| Master Volume = [number] |
1.0 |
Controls volume relative to your computer's
volume settings. |
| Use Padlock = [0/1] |
1 |
Lets players padlock a targeted unit. (Left
Click on an enemy with a Label). |
| Dot Size = [pixels] |
3 |
The displayed size of distant planes (close
enough to see, but too far to identify). This
is controlled by the server. |
| Slew Speed = [m/s] |
540 |
The speed at which slewed views will move. |
| Lean Spead = [m/s] |
2 |
The speed at which lean views will move. |
| Use Blower Assist = [0/1] |
1 |
Allows you to use the Auto Blower function. |
| Use Cooling Assist = [0/1] |
1 |
Allows you to use the Auto Cooling function. |
| Zoom 1 = [degrees] |
90 |
This controls the number of zoom levels and
the field of view in each level. The default
is 5 levels, but you may change that. As the
number of degrees in the field of view decrease,
the view is 'zoomed' more. |
| Zoom n = [degrees] |
- |
You may have multiple levels of zoom. |
[Server Game Settings]
Section
| SETTING |
DEFAULT |
DESCRIPTION |
| Allow Free View = [0/1] |
1 |
When on, players can move freely in the environment
when not in a plane. |
| Allow External View = [0/1/2] |
1 |
Lets players change the View Mode (F5)
to see their plane in a third person view.
0 = no external view allowed for any aircraft
1 = external view only for designated aircraft
2 = external view available for all aircraft
|
| Allow Observe Enemy = [0/1] |
1 |
Lets players use the Select Unit (F6, F7)
controls to observe enemy planes. |
| Allow Padlock = [0/1] |
1 |
Lets players padlock a targeted unit. (Left
Click on an enemy with a Label). |
| Allow Team Change = [0/1] |
1 |
Players can switch teams. |
| Allow Full Autopilot = [0/1] |
1 |
Players can use the full range of Autopilot
functions. |
| Friendly Fire = [0/1] |
0 |
Planes on the same team can damage each other
if Friendly Fire is enabled. |
| Maximum Dot Size = [pixels] |
3 |
The maximum displayed size of distant planes
(close enough to see, but too far to identify). |
| Kill Messages = [0/1/2] |
0 |
Kill messages will be displayed in the chat
buffer.
0 = all kill messages.
1 = messages only for your kills, and
2 = no kill message. |
| Prep Time = [seconds] |
60 |
Time in seconds after the minimum number of
players is reached on a server before the scenario
actually begins. |
| Mod = [mod file] |
tk.mod |
The .mod file select the TW Mod to run. |
| Scenario = [file
and path] |
/tk/scenarios/tk_a1.scn |
The indicated scenario will be loaded when
the scenario is started. |
| Allow Blower
Assist = [0/1] |
1 |
Allows Auto Blower to be used by players
on the server. |
| Allow Cooling
Assist = [0/1] |
1 |
Allows Auto Blower to be used by players
on the server. |
[Client Labels] Section
| SETTING |
DEFAULT |
DESCRIPTION |
| Scale = [number] |
1.0 |
1.0 for normal size. 0.5 for half size. 2.0
for double size. a readability thing. |
| Friendly Color = [r, g, b, a] |
0, 255, 0, 255 |
The label color of players that are on your
team. |
| Friendly Target Color = [r,g,b,a] |
0,255,0,255 |
The label color of targets that belong to
your team. |
| Enemy Color = [r,g,b,a] |
255, 0, 0, 255 |
The label color of players who are your enemy. |
| Enemy Target Color = [r,g,b,a] |
255, 0, 0, 255 |
The label color of enemy targets. |
| Squad Color = [r,g,b,a] |
255,238,0,255 |
The label color of players who are in your
squad. |
| Maximum Length = [characters] |
8 |
The number of characters in player names that
is displayed. |
[Server Labels] Section
| SETTING |
DEFAULT |
DESCRIPTION |
| Friendly Acquire = [seconds] |
5 |
The time in seconds required to acquire a
Friendly Unit label at maximum range. For closer
objects, less time is required. This is controlled
by the server. |
| Friendly Expire = [seconds] |
30 |
How long a Friendly label will last after
the player has left your field of view. |
| Friendly Show Range = [0/1] |
0 |
0 for no distance indicator in a label. 1
to show a distance indicator. Whatever the server
sets, everybody uses. Distance is shown in 100s
of meters. |
| Friendly Height = [pixels] |
-12 |
The height in pixels at which the label is
displayed above Friendly units. These values
can be negative (to have the label below the
plane). |
| Friendly Show Name = [0/1] |
1 |
Displays the player name of Friendly units.
Note: if both Name and Type are displayed, the
form is "Name:Type." |
| Friendly Show Type = [0/1] |
0 |
Displays the unit type name in label. Note:
if both Name and Type are displayed, the form
is "Name:Type." |
| Friendly Show Range Bar = [0/1] |
1 |
Displays range bar for Friendly units. |
| Friendly Target Acquire = [seconds] |
10 |
The time in seconds required to acquire a
Friendly Target label at maximum range. For
closer objects, less time is required. This
is controlled by the server. |
| Friendly Target Expire = [seconds] |
30 |
Displays range bar for Friendly targets. |
| Friendly Target Height = [seconds] |
12 |
The height in pixels at which the label is
displayed above Friendly targets. These values
can be negative (to have the label below the
plane). |
| Friendly Target Show Name = [0/1] |
1 |
Displays the name of Friendly targets. Note:
if both Name and Type are displayed, the form
is "Name:Type." |
| Friendly Target Show Type = [0/1] |
0 |
Displays the type of Friendly targets. Note:
if both Name and Type are displayed, the form
is "Name:Type." |
| Friendly Target Show Range = [0/1] |
0 |
0 for no distance indicator in a label. 1
to show a distance indicator. Whatever the server
sets, everybody uses. Distance is shown in 100s
of meters. |
| Friendly Target Show Range Bar
= [0/1] |
0 |
Displays range bar for Friendly targets. |
| Enemy Acquire = [seconds] |
5 |
The time in seconds required to acquire a
Enemy units label at maximum range. For closer
objects, less time is required. This is controlled
by the server. |
| Enemy Expire = [seconds] |
10 |
Displays range bar for Enemy units. |
| Enemy Height = [seconds] |
-12 |
The height in pixels at which the label is
displayed above Enemy units. These values can
be negative (to have the label below the plane). |
| Enemy Show Name = [0/1] |
0 |
Displays the name of Enemy units. Note: if
both Name and Type are displayed, the form is
"Name:Type." |
| Enemy Show Type = [0/1] |
1 |
Displays the type of Enemy units. Note: if
both Name and Type are displayed, the form is
"Name:Type." |
| Enemy Show Range = [0/1] |
0 |
0 for no distance indicator in a label. 1
to show a distance indicator. Whatever the server
sets, everybody uses. Distance is shown in 100s
of meters. |
| Enemy Show Range Bar = [0/1] |
1 |
Displays range bar for Enemy units. |
| Enemy Target Acquire = [seconds] |
10 |
The time in seconds required to acquire a
Enemy target label at maximum range. For closer
objects, less time is required. This is controlled
by the server. |
| Enemy Target Expire = [seconds] |
5 |
Displays range bar for Enemy targets. |
| Enemy Target Height = [seconds] |
12 |
The height in pixels at which the label is
displayed above Enemy targets. These values
can be negative (to have the label below the
plane). |
| Enemy Target Show Name = [0/1] |
1 |
Displays the name of Enemy targets. Note:
if both Name and Type are displayed, the form
is "Name:Type." |
| Enemy Target Show Type = [0/1] |
0 |
Displays the type of Enemy targets. Note:
if both Name and Type are displayed, the form
is "Name:Type." |
| Enemy Target Show Range = [0/1] |
0 |
0 for no distance indicator in a label. 1
to show a distance indicator. Whatever the server
sets, everybody uses. Distance is shown in 100s
of meters. |
| Enemy Target Show Range Bar =
[0/1] |
0 |
Displays range bar for Enemy targets. |
[Client
Network Settings] Section
|
SETTING |
DEFAULT |
DESCRIPTION |
| Maximum
Download Size = [kilobytes] |
256 |
The largest size
of a file that you will download. 0 means there
is no maximum. |
| Download
Changed Resources = [0/1] |
1 |
This will download
and overwrite any files you have that are different
from the game servers for a particular scenario. |
| Download
Optional Resources = [0/1] |
1 |
This will download
any optional files that you don't have for a
particular scenario, such as customized plane
skins. |
[Server Network Settings]
Section
If you decide to host a game of Targetware, this
section is very important.
|
SETTING |
DEFAULT |
DESCRIPTION |
| Dedicated = [0/1] |
0 |
Indicates to the Targetware
metaserver whether your server is dedicated
or not. |
| IP Address
= [ip number] |
|
Allows the server to specify
an IP to be used for players attempting to join
the server. |
| Port = [port
number] |
2766 |
The port your server uses
to allow other players to join. |
| Client Timeout = [seconds] |
0 |
The length of time the server
will try to connect to your client before timing
out. When this time has expired, the server
will decide that you are not connected. |
| Short Description
= [text] |
A Targetware
Server |
This text is displayed on
the server list page. |
| User List
= [text file] |
userlist.txt |
This file allows you to set
your server as public or private. It also
allows
you to specify which players can join your
private servers, as well as which players
are banned. The file is saved in the /user/
directory. Refer to Preference
File Structure to find where the /user/
directory is located on your operating system. |
| Scoring =
[text file] |
scoring.txt |
When you host a game, the
scores of players will be recorded in this
file. The file is saved in the /user/
directory |
Status = [text
file] |
status.txt
|
This file is
created when hosting a game in dedicated server
mode. It records the operator (host),
the scenario running, and the minimum, maximum
and current number of players for the server.
This file can be used to display server status
on a web page. |
| Min Players
= [number] |
1 |
The fewest number of players
with which the game will launch a scenario. |
| Max Players
= [number] |
16 |
The maximum number of players
the game will allow into a scenario you host. |
| Allow
Resource Downloads = [0/1] |
1 |
This setting enables you to
automatically download any missing resources
when a scenario begins. |
| Maximum
Download Size = [kilobytes] |
256 |
The largest size of a file
that your server will allow to be downloaded.
0 means there is no maximum. |
[Login] Section
|
SETTING |
DEFAULT |
DESCRIPTION |
| Name
= [text] |
No
Name |
Your
name as it is displayed to other players. Eventually,
this will be your unique Targetware account
name. |
| Password
= [text] |
(your
password) |
The password
for your Targetware account. |
[Radio Lists] Section
This section also shows any private radio tunings
you have. For more information on private radio tuning,
plese refer to Chat and Radio
Usage.
SETTING |
DESCRIPTION |
| Squelch = [players] |
This lists all of the players you are blocking
chat messages from. |
| 1 = [player, player,...] |
List of all the players you transmit to on
Radio Channel 1. |
| n = [player, player,...] |
List of all the players you transmit
to on Radio Channel n. |
[Joysticks] Section
Here, the stick files to be uses with particular
devices is recorded. Please refer to Joystick
Setup for additional information.
SETTING |
DESCRIPTION |
| [exact joystick name] = [desired
joystick file and path] |
The exact joystick, or other device,
name is detected by Targetware and reported in
the Settings>Joysticks screen. The joystick file
name can be anything, but the [Names] section
of that file must include the exact joystick
name to function. |
Example:
Top Gun Afterburner = /joysticks/Top_Gun_Afterburner.txt
Saitek Cyborg 3D Stick USB = /joysticks/bloos_stick.txt
|