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 |
|---|---|
| Default | 1 |
| Value type | enum |
| Restart | No latch flag is registered. |
| Manually settable | Yes |
| Cheat protected | No |
| Network scope | client-only: Local to the client/UI/renderer. |
| Category | Crosshair & aiming |
| Feature family | Crosshair |
| Module | cgame |
| Also registered in | ui |
| Renderer | All / not renderer-specific |
| Derivation | mixed |
| Confidence | high |
| Added | 2025-12-11 in 24fb55d23 (how to compare this against your build) |
| In-game xdocs | Yes: codemp/ui/ui_xdocs.h:608 |
| In-game menu | 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:276 (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:608
- documentation: codemp/ui/ui_xdocs.h:608
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.