sets

Base Jedi Academy

Set a cvar and apply serverinfo flag

At a glance

Field Value
Category Engine & diagnostics
Module engine-shared
Also registered in engine-shared
Renderer All / not renderer-specific
Network scope client-only — Local to the client/UI/renderer.
Derivation documented
Confidence high
In-game xdocs No
In-game menu No
Syntax sets <variable> <value>
Cheat protected No

Arguments and gating

No verified argument schema is available beyond the syntax shown above.

Provenance

Origin: Base Jedi Academy

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 3b9054288cb6
Some FS/CVar/Security fixes. Causes issues right now.
Changed registration, default, flags, module, renderer scope, handler, or gating; and the registered command handler. codemp/qcommon/cvar.cpp medium
2013-08-09 OpenJK bb0894c030b3
Mega improvmements to SP’s startup variable support from MP. (init-only cvars work correctly) Mega improvmements to SP’s cvar code from MP: - Cvars use hash lookup now. - Max Cvars bumped to 2048. - Using ! in a bind on a cvar is correct now. - print command for printing info. (same as /cvarname but useful for when cmd+cvar clash) - unset un-sets a cvar entirely if its user created. - cleaned up set/sets/seta/setu - /cvarname now will accept all args instead of just the first - toggle cmd improved - cvar range checking code added (though not much actually uses it yet) - latched+cheat cvar escaping fixed - cheat cvars aren't hidden from cvarlist anymore - Possibly a few other misc things I missed.
Changed registration, default, flags, module, renderer scope, handler, or gating. code/qcommon/cvar.cpp medium
2013-08-15 OpenJK f7058dcb5644
Add 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 82badfabf174
Massive 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 c8f6ea17a324
Remove SP code
Changed registration, default, flags, module, renderer scope, handler, or gating. code/qcommon/cvar.cpp medium
2016-03-24 EternalJK c9c6ab99fdd2
Merge 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