ui_tm2_c0_cnt
Base Jedi Academy
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Engine-managed. The game maintains this value itself, so it is not a setting to change by hand: it is read-only after registration (CVAR_ROM); it is internal UI/engine state, hidden from every cvar listing (CVAR_INTERNAL).
Controls ui_tm2_c0_cnt in the cgame module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Default | 0 |
| Value type | int |
| Restart | No latch flag is registered. |
| Manually settable | No; the game writes this value. |
| Cheat protected | No |
| Network scope | client-only: Local to the client/UI/renderer. |
| Category | HUD & interface |
| Module | cgame |
| Renderer | All / not renderer-specific |
| Derivation | code-trace |
| Confidence | high |
| Added | 2013-04-08 in 14cea1563 (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_INTERNAL: internal UI/engine stateCVAR_ROM: read-only after registration
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: codemp/cgame/cg_main.c:1105
- Attribution method:
present-in-openjk-initial-source-import - Attribution confidence:
high - Notes: Identifier is present in OpenJK’s initial Raven source-import snapshot. Dated commit evidence identifies later registration changes relative to the origin snapshot.
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2013-04-07 |
OpenJK | b319c52fd4edMajor codemp cleanup. Ported modbase. Restructured VS2010 projects. |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_main.c, codemp/cgame/cg_xcvar.h |
medium |
2013-08-11 |
OpenJK | 794718e3fdfbMerge pull request #344 from Razish/qvmtest |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_main.c |
medium |
Evidence
- registration: codemp/cgame/cg_xcvar.h:410 (XCVAR_DEF)
- behavior: codemp/cgame/cg_main.c:1851
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.