Garry's Mod

Garry's Mod

118 ratings
CThirdPerson
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
21.487 KB
18 Dec, 2024 @ 1:12pm
19 Dec, 2024 @ 5:09pm
4 Change Notes ( view )

Subscribe to download
CThirdPerson

Description
this is NOT clientside!
fancy third person for gmod, similar to gears of war or max payne



READ BELOW
be warned, this is badly coded and has shoddy solutions for some things due to it being shared
because of this, it is also required to be installed on servers for it to work for clients

Additionally, clients wishing to be able to switch the focused shoulder need to bind the key manually via the cl_thirdperson_switchshoulder convar
this is done by finding your desired key's enum[wiki.facepunch.com], then setting the convar to it

do not expect improvements or fixes, if i had the interest i wouldve rewritten this instead of releasing it as is



Features that are cool
  • Accurate aim offset
  • Crouch jump smoothing
  • One-to-one accurate spread/recoil for all weapon bases
  • Shoulder system
  • First-person aiming similar to MGS V (optional)
  • Anti-peek (optional)



Convars
Name
Purpose
cl_thirdperson_enable
0/1 - Sets whether thirdperson is enabled on clientside or not.
cl_thirdperson_offset_horizontal
0 <--> 10 - Modifies the cameras horizontal offset, affecting shoulder/crouch offset.
cl_thirdperson_offset_vertical
0 <--> 15 - Modifies the cameras vertical offset.
cl_thirdperson_offset_distance
0 <--> 100 - Modifies the cameras distance.
cl_thirdperson_enforce_hook
0/1 - If this is enabled, all other CalcView hooks will be overriden by the thirdperson hook.
cl_thirdperson_fpaiming
0/1 - If this is enabled, the players thirdperson camera will switch to firstperson when aiming with a weapon.
cl_thirdperson_switchshoulder
int - Not a normal convar, controls the key used to switch the cameras focused shoulder.
sv_thirdperson_allowed
0/1 - Sets whether thirdperson is allowed for clients or not.
sv_thirdperson_antipeek
0/1 - Sets whether players that are out of view are hidden for clients using thirdperson or not.

Concommands
Name
Purpose
cl_thirdperson_toggle
Toggles thirdperson on and off.



Github: https://github.com/chiraqoRP/CThirdPerson



gta max payne gears of war thirdperson realism third person shoulder mgs metal gear solid mgsv view sharpeye
63 Comments
OD_toast 3 Aug @ 7:09pm 
how do I bind cl_thirdperson_switchshoulder
XxJustPlayxX 26 May @ 8:13am 
@Appleman just use xde thirdperson. it got freelook, shoulder view, switch shoulder view and first person aiming and also you can customize it. works with arc 9 and mw base
afxnatic  [author] 25 May @ 10:50am 
trust me i spent lots of time trying to do that, could never figure out a solution that didnt break recoil for most weapon bases
Appleman 23 May @ 1:18am 
could you also make an option where its freelook? (like gta5 or gta4)
XxJustPlayxX 13 Apr @ 5:10pm 
@kahwai you need to play on multiplayer for it to work.
XxJustPlayxX 13 Apr @ 5:09pm 
very good 3rd person mod. switching side to side for me little bit slow and to set it up very ez ngl. and also need crosshair for this mod to work better
afxnatic  [author] 17 Feb @ 1:43pm 
not your fault, shoulder switching just doesnt work for some people and i could never figure out the cause
kahwai 15 Feb @ 7:55pm 
still completely have no idea...any examples? I tried "cl_thirdperson_switchshoulder 13" to switch shoulder whenever it hit the "c" key, yet it still does not work. Am I doing something wrong? All is done in console commands.


Great mod btw. Got to be one of the best thirdperson mod out there so far!
afxnatic  [author] 15 Feb @ 4:38pm 
read description
kahwai 14 Feb @ 8:39pm 
can someone please teach me how to use this: cl_thirdperson_switchshoulder