cg_predictKnockback

jaPRO

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

Predict self-inflicted rocket-jump knockback clientside (racemode only). Use with cg_simulatedProjectiles 1.

At a glance

Field Value
Category Gameplay & combat
Module cgame
Also registered in cgame
Renderer All / not renderer-specific
Network scope client-only — Local to the client/UI/renderer.
Derivation documented
Confidence medium
In-game xdocs Yes — codemp/ui/ui_xdocs.h:600
In-game menu No
Default 0
Value type bitmask
Restart No latch flag is registered.
Cheat protected No

Values

Value Meaning Evidence
0 Knockback is not predicted (default) codemp/ui/ui_xdocs.h:601
1 Predict and apply rocket-jump knockback codemp/ui/ui_xdocs.h:601
2 Verbose trajectory/timing logging (fire, detect, render, clear, actual) codemp/ui/ui_xdocs.h:601
3 Maximum logging; adds forward-trace detection and per-command injection codemp/ui/ui_xdocs.h:603
4 Damage/distance logging only (trajectory spam suppressed) codemp/ui/ui_xdocs.h:604
5 Impulse/injection logging; adds per-command injection trace codemp/ui/ui_xdocs.h:605

Flags

No cvar flags are registered at the cited site.

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 2018-09-03 2018-09-03 bdcd618c6771 Shared integration commit
TaystJK 2018-09-03 2018-09-03 bdcd618c6771 Shared integration commit
jaPRO 2018-09-03 2018-09-03 bdcd618c6771 Ultimate origin
Vulkan 2018-09-03 2018-09-03 bdcd618c6771 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
2023-12-29 jaPRO 06c84155e1fb · PR #65
Japro fixup (#65)
Changed an exact bound cvar-variable reference. codemp/cgame/cg_localents.c high
2026-06-18 jaPRO 3828aac1b69f · PR #344
Merge pull request #344 from taysta/predict-knockback
Changed an exact bound cvar-variable reference. codemp/cgame/cg_event.c, codemp/cgame/cg_localents.c, codemp/cgame/cg_predict.c and 2 more high

Evidence