Garry's Mod

Garry's Mod

5,405 ratings
Enhanced Camera
2
4
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
4.644 KB
3 May, 2016 @ 12:35pm
11 Nov, 2018 @ 8:32pm
10 Change Notes ( view )

Subscribe to download
Enhanced Camera

Description
Garry’s Mod: Enhanced Camera

What is it?
Enhanced Camera, based off the Oblivion/Skyrim/Fallout mods of the same name, is an addon for Garry’s Mod that allows players to see their own bodies. The source code was originally based on Gmod Legs 3, but has been modified so extensively and the two now have little in common besides a similar goal. It can be considered in a beta state.

Why not Gmod Legs/Immersive First-Person?
Gmod Legs, as the title suggests, only shows the player’s legs. It also requires a server-side component to work properly. Immersive First-Person is entirely client-side, but doesn’t use viewmodels, modifies the camera origin (and thus breaks aiming), and either requires a strict camera pitch restriction or suffers a lot of clipping. Enhanced Camera, like the Oblivion/Skyrim/Fallout mods of the same name, combines the viewmodel and worldmodel and does not modify the camera origin.

What this addon can and cannot do
Enhanced Camera can:
  • Work on the client-side, even on servers without the addon installed, as long as sv_allowcslua is enabled
  • Dynamically change the player’s height to match their model if the serverside component is installed
Enhanced Camera can not:
  • Work 100% of the time if models have broken paths unless the optional serverside component is installed, though it works most of the time
  • Show your PAC3 customizations (yet!)
  • Show your shadow (you can use cl_drawownshadow if you want, but it won’t match your first person body or show your weapon’s shadow)

Console Commands and cvars
Client-side: All of these options can be configured in the Tools menu, Options tab.
  • cl_ec_enabled
    • 1 (Default): Show your body in first-person
    • 0: Hide your body in first-person
  • cl_ec_showhair
    • 1 (Default): Show your hair (bones attached to head) in first-person
    • 0: Hide your hair in first-person
  • cl_ec_vehicle
    • 1 (Default): Show your body while in vehicles
    • 0: Hide your body while in vehicles
  • cl_ec_vehicle_yawlock
    • 1 (Default): Restrict yaw while in vehicles to prevent looking backwards at your neck. Yaw is not restricted regardless of this setting if either cl_ec_enabled or cl_ec_vehicle is 0.
    • 0: Unrestrict yaw while in vehicles
  • cl_ec_vehicle_yawlock_max
    • (Default: 65): Angle (in degrees) you can look away from the center view of a vehicle when cl_ec_vehicle_yawlock is enabled.
  • cl_ec_refresh
    • Forces a model reload. May be useful if the first-person model doesn’t update after changing your playermodel for some reason.
  • cl_ec_toggle
    • Toggles the visibility of your body in first-person
  • cl_ec_togglevehicle
    • Toggles the visibility of your body in first-person while in vehicles
Server-side
  • sv_ec_dynamicheight
    • 1 (Default): Dynamically adjust players’ view heights to match their models
    • 0: Don’t touch players’ heights
  • sv_ec_dynamicheight_min
    • (Default: 16): Minimum view height
  • sv_ec_dynamicheight_max
    • (Default: 64): Maximum view height
Popular Discussions View All (31)
11
7 Jul, 2023 @ 9:59am
simfphys (i think thats how u spell it) not looking right
Maize
10
11 Nov @ 2:20pm
PINNED: Okay, it should be fixed now.
Eliza
3
8 Jan, 2023 @ 4:56am
[Bug] when falling from tall places like buildings the camera goes inside my chest
Muscle man
619 Comments
Rin Satsuki 25 Nov @ 3:03pm 
[Enhanced Camera] lua/autorun/client/enhanced_camera.lua:178: attempt to perform arithmetic on a nil value
1. GetPose - lua/autorun/client/enhanced_camera.lua:178
2. Think - lua/autorun/client/enhanced_camera.lua:387
3 . v - lua/autorun/client/enhanced_camera.lua:451
4. unknown - lua/includes/modules/hook.lua:96

And I'm T-Posing whenever I have no weapons equipped, soooo...Yeah I think I might go back to GMod Legs 3 for till whatever this is is fixed.
убийца крови 16 Nov @ 3:18pm 
░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█ Help
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█ Doge
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█ Take
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌ Over
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█ Steam.
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌Copy Him.
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█ DO IT.
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█
MillerMilano1 11 Nov @ 2:20pm 
[Enhanced Camera] Refusing to AddCSLuaFile '../client/enhanced_camera.lua' because its name contains dodgy symbols
1. unknown - lua/autorun/server/enhanced_camera.lua:1
Mr Balls 20 Oct @ 6:42am 
Why the camera attaches to the Neck instead of the head?
Leeroy 15 Sep @ 5:42pm 
when i crouch my camera goes in between my legs is it supossed to or not?
Mr Balls 9 Sep @ 6:54am 
hey when I use a playermodel whit a diferent height, it works, but when I die and respawn, if I move the height resets. why is this happening?
最も奇妙な猫 26 Aug @ 4:38pm 
░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█ Help
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█ Doge
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█ Take
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌ Over
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█ Steam.
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌Copy Him.
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█ DO IT.
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█
最も奇妙な猫 26 Aug @ 4:38pm 
░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█ Help
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█ Doge
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█ Take
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌ Over
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█ Steam.
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌Copy Him.
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█ DO IT.
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█
最も奇妙な猫 26 Aug @ 4:38pm 
░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█ Help
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█ Doge
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█ Take
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌ Over
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█ Steam.
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌Copy Him.
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█ DO IT.
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█
最も奇妙な猫 26 Aug @ 4:38pm 
░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█ Help
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█ Doge
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█ Take
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌ Over
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█ Steam.
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌Copy Him.
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█ DO IT.
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█