XShipWars 2.5.x

Client Manual

[ Home | Download | Contributions | Universes | Documentation | Contacts & Mailing List ]

Contents


Command Line Arguments


Usage: xsw [url] [options] [GUI_options]

    [url] is the URL to the universe that you want to connect to.

    [options] can be any of the following:

        --cfgfile <file>        Load configuration from <file>.
        --rcfile <file>         Same as --cfgfile.
        -f                      Same as --cfgfile.
        --control <type>        Specify which controller to use:
                                   keyboard
                                   joystick
        -c                      Same as --control.
        --help                  Prints (this) help screen and exits.
        --version               Prints version information and exits.

    Most customizations can be performed in the options menu.

    Command line options override any options in the
    configuration file.

    [GUI_options] can be any options standard to your GUI, consult
    your GUI's manual for available options.

Go to: [ Contents ]

X GUI Options

Options for [GUI_options] on UNIX/X.

--display <address:port> Specifies the display address.
--visual <vid> Specifies which X Visual to use.
-fg #rrggbb Specifies the default foreground color.
-bg #rrggbb Specifies the default background color.
--font <fontname> Specifies the default font.
--geometry WxH+X+Y Specifies the geometry of the bridge window.
--mono Force 1-bit emulation of current depth.
--no_xshm Disables the use of shared memory.

Go to: [ Command Line Arguments | Contents ]


Files & Directories

Configuration Files

By default, these files are located in /usr/share/games/xshipwars/etc (unless otherwise noted).

*.ocsn Object Create Script Names File. Specifies a universe-specific list of names and icons to be used for weapons and standard objects.
*.page Menu configuration files, specifies the appearance and files used for the menus.
xsw.ini Default configuration file that will be coppied to the user's local <$HOME/.shipwars directory if it does not exist there (usually on the first time you run this program).
$HOME/.shipwars/xsw.ini Program's configuration file.
$HOME/.shipwars/universes.ini List of universe addresses.

Go to: [ Files & Directories | Contents ]

Graphic Files

By default, these files are located in /usr/share/games/xshipwars/images (unless otherwise noted).

*.isr ImgRefs (Image References) file, this file contains universe-specific references to graphic files.
*.tga Targa image files.

Go to: [ Files & Directories | Contents ]

Sound Files

By default, these files are located in /usr/share/games/xshipwars/sounds (unless otherwise noted).

*.ss SndRefs (Sound References) file, this file contains universe-specific references to sound files.
*.mid MIDI music files. These are used as background music.
*.wav Wave sound files.

Go to: [ Files & Directories | Contents ]


Windows

Bridge Window

This is the main window which displays the interface to control your vessel.

Bridge Window Diagram

View Screen (center window) displays the surroundings of your vessel in a overhead view. The viewscreen camera position can be zoomed in and out or auto zoomed to fit by containature with a referanced subject object. When you are not connected, the viewscreen displays the main menu. See controls for a list of control functions.

Players stats console (left column window) displays the condition and information about your vessel. See controls for a list of control functions.

Subject stats console (right column window) displays the condition and information about the object that your scanning. See controls for a list of control functions.

Scanner (upper right window) shows the objects visable on your vessel's scanner. Use the scale bar on the right edge to change the scanner `zoom'. See controls for a list of control functions.

Message box (lower horizontal window) displays the messages recieved from the universe and client responses statements.

Go to: [ Client Windows | Contents ]

Large Message Window

Larger display of the contents in the message box on the bridge window. To map this window press Button3 on the bridge window's message box.

Large Message Window Diagram

See controls for a list of control functions.

Go to: [ Client Windows | Contents ]

Universe List Window

Lists the universes that you have bookmarked.

To map this window click on connect from the main menu.

Universe List Window Diagram

Double clicking on the universe entry will connect to that universe. Pressing Button3 over an entry selects it and maps the menu, from there you can add, edit, and delete universe entries.

You can also change the order of the universes by dragging the entries around.

Universe entries are stored in the file .shipwars/universes located in your home directory.

Go to: [ Client Windows | Contents ]

Economy Window

Buying and selling are performed in this window.

To map this window, first select an object that you want to buy or sell from/to and then press Button3 over the viewscreen and go to Economy....

Economy Window Diagram

Proprietor object specifies the object that all information and transactions to take place are in relation to. You can manually enter a different object name in its place and click on refresh to obtain a new listnig for that object (provided it exists).

Tax specifies the tax value that is to be applied to all purchases and sells.

The product list window lists all available products on the proprietor object.

Sell price specifies the price per 1 unit quantity of the product when the customer sells to the proprietor.

Buy proce specifies the price per 1 unit quantity of the product when the customer buys from the proprietor.

Quantity specifies the amount of product quantity for the transaction. If the product is of whole unit quantity, then the lower rounded whole unit product amount will be used.

The buy button buys the selected product in the amount specified in quantity from the proprietor to the customer.

The sell button sells the selected product in the amount specified in quantity to the proprietor from the customer.

Go to: [ Client Windows | Contents ] <


Controls

Keyboard

This is a list of all key functions using the default key mapping.

To customize your key mappings press Button3 over the viewscreen and then go to Options...->General->Map Keyboard.

Key Function
F1 Print basic mapped keys and their respective functions on the message box.
F2 Toggles the viewscreen markings on/off.
F3 Cycles the amount of viewscreen labeling.
F4 Toggle energy saver mode on/off. When energy saver mode is on, the viewscreen redraws and other high intensity CPU functions are slowed down to conserve power.
F9 Map prompt to type in a URL to connect to a universe.
F10 Disconnect from current universe.
F11 Refresh all client resources and local network data (if connected).
F12 Reconnect to the universe you last connected using the current login name and password.
/ Maps the prompt to input a client command.
E Maps the prompt to input a server command (a command to be sent to the currently connected universe server).
X Exits the XShipWars client.
[ Decrease net streaming interval (when auto interval is off), lower values increases the resolution of object movements but also increases network bandwidth.
] Increase net streaming interval (when auto interval is off), higher values decreases the resolution of object movements but also decrease network bandwidth.
W Toggles the weapons online/offline. If the SHIFT key is held down then the weapon disarm signal is sent to all fired weapons.
1 Selects weapon number 1.
2 Selects weapon number 2.
3 Selects weapon number 3.
4 Selects weapon number 4.
5 Selects weapon number 5.
6 Selects weapon number 6.
7 Selects weapon number 7.
8 Selects weapon number 8.
9 Selects weapon number 9.
LEFT_CURSOR Turns to port. If in omni-directional thrust mode then this fires thrusters starboard.
RIGHT_CURSOR Turns to starboard. If in omni-directional thrust mode then this fires thrusters port.
UP_CURSOR Increases the throttle. If the SHIFT key is held down then this increases the throttle at a higher rate.
DOWN_CURSOR Decreases the throttle. If the SHIFT key is held down then this decreases the throttle at a higher rate.
CENTER Sets the throttle to idle.
SPACE Fire/use the current selected weapon/equipment.
LEFT_QUOTE Start/shutdown the engines.
S Raises/lowers the shields (only if your vessel has a shield generator).
TAB Locks on the nearest controlled or player object that is within scanner range. If the SHIFT key is held down then this locks on the nearest home object that is within scanner range.
J Locks on the next object that is within scanner range.
T Engages the tractor beam on the locked-on object. If the SHIFT key is held then this disengages the tractor beam.
U Unlocks the locked-on object. If the SHIFT key is held then this disengages the tractor beam.
I Maps the prompt to input an object's name to intercept. If #off is input then intercept is turned off.
F Maps the prompt to input a new shield frequency (in kHz).
Y Maps the prompt to input a new weapons frequency (in kHz).
K Maps the prompt to input a new com channel (in kHz).
H Sends a hail to the locked-on object requesting them to switch to your current com channel. If the SHIFT key is held then this sends a general hail to all nearby objects requesting them to switch to your current com channel.
RIGHT_QUOTE Send message on the current com channel to all nearby objects.
Z Raises/lowers the cloak (only if your vessel has a cloaking device).
C Toggles the damage control (repair the vessel) on/off.
COMMA Zooms the scanner out. If the SHIFT key is held down then this increases the zoom out rate.
PERIOD Zooms the scanner in. If the SHIFT key is held down then this increases the zoom in rate.
N Zooms the scanner to match the current visual range.
O Zooms the scanner to maximum range.
SLASH Turns on auto viewscreen zoom. Pressing - or = turns this off.
MINUS Zooms the viewscreen out (and turns off auto viewscreen zoom). If the SHIFT key is held down then this increases the zoom out rate. If the CTRL key is held down then this decreases the size of the bridge window to the next smaller preset size.
EQUAL Zooms the viewscreen in (and turns off auto viewscreen zoom). If the SHIFT key is held down then this increases the zoom in rate. If the CTRL key is held down then this increases the size of the bridge window to the next smaller preset size.
L Toggles the vector lights on/off.
P Toggles the strobe lights on/off.
V Toggles the external lumination lights on/off.
D Starts/aborts the auto-destruct sequence.

Go to: [ Controls | Contents ]

Joystick

To map your joystick go to Options... and set the Controller Type to Joystick, then click on Apply. Next, click on Map Joystick, you should then see the Joystick Map Window (as shown on the right).

Axises are moveable parts on your joystick, most notibly the main stick moves in two directions (three directions for the Saitek Cyborg 3D for example). The throttle and hats are also considered axises, you may have more or less axises depending on the design of your joystick and the support of the joystick driver. The axis numbers start from 0, axis numbers 0 and 1 are usually the x and y axises (respecivly). The rotate (for 3D sticks) and throttle axises are usually axis numbers 2 and 3 (respectivly). Consult your joystick driver set up and your joystick manual for the exact axis information. Setting an axis number to -1 implies that no axis is to perform that operation.

Buttons are clickable surfaces which have two positions (pressed and released), note that hats are not considered buttons but rather as axises. Each button can generate a keycode, this keycode is treated as if it were a key pressed (and released) from the keyboard (but no auto-repeat, unless your joystick has that as a hardware feature). Each keycode performs operations set by the keymappings, so make sure you have them configured to your liking first.

The joystick calibration file is typically stored in the .joystick file located in your home directory.

To calibrate your joystick, exit the XShipWars client first and then run jscalibrator to calibrate your joysticks.

Go to: [ Controls | Contents ]

Pointer

Controlling the vessel with the pointer is currently not supported. However, the pointer can still be used to click on most of the buttons on the bridge window's consoles, scanner, and viewscreen.

Holding down the SHIFT key and clicking on a button often performs an alternate function (such as decreasing a value instead of otherwise increasing it).

In cases where a label's value has a positive and a negative incremental capability, clicking on the upper half of the label increments it and the lower half decrements it.

Action on Viewscreen Description
Button1 Locks scanner on the clicked on object.
SHIFT + Button1 Send a hail to the clicked on object.
Button2 No function.
SHIFT + Button2 Lock tractor beam on clicked on object. If no object was clicked on, then tractor beam is disengaged.
Button3 Maps the quick menu.
Action on Scanner Description
Button1 Locks scanner on the clicked on object.
SHIFT + Button1 Send a hail to the clicked on object.
Button2 Set intercept to the clicked on object. If no object was clicked on then intercept is turned off.
SHIFT + Button2 No function.

In addition to the above, clicking on the various labels and icons on the player and subject console panels will perform various corresponding actions. Holding down the SHIFT key while clicking will also produce alternate or accelerated affect.

Pressing Button2 over the picture of the player or subject vessel will print its statistics to the message box.

Go to: [ Controls | Contents ]


Client Commands

To enter a client command:
  1. Press / on the bridge window (a prompt will then appear).
  2. Type in a client command (listed below).
  3. Press ENTER.

aint [on|off]

Toggles automatic adjustment of the network streaming data interval on/off. The interval is automatically increased or decreased depending on the number bytes sent and recieved per 1 second compared to the maximum network device load (set in the options window). If this is set to off, then you can manually adjust the interval with the [ and ] keys.

con [url]

Connects to the universe specified in the [url]. If a login name and password is specified in the [url], then that login name and password will be used to log in to the universe otherwise the previously set login name and password will be used.

discon

Disconnects from the currently connected universe.

exit

Exits XShipWars.

help [topic]

Prints a listing of client commands, or if [topic] is specified then prints information about the specified topic.

int

Manually sets the network data streaming interval in milliseconds. This can only be set when automatic network data streaming interval adjusting is turned off.

lname [login_name]

Sets the login name to be used in the next connection operation. Typing without any arguments prints current setting.

log [on|off] [filename]

Toggles logging on/off. If turning on, then [filename] can be specified as the log file. Typing without any arguments prints current setting.

lpass [login_password]

Sets the login password to be used in the next connection operation. Typing without any arguments prints current setting.

mem [operation]

Performs an operation on the client's memory, [operation] can be any of the following:

  • refresh - Reclaim any unused memory and refresh memory.
  • reload - Reload all configurations from files.
Typing without any arguments prints current memory statistics.

refresh

Refreshes all client resources and network information (if connected).

script [filename] [arg...]

Uploads a server script (text file containing a list of server commands) [filename] to the currently connected universe server. Arguments [arg...] can be specified which will replace $# tokens within the script file. # is a number corresponding to one of the arguments given.

set [parameter][=<value>]

Sets [parameter] to <value>. If no arguments are given, then a list of available [parameter]s and their current <value>s are listed.

synctime

Reset and syncronize timmers, this action is performed automatically by the program as needed. Only if objects appear to freeze while the network streaming data is still flowing should you need to use this command.

version

Prints the version of the XShipWars client and any related build information.

Go to: [ Client Commands | Contents ]


Shipwars is copyright © 1997-2005 by WolfPack Entertainment
and is developed and distributed in accordance with the GNU Public License