Garry's Mod

Garry's Mod

1,131 ratings
Automatic Player Looking
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Scenic, Realism
File Size
Posted
Updated
3.367 KB
20 Jan, 2020 @ 1:27pm
8 Mar, 2020 @ 12:57pm
3 Change Notes ( view )

Subscribe to download
Automatic Player Looking

Description
Description

This is a simple clientside script that mimics the way NPC's look around, but for players.

Player characters will look at and turn their head towards the most prominent object around them. This can be mostly anything that has a physical appearance, but there are some exclusions like entities that are parented or owned by something else for example.

ConVars

cl_playerlook <0-1> Toggles the state of this addon.
cl_playerlook_rate <0-inf> Controls how fast players turn their heads.

Notes

The source code can be found here[github.com].

I plan on eventually adding custom gamemode hooks to add your own functionality to the addon.
90 Comments
hydra 5 May @ 10:13pm 
nice :)
Callsign_Ewok 21 Jan @ 4:09pm 
Aki I am currently cleaning out mods thank you for mentioning the incompatibility with leaning mod I use one right now.
Aki 19 Jan @ 2:13pm 
False alarm, it was the Leaning mod that was causing it to glitch, the add-on works just fine, my mistake!
Aki 19 Jan @ 2:05pm 
For some reason, the latest patch kinda messed up this add-on, now player models glitch like hell as if their having a seizure, after i unsubbed from this it went back to normal. :cozyroe3:
VAC/Banned 19 Apr, 2023 @ 6:20am 
dead comments
ced555 28 Dec, 2022 @ 10:10am 
just like old gmod
Victor 21 Oct, 2021 @ 3:22am 
This addon is amazing! It would be even better if player's head would only turn when they're idle for a few second so they won't look like a retard while shooting a gun.
BrainyPepper 10 Apr, 2021 @ 10:12am 
I absolutely love this mod.
ඞ amogus ඞ 19 Mar, 2021 @ 3:30am 
when you want to use psychological warfare to make people feel like they're always being watched.
Storms Pc 13 Feb, 2021 @ 11:11am 
can you make npcs look at player like metropolice to player