diff options
author | Andrey Nazarov <skuller@skuller.net> | 2010-08-10 15:37:41 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2010-08-10 15:37:41 +0000 |
commit | a3e844197b2984a33307799e28209b1072e1da64 (patch) | |
tree | f2298629c4d283c4a7ed0c6d2aa1e8fe379bfdbf | |
parent | 512712e2654f8840fd1bcb68ffbed1ea9fc375c5 (diff) |
Updated documentation.
-rw-r--r-- | wiki/doc/client.mdwn | 40 | ||||
-rw-r--r-- | wiki/download.mdwn | 53 | ||||
-rw-r--r-- | wiki/download/apt.mdwn | 15 |
3 files changed, 75 insertions, 33 deletions
diff --git a/wiki/doc/client.mdwn b/wiki/doc/client.mdwn index f11785c..f27e074 100644 --- a/wiki/doc/client.mdwn +++ b/wiki/doc/client.mdwn @@ -226,6 +226,9 @@ value aligns graph to the right side of the screen. Specifies vertical placement of the ping graph. Setting this to negative value aligns graph to the bottom side of the screen. +- `set scr_lag_max 200` (integer) +Specifies ping graph scale by defining the maximum value displayed. + Video ---------- @@ -257,15 +260,23 @@ OpenGL renderer ---------- - `set gl_gamma_scale_pics 0` (boolean) -Apply gamma scaling not only to textures and skins, but to HUD pics too. +Apply gamma scaling not only to textures and skins, but to HUD pictures too. - `set gl_noscrap 0` (boolean) -By default, OpenGL renderer combines small HUD pics into single large -texture called scrap. This cvar disables this optimization. +By default, OpenGL renderer combines small HUD pictures into the single +texture called scrap. This usually speeds up rendering a bit, and allows +pixel precise rendering of non power of two sized images. If you don't like +this optimization for some reason, this cvar can be used to disable it. - `set gl_bilerp_chars 0` (boolean) Enable bilinear interpolation of charset images. +- `set gl_bilerp_pics 1` (integer) +Enable bilinear interpolation of HUD pictures: + - 0 - disabled for all pictures + - 1 - enabled for large pictures that don't fit into the scrap + - 2 - enabled for all pictures, including the scrap texture itself + - `set gl_drawsky 1` (boolean) When disabled, sky box is drawn in solid black color. @@ -329,6 +340,10 @@ by the window system are used. On Linux, specifies device file to use for direct mouse input. Normally, it should be one of `/dev/input/eventX` files (reading permissions are required). +- `set m_autosens 0` (boolean) +When enabled, mouse sensitivity is scaled depending on current player's FOV, +assuming default value of 90. + - `set lirc_enable 0` (boolean) On Linux, enables input from the LIRC daemon, which allows menu navigation and command execution from your infrared remote control device. @@ -372,8 +387,8 @@ Macros Macros behave like automated console variables. When macro expansion is performed, macros are searched first, then console variables. -Each of the following examples are valid: `$loc_here`, `${loc_here}` -and `${$loc_here}`. +Each of the following examples are valid: `$loc_here`, `$loc_here$`, +`${loc_here}` and `${$loc_here}`. - `$cl_armor` - `$cl_ammo` @@ -384,8 +399,11 @@ and `${$loc_here}`. - `$loc_there` Name of the location you are looking at. - `$loc_here` Name of the location you are standing at. - `$cl_ping` Average RTT to the server and back. -- `$cl_fps` Input polling rate (that is, main loop frame rate). +- `$cl_fps` Input polling rate (equals the main loop frame rate). +- `$cl_mps` Movement commands generation rate. +- `$cl_pps` Movement packets transmission rate. - `$cl_ups` Player velocity in units/sec. +- `$r_fps` Rendering frame rate. - `$com_time` Current time, formatted according to `com_time_format`. - `$com_date` Current date, formatted according to `com_date_format`. - `$com_uptime` Engine uptime in format `[DD+][HH:]MM.SS`. @@ -454,4 +472,14 @@ Toggle passive connection mode. When enabled, client awaits for the first sequence once this packet is received. This command is useful for connecting to servers behind NATs or firewalls. See `pick` [[server#index3h1]] command for more details. +- `trigger [<command> <match>]` +Adds new message trigger. When a message is received from server, a list of message triggers +is examined. For each trigger, _match_ is macro expanded and wildcard compared with the message, +ignoring any unprintable characters. If the message matches, _command_ is stuffed into +the command buffer and executed. When called without arguments, prints a list +of the registered triggers. + +- `untrigger [all] | [<command> <match>]` +Removes the specified trigger or all triggers. When called without arguments, prints a list +of the registered triggers. diff --git a/wiki/download.mdwn b/wiki/download.mdwn index b03074a..f4f3154 100644 --- a/wiki/download.mdwn +++ b/wiki/download.mdwn @@ -6,46 +6,61 @@ Current stable version of Q2PRO client for Win32 is **r364** This version is supported by r1ch.net anticheat. Thanks, R1CH, for building this version! -Current stable version of Q2PRO server is **r396**. -GNU/Linux and Win32 builds are found in the [stable/][2] directory, -along with source snapshots. If you are running older Q2PRO server -version, you are highly recommended to upgrade. +Current stable version of single-user Q2PRO server for GNU/Linux is **r496**. +Latest stable version of Q2PRO server for Win32 is **r396**. +These builds are found in the [stable/][2] directory, along with +source snapshots. [1]: http://antiche.at/files/q2pro-client_r364_win32_x86_anticheat.zip [2]: /q2pro/download/stable/ -Users of Debian GNU/Linux and compatible distributions can -conveniently install prebuilt Q2PRO client and server packages -from the [[APT repository|apt]]. +Linux packages +--------------- + +In addition to the manual installation method above, it is also possible to +install Q2PRO pre-packaged for your Linux distribution. Advantages of this +approach are automatic updates, system-wide installation that makes Q2PRO +runnable by multiple users, and increased security due to the separation of +static, writable and executable content and access rights. + +Users of Debian GNU/Linux can conveniently install Q2PRO client and server +packages from skuller.net APT [[repository|apt]]. Ubuntu users can install +Q2PRO from a [PPA][3] at launchpad.net. + +[3]: https://launchpad.net/~skuller/+archive/q2pro Unstable builds --------------- -Latest GNU/Linux server builds and Win32 client and server -builds from SVN trunk are available in the [unstable/][3] directory, -along with source snapshots. You might also find development -[timeline page][4] useful for tracking latest changes. +Latest GNU/Linux single-user server builds and Win32 client and server +builds from SVN trunk are available in the [unstable/][4] directory, +along with source snapshots. You might find development +[timeline page][5] useful for tracking latest changes. There is also +a periodically updated summary of important [changes][6] available. -[3]: /q2pro/download/unstable/ -[4]: /q2pro/cvstrac/timeline +[4]: /q2pro/download/unstable/ +[5]: /q2pro/cvstrac/timeline +[6]: /q2pro/cvstrac/fileview?f=trunk/CHANGES SVN access ---------- To get the latest Q2PRO source code, you need to install Subversion client. Use the following command to checkout a fresh working copy into -the `q2pro` directory: +the `q2pro` directory and prepare it for building: - svn co svn://skuller.net/q2pro/trunk q2pro + $ svn co svn://skuller.net/q2pro/trunk q2pro + $ cd q2pro + $ svnversion > REVISION -You can also [browse][5] Q2PRO source tree online. +You can also [browse][7] Q2PRO source tree online. -[5]: /q2pro/cvstrac/dir?d=trunk +[7]: /q2pro/cvstrac/dir?d=trunk Archived builds --------------- Previous Q2PRO versions of historic interest are available -in the [attic/][6] directory. +in the [attic/][8] directory. -[6]: /q2pro/download/attic/ +[8]: /q2pro/download/attic/ diff --git a/wiki/download/apt.mdwn b/wiki/download/apt.mdwn index f71f3e6..05052af 100644 --- a/wiki/download/apt.mdwn +++ b/wiki/download/apt.mdwn @@ -2,8 +2,7 @@ APT repository ---------------- Prebuilt Q2PRO packages are available for the stable Debian distribution for i386 and amd64 architectures. Built in Debian 5.0 ‘Lenny’ environment, -these packages are expected to install in testing/unstable branches as well, -even Ubuntu users may give them a try. +these packages are expected to install in testing/unstable branches as well. In order to get Q2PRO repository contents automatically managed by APT, add the following lines into your `/etc/apt/sources.list` file (you need @@ -14,13 +13,13 @@ root privileges for this): Users of Secure APT also need to import the repository signing key: - wget -q -O - http://skuller.net/debian/archive.key | apt-key add - + $ wget -q -O - http://skuller.net/debian/archive.key | apt-key add - Finally, run the following commands to install or upgrade Q2PRO: - aptitude update - aptitude install q2pro-client # install the graphical client - aptitude install q2pro-server # install the dedicated server + $ aptitude update + $ aptitude install q2pro-client # install the graphical client + $ aptitude install q2pro-server # install the dedicated server Of course, it is also possible to download the individual [packages][1] manually and install them using `dpkg -i` command. @@ -38,8 +37,8 @@ Right now, two open source multiplayer mods configured for use with Q2PRO server are also packaged: [OpenTDM][2] and [OpenFFA][3]. Run the following commands to install them: - aptitude install q2pro-opentdm # install OpenTDM - aptitude install q2pro-openffa # install OpenFFA + $ aptitude install q2pro-opentdm # install OpenTDM + $ aptitude install q2pro-openffa # install OpenFFA Then, run `q2pro` or `q2proded` with `+set game opentdm` or `+set game openffa` options. |