Xpilot : Newbieguide Windows : xpilot.ini

The rest of the configuration is done in the xpilot.ini itself, like setting the colors and fonts. This file can be found in your XPilot-directory
You can get all the options by clicking here


Colors

You can select how many colors you want to see by changing (or adding) the option

maxColors=    8
to your xpilot.ini.
You can now choose between 8 colors in the configpanel of Xpilot.
The default for the number of colors is 8, but you can also select 4 or 16.

You can also specify which colors you want by adding or editing these lines :

color0=    0 0 0
color1=    255 0 0
color2=    0 255 0
color3=    0 0 255
color4=    168 0 168
And so on....
Note however that color0 is always the backgroundcolor in Xpilot and no other objects can have color0.

These colors are given in RGB-values (Red Green Blue-values).
The first number is the amount of red, given in values ranging from 0 to 255.
The second number is the amount of red, given in values ranging from 0 to 255.
The third number is the amount of red, given in values ranging from 0 to 255.

So for example, the colors chosen above.

0 0 0 = black
255 0 0 = red
0 255 0 = green
0 0 255 = blue
168 0 168 = purple

Bitmaps

XPilot also has a nice graphical skin. It will change your client from this to this.
To use it find (or add) these lines in your xpilot.ini

colorSwitch=    No
texturedObjects=    Yes
Beware though! Two downsides to this.

Fonts

You can use different fonts in Xpilot by again editing your xpilot.ini.
Find or add these lines :

gameFont=    -*-times-*-*-*-*-18-*-*-*-*-*-iso8859-1
scoreListFont=    -*-fixed-bold-*-*-*-15-*-*-*-c-*-iso8859-1
Check the optionlist for all of the fonts and more details.
These fonts are given in the same format as Unix-fonts.

You can go and read the relevent sections in the XWindow-User-HOWTO and manually decode what the above actually means.
Of course you can also just experiment.

For example, changing the above gameFont by substituting arial for times. Xpilot will now use the Arial-font instead of the Times New Roman.


These are all the more important options.
Again, all other options can be found in this optionlist.


Error, corrupted file
Error, id 108 does not exist