g_randFix
OpenJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Controls g_randFix in the game module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Default | 1 |
| Value type | enum |
| Restart | No latch flag is registered. |
| Manually settable | Yes |
| Cheat protected | No |
| Network scope | server-authoritative: Owned or enforced by the server. |
| Category | Gameplay & combat |
| Module | game |
| Renderer | All / not renderer-specific |
| Derivation | code-trace |
| Confidence | medium |
| Added | 2013-04-08 in b319c52fd needs review (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
1 |
Selects the code path tested for value 1. | codemp/game/w_saber.c:63 |
2 |
Selects the code path tested for value 2. | codemp/game/w_saber.c:60 |
Flags
CVAR_ARCHIVE: saved to the user configuration
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
b319c52fd4edin OpenJK (content authored2013-04-07, integrated2013-04-07) - Upstream registration evidence: codemp/game/g_xcvar.h:130
- Attribution method:
shared-earliest-commit-lineage-order - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by openjk, eternaljk, rend2, taystjk, japro, newjk, vulkan; fork-lineage order selects openjk.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| OpenJK | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Ultimate origin |
| EternalJK | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| rend2 | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| TaystJK | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| jaPRO | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| NewJK / NewMod | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
| Vulkan | 2013-04-07 |
— | 2013-04-07 |
b319c52fd4ed |
Shared integration commit |
Evidence
- registration: codemp/game/g_xcvar.h:129 (XCVAR_DEF)
- behavior: codemp/game/w_saber.c:60
- behavior: codemp/game/w_saber.c:63
- behavior: codemp/game/w_saber.c:53
- behavior: codemp/game/w_saber.c:54
- behavior: codemp/game/w_saber.c:55
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.