g_gametype
Base Jedi Academy
Server gametype value
At a glance
| Field | Value |
|---|---|
| Category | Gameplay & combat |
| Module | game |
| Also registered in | game, engine-server |
| Renderer | All / not renderer-specific |
| Network scope | server-authoritative — Owned or enforced by the server. |
| Derivation | documented |
| Confidence | high |
| In-game xdocs | Yes — codemp/ui/ui_xdocs.h:511 |
| In-game menu | Yes — ingame.menu:229, ingame.menu:274, ingame.menu:320 |
| Default | 0 |
| Value type | string |
| Restart | Yes; the value is latched. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
FFA | codemp/ui/ui_xdocs.h:511 |
1 |
Holocron | codemp/ui/ui_xdocs.h:511 |
2 |
Jedi Master | codemp/ui/ui_xdocs.h:511 |
3 |
Duel | codemp/ui/ui_xdocs.h:513 |
4 |
Powerduel | codemp/ui/ui_xdocs.h:513 |
5 |
SP FFA | codemp/ui/ui_xdocs.h:514 |
6 |
TFFA | codemp/ui/ui_xdocs.h:515 |
7 |
Siege | codemp/ui/ui_xdocs.h:516 |
8 |
CTF | codemp/ui/ui_xdocs.h:517 |
9 |
CTY | codemp/ui/ui_xdocs.h:518 |
Flags
CVAR_LATCH— latched until the relevant subsystem or map is restartedCVAR_SERVERINFO— published in serverinfo
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
0 |
engine-server |
— |
always |
0 |
game |
— |
always |
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: codemp/game/g_main.c:246
- 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_cmds.c, codemp/game/g_main.c, codemp/game/g_xcvar.h and 1 more |
medium |
2013-04-18 |
OpenJK | fb1edd965e6dMerge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port |
Changed an exact bound cvar-variable reference. codemp/game/g_main.c |
high |
2013-05-11 |
OpenJK | f203e799b14cMerge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/ai_main.c, codemp/game/g_cmds.c, codemp/game/g_main.c and 3 more |
high |
2013-06-03 |
OpenJK | db4313eb0eb6Merge remote-tracking branch ‘upstream/master’ |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/game/g_xcvar.h |
medium |
2013-06-30 |
OpenJK | 873b95b64cc6Removed spmap and spdevmap. |
Changed an exact bound cvar-variable reference. codemp/server/sv_ccmds.cpp |
medium |
2013-07-05 |
OpenJK | 7f053f0964ccImproved status command for the console. Is mostly inspired by the SOURCE status cmd. |
Changed an exact bound cvar-variable reference. codemp/server/sv_ccmds.cpp |
medium |
2013-08-11 |
OpenJK | 794718e3fdfbMerge pull request #344 from Razish/qvmtest |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_servercmds.c, codemp/game/g_cmds.c, codemp/game/g_main.c and 2 more |
medium |
2013-08-28 |
OpenJK | 61cd6e979c3bRemoved stricmp etc, always use Q_ versions for consistency across platforms |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2013-09-05 |
OpenJK | 9bc49a503050UI cleanup. Unused functions |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.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 an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
2013-10-20 |
OpenJK | ada0921d57db[MP] Allow Capture the Ysalamiri in solo games |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
2013-10-24 |
OpenJK | 872159cb6796[MP] Rewrote callvote to be far more robust |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c |
medium |
2013-12-08 |
OpenJK | f5c1b2ceb3ba[MP] Made ui use bsearch for commands. Removed ui_teamOrders that did nothing. Made ui_test actually be considered a command to the engine. |
Changed an exact bound cvar-variable reference. codemp/ui/ui_atoms.c |
medium |
2014-01-04 |
OpenJK | 6c0c841b1025[MP] Fix stack corruption after 761e55fd73 |
Changed an exact bound cvar-variable reference. codemp/ui/ui_force.c |
medium |
2014-01-09 |
OpenJK | 2f056fba12f1[MP] UI_HasSetSaberOnly + UI_TrueJediEnabled tweaks. |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
2014-01-13 |
OpenJK | d4ce8f0bbfe7[MP] Clean up UI and bot code |
Changed an exact bound cvar-variable reference. codemp/ui/ui_atoms.c |
medium |
2014-08-07 |
OpenJK | 1abe445436b3[MP] Force some cvars to update immediately. |
Changed an exact bound cvar-variable reference. codemp/game/g_main.c |
medium |
2014-08-25 |
OpenJK | 036c904c5bd8[MP] Tweaked client list in status rcon cmd Cut client number down to 2 width since 32 is max players. Remove lastmsg and qport. Increased size of address to accommodate for future ipv6 support. Fix colored name padding. Based on ioquake/ioq3@94e36c288c6ce6b5273055e61077c29e81fbd2bf |
Changed an exact bound cvar-variable reference. codemp/server/sv_ccmds.cpp |
medium |
2015-11-13 |
OpenJK | 5ef5d7214371Merge branch ‘master’ of https://github.com/JACoders/OpenJK |
Changed an exact bound cvar-variable reference. codemp/server/sv_ccmds.cpp |
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/server/sv_init.cpp |
medium |
2017-08-31 |
OpenJK | 913e3cc57ec7Merge branch ‘master’ of https://github.com/JACoders/OpenJK.git |
Changed an exact bound cvar-variable reference. codemp/game/g_main.c |
medium |
2018-01-01 |
jaPRO | d9d510063ce6Merge branch ‘japro-ejk’ |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/g_cmds.c, codemp/game/g_svcmds.c, codemp/game/w_force.c and 2 more |
high |
2018-02-05 |
EternalJK | 675e97128f48Merge remote-tracking branch ‘eternalcodes/master’ |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
2018-02-06 |
jaPRO | f4405327b936Fixed VGS on non-jaPRO servers. |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
high |
2018-02-06 |
EternalJK | 6a8d7a01015aMerge remote-tracking branch ‘eternalcodes/master’ |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
2018-02-06 |
EternalJK | 51e883047a18Merge branch ‘master’ into eternalcodes/master |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
2018-09-03 |
jaPRO | bdcd618c6771Import japro cgame |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
high |
2018-09-10 |
EternalJK | dbfd735d1da2Added jcinfo2 to allow UI to only show Race button when relevant |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
2018-10-06 |
EternalJK | 05f1ac70497ercon status cleanup move name to end of line, remove notrunc, cleanup status info |
Changed an exact bound cvar-variable reference. codemp/server/sv_ccmds.cpp |
medium |
2019-03-21 |
EternalJK | f6c6472650ccDiscord RPC integration |
Changed an exact bound cvar-variable reference. codemp/client/cl_cgame.cpp |
medium |
2019-06-13 |
EternalJK | 49e91d910266Filter custom skins/species/hilts out of player menus on sv_pure servers |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
2019-07-29 |
EternalJK | dbc6e7872c2bAdd g_gametype description to xdocs (Artemis) |
Changed an exact bound cvar-variable reference. codemp/ui/ui_xdocs.h |
medium |
2023-10-29 |
OpenJK | 530446764ef0 · PR #29Merge pull request #29 from taysta/reconcile |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c |
medium |
2023-12-11 |
jaPRO | 9b57ee1b8566 · PR #55Japro update (#55) |
Changed an exact bound cvar-variable reference. codemp/game/ai_main.c |
high |
2024-02-27 |
TaystJK | baa02905f40f · PR #130Merge pull request #130 from taysta/tribes-clientside |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
Evidence
- registration: codemp/game/g_svcmds.c:656 (Cvar_Register)
- registration: codemp/game/g_xcvar.h:108 (XCVAR_DEF)
- registration: codemp/server/sv_ccmds.cpp:204 (Cvar_Get)
- registration: codemp/server/sv_init.cpp:976 (Cvar_Get)
- behavior: codemp/game/ai_main.c:7977
- behavior: codemp/game/ai_main.c:8125
- behavior: codemp/game/g_cmds.c:3504
- behavior: codemp/game/g_main.c:173
- behavior: codemp/game/g_main.c:184
- documentation: codemp/ui/ui_xdocs.h:511