cg_speedometer
jaPRO
Set with speedometer. 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.
Configure with the /speedometer command
At a glance
| Field | Value |
|---|---|
| Default | 0 |
| Value type | bitmask |
| Restart | No latch flag is registered. |
| Manually settable | Yes |
| Cheat protected | No |
| Configure with | speedometer |
| Network scope | client-only: Local to the client/UI/renderer. |
| Category | Movement & race |
| Feature family | Speedometer |
| Module | cgame |
| Also registered in | ui |
| Renderer | All / not renderer-specific |
| Derivation | documented |
| Confidence | high |
| Added | 2018-11-04 in ead7c2c37 (how to compare this against your build) |
| In-game xdocs | Yes: codemp/ui/ui_xdocs.h:107 |
| In-game menu | Yes: ingame_setup.menu:3998 |
Bits
Use speedometer 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 | Enable speedometer | codemp/cgame/hud_strafehelper.h:84 |
| 1 | 2 | Pre-speed display | — |
| 2 | 4 | Jump height display | codemp/cgame/hud_strafehelper.h:86 |
| 3 | 8 | Jump distance display | codemp/cgame/hud_strafehelper.h:87 |
| 4 | 16 | Vertical speed indicator | — |
| 5 | 32 | Yaw speed indicator | — |
| 6 | 64 | Accel meter | codemp/cgame/hud_strafehelper.h:90 |
| 7 | 128 | Speed graph | — |
| 8 | 256 | Display speed in kilometers instead of units | — |
| 9 | 512 | Display speed in imperial miles instead of units | — |
| 10 | 1024 | Pre-speed jumps array | — |
| 11 | 2048 | Disable speedometer colors | — |
| 12 | 4096 | Array Colors 1 | — |
| 13 | 8192 | Array Colors 2 | — |
| 14 | 16384 | Old Speedgraph | — |
| 15 | 32768 | XYZ Speed | — |
Flags
CVAR_ARCHIVE: saved to the user configuration
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
0 |
cgame |
— |
always |
0 |
ui |
— |
always |
Provenance
Origin: jaPRO
- Ultimate-origin introduction:
ead7c2c37109in jaPRO (content authored2018-09-03, integrated2018-11-04) - Upstream registration evidence: codemp/cgame/cg_xcvar.h:46
- Attribution method:
introduction-commit-explicit-credit - Attribution confidence:
high
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 | 2018-09-03 |
— | 2018-11-04 |
ead7c2c37109 |
Shared integration commit |
| TaystJK | 2018-09-03 |
— | 2018-11-04 |
ead7c2c37109 |
Shared integration commit |
| jaPRO | 2018-09-03 |
— | 2018-11-04 |
ead7c2c37109 |
Ultimate origin |
| Vulkan | 2018-09-03 |
— | 2018-11-04 |
ead7c2c37109 |
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-11-04 |
EternalJK | 0b6764d0171ecg_showpos |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_draw.c |
medium |
2018-12-12 |
EternalJK | dc180aa113b3increase dropshadow distance to 512+misc fixes |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_consolecmds.c |
medium |
2022-04-20 |
TaystJK | 1dd571383a0dMerge remote-tracking branch ‘origin/master’ |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_consolecmds.c, codemp/cgame/cg_draw.c |
medium |
2023-10-12 |
TaystJK | a07b984fe408Merge remote-tracking branch ‘origin/master’ |
Changed an exact bound cvar-variable reference. codemp/cgame/cg_consolecmds.c, codemp/cgame/cg_draw.c, codemp/cgame/hud_strafehelper.c |
medium |
2023-11-02 |
EternalJK | 1d83811e8ebc[EternalJK/Bucky] Add the rest of the xdocs defines and include the documentation file, improve xdocs help text. |
Changed an exact bound cvar-variable reference. codemp/ui/ui_xdocs.h |
medium |
2023-11-03 |
TaystJK | a0faccba9b0f · PR #38Merge pull request #38 from taysta/strafehelper-patch |
Changed an exact bound cvar-variable reference. codemp/cgame/hud_strafehelper.c |
medium |
2023-12-30 |
TaystJK | 136ead02a1e2XYZ velocity speedometer option |
Changed an exact bound cvar-variable reference. codemp/cgame/hud_strafehelper.c |
medium |
2024-03-02 |
TaystJK | 1d4c081cb762 · PR #46SnapHUD, PitchHUD, MV_OCPM & MV_TRIBES, Strafehelper refactors, movestyle constants usage (#46) |
Changed an exact bound cvar-variable reference. codemp/cgame/hud_strafehelper.c |
medium |
2026-02-11 |
TaystJK | d5aa0d6c8b70 · PR #289Merge pull request #289 from taysta/movement-keys |
Changed an exact bound cvar-variable reference. codemp/cgame/hud_strafehelper.c |
medium |
Evidence
- registration: codemp/cgame/cg_xcvar.h:46 (XCVAR_DEF)
- registration: codemp/ui/ui_xcvar.h:164 (XCVAR_DEF)
- behavior: codemp/cgame/cg_draw.c:1962
- behavior: codemp/cgame/hud_strafehelper.c:418
- behavior: codemp/cgame/hud_strafehelper.c:422
- behavior: codemp/cgame/hud_strafehelper.c:424
- behavior: codemp/cgame/hud_strafehelper.c:426
- documentation: codemp/ui/ui_xdocs.h:107
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.