cg_chatSounds
jaPRO
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Play sound when chat messages are received
At a glance
| Field | Value |
|---|---|
| Category | Audio & music |
| Module | cgame |
| Also registered in | cgame |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | documented |
| Confidence | medium |
| In-game xdocs | Yes — codemp/ui/ui_xdocs.h:388 |
| In-game menu | Yes — ingame_setup.menu:4600 |
| Default | 1 |
| Value type | enum |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Don’t play chat sounds | codemp/ui/ui_xdocs.h:388 |
1 |
Play chat sounds for all messages | codemp/ui/ui_xdocs.h:388 |
2 |
Play chat sounds for private and team messages only | codemp/ui/ui_xdocs.h:389 |
Flags
CVAR_ARCHIVE— saved to the user configuration
Provenance
Origin: jaPRO
- Ultimate-origin introduction:
bdcd618c6771in jaPRO (content authored2018-09-03, integrated2018-09-03) - Upstream registration evidence: codemp/cgame/cg_xcvar.h:118
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The identifier’s single-prefix squash feature group explicitly credits japro.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| EternalJK | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Shared integration commit |
| TaystJK | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Shared integration commit |
| jaPRO | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Ultimate origin |
| Vulkan | 2018-09-03 |
— | 2018-09-03 |
bdcd618c6771 |
Shared integration commit |
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2019-02-19 |
EternalJK | 180b40ba0cc1Chatbox/cgame chatlog code cleanup. |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c, codemp/cgame/cg_servercmds.c |
medium |
2019-04-21 |
EternalJK | 2c42f32bebfcMoved Set2DRatio code for CG and UI into ui_shared, removed CG_Set2DRatio, update renderer widthRatioCoef when changing cl_ratioFix cvar. |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_xcvar.h |
medium |
2019-07-29 |
EternalJK | 7810594c683acg_chatSounds 2 will only beep for private and team messages |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c, codemp/cgame/cg_servercmds.c, codemp/ui/ui_xdocs.h |
medium |
2020-06-13 |
EternalJK | 88ad023daf23Fix cg_chatSounds 2 setting |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_servercmds.c |
medium |
Evidence
- registration: codemp/cgame/cg_xcvar.h:121 (XCVAR_DEF)
- behavior: codemp/cgame/cg_servercmds.c:1715
- behavior: codemp/cgame/cg_servercmds.c:1736
- behavior: codemp/cgame/cg_draw.c:9722
- behavior: codemp/cgame/cg_servercmds.c:1721
- behavior: codemp/cgame/cg_servercmds.c:1738
- documentation: codemp/ui/ui_xdocs.h:388