Garry's Mod
766 voti
Leaning
2
4
   
Premio
Aggiungi ai preferiti
Preferito
Rimuovi dai preferiti
Content Type: Addon
Addon Type: Effects
Addon Tags: Roleplay, Scenic, Realism
Dimensioni del file
Pubblicato in data
Aggiornato in data
19.791 KB
13 gen 2024, ore 9:14
19 lug, ore 3:26
27 note di rilascio ( visualizza )

Sottoscrivi per scaricare
Leaning

Descrizione
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.

188 commenti
HayAzane 20 ore fa 
is there away to always keep lean in sights on bc it turns off everytime i switch maps
idksomething 12 feb 2024, ore 15:17 
just felt like it
certainly and boldly black  [autore] 12 feb 2024, ore 4:31 
@mememan97a how is that related at all?
@Callsign_Ewok that's just the general playermodel to view offset discrepancy i expect to see, even without leaning. maybe there's a way to rotate the view offset very closely to how the actual spine bends but considering the difference will be very high anyway i don't really care
idksomething 11 feb 2024, ore 15:39 
yo fuck datae.
Callsign_Ewok 11 feb 2024, ore 13:31 
I love some of your recent updates and improvements, keep it up. Any extra compatiblities and ways of making the spine move as accurately as possible is always welcome. Sometimes my model does lean in third person more then in first person for his right side for example. Left side it's not as exaggerated.

Otherwise after all these updates it's definitely working better in the right direction no pun intended lol.
WorldlyRook709 10 feb 2024, ore 7:40 
ehh im just going to use alt hold auto and mouse5 ron hold
certainly and boldly black  [autore] 10 feb 2024, ore 7:29 
use sv_lean_debug and enable developer 1, it'll show you some internal information just to see things better when troubleshooting (i added it just now so don't be surprised i didn't mention it before)
WorldlyRook709 10 feb 2024, ore 7:20 
if yours works just fine then there must be some of my addons conflicting
certainly and boldly black  [autore] 10 feb 2024, ore 6:36 
i believe i can: https://youtu.be/-neXI0iqQas
however i did notice a slight issue while recording that video: you can toggle literally every leaning state. now you can't.
WorldlyRook709 10 feb 2024, ore 5:48 
im on 86x64
also the tangled insult wasnt needed at all :/
just do concommand console commands if you cant code right a menu :/