Garry's Mod

Garry's Mod

153 ratings
Camera Bone!
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Realism
File Size
Posted
Updated
2.761 KB
Dec 22, 2024 @ 7:08am
Jan 9 @ 8:27pm
2 Change Notes ( view )

Subscribe to download
Camera Bone!

Description
(universal)Weapon Camera Bone!

What are camera bones?

  • Camera bones are bones that affect player's view, the in-game camera will copy rotation/transforms from your "camera" bone that you've created in your animation software, allowing animators to create good looking handmade camera effects for animations

    How to test it?

  • Click the link below and subscribe to the addon on Steam Workshop:

    https://steamcommunity.com/sharedfiles/filedetails/?id=3267102990

    After subscribing, restart Garry's Mod to ensure the addon is properly loaded.

    Select the HL2 Shotgun and test it!

    Animation Intensity:

    Use the console variable cl_camera_anim_intensity to control the intensity of the animation effects.
    Default value: 0.5. You can adjust this value in-game to scale the camera movement effects as needed.

    How to use?

    Bone Structure:

    In weapon qc file we need add $attachment "camera" and "camera_root (better to add, but not necessarily)"

    Like this:

    $attachment "camera" 0 0 0 rotate 0 0 0
    $attachment "camera_root" 0 0 0 rotate 0 0 0

  • First Bone: Name this bone camera_root. This bone should not move or be animated at all. It serves as the anchor for your camera system and helps ensure stability.

    Note: Adding camera_root is highly recommended for best results, but if it's not possible to include this bone, the system will still function by using only the camera bone.

  • Second Bone: Name this bone camera. This is the bone you will animate. Keyframe and rotate this bone to create the desired camera effects in your animations.

    Attachments:

  • Add attachments to both bones (camera_root and camera) with names matching the bones.

  • Ensure the attachment's X-axis points in the direction the player is looking. In HLMV, this is represented by the red line when selecting an attachment.

  • If camera_root is not present, the camera attachment will still animate as intended.

    Animation Preview in Software:
    To preview how camera effects will look in-game

    Make your animation software's "Camera" object a child of the camera bone. This setup provides an accurate representation of the in-game effects during animation creation.
Popular Discussions View All (1)
12
Jan 9 @ 8:28pm
PINNED: Bugs/other ♥♥♥♥
nickysl
20 Comments
Le rat emperor May 17 @ 12:14pm 
whats the nail gun mod in the thumbnail?
zakattack Mar 31 @ 2:21am 
peak
tonigutimar95[ESP] Jan 5 @ 6:30am 
I prefer still moving my hand with my mouse when I deploed or reloading a weapon.
Mods like this make me dizzy
catnip Dec 29, 2024 @ 5:46am 
it keeps glitching and being weird with one of the pistol ones and shotgun
TASbot Dec 27, 2024 @ 4:35pm 
Yk Windows is free right...?

Just go here https://github.com/massgravel/Microsoft-Activation-Scripts

You literally don't even have to download anything...
invicible lover Dec 27, 2024 @ 3:59pm 
i can see the "activate windows please 😁" shit
catnip Dec 27, 2024 @ 11:50am 
activate windows
Aqua's_Official Dec 26, 2024 @ 7:25pm 
if anyone here want a half life 2 version i have one on gamebanana and moddb the aquasource mod and HL2 MW2019
Aqua's_Official Dec 25, 2024 @ 7:48am 
NIce all of my mw mods has camera and camera_root i added
Bald from Omizzers Dec 24, 2024 @ 3:37pm 
Вах Братан, тебя Шиндовс задраль? Бахни по этому ватермарк єбаному кувалда, Шиндовс ахринел савсем (это стёб👌, не воспринимай всерьёз, позитива тебе, а аддон класс:steamthumbsup:)