set
Base Jedi Academy
Set a cvar
At a glance
| Field | Value |
|---|---|
| Syntax | set <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 | 2013-04-08 in 14cea1563 (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | Yes: ingame_setup.menu:4544, ingame_setup.menu:4566, ingame_setup.menu:4588 |
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: code/qcommon/cvar.cpp:887
- 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 | 3b9054288cb6Some FS/CVar/Security fixes. Causes issues right now. |
Changed the registered command handler. codemp/qcommon/cvar.cpp |
medium |
2013-08-15 |
OpenJK | f7058dcb5644Add cvar_modified command, improve cvarlist command |
Changed registration, default, flags, module, renderer scope, handler, or gating; and the registered command handler. codemp/qcommon/cvar.cpp |
medium |
2013-08-16 |
OpenJK | 82badfabf174Massive SP upgrade patch. Merges the console overhaul to SP. Fixes extension functions in SP. Rename qport to net_qport in SP. Remove alt-tab diasabler from SP. Fixed up command buffer code in SP. Fixed up configs loading on startup in SP. |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/qcommon/cvar.cpp |
medium |
2013-12-03 |
OpenJK | b12414718708[MP] Improve cvar code a bit further. Based mostly on zturtleman/spearmint@778bce425a2e6b6860e9d5ec4c7fc736311f9351. With some changes for legacy support still (and extra cvars that should be allowed in mods, if the mods were incorrectly setting them). And also some other misc stuff related to OpenJK specific. |
Changed the registered command handler. codemp/qcommon/cvar.cpp |
high |
2015-11-24 |
EternalJK | c8f6ea17a324Remove SP code |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/qcommon/cvar.cpp |
medium |
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; and the registered command handler. codemp/qcommon/cvar.cpp |
medium |
Evidence
- registration: codemp/qcommon/cvar.cpp:1619 (Cmd_AddCommand)
- handler: codemp/qcommon/cvar.cpp:1068
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.