diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-26 17:35:13 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-26 17:35:13 +0100 |
| commit | 849d205a3afb553eb49296393fad44671cc03494 (patch) | |
| tree | 6ae394857d7ba71f8a03e1a9ef7056e9d4557a6c /src/modules.cpp | |
| parent | Silent aim: exact usercmd angle + fire, restore rendered view (diff) | |
| download | hl2h-849d205a3afb553eb49296393fad44671cc03494.tar.gz hl2h-849d205a3afb553eb49296393fad44671cc03494.zip | |
Silent aim: restore view at FRAME_RENDER_START; preserve movement
- hook CHLClient::FrameStageNotify (vtable slot 35) and at FRAME_RENDER_START
re-apply the player's original view angles after the engine has consumed the
aimed usercmd; this fixes the slow pull with high-RPM weapons and the
revolver leaving the view on the target
- silent aim also rewrites forwardmove/sidemove so the world-space movement
wish vector is unchanged by the temporary aim angles
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
