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

Registration-specific defaults

Default Module Renderer Compile condition
1 cgame always
1 ui always

Provenance

Origin: 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