g_tweakVote
jaPRO
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Set with tweakVote. Each bit is a separate option, so the command toggles one of them per use and leaves the rest alone. Setting a raw value by hand replaces every option at once.
Latch cuz of calculateRanks? not sure man
At a glance
| Field | Value |
|---|---|
| Default | 0 |
| Value type | bitmask |
| Restart | Yes; the value is latched. |
| Manually settable | Yes |
| Cheat protected | No |
| Configure with | tweakVote |
| 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 |
Bits
Use tweakVote to toggle one option at a time; see the command page for syntax. The value column is that bit on its own. The labels come from the source table.
| Bit | Value | Meaning | Read by |
|:–|:–|:–|:–|
| 0 | 1 | Allow spec callvote in siege gametype | codemp/game/g_local.h:334 |
| 1 | 2 | Allow spec callvote in CTF/TFFA gametypes | — |
| 2 | 4 | Clear vote when going to spectate | codemp/game/g_local.h:336 |
| 3 | 8 | Dont allow callvote for 30s after mapload | codemp/game/g_local.h:337 |
| 4 | 16 | Floodprotect callvotes by IP | — |
| 5 | 32 | Dont allow map callvotes for 10 minutes at start of each map | — |
| 6 | 64 | Add vote delay for map callvotes only | — |
| 7 | 128 | Allow voting from spectate | — |
| 8 | 256 | Show votes in console | — |
| 9 | 512 | Only count voters in pass/fail calculation | — |
| 10 | 1024 | Fix mapchange after gametype vote | — |
| 11 | 2048 | Ignore gametype restrictions for map callvote | codemp/game/g_local.h:345 |
Flags
CVAR_ARCHIVE: saved to the user configurationCVAR_LATCH: latched until the relevant subsystem or map is restarted
Provenance
Origin: jaPRO
- Ultimate-origin introduction:
d9d510063ce6in jaPRO (content authored2015-04-29, integrated2018-01-01) - Upstream registration evidence: codemp/game/g_xcvar.h:310
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by eternaljk, taystjk, japro, vulkan; fork-lineage order selects eternaljk. The identifier’s single-prefix squash feature group explicitly credits 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 | 2015-04-29 |
— | 2018-01-01 |
d9d510063ce6 |
Shared integration commit |
| TaystJK | 2015-04-29 |
— | 2018-01-01 |
d9d510063ce6 |
Shared integration commit |
| jaPRO | 2015-04-29 |
— | 2018-01-01 |
d9d510063ce6 |
Ultimate origin |
| Vulkan | 2015-04-29 |
— | 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-01-07 |
EternalJK | a19ccb32a98dMerge remote-tracking branch ‘videoP/master’ |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c |
medium |
2018-11-04 |
EternalJK | ad634ee5d2ffMerge branch ‘master’ of https://github.com/eternalcodes/EternalJK |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c |
high |
2020-05-16 |
jaPRO | 0bfdb71aee77Merge remote-tracking branch ‘videoP-jaPRO/master’ |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c |
high |
Evidence
- registration: codemp/game/g_xcvar.h:309 (XCVAR_DEF)
- behavior: codemp/game/g_cmds.c:1488
- behavior: codemp/game/g_cmds.c:2746
- behavior: codemp/game/g_cmds.c:2917
- behavior: codemp/game/g_cmds.c:3146
- behavior: codemp/game/g_cmds.c:3165
- documentation: docs/japro_docs.md:111
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.