cg_drawCrosshairNamesColours
EternalJK
Selects crosshair-name coloring. Zero strips player color codes and uses green for allies and red for enemies; one preserves name color codes and starts from white.
At a glance
| Field | Value |
|---|---|
| Category | Crosshair & aiming |
| Feature family | Crosshair |
| Module | cgame |
| Also registered in | cgame, ui |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | mixed |
| Confidence | high |
| In-game xdocs | Yes — codemp/ui/ui_xdocs.h:595 |
| In-game menu | No |
| Default | 1 |
| Value type | enum |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Use green/red ally/enemy colors and sanitize name color codes. | codemp/cgame/cg_draw.c:9530 |
1 |
Preserve color codes in player names. | codemp/cgame/cg_draw.c:9596 |
Flags
CVAR_ARCHIVE— saved to the user configuration
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
1 |
cgame |
— |
always |
1 |
ui |
— |
always |
Provenance
Origin: EternalJK
- TaystJK integration evidence:
24fb55d23bfe - Origin pull request: #281
- Matching squash bullet:
Add cg_drawCrosshairNamesColours toggle: - Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
high - Notes: The identifier’s single-prefix squash feature group explicitly credits eternaljk.
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 |
|---|---|---|---|---|---|
| TaystJK | 2025-12-11 |
2025-12-11 | 2025-12-11 |
24fb55d23bfe |
Other project appearance |
| jaPRO | 2025-12-11 |
— | 2025-12-11 |
24fb55d23bfe |
Other project appearance |
Evidence
- registration: codemp/cgame/cg_xcvar.h:275 (XCVAR_DEF)
- registration: codemp/ui/ui_xcvar.h:41 (XCVAR_DEF)
- behavior: codemp/cgame/cg_draw.c:9530
- behavior: codemp/cgame/cg_draw.c:9587
- behavior: codemp/cgame/cg_draw.c:9594
- behavior: codemp/cgame/cg_draw.c:9604
- behavior: codemp/ui/ui_xdocs.h:595
- documentation: codemp/ui/ui_xdocs.h:595