cg_screenShake

jaPRO

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

Shake screen when hit or while charging weapons

At a glance

Field Value
Category Gameplay & combat
Module cgame
Also registered in cgame
Renderer All / not renderer-specific
Network scope feature-flagged — Client behavior is negotiated through a server feature flag.
Derivation documented
Confidence medium
In-game xdocs Yes — codemp/ui/ui_xdocs.h:437
In-game menu Yes — ingame_setup.menu:3125
Default 2
Value type enum
Restart No latch flag is registered.
Cheat protected No

Values

Value Meaning Evidence
0 Screen doesn’t shake codemp/ui/ui_xdocs.h:437
1 Screen shakes only when taking damage codemp/ui/ui_xdocs.h:437
2 Screen shakes when charging weaspons and taking damage codemp/ui/ui_xdocs.h:438

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 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
2018-12-12 EternalJK dc180aa113b3
increase dropshadow distance to 512+misc fixes
Changed an exact bound cvar-variable reference. codemp/cgame/cg_main.c medium
2019-04-21 EternalJK 2c42f32bebfc
Moved Set2DRatio code for CG and UI into ui_shared, removed CG_Set2DRatio, update renderer widthRatioCoef when changing cl_ratioFix cvar.
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_xcvar.h medium
2024-01-24 jaPRO 93dfa66dc8e5 · PR #112
Japro updates (#112)
Changed an exact bound cvar-variable reference. codemp/cgame/cg_effects.c, codemp/cgame/cg_main.c, codemp/cgame/cg_weapons.c high
2024-01-24 jaPRO a8ae4c55d8a7 · PR #113
Japro updates (#113)
Changed an exact bound cvar-variable reference. codemp/cgame/cg_effects.c, codemp/cgame/cg_main.c, codemp/cgame/cg_weapons.c high

Evidence