ui_saber
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 ui_saber in the ui module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Category | Gameplay & combat |
| Module | ui |
| Also registered in | ui |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | code-trace |
| Confidence | high |
| In-game xdocs | No |
| In-game menu | Yes — ingame_saber.menu:178, ingame_saber.menu:222, ingame_saber.menu:266 |
| Default | DEFAULT_SABER |
| Value type | string |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_INTERNAL— internal UI/engine stateCVAR_ROM— read-only after registration
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: code/ui/ui_main.cpp:367
- 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 an exact bound cvar-variable reference. codemp/ui/ui_local.h |
medium |
2013-08-11 |
OpenJK | 794718e3fdfbMerge pull request #344 from Razish/qvmtest |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c, codemp/ui/ui_saber.c |
medium |
2013-09-05 |
OpenJK | 9bc49a503050UI cleanup. Unused functions |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/ui/ui_local.h, codemp/ui/ui_main.c |
medium |
2013-09-23 |
OpenJK | d0b70713a7a4Use bg_saberLoad.c code for UI in MP. Migrated a few things from UI into bg_saberLoad. |
Changed an exact bound cvar-variable reference. codemp/ui/ui_saber.c |
medium |
2013-09-27 |
OpenJK | 85099e374b18[MP] Fixed some defaults for models and sabers |
Changed an exact bound cvar-variable reference. codemp/ui/ui_saber.c |
medium |
2013-09-28 |
OpenJK | 5cd41b41c941[MP] Port the xcvar stuff and clean up cvar usage in UI. Few minor tweaks in UI code for cleanup/was unused. |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
2013-09-28 |
OpenJK | 8fdb5fb65dbe[MP] The cvar files for previous commit … |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/ui/ui_xcvar.h |
medium |
2013-09-30 |
OpenJK | 2ca29aebe0e9[MP] Fix more defaults for saber names and team names. Don’t register cg_viewsize needlessly on client startup, update cvar as soon as it’s changed |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/ui/ui_xcvar.h |
medium |
2014-12-03 |
OpenJK | 5ab07009afb3[SP] Fix compiler warnings |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/ui/ui_main.cpp |
medium |
2015-11-24 |
EternalJK | c8f6ea17a324Remove SP code |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/ui/ui_main.cpp |
medium |
2018-04-19 |
jaPRO | 8b0c3bd164c4Attempt to apply changes in saber menu immediately on JA+/JAPro servers |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
high |
2018-05-24 |
EternalJK | 097a0d05fa4eMerge remote-tracking branch ‘bucky/master’ |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
Evidence
- registration: codemp/ui/ui_xcvar.h:121 (XCVAR_DEF)
- behavior: codemp/ui/ui_main.c:6810
- behavior: codemp/ui/ui_main.c:6784
- behavior: codemp/ui/ui_main.c:6833
- behavior: codemp/ui/ui_main.c:6840
- behavior: codemp/ui/ui_main.c:6982