cvarSub
OpenJK
Subtract a value from a cvar
At a glance
| Field | Value |
|---|---|
| Syntax | cvarSub <variable> <value> |
| Cheat protected | No |
| Network scope | client-or-server: Engine code in both the client and the dedicated server; each uses its own value. |
| Category | Engine & diagnostics |
| Module | engine-shared |
| Renderer | All / not renderer-specific |
| Derivation | documented |
| Confidence | high |
| Added | 2016-03-24 in c9c6ab99f (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | No |
Arguments and gating
No verified argument schema is available beyond the syntax shown above.
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
55d9184d89f7in OpenJK (content authored2016-03-22, integrated2016-03-22) - TaystJK integration evidence:
c9c6ab99fdd2 - Upstream registration evidence: codemp/qcommon/cvar.cpp:1603
- Attribution method:
shared-integration-explicit-credit - Attribution confidence:
high
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 |
|---|---|---|---|---|---|
| OpenJK | 2016-03-22 |
— | 2016-03-22 |
55d9184d89f7 |
Ultimate origin |
| rend2 | 2016-03-22 |
— | 2016-03-22 |
55d9184d89f7 |
Shared integration commit |
| NewJK / NewMod | 2016-03-22 |
— | 2016-03-22 |
55d9184d89f7 |
Shared integration commit |
| EternalJK | 2016-03-22 |
— | 2016-03-24 |
c9c6ab99fdd2 |
Other project appearance |
| TaystJK | 2016-03-22 |
— | 2016-03-24 |
c9c6ab99fdd2 |
Other project appearance |
| jaPRO | 2016-03-22 |
— | 2016-03-24 |
c9c6ab99fdd2 |
Other project appearance |
| Vulkan | 2016-03-22 |
— | 2016-03-24 |
c9c6ab99fdd2 |
Other project appearance |
Evidence
- registration: codemp/qcommon/cvar.cpp:1629 (Cmd_AddCommand)
- handler: codemp/qcommon/cvar.cpp:1116
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.