cg_drawCrosshairNamesOpacity
EternalJK
Multiplies the target-name fade alpha by this opacity. Runtime use clamps the effective value to the inclusive range 0 through 1.
At a glance
| Field | Value |
|---|---|
| Default | 1 |
| Value type | float |
| 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 | code-trace |
| Confidence | high |
| Added | 2025-12-11 in 24fb55d23 (how to compare this against your build) |
| In-game xdocs | Yes: codemp/ui/ui_xdocs.h:605 |
| In-game menu | No |
Values
No discrete value list is enforced or documented in the inspected source.
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_drawCrosshairNamesOpacity (0-1 float) to control name transparency - 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:40 (XCVAR_DEF)
- behavior: codemp/cgame/cg_draw.c:9581
- behavior: codemp/ui/ui_xdocs.h:605
- documentation: codemp/ui/ui_xdocs.h:605
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.