From 6ce69a52b6608ba4721bcdd3564839f9dddea07b Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Tue, 15 Nov 2022 16:42:39 +0300 Subject: [PATCH 1/5] Enable dynamic lights by default. Used to be a major slowdown in the past, but hopefully modern GPUs should not struggle with it. --- doc/client.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/client.md b/doc/client.md index 05454c114..06e503277 100644 --- a/doc/client.md +++ b/doc/client.md @@ -1217,9 +1217,6 @@ Controls dynamic lightmap updates. Default value is 1. - 2 — most dynamic lights are disabled, but lightmap updates are still allowed for switchable lights to work -*NOTE*: Dynamic lights may noticeably hurt rendering performance on some video -cards and drivers, therefore they are disabled by default. - #### `gl_dlight_falloff` Makes dynamic lights look a bit smoother, opposed to original jagged Quake 2 style. Default value is 1 (enabled). From a69fb8a705d8a42463682c760b3a411de36cef1c Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Tue, 13 Dec 2022 00:17:10 +0300 Subject: [PATCH 2/5] Update client documentation. --- doc/client.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/client.md b/doc/client.md index 06e503277..08b6709f9 100644 --- a/doc/client.md +++ b/doc/client.md @@ -1899,7 +1899,8 @@ screen. Specify `all` to remove all objects. Standard command to take a screenshot. If `format` argument is given, takes the screenshot in this format. Otherwise, takes in the format specified by `gl_screenshot_format` variable. File name is picked up -automatically from the `screenshots/quakeNNN.EXT` template. +automatically from template specified by `gl_screenshot_template` +variable. #### `screenshotpng [filename] [compression]` Takes the screenshot in PNG format. If `filename` argument is given, saves @@ -1949,10 +1950,9 @@ restart the file system and reload the current level. Flush and reload all media registered by the renderer (textures and models). Weaker form of `fs_restart`. -*TIP*: In Q2PRO, you don't have to issue `vid_restart` after changing most of the -settings, a `fs_restart` or `r_reload` usually suffice. This helps to avoid -main window recreation and changing video modes back and forth, and is much -faster. +*TIP*: In Q2PRO, you don't have to issue `vid_restart` after changing graphics +settings. Changes to console variables are detected, and appropriate subsystem +is restarted automatically. #### `passive` Toggle passive connection mode. When enabled, client waits for the first From 29d3a71f740c0efa80c4e39eb3129da98555cc42 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Mon, 26 Dec 2022 18:11:42 +0300 Subject: [PATCH 3/5] Add link to pakserve in server docs. --- doc/server.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/server.md b/doc/server.md index 08a78fae3..ac2058237 100644 --- a/doc/server.md +++ b/doc/server.md @@ -213,6 +213,11 @@ Specifies the URL clients should use for HTTP downloading. URL must begin with a `http://` prefix and end with a trailing slash. Default value is empty (no download URL). +TIP: It is highly advisable to setup HTTP downloading on any public Quake 2 +server. The easiest way to do so is to run +[pakserve](https://github.com/skullernet/pakserve) on the same machine as Quake 2 +server. + #### `sv_show_name_changes` Broadcast player name changes to everyone. You should probably enable this unless game mod already shows name changes. Default value is 0 (don't From 4f4235283a833b30a75e6d9698c24a7a1fb59e2a Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Fri, 6 Jan 2023 14:38:57 +0300 Subject: [PATCH 4/5] Update client documentation. --- doc/client.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/client.md b/doc/client.md index 08b6709f9..293341d73 100644 --- a/doc/client.md +++ b/doc/client.md @@ -1356,6 +1356,11 @@ Default value is 1. #### `allow_download_textures` Enables automatic downloading of map textures. Default value is 1. +##### Ignoring downloads +It is possible to specify a list of paths in `download-ignores.txt` file that +are known to be non-existent and should never be downloaded from server. This +file accepts wildcard patterns one per line. Empty lines and lines starting +with `#` or `/`s characters are ignored. ### HTTP Downloads From 1d2e7337c4902dd04509fea0a1a710b3ae30eeb5 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Wed, 11 Jan 2023 13:43:16 +0300 Subject: [PATCH 5/5] Document filesystem commands. --- doc/client.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/doc/client.md b/doc/client.md index 293341d73..3c164f13f 100644 --- a/doc/client.md +++ b/doc/client.md @@ -1807,7 +1807,7 @@ flag. _Value_ may be composed from multiple tokens. Sets the specified _cvar_ to _value_, and marks the cvar with `archive` flag. _Value_ may be composed from multiple tokens. -#### `cvarlist [-achlmnrstuvw:] [wildcard]` +#### `cvarlist [-achlmnrstuv:] [wildcard]` Display the list of registered cvars and their current values with filtering by cvar name or by cvar flags. If no options are given, all cvars are listed. Optional _wildcard_ argument filters cvars by name. @@ -1991,6 +1991,23 @@ Execute OGG subcommand. Available subcommands: - `stop`: Stop playing background music track. +#### `whereis [all]` +Search for _path_ and print the name of packfile or directory where it is +found. If _all_ is specified, prints all found instances of path, not just +the first one. + +#### `softlink ` +Create soft symbolic link to _target_ with the specified _name_. Soft +symbolic links are only effective when _name_ was not found as regular +file. + +#### `softunlink [-ah] ` +Deletes soft symbolic link with the specified _name_, or all soft symbolic +links. Supported options are reproduced below. +* `-a` or `--all`: delete all links +* `-h` or `--help`: display help message + + ### Renderer #### `reload_shader`