Update cgame cvars, vscode gitignore

This commit is contained in:
Aciz 2022-09-01 17:42:02 +03:00
parent e47fa9ab3d
commit b023b23cd2
2 changed files with 266 additions and 139 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/_build
/.vscode/

398
cvars.rst
View file

@ -84,11 +84,26 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Lean while using the activate button |
| **Description** | Lean using left/right strafe keys when :code:`+activate` is held |
+-----------------+-----------------------------------------------------------------------------------+
--------
*cg_allowGeoIP*
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Allows sending your geolocation based off your IP address to the server |
+-----------------+-----------------------------------------------------------------------------------+
- The location is used to display countryflags on scoreboard, and append country to connection message
--------
*cg_altHud*
""""""""""""""""""""""""""""""""""""""""
@ -126,7 +141,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Move the spawn timer and mission timer and other HUD elements to a alternative |
| **Description** | Move the spawn timer and mission timer and other HUD elements to an alternative |
| | location. |
+-----------------+-----------------------------------------------------------------------------------+
@ -224,9 +239,12 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Adds prefix of "year - month" to screenshot and demo file names |
| **Description** | Store screenshots, stats and demos created by `cg_autoAction`_ to a subfolder |
| | named :code:`YYYY-MM` |
+-----------------+-----------------------------------------------------------------------------------+
- Also applies to :code:`autoScreenshot` command.
--------
*cg_autoMapZoom*
@ -265,28 +283,15 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Automatically switch to a new weapon when out of ammunition |
| **Description** | Automatically switch to a new weapon when picking one up |
+-----------------+-----------------------------------------------------------------------------------+
- *CAREFUL:* Do not confuse with `cg_noAmmoAutoSwitch`_!
--------
*cg_showBlood*
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Toggles showing blood spurt effect when players are shot |
+-----------------+-----------------------------------------------------------------------------------+
--------
*cg_bannerTime*
""""""""""""""""""""""""""""""""""""""""
@ -297,7 +302,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | any positive integer |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Set the time a banner stays visible, in *milli-seconds* |
| **Description** | Set the time a banner stays visible, in *milliseconds* |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -312,7 +317,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | 0.0 - 1.0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Opaqueness of on-screen blood splatter effect when you are being shot |
| **Description** | Opacity of on-screen blood splatter effect when you are being shot |
+-----------------+-----------------------------------------------------------------------------------+
- Menu entries are None, Light, Medium, Heavy, Full. Value increased by 0.25 per step respectively.
@ -329,10 +334,11 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | 0.0 - 1.0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Scale of on-screen blood splatter effect when you are being shot |
| **Description** | Opacity of blood flashes displayed at the edges of the screen when getting shot |
+-----------------+-----------------------------------------------------------------------------------+
- Menu entries are None, Light, Medium, Heavy, Full. Value increased by 0.25 per step respectively.
- The flash position around the screen edges indicates the direction from which you are being shot from
--------
@ -346,7 +352,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | any positive decimal |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Duration of blood flashes, in *milli-seconds* |
| **Description** | Duration of blood flashes, in *milliseconds* |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -371,14 +377,17 @@ Player cvars
*cg_bobbing*
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
+------------------+----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
+------------------+----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Toggle bobbing. Combines all bobbing CVARS. Bobbing simulates the body movement |
| | when moving. Head moving up and down etc. |
+-----------------+-----------------------------------------------------------------------------------+
+------------------+----------------------------------------------------------------------------------+
| **Description** | Toggle bobbing effect. Bobbing simulates head movement by bobbing |
| | the view when moving around. |
+------------------+----------------------------------------------------------------------------------+
- This combines the historical :code:`cg_runpitch`, :code:`cg_runroll`, :code:`cg_bobup`, :code:`cg_bobpitch` and :code:`cg_bobroll` into one cvar
- Also affects sniper scopes when moving around while scoped
--------
@ -472,7 +481,8 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | any positive integer |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Set chat width before a line break (includes player name) |
| **Description** | Set number of characters in chat before a line break (includes player |
| | name and possible location string) |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -547,6 +557,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/KFBjriT.jpg>`__
- When disabled, you'll automatically send a "no" response
--------
@ -605,6 +616,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/mKfD3X1.jpg>`__
- If a player has `cg_allowGeoIP`_ disabled, their flag will be shown as a UN flag.
--------
@ -618,7 +630,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | 0.0 - 1.0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Transparency level for the primary crosshair |
| **Description** | Transparency level for the primary crosshair image |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -633,7 +645,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | 0.0 - 1.0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Transparency level for the secondary crosshair |
| **Description** | Transparency level for the secondary crosshair image |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -646,8 +658,9 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | "white" |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Set the colour for the primary crosshair. For menu values see :ref:`menu-colors`. |
| | You can also use custom Hex colour codes in this format: 0xFF1E00 |
| **Description** | Set the colour for the primary crosshair image. For menu values see |
| | :ref:`menu-colors`. You can also use custom Hex colour codes |
| | in this format: 0xFF1E00 |
+-----------------+-----------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/30FkqjJ.jpg>`__
@ -662,9 +675,9 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | "white" |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Set the colour for the secondary crosshair. For menu values see |
| | :ref:`menu-colors`. You can also use custom Hex colour codes in this format: |
| | 0xFF1E00 |
| **Description** | Set the colour for the secondary crosshair image. For menu values see |
| | :ref:`menu-colors`. You can also use custom Hex colour codes |
| | in this format: 0xFF1E00 |
+-----------------+-----------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/FYbv4bX.jpg>`__
@ -679,7 +692,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Colors the crosshair based on current health overrides `cg_crosshairColor`_ |
| **Description** | Colors the crosshair based on current health. Overrides `cg_crosshairColor`_ |
| | settings |
+-----------------+-----------------------------------------------------------------------------------+
@ -763,7 +776,7 @@ Player cvars
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
| **Type** | :ref:`List <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
@ -771,6 +784,20 @@ Player cvars
| | objects |
+-----------------+-----------------------------------------------------------------------------------+
+-------+---------------------------------------------------------------------------------------------+
| Value | Effect |
+=======+=============================================================================================+
| **0** | Disabled |
+-------+---------------------------------------------------------------------------------------------+
| **1** | Size Pulse |
+-------+---------------------------------------------------------------------------------------------+
| **2** | Strobe Pulse |
+-------+---------------------------------------------------------------------------------------------+
| **3** | Alpha Pulse |
+-------+---------------------------------------------------------------------------------------------+
| **4** | Solid |
+-------+---------------------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/1F4sy6Q.jpg>`__
--------
@ -889,6 +916,7 @@ Player cvars
+-------+---------------------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/s8bt3oP.jpg>`__
- Flag 4 requires server to have :code:`g_prestige` enabled
--------
@ -932,16 +960,15 @@ Player cvars
+-------+---------------------------------------------------------------------------------------------+
| Value | Effect |
+=======+=============================================================================================+
| **0** | Default HUD |
| **0** | Disabled |
+-------+---------------------------------------------------------------------------------------------+
| **1** | Disabled |
| **1** | Enabled when aiming at objective |
+-------+---------------------------------------------------------------------------------------------+
| **2** | Enabled |
+-------+---------------------------------------------------------------------------------------------+
| **3** | Enabled, force highlights |
| **2** | Always enabled |
+-------+---------------------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/B37zyuF.jpg>`__
- Value 1 requires you to be within 255 in-game units of the objective for highlighting to be visible.
--------
@ -973,13 +1000,15 @@ Player cvars
*cg_drawFireteamOverlay*
""""""""""""""""""""""""""""""""""""""""
+---------+---------+----------+
| Default | Enabled | Disabled |
+=========+=========+==========+
| 1 | 1 | 0 |
+---------+---------+----------+
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Display Fireteam HUD window. |
+-----------------+-----------------------------------------------------------------------------------+
- Display Fireteam HUD window. See `example <https://i.imgur.com/VlztNc5.jpg>`__
- See `example <https://i.imgur.com/VlztNc5.jpg>`__
--------
@ -1002,13 +1031,23 @@ Player cvars
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
| **Type** | :ref:`List <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Display equipped weapon |
+-----------------+-----------------------------------------------------------------------------------+
+-------+---------------------------------------------------------------------------------------------+
| Value | Effect |
+=======+=============================================================================================+
| **0** | Disabled |
+-------+---------------------------------------------------------------------------------------------+
| **1** | Enabled |
+-------+---------------------------------------------------------------------------------------------+
| **2** | Don't draw primary and secondary weapons |
+-------+---------------------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/CWhbxLt.jpg>`__
--------
@ -1021,7 +1060,8 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Shows notifications in console |
| **Description** | Toggle prefixing certain messages with :code:`[skipnotify]`. |
| | Only applies to logfiles and TTY output. |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -1136,11 +1176,11 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Displays current player speed in the HUD below the compass, in |
| | *in-game units per second* |
| **Description** | Displays current player speed in the HUD below the compass |
+-----------------+-----------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/7X5XnYM.jpg>`__
- Unit of speed can be changed with `cg_drawUnit`_
--------
@ -1170,30 +1210,29 @@ Player cvars
--------
*cg_drawStatus*
""""""""""""""""""""""""""""""""""""""""
+---------+---------+----------+
| Default | Enabled | Disabled |
+=========+=========+==========+
| 1 | 1 | 0 |
+---------+---------+----------+
- The alpha (transparency) of the watermark HUD display, if the server has one.
--------
*cg_drawTime*
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
| **Type** | :ref:`Bitflag <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Display local time |
+-----------------+-----------------------------------------------------------------------------------+
+-------+---------------------------------------------------------------------------------------------+
| Value | Effect |
+=======+=============================================================================================+
| **0** | Disabled |
+-------+---------------------------------------------------------------------------------------------+
| **1** | Enabled (required for other options) |
+-------+---------------------------------------------------------------------------------------------+
| **2** | Draw seconds |
+-------+---------------------------------------------------------------------------------------------+
| **4** | Use 12h clock |
+-------+---------------------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/dX18GjL.jpg>`__
--------
@ -1244,7 +1283,8 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Displays additional descriptive text on the screen |
| **Description** | Displays help text about following other players while spectating/in limbo, |
| | or about tapping out when wounded and waiting for a medic |
+-----------------+-----------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/R1xIDPO.jpg>`__
@ -1263,6 +1303,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/zre7ptp.jpg>`__
- Crosshair is drawn even when disabled
--------
@ -1321,7 +1362,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | any positive decimal |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Max scale of icons. When 'cg_dynamicIconsMinScale' and `cg_dynamicIconsMinScale`_ |
| **Description** | Max scale of icons. When 'cg_dynamicIconsMinScale' and `cg_dynamicIconsMaxScale`_ |
| | are equal the icons will stay the same size, allowing you to control just the |
| | size of the icons when enabling dynamic icons. |
+-----------------+-----------------------------------------------------------------------------------+
@ -1392,13 +1433,25 @@ Player cvars
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
| **Type** | :ref:`List <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Enables alignment of locations to the right for the fireteam overlay |
| **Description** | Specifies alignment of location string in fireteam overlay |
+-----------------+-----------------------------------------------------------------------------------+
+-------+---------------------------------------------------------------------------------------------+
| Value | Effect |
+=======+=============================================================================================+
| **-1**| Left align (static) |
+-------+---------------------------------------------------------------------------------------------+
| **0** | Left align (dynamic) |
+-------+---------------------------------------------------------------------------------------------+
| **1** | Right align (static/dynamic) |
+-------+---------------------------------------------------------------------------------------------+
- Combine this with `cg_locationMaxChars`_ to reserve space for location field in fireteam overlay. When `cg_locationMaxChars`_ is set, using -1 or 1 will force the location field to be staticly sized with the location string aligned to left or right respectively.
--------
*cg_fireteamNameAlign*
@ -1409,9 +1462,21 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Enables alignment of names to the right for the fireteam overlay |
| **Description** | ESpecifies alignment of player names in fireteam overlay |
+-----------------+-----------------------------------------------------------------------------------+
+-------+---------------------------------------------------------------------------------------------+
| Value | Effect |
+=======+=============================================================================================+
| **-1**| Left align (static) |
+-------+---------------------------------------------------------------------------------------------+
| **0** | Left align (dynamic) |
+-------+---------------------------------------------------------------------------------------------+
| **1** | Right align (static/dynamic) |
+-------+---------------------------------------------------------------------------------------------+
-Combine this with `cg_fireteamNameMaxChars`_ to reserve space for name field in fireteam overlay. When `cg_fireteamNameMaxChars`_ is set, using -1 or 1 will force the name field to be staticly sized with the player names aligned to left or right respectively.
--------
*cg_fireteamNameMaxChars*
@ -1424,7 +1489,8 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | 0 - 36 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Specify a max amount of characters drawn per name in the fireteam overlay. 0=all |
| **Description** | Specify a max amount of characters drawn per name in the fireteam overlay. |
| | 0 = no limit |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -1437,7 +1503,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Draw icons next to player names in the fireteam overlay |
| **Description** | Draw small triangles above players heads who are part of your fireteam |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -1532,11 +1598,13 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 90 |
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | 75 - 120 |
| **Range** | 75 - 160 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Sets the Field of View |
+-----------------+-----------------------------------------------------------------------------------+
- Legacy mod uses *Hor+* FOV calculation, while original ET (and most mods) use *Vert-*. See `field of view scaling methods <https://en.wikipedia.org/wiki/Field_of_view_in_video_games#Field_of_view_scaling_methods>`__.
--------
*cg_gibs*
@ -1547,9 +1615,12 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Likely intended to toggle display remaining bodyparts from splatted bodies |
| **Description** | When enabled, body parts are created when players get gibbed |
| | (exploded, crushed etc.) |
+-----------------+-----------------------------------------------------------------------------------+
-Also requires `cg_showBlood`_ to be enabled
--------
*cg_graphicObituaries*
@ -1560,7 +1631,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Display simple graphic kill messages to safe space |
| **Description** | Display simple graphic kill messages instead of text-based messages |
+-----------------+-----------------------------------------------------------------------------------+
+-------+---------------------------------------------------------------------------------------------+
@ -1581,15 +1652,15 @@ Player cvars
*cg_gunX*
""""""""""""""""""""""""""""""""""""""""
+----------------------------------------+-----------------------------------------------+
| Default | 0 (center) |
+----------------------------------------+-----------------------------------------------+
| Range start | Range end |
+========================================+===============================================+
| No functional negative value (forward) | No functional positive value (backward) |
+----------------------------------------+-----------------------------------------------+
| .. centered:: Offset of equipped weapon on screen along the X-axis, in *in-game units* |
+----------------------------------------------------------------------------------------+
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Range <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 (center) |
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | any positive or negative decimal |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Offset of equipped weapon on screen along the X-axis, in *in-game units* |
+-----------------+-----------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/nBCOM4o.jpg>`__
@ -1637,8 +1708,8 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Toggles healthbar of other visible with color reflecting how healthy they are |
| | instead of only white |
| **Description** | When enabled, health text on HUD will be colored dynamically based off |
| | your current health |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -1686,7 +1757,7 @@ Player cvars
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Puts you directly into the respawn queue without waiting for a revive. |
| | Only certain situations in LMS or with limited spawns available. |
| | Only works in LMS game mode or on servers with limited lives set. |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -1732,7 +1803,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | 0 - 128 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Specify a max amount of characters drawn for locations. 0 = all |
| **Description** | Specify a max amount of characters drawn for locations. 0 = no limit |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -1745,27 +1816,30 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 3 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Displays locations instead of map coordinates. Uses data from loc.dat file. |
| **Description** | Specifies how locations are displayed. Uses data from loc.dat file. |
+-----------------+-----------------------------------------------------------------------------------+
+-------+---------------------------------------------------------------------------------------------+
| Value | Effect |
+=======+=============================================================================================+
| **0** | Coordinates only |
| **0** | Off |
+-------+---------------------------------------------------------------------------------------------+
| **1** | loc in fireteam chat |
| **1** | Show locations in fireteam |
+-------+---------------------------------------------------------------------------------------------+
| **2** | loc in team chat and voice |
| **2** | Show locations in team chat and fireteam chat |
+-------+---------------------------------------------------------------------------------------------+
| **4** | loc for landmines |
| **4** | Show location where landmines are spotted |
+-------+---------------------------------------------------------------------------------------------+
| **8** | loc keepunknown |
| **8** | Substitute "Unknown" locations with coordinates |
+-------+---------------------------------------------------------------------------------------------+
| **16** | loc show coords |
| **16**| Show only coordinates |
+-------+---------------------------------------------------------------------------------------------+
| **32** | loc show distance |
| **32**| Show distance to other clients |
+-------+---------------------------------------------------------------------------------------------+
- Team chat and fireteam chat will always display coordinates even when set to 0
- Flag 32 cannot be combined with locations or coordinates
--------
*cg_logFile*
@ -1776,9 +1850,12 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | "" |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Sets the name of the chat log file or if empty logging is disabled |
| **Description** | If set, will write a logfile containing chat to :code:`fs_homepath/legacy` |
| | folder with the name provided. If empty, logging is disabled. |
+-----------------+-----------------------------------------------------------------------------------+
- Not to be confused with the engine cvar :code:`logfile`
--------
*cg_markTime*
@ -1824,6 +1901,7 @@ Player cvars
| **Description** | Automatically switch to a new weapon when out of ammunition |
+-----------------+-----------------------------------------------------------------------------------+
- This only takes effect when totally running out of ammo, see also `cg_autoReload`_
- *CAREFUL:* Do not confuse with `cg_autoSwitch`_!
--------
@ -1839,6 +1917,8 @@ Player cvars
| **Description** | Enables unlagged optimized prediction |
+-----------------+-----------------------------------------------------------------------------------+
- See `unlagged page <https://www.ra.is/unlagged/intro.html>`__ for technical information.
--------
*cg_popupFadeTime*
@ -1854,6 +1934,7 @@ Player cvars
| **Description** | Duration of the fading effect of popup messages, in *milliseconds* |
+-----------------+-----------------------------------------------------------------------------------+
- This is added on top of `cg_popupStayTime`_
- *See also:* `cg_popupStayTime`_ and `cg_popupFilter`_
--------
@ -1976,6 +2057,21 @@ Player cvars
--------
*cg_predictItems*
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Enables prediction for item pickups |
+-----------------+-----------------------------------------------------------------------------------+
- TODO: remove, item pickups are always predicted in ET (also remove from clientflags)
--------
*cg_printObjectiveInfo*
""""""""""""""""""""""""""""""""""""""""
@ -1997,9 +2093,8 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Specify receiver of quick radio messages. Quick radio messages are trigger when |
| | using alt weapon key bind and holding a specific weapon. Like "Fire in the hole" |
| | when holding a grenade. |
| **Description** | Specify receiver of quick radio messages. Quick radio messages are triggered |
| | when using :code:`weapalt` and holding a specific weapon. |
+-----------------+-----------------------------------------------------------------------------------+
+-------+---------------------------------------------------------------------------------------------+
@ -2012,29 +2107,28 @@ Player cvars
| **2** | Fireteam chat |
+-------+---------------------------------------------------------------------------------------------+
- List of possible quick chats:
- Dynamite - Explore the area!
- Smoke grenade - Go undercover/Infiltrate!
- Airstrike can/grenades - Fire in the hole!
- Pliers = Cover me/I need backup/Clear the path!
- Satchel = Let's go!
- Medkit/syringe = I'm a medic.
- Ammokit = I'm a field ops.
--------
*cg_quickMessageAlt*
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`List <cvar-types>` |
| **Type** | :ref:`Boolean <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Toggles using either numbers or letters for the quick chat menu |
| **Description** | Toggles using numbers instead of letters for the quick chat menu |
+-----------------+-----------------------------------------------------------------------------------+
+-------+---------------------------------------------------------------------------------------------+
| Value | Effect |
+=======+=============================================================================================+
| **0** | Disabled |
+-------+---------------------------------------------------------------------------------------------+
| **1** | Alphabetical |
+-------+---------------------------------------------------------------------------------------------+
| **2** | Numerical |
+-------+---------------------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/Xejzj5x.jpg>`__
--------
@ -2073,8 +2167,12 @@ Player cvars
| **0** | XP |
+-------+---------------------------------------------------------------------------------------------+
| **1** | Skill Rating |
+-------+---------------------------------------------------------------------------------------------+
| **2** | Prestige |
+-------+---------------------------------------------------------------------------------------------+
- Skill rating and Prestige scoreboards require server to have :code:`g_skillRating` and :code:`g_prestige` enabled, respectively
- This cvar is automatically cycled when double tapping :code:`+scores``
- See `example <https://i.imgur.com/1IBwm4U.jpg>`__
--------
@ -2225,17 +2323,47 @@ Player cvars
--------
*cg_showMiss*
*cg_showBlood*
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Boolean <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 1 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Toggles showing blood spurt effect when players are shot |
+-----------------+-----------------------------------------------------------------------------------+
- Must be enabled for `cg_gibs`_ to work.
--------
*cg_showMiss*
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Bitflag <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Print faulty predictions into the console, for debugging purposes |
+-----------------+-----------------------------------------------------------------------------------+
+-------+---------------------------------------------------------------------------------------------+
| Value | Effect |
+=======+=============================================================================================+
| **0** | Disabled |
+-------+---------------------------------------------------------------------------------------------+
| **1** | Generic prediction errors |
+-------+---------------------------------------------------------------------------------------------+
| **2** | Display number of predicted/played back frames per snapshot |
+-------+---------------------------------------------------------------------------------------------+
| **4** | Prints current cg_pmove servertime and local cgame time |
+-------+---------------------------------------------------------------------------------------------+
| **8** | Prints information about prediction error return codes |
+-------+---------------------------------------------------------------------------------------------+
- Flag 2 requires `cg_optimizePrediction`_ to be enabled
- See `example <https://i.imgur.com/IjZ08dk.jpg>`__
--------
@ -2288,8 +2416,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Likely intended to toggle display of the skybox. Also requires skybox origin the |
| | be defined in config string. |
| **Description** | Toggle visibility of skyportal geometry, if a map has one. |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -2476,6 +2603,7 @@ Player cvars
| **Description** | Duration of chat icons shown above players their head, in *milliseconds* |
+-----------------+-----------------------------------------------------------------------------------+
- Ammo and medic request icons are displayed for twice the duration
- See `example <https://i.imgur.com/BMKja5I.jpg>`__
--------
@ -2488,8 +2616,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Provide an alternative way to reload a weapon that doesn't have weapon an |
| | alternative fire |
| **Description** | Allows reloading weapons without alternate fire mode by pressing :code:`weapalt` |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -2546,8 +2673,8 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | any positive integer |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Duration for which a pause is enforced so keeping the weapon switch key activated |
| | won't trigger too fast, in *milliseconds* |
| **Description** | Ignores additional weapon switches for the set duration after a weapon switch |
| | has begun, preventing accidental double weapon switches. Value in *milliseconds.* |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -2562,7 +2689,7 @@ Player cvars
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | 4 - 32 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Set the default zoom level for scope |
| **Description** | Set the default zoom level for sniper scopes and binoculars |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -2580,7 +2707,7 @@ Player cvars
| **Description** | Specifies the amount of levels one key activation zooms in or out. |
+-----------------+-----------------------------------------------------------------------------------+
- This CVAR applies to binoculars, snipers and FG42.
- Applies to scoped Garand/K43 and binoculars.
- See `cg_zoomDefaultSniper`_ for the step range.
--------
@ -2642,9 +2769,10 @@ A cheat protected cvar is usually used by developers to help during development.
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | 0 |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Used to debug bulletsn |
| **Description** | Displays a line from bullet start point to end point |
+-----------------+-----------------------------------------------------------------------------------+
- Works similar to :code:`g_debugBullets`, but is client sided only
- See `cg_railTrailTime`_
--------
@ -2668,7 +2796,6 @@ A cheat protected cvar is usually used by developers to help during development.
*cg_debugPlayerHitboxes*
""""""""""""""""""""""""""""""""""""""""
+-----------------+-----------------------------------------------------------------------------------+
| **Type** | :ref:`Bitflag <cvar-types>` |
+-----------------+-----------------------------------------------------------------------------------+
@ -2682,14 +2809,10 @@ A cheat protected cvar is usually used by developers to help during development.
+=======+=============================================================================================+
| **0** | Disabled |
+-------+---------------------------------------------------------------------------------------------+
| **1** | Hitbox |
| **1** | Other players |
+-------+---------------------------------------------------------------------------------------------+
| **2** | Head axis |
| **2** | Self |
+-------+---------------------------------------------------------------------------------------------+
| **4** | Position marker |
+-------+---------------------------------------------------------------------------------------------+
- See `example <https://i.imgur.com/WkDk0qn.jpg>`__
--------
@ -2749,7 +2872,7 @@ A cheat protected cvar is usually used by developers to help during development.
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | 0 - Maximum frame of current gun animation |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Freeze weapon in the specified _(CVAR value)_ frame |
| **Description** | Disable weapon animations and only display the animation frame specified |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -2904,7 +3027,7 @@ cg_railTrailTime
+-----------------+-----------------------------------------------------------------------------------+
| **Range** | any positive integer |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Speed of bullet tracers. Setting it to 0 creates a static tracer |
| **Description** | Speed of bullet tracers, in *in-game units* |
+-----------------+-----------------------------------------------------------------------------------+
--------
@ -2932,10 +3055,13 @@ cg_railTrailTime
+-----------------+-----------------------------------------------------------------------------------+
| **Default** | "0" |
+-----------------+-----------------------------------------------------------------------------------+
| **Description** | Consists of values from `cg_autoAction`_, `cg_autoactivate`_, cg_predictItems, |
| | `cg_activateLean`_, `cl_timenudge`_ and `cl_maxpackets`_ |
| **Description** | Displays three numbers representing client flags, :code:`cl_timenudge` and |
| | :code:`cl_maxpackets`. Client flags is a bitflag value consisting of |
| | various cvars. |
+-----------------+-----------------------------------------------------------------------------------+
- Client flags include `cg_autoReload`_, `cg_autoAction`_, `cg_autoactivate`_, `cg_predictItems`_ and `cg_activateLean`_.
--------
*CL_* (Client Engine)