bg_fighterAltControl
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 bg_fighterAltControl in the cgame module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Category | Gameplay & combat |
| Module | cgame |
| Also registered in | cgame, 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 | bool |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Disabled. | codemp/game/bg_pmove.c:11402 |
1 |
Enabled. | codemp/game/bg_pmove.c:11402 |
Flags
CVAR_SYSTEMINFO— replicated in systeminfo
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
0 |
cgame |
— |
always |
0 |
game |
— |
always |
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: codemp/cgame/cg_main.c:953
- Attribution method:
present-in-openjk-initial-source-import - Attribution confidence:
high - Notes: Identifier is present in OpenJK’s initial Raven source-import snapshot. Dated commit evidence identifies later registration changes relative to the origin 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 | b319c52fd4edMajor codemp cleanup. Ported modbase. Restructured VS2010 projects. |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_main.c, codemp/cgame/cg_xcvar.h, codemp/game/g_main.c and 1 more |
medium |
2013-09-10 |
OpenJK | b8ba30ff20dcFix mistyped serverinfo cvars. Changed bg_altFighterControl to CVAR_SYSTEMINFO. Precache weapons on map_restart if g_weaponDisable changes. Fixes #376 |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_xcvar.h, codemp/game/g_xcvar.h |
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 an exact bound cvar-variable reference. codemp/qcommon/cvar.cpp |
high |
Evidence
- registration: codemp/cgame/cg_xcvar.h:252 (XCVAR_DEF)
- registration: codemp/game/g_xcvar.h:35 (XCVAR_DEF)
- behavior: codemp/game/bg_pmove.c:11402
- behavior: codemp/game/g_weapon.c:6002
- behavior: codemp/cgame/cg_view.c:2942
- behavior: codemp/qcommon/cvar.cpp:771