Enhanced Camera 2

If you liked this item, please rate it up on Steam Workshop page.

Author: VictorienXP

Last revision: 18 Jun, 2022 at 13:12 UTC

File size: 24.58 KB

On Steam Workshop

Description:

The original Enhanced Camera was not maintained anymore and had a lot of issues. So here is Enhanced Camera 2, the script/Lua error free and improved version of the Enhanced Camera addon.

❗ If you have any feedback, questions or issues, please provide them to the issues or discussions over on GitHub[github.com]!

💡 Pull requests are welcome!

💡 You should unsubscribe to my old patch and the original Enhanced Camera before subscribing to Enhanced Camera 2.

GitHub repository[github.com]

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.

What this addon can and cannot do

Enhanced Camera can:

  • Dynamically change the player’s height to match their model

Enhanced Camera can not:

  • Work 100% of the time if models have broken paths, though it works most of the time
  • Show your PAC3 customizations
  • 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_ec2_enabled
    • 1 (Default): Show your body in first-person
    • 0: Hide your body in first-person
  • cl_ec2_showhair
    • 1 (Default): Show your hair (bones attached to head) in first-person
    • 0: Hide your hair in first-person
  • cl_ec2_vehicle
    • 1 (Default): Show your body while in vehicles
    • 0: Hide your body while in vehicles
  • cl_ec2_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_ec2_enabled or cl_ec2_vehicle is 0.
    • 0: Unrestrict yaw while in vehicles
  • cl_ec2_vehicle_yawlock_max: (Default: 65): Angle (in degrees) you can look away from the center view of a vehicle when
    cl_ec2_vehicle_yawlock is enabled.
  • cl_ec2_refresh: Forces a model reload. May be useful if the first-person model doesn’t update after changing your playermodel for some reason.
  • cl_ec2_toggle: Toggles the visibility of your body in first-person
  • cl_ec2_togglevehicle: Toggles the visibility of your body in first-person while in vehicles
  • cl_ec2_staticheight: Statically adjust players’ view heights to match their models
    • 0: Disabled
    • 1 (Default): Enabled
  • cl_ec2_dynamicheight: Dynamically adjust your view height to match your model
    • 0: Disabled
    • 1 (Default): "Real time" mode
    • 2: "Comfort" mode

Server-side

  • sv_ec2_staticheight
    • 1 (Default): Statically adjust players’ view heights to match their models
    • 0: Don’t touch players’ heights
  • sv_ec2_dynamicheight
    • 1 (Default): Dynamically adjust players’ view heights to match their models
    • 0: Don’t touch players’ heights
  • sv_ec2_dynamicheight_min
    • (Default: 16): Minimum view height
  • sv_ec2_dynamicheight_max
    • (Default: 64): Maximum view height

You can sponsor me to support my open source work with GitHub Sponsors[github.com]