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

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

Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.