g_weaponDisable

Base Jedi Academy

Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.

Controls g_weaponDisable in the game module. Consult the cited behavior reads before relying on values not listed here.

At a glance

Field Value
Category Gameplay & combat
Module game
Also registered in game
Renderer All / not renderer-specific
Network scope server-authoritative — Owned or enforced by the server.
Derivation code-trace
Confidence high
In-game xdocs No
In-game menu No
Default 0
Value type bitmask
Restart No latch flag is registered.
Cheat protected No

Values

No discrete value list is enforced or documented in the inspected source.

Flags

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 b319c52fd4ed
Major codemp cleanup. Ported modbase. Restructured VS2010 projects.
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/g_main.c, codemp/game/g_xcvar.h medium
2013-09-10 OpenJK b8ba30ff20dc
Fix mistyped serverinfo cvars. Changed bg_altFighterControl to CVAR_SYSTEMINFO. Precache weapons on map_restart if g_weaponDisable changes. Fixes #376
Changed an exact bound cvar-variable reference. codemp/cgame/cg_servercmds.c medium
2015-11-13 OpenJK 5ef5d7214371
Merge branch ‘master’ of https://github.com/JACoders/OpenJK
Changed an exact bound cvar-variable reference. codemp/server/sv_ccmds.cpp medium
2016-03-24 EternalJK c9c6ab99fdd2
Merge branch ‘master’ of https://github.com/JACoders/OpenJK into japro
Changed an exact bound cvar-variable reference. codemp/server/sv_ccmds.cpp medium
2018-01-01 jaPRO d9d510063ce6
Merge branch ‘japro-ejk’
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/bg_misc.c, codemp/game/g_cmds.c, codemp/game/g_cvar.c and 4 more high
2018-09-10 EternalJK dbfd735d1da2
Added jcinfo2 to allow UI to only show Race button when relevant
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/game/g_xcvar.h medium
2023-12-11 jaPRO 9b57ee1b8566 · PR #55
Japro update (#55)
Changed an exact bound cvar-variable reference. codemp/game/g_main.c high
2024-01-09 jaPRO b5dff40126c7 · PR #82
Japro update (#82)
Changed an exact bound cvar-variable reference. codemp/game/g_main.c high
2024-01-15 jaPRO 7629ca86250a · PR #95
Japro update (#95)
Changed an exact bound cvar-variable reference. codemp/game/g_main.c high

Evidence