cg_debugGun
OpenJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Controls cg_debugGun in the cgame module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Category | Engine & diagnostics |
| Module | cgame |
| Also registered in | cgame |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | code-trace |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | No |
| Default | 0 |
| Value type | bool |
| Restart | No latch flag is registered. |
| Cheat protected | Yes |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Disabled. | codemp/cgame/cg_weapons.c:898 |
1 |
Enabled. | codemp/cgame/cg_weapons.c:898 |
Flags
CVAR_CHEAT— requires cheats
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
b319c52fd4edin OpenJK (content authored2013-04-07, integrated2013-04-07) - Upstream registration evidence: codemp/cgame/cg_xcvar.h:77
- Attribution method:
shared-earliest-commit-lineage-order - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by openjk, eternaljk, rend2, taystjk, japro, newjk, vulkan; fork-lineage order selects openjk.
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 | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Ultimate origin |
| EternalJK | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| rend2 | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| TaystJK | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| jaPRO | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| NewJK / NewMod | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| Vulkan | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
Evidence
- registration: codemp/cgame/cg_xcvar.h:296 (XCVAR_DEF)
- behavior: codemp/cgame/cg_weapons.c:898
- behavior: codemp/cgame/cg_weapons.c:900