g_raceMode

jaPRO

Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.

0=Noracemode, 1=forcedracemode, 2=player can toggle race mode with /racecommand.

At a glance

Field Value
Default 0
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 documented
Confidence medium
Added 2018-01-01 in d9d510063 needs review (how to compare this against your build)
In-game xdocs No
In-game menu No

Values

Value Meaning Evidence
0 Noracemode. docs/japro_docs.md:122
1 Forcedracemode. docs/japro_docs.md:122
2 Player can toggle race mode with /racecommand. docs/japro_docs.md:122

Flags

Provenance

Origin: jaPRO

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
EternalJK 2014-01-19 — 2018-01-01 d9d510063ce6 Shared integration commit
TaystJK 2014-01-19 — 2018-01-01 d9d510063ce6 Shared integration commit
jaPRO 2014-01-19 — 2018-01-01 d9d510063ce6 Ultimate origin
Vulkan 2014-01-19 — 2018-01-01 d9d510063ce6 Shared integration commit

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
2018-02-05 EternalJK 675e97128f48
Merge remote-tracking branch ‘eternalcodes/master’
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c medium
2018-09-10 EternalJK dbfd735d1da2
Added jcinfo2 to allow UI to only show Race button when relevant
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/g_cvar.c, codemp/game/g_xcvar.h medium
2018-09-11 jaPRO 879b06083542
Merge remote-tracking branch ‘videoP-jaPRO/master’
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/g_cvar.c, codemp/game/g_xcvar.h high
2018-09-11 EternalJK 8f30394e6606
Fix compile
Changed an exact bound cvar-variable reference. codemp/game/g_cvar.c medium
2018-11-04 EternalJK ad634ee5d2ff
Merge branch ‘master’ of https://github.com/eternalcodes/EternalJK
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c high
2020-06-17 EternalJK 0d51e4b09fde
Update race command to work in team gametypes with g_raceMode 2
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c medium
2023-09-25 OpenJK 405022446ca4
[OpenJK] Re-merge OpenJK into EJK [1]
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c medium
2023-12-11 jaPRO 9b57ee1b8566 · PR #55
Japro update (#55)
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c, codemp/game/g_main.c, codemp/game/g_weapon.c high
2024-01-11 jaPRO 7a38e0e45170 · PR #87
Japro update (#87)
Changed an exact bound cvar-variable reference. codemp/game/g_client.c high

Evidence

Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.