g_startingWeapons

jaPRO

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

Set with startingWeapons. 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.

Start with saber only default, fall back to melee if no saberattack

At a glance

Field Value
Default 8
Value type bitmask
Restart No latch flag is registered.
Manually settable Yes
Cheat protected No
Configure with startingWeapons
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 startingWeapons 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 | |:–|:–|:–|:–| | 1 | 2 | Stun Baton | — | | 2 | 4 | Melee | — | | 3 | 8 | Saber | — | | 4 | 16 | Bryar Pistol | — | | 5 | 32 | Blaster | — | | 6 | 64 | Disruptor | — | | 7 | 128 | Bowcaster | — | | 8 | 256 | Repeater | — | | 9 | 512 | Demp2 | — | | 10 | 1024 | Flechette | — | | 11 | 2048 | Rocket Launcher | — | | 12 | 4096 | Thermal | — | | 13 | 8192 | Trip Mine | — | | 14 | 16384 | Det Pack | — | | 15 | 32768 | Concussion Rifle | — | | 16 | 65536 | Old Bryar Pistol | — |

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-11 — 2018-01-01 d9d510063ce6 Shared integration commit
TaystJK 2014-01-11 — 2018-01-01 d9d510063ce6 Shared integration commit
jaPRO 2014-01-11 — 2018-01-01 d9d510063ce6 Ultimate origin
Vulkan 2014-01-11 — 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-09-03 EternalJK 6e78add659de
Merge remote-tracking branch ‘videoP/master’
Changed an exact bound cvar-variable reference. codemp/game/g_svcmds.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. codemp/game/g_xcvar.h medium
2023-12-11 jaPRO 9b57ee1b8566 · PR #55
Japro update (#55)
Changed an exact bound cvar-variable reference. codemp/game/g_client.c, codemp/game/g_main.c high
2023-12-29 jaPRO 06c84155e1fb · PR #65
Japro fixup (#65)
Changed an exact bound cvar-variable reference. codemp/game/g_client.c high
2024-01-09 jaPRO b5dff40126c7 · PR #82
Japro update (#82)
Changed an exact bound cvar-variable reference. codemp/game/g_main.c high
2024-01-15 jaPRO 7629ca86250a · PR #95
Japro update (#95)
Changed an exact bound cvar-variable reference. codemp/game/g_main.c high

Evidence

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