Garry's Mod

Garry's Mod

3,274 ratings
Enhanced ThirdPerson
6
4
2
4
3
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Scenic
File Size
Posted
Updated
31.048 KB
4 Sep, 2021 @ 2:49am
21 Aug @ 7:50pm
6 Change Notes ( view )

Subscribe to download
Enhanced ThirdPerson

Description

Features
  1. Multiple Customization Options
    • Customize Camera Angle & FOV
    • Customizable Crosshair
    • Playermodel doesn't clip through solid objects.
    • Smooth Camera Movement Option
    • Camera Sync Options
  2. Properly adjusted crosshair
  3. Presets
  4. Bind Thirdperson without using console commands!

Customization
You can customize Enhanced ThirdPerson by going to:
Spawn Menu / Utilities / User / Thirdperson
For more advanced customization settings, visit "Console commands and variables" section.

Console commands and variables
You could view almost all the varaibles using now working preset editor, but here's the full list of all the commands/variables:

Console variable/command
Type
Description
thirdperson_etp
Boolean(0/1)
Disables or enables third person mode
thirdperson_enhanced_toggle
Command
Toggles thirdperson mode
+thirdperson_etp_free
-thirdperson_etp_free
Command
Enables free-look mode while bind is pressed. Free-look mode locks your move direction allowing you to look and shoot around while going into the same direction.
thirdperson_etp_vehicles_sync
Boolean(0/1)
Disables or enables synchronisation with vehicles third person mode
thirdperson_etp_addons_sync
Boolean(0/1)
Disables or enables support of the addon that I cannot remember the name of. Syncs thirdperson_etp command with "gtvh_firstperson" command
thirdperson_etp_headpos
Boolean(0/1)
Snaps your view to your head bone. Used in "firstperson" preset
thirdperson_etp_offset_x
thirdperson_etp_offset_y
thirdperson_etp_offset_z
Number
X Y Z offset of third person camera view
thirdperson_etp_offset_aim
Number
Enables or disables aiming with a mouse. If disabled, all the view angles are controlled by three console variables below. Useful for filmmaking
thirdperson_etp_angle_x
thirdperson_etp_angle_y
thirdperson_etp_angle_z
Number(0-360 for yar roll, -90-+90 for pitch)
Pitch/yaw/roll of third person camera view angle. Works only if thirdperson_etp_offset_aim is 0
thirdperson_etp_fov
Number(0-infinity)
Thirdperson camera field of view
thirdperson_etp_smoothing
Boolean(0/1)
Thirdperson camera position smoothing. Smoothes thirdperson camera position changes which makes the motion more smooth but a bit less responsive
thirdperson_etp_smoothing_speed
Number(0-100)
Thirdperson camera position smoothing speed/strength. Controls how responsive camera position is transitioned. Higher the value - more responsive. Low values useful for cinematic filmmaking. Works only if thirdperson_etp_smoothing is 1
thirdperson_etp_bind
Number
Internal variable that is used to store the bind to toggle thirdperson. Corresponds to VK_KEY code and is used by bind control in the spawnmenu
thirdperson_etp_crouchadd
Number
Additional Z offset that is applied to thirdperson camera position when player is in crouch. Doesn't work if thirdperson_etp_headpos is 1
thirdperson_etp_crosshair
Boolean(0/1)
Enables or disables custom thirdperson crosshair
thirdperson_etp_crosshair_dot
Boolean(0/1)
Enables or disables custom thirdperson crosshair center dot. Works only if thirdperson_etp_crosshair is 1
thirdperson_etp_crosshair_style
Number(0/1/2)
Style of the thirdperson crosshair spread display. 0 - Nothing, no spread display. 1 - Cone, circle showing your spread. 2 - Lines, indicating your spread display, CS style. Works only if thirdperson_etp_crosshair is 1
thirdperson_etp_crosshair_gap
Number(0-infinity)
Thirdperson crosshair spread display center pixel gap. How far away lines/cone spread display should be from the center. Works only if thirdperson_etp_crosshair is 1 and thirdperson_etp_crosshair_style is not 0
thirdperson_etp_crosshair_size
Number(1-infinity)
Thirdperson crosshair size. How thick lines/cone and center dot are. Works only if thirdperson_etp_crosshair is 1
thirdperson_etp_crosshair_r
thirdperson_etp_crosshair_g
thirdperson_etp_crosshair_b
thirdperson_etp_crosshair_alpha
Number(0-255)
Red/green/blue/alpha components of the crosshair color. Works only if thirdperson_etp_crosshair is 1
thirdperson_etp_crosshair_outline
Boolean(0/1)
Enables or disables crosshair outline. Works only if thirdperson_etp_crosshair is 1
thirdperson_etp_crosshair_outline_r
thirdperson_etp_crosshair_outline_g
thirdperson_etp_crosshair_outline_b
thirdperson_etp_crosshair_outline_alpha
Number(0-255)
Red/green/blue/alpha components of the crosshair outline color. Works only if thirdperson_etp_crosshair is 1 and thirdperson_etp_crosshair_outline is 1

If you're familiar with source engine console variables editing, then you could do interesting stuff with these variables.
For example, here's a bind command that switches your shoulder side when you press B key.
bind b "toggle thirdperson_etp_offset_y -40 40"

Bugs
  • Camera may be "broken" by addons impacting camera, less commonly movement. If you enabled addons that include those things, it is highly propable that they will conflict with this addon.
    Dev explanation: That is due to CalcView hook override, any addon that overrides that hook and returns something might conflict with this addon. I could've changed the hook priority to high for those using ULiB but decided not to, cos the addon is not supposed to work with other addons that modify view angles. If you REALLY want some POPULAR addon to work with this addon, you could ask in comments, if I'm free and in the mood for some fixing, I'll try to make it compatible if it's possible.

Source Code
GitHub[github.com]

Feel free to file issues and send fixes/addon support pull requests there.




Please, don't add us to friends and don't leave comments on our profiles regarding the addon. If you're having problems with this addon, use either comment and/or discussion sections or file an issue on our github repository.
Popular Discussions View All (7)
2
21 Aug @ 10:06am
Model rotates if you stand close to a wall
snzh
2
21 Aug @ 10:05am
Couple of things that could make this addon stellar
REKTMASTER17
1
18 Aug, 2022 @ 8:59am
PINNED: THE PLAYERMODEL IN THE IMAGES
VexxdOne
297 Comments
ZeroKite 4 Oct @ 10:00am 
it still works with mwbase some playermodels like Dopey halo reach models have weird head cam tho easy fix
lanrova 18 Sep @ 12:11pm 
why the hell does my view change perspectives when i move my volume slider on my headset
AirBlack  [author] 7 Sep @ 8:18am 
Didn’t test but should be compatible
happy 7 Sep @ 8:11am 
is it compatible with mw base?
AirBlack  [author] 6 Sep @ 11:54am 
Yes it's possible, if such feature is really needed I could implement it yes
Potato PC[TW] 5 Sep @ 8:33pm 
Is it possible to detect walls and automatically adjust the camera's left and right angles?
If not, at least make sure the camera isn't distracted by NPC or players.
This is because whenever an NPC passes behind me, the camera instantly zooms in to the closest distance.
By the way, when the crosshair is pointed at glass or wire mesh, it doesn't focus on the object behind it, but only on the object itself. Is there a way to change this?

[Google Translate Traditional Chinese → English]
CaliforniaEAS 31 Aug @ 8:31pm 
oh okay
AirBlack  [author] 27 Aug @ 6:08pm 
Yes it does, altho aim zoom doesn't work with ARC9, it stops modifying FOV if it detects thirdperson mode for some reason
CaliforniaEAS 27 Aug @ 4:56pm 
does it work for ARC9 Weapon Base?
AirBlack  [author] 21 Aug @ 7:52pm 
Pushed an update fixing this issue. If you get it randomly, check thirdperson settings, maybe you've set up freelook bind to an undesired key which you accidentally press sometimes, which causes this error. Error will be gone, but an unwanted bind is also bad, so be advised. Thanks for the report!