Leaning
This does leaning without moving you anywhere, while retaining the proper view offset, giving you realistic-er visibility because the spine actually bends, npc’s still reacting to you and you being able to shoot, throw, punch from your view at any lean level. This also features Ready or Not styled controls.
Use cl_lean_bind to bind keys to lean.
Commands:
cl_lean_interp_ratio – Multiplier on the spine bend interpolation
sv_lean_unpredicted – Switches to an unpredicted lean method, however restores SOME functionality of other mods that change the view offset.
sv_lean_amount – How much to lean
sv_lean_speed_general – How fast to lean in general
sv_lean_speed_ron – How fast to lean using the RON controls
sv_lean_debug – Shows your hitboxes
sv_lean_notify – Shows in chat what bind you pressed
sv_lean_allowcrouch – Allow leaning in crouch
sv_lean_always_allow_leaning – Always allow leaning in whatever state you are
cl_lean_auto_insights – Lean when zooming in
Compatibility:
Mods that manipulate the view offset in any way may cause weird view jittering, so be aware.
Prone mod works fine though.
Credits:
– TFA. Even though I strayed very far from the original code, I still based everything on that.
– Darsu. For auto lean in sights and some optional leaning restrictions.