weapontoggle
OpenJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Toggle g_weaponDisable bits
At a glance
| Field | Value |
|---|---|
| Category | Gameplay & combat |
| Module | engine-server |
| Also registered in | engine-server |
| Renderer | All / not renderer-specific |
| Network scope | server-authoritative — Owned or enforced by the server. |
| Derivation | documented |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | No |
| Syntax | weapontoggle 3(toggles SABER) |
| Cheat protected | No |
Arguments and gating
No verified argument schema is available beyond the syntax shown above.
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
cdce4e6119ecin OpenJK (content authored2015-06-30, integrated2015-07-05) - TaystJK integration evidence:
5ef5d7214371 - Upstream registration evidence: codemp/server/sv_ccmds.cpp:1982
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The identifier’s single-prefix squash feature group explicitly credits 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 | 2015-06-30 |
— | 2015-07-05 |
cdce4e6119ec |
Ultimate origin |
| rend2 | 2015-06-30 |
— | 2015-07-05 |
cdce4e6119ec |
Shared integration commit |
| NewJK / NewMod | 2015-06-30 |
— | 2015-07-05 |
cdce4e6119ec |
Shared integration commit |
| EternalJK | 2015-06-30 |
— | 2015-11-13 |
5ef5d7214371 |
Other project appearance |
| TaystJK | 2015-06-30 |
— | 2015-11-13 |
5ef5d7214371 |
Other project appearance |
| jaPRO | 2015-06-30 |
— | 2015-11-13 |
5ef5d7214371 |
Other project appearance |
| Vulkan | 2015-06-30 |
— | 2015-11-13 |
5ef5d7214371 |
Other project appearance |
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 |
|---|---|---|---|---|
2016-03-24 |
EternalJK | c9c6ab99fdd2Merge branch ‘master’ of https://github.com/JACoders/OpenJK into japro |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/server/sv_ccmds.cpp |
medium |
Evidence
- registration: codemp/server/sv_ccmds.cpp:2341 (Cmd_AddCommand)
- handler: codemp/server/sv_ccmds.cpp:1382