summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2011-04-29 17:43:34 +0400
committerAndrey Nazarov <skuller@skuller.net>2011-04-29 17:43:34 +0400
commit12bad6ad9219b6f6260486893fa955a8ff6dfbf5 (patch)
tree09a0803b5615960a60db3c3bfbd9bbae1a1aedd4 /doc
parent2b9cc279df5533ee06bff9433e9e479447a69de9 (diff)
Add ‘cl_demomsglen’ cvar.
Allow default maximum message size used by ‘record’ command to be changed by user. Write demo startup info in fully sized chunks.
Diffstat (limited to 'doc')
-rw-r--r--doc/client.txt18
1 files changed, 13 insertions, 5 deletions
diff --git a/doc/client.txt b/doc/client.txt
index 9548b11..697b676 100644
--- a/doc/client.txt
+++ b/doc/client.txt
@@ -838,6 +838,11 @@ cl_demosnaps::
command description), and speed up repeated forward seeks. Setting this
variable to 0 disables snapshotting entirely. Default value is 10.
+cl_demomsglen::
+ Specifies default maximum message size used for demo recording. Default
+ value is 1390. See ‘record’ command description for more information on
+ demo packet sizes.
+
ui_open::
Specifies if menu is automatically opened on startup, instead of full
screen console. Default value is 1 (open menu).
@@ -959,12 +964,14 @@ formats:
record [-hzes] <filename>::
Begins demo recording into ‘demos/_filename_.dm2’, or prints some
- statistics if already recording.
+ statistics if already recording. If neither ‘--extended’ nor ‘--standard’
+ options are specified, this command uses maximum demo message size defined
+ by ‘cl_demomsglen’ cvar.
-h | --help::: display help message
-z | --compress::: compress demo with gzip
- -e | --extended::: use extended packet size
- -s | --standard::: use standard packet size
+ -e | --extended::: use extended packet size (4086 bytes)
+ -s | --standard::: use standard packet size (1390 bytes)
TIP: With Q2PRO it is possible to record a demo while playing back another one.
@@ -972,7 +979,7 @@ stop::
Stops demo recording and prints some statistics about recorded demo.
suspend::
- Pauses or resumes demo recording (experimental).
+ Pauses and resumes demo recording.
.Demo packet sizes
******************
@@ -984,7 +991,8 @@ to disk is automatically downgraded to protocol 34. This can result in dropping
of large frames that don't fit into standard protocol 34 limit. Demo packet
size can be extended to overcome this, but the resulting demo will be playable
only by Q2PRO and R1Q2 clients and will be incompatible with other Quake 2
-clients or demo editing tools. By default, ‘standard’ packet size is used.
+clients or demo editing tools. By default, ‘standard’ packet size is used. This
+default can be changed using ‘cl_demomsglen’ cvar.
******************