testgun
Base Jedi Academy
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Runs CG_TestGun_f in the cgame module.
At a glance
| Field | Value |
|---|---|
| Category | Gameplay & combat |
| 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 | high |
| In-game xdocs | No |
| In-game menu | No |
| Syntax | testgun |
| Cheat protected | No |
Arguments and gating
No verified argument schema is available beyond the syntax shown above.
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: codemp/cgame/cg_consolecmds.c:266
- Attribution method:
present-in-openjk-initial-source-import - Attribution confidence:
high - Notes: Identifier is present in OpenJK’s initial Raven source-import 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 | a09d4827fb0dAdded /codeJK2/ for JK2. Also did a whole bunch of other crap which I shouldn’t have, in hindsight. Have fun! |
Changed registration, default, flags, module, renderer scope, handler, or gating. codeJK2/cgame/cg_consolecmds.cpp |
medium |
2013-11-26 |
OpenJK | b2f3e89e2e75[MP] Improve cg_consolecmds and cg_servercmds to use bsearch. |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_consolecmds.c |
medium |
2014-03-12 |
OpenJK | cfeb246ffcce[JK2SP] Merging in some fixes and cleanup from JASP cgame/game code. |
Changed registration, default, flags, module, renderer scope, handler, or gating. codeJK2/cgame/cg_consolecmds.cpp |
medium |
2015-11-24 |
EternalJK | c8f6ea17a324Remove SP code |
Changed registration, default, flags, module, renderer scope, handler, or gating. codeJK2/cgame/cg_consolecmds.cpp |
medium |
Evidence
- registration: codemp/cgame/cg_consolecmds.c:2471 (cgame command table)
- handler: codemp/cgame/cg_view.c:114