g_forceRegenTime
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_forceRegenTime 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 | 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/g_cmds.c:8273 |
1 |
Enabled. | codemp/game/g_cmds.c:8273 |
Flags
CVAR_ARCHIVE— saved to the user configuration
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
0 |
cgame |
— |
always |
200 |
game |
— |
always |
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: codemp/game/g_main.c:312
- 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; and an exact bound cvar-variable reference. codemp/game/g_main.c, codemp/game/g_xcvar.h, codemp/game/w_force.c |
medium |
2014-01-04 |
OpenJK | 010d852abf71[MP] Fix #382 - force regen bug with saber throw |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
medium |
2015-02-08 |
OpenJK | e0710c1ba9c1Shared: Fixed what was hopefully the last of min/max macro usage in the main portion of the code. Still need to do something with mp3code 3rd party lib. |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
medium |
2018-01-01 |
jaPRO | d9d510063ce6Merge branch ‘japro-ejk’ |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c, codemp/game/w_force.c |
high |
2018-09-03 |
jaPRO | bdcd618c6771Import japro cgame |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_xcvar.h |
high |
Evidence
- registration: codemp/cgame/cg_xcvar.h:37 (XCVAR_DEF)
- registration: codemp/game/g_xcvar.h:102 (XCVAR_DEF)
- behavior: codemp/game/g_cmds.c:8273
- behavior: codemp/game/g_cmds.c:8275
- behavior: codemp/game/w_force.c:6118
- behavior: codemp/game/w_force.c:6174
- behavior: codemp/game/w_force.c:6176