forcepowers
Base Jedi Academy
Player forcepowers
At a glance
| Field | Value |
|---|---|
| Category | Gameplay & combat |
| Module | cgame |
| Also registered in | cgame, engine-client |
| Renderer | All / not renderer-specific |
| Network scope | needs-server-support — Sent to, or only useful with, a supporting game server. |
| Derivation | documented |
| Confidence | high |
| In-game xdocs | No |
| In-game menu | No |
| Default | DEFAULT_FORCEPOWERS |
| Value type | int |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_ARCHIVE— saved to the user configurationCVAR_USERINFO— sent in the client’s userinfo
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
7-1-032330000000001333 |
engine-client |
— |
always |
DEFAULT_FORCEPOWERS |
cgame |
— |
always |
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: codemp/cgame/cg_main.c:1079
- 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/cgame/cg_main.c, codemp/cgame/cg_xcvar.h, codemp/game/g_bot.c and 2 more |
medium |
2013-04-24 |
OpenJK | f6cadd34c6abMerge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port |
Changed an exact bound cvar-variable reference. codemp/game/g_client.c |
high |
2013-08-11 |
OpenJK | 794718e3fdfbMerge pull request #344 from Razish/qvmtest |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c, codemp/ui/ui_force.c |
medium |
2014-01-04 |
OpenJK | 761e55fd73af[MP] Clean up forcepowers validation |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
medium |
2015-06-17 |
OpenJK | f614bc372a41Merge branch ‘master’ of https://github.com/JACoders/OpenJK |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
medium |
2016-03-24 |
EternalJK | c9c6ab99fdd2Merge branch ‘master’ of https://github.com/JACoders/OpenJK into japro |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/client/cl_main.cpp |
medium |
2018-01-01 |
jaPRO | d9d510063ce6Merge branch ‘japro-ejk’ |
Changed an exact bound cvar-variable reference. codemp/game/g_local.h, codemp/game/w_force.c |
high |
2019-05-03 |
JK2MV | 96cf7ecc01a1Port invalid userinfo crash in serverside engine (from JK2MV). |
Changed an exact bound cvar-variable reference. codemp/server/sv_client.cpp |
medium |
2020-06-14 |
jaPRO | fb24d6a98965Merge remote-tracking branch ‘videoP-jaPRO/master’ |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
high |
2024-01-24 |
jaPRO | 93dfa66dc8e5 · PR #112Japro updates (#112) |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
high |
Evidence
- registration: codemp/cgame/cg_xcvar.h:376 (XCVAR_DEF)
- registration: codemp/client/cl_main.cpp:3420 (Cvar_Get)
- behavior: codemp/game/w_force.c:232
- behavior: codemp/cgame/cg_players.c:2491
- behavior: codemp/game/w_force.c:241
- behavior: codemp/game/w_force.c:243
- behavior: codemp/game/w_force.c:245