Garry's Mod Wiki

Revision Difference

ValveBiped_Bones#554528

<cat>Dev.Model</cat> # The ValveBiped Skeleton Most of the time when making a brand new playermodel, you will want to use Garry's Mod's default animations as making custom animations can be very time-consuming or you might just lack the skill for doing it. This set of animations is packed in a model called **m_anm.mdl** (and other gesture files), it has been made for a special biped skeleton vastly used in Source Games and its source files are available at [this GitHub repo](https://github.com/robotboy655/gmod-animations). In the end, if you ever want to use the default animation pack, you will have to rig your model to this ValveBiped skeleton and include the said model in your QC file using [this QC command](https://developer.valvesoftware.com/wiki/$includemodel). The Valve standard skeleton is named ValveBiped and all of its bones must have specific names to be used as a ValveBiped model. Using the ValveBiped skeleton instead of a custom one will help developers to design addons, otherwise they would have to think about every custom skeleton on the workshop. This is why addons such as [JMod](https://steamcommunity.com/workshop/filedetails/?id=1919689921) or [WiltOS's animation base](https://steamcommunity.com/sharedfiles/filedetails/?id=2646756503) won't work properly with playermodels using custom skeletons instead of the ValveBiped one. The skeleton starts with a **ValveBiped.Bip01_Pelvis** bone, it will be the root bone of all the model's skeleton. Every other bone in the hierarchy should be parented directly or indirectly to this bone. The said *hierarchy*: ```markdown ValveBiped.Bip01_Pelvis ├──ValveBiped.Bip01_Spine │ └──ValveBiped.Bip01_Spine1 │ └──ValveBiped.Bip01_Spine2 │ └──ValveBiped.Bip01_Spine4 //(optional, the clavicles can be attached to spine2) │ ├──ValveBiped.Bip01_L_Clavicle │ │ └──ValveBiped.Bip01_L_UpperArm │ │ └──ValveBiped.Bip01_L_Forearm │ │ └──ValveBiped.Bip01_L_Hand //(all fingers are optional) │ │ ├──ValveBiped.Bip01_L_Finger0 //(thumb) │ │ │ └──ValveBiped.Bip01_L_Finger01 │ │ │ └──ValveBiped.Bip01_L_Finger02 │ │ ├──ValveBiped.Bip01_L_Finger1 //(index finger) │ │ │ └──ValveBiped.Bip01_L_Finger11 │ │ │ └──ValveBiped.Bip01_L_Finger12 │ │ ├──ValveBiped.Bip01_L_Finger2 //(middle finger) │ │ │ └──ValveBiped.Bip01_L_Finger21 │ │ │ └──ValveBiped.Bip01_L_Finger22 │ │ ├──ValveBiped.Bip01_L_Finger3 //(ring finger) │ │ │ └──ValveBiped.Bip01_L_Finger31 │ │ │ └──ValveBiped.Bip01_L_Finger32 │ │ └──ValveBiped.Bip01_L_Finger4 //(pinky) │ │ └──ValveBiped.Bip01_L_Finger41 │ │ └──ValveBiped.Bip01_L_Finger42 │ ├──ValveBiped.Bip01_R_Clavicle │ │ └──ValveBiped.Bip01_R_UpperArm │ │ └──ValveBiped.Bip01_R_Forearm │ │ └──ValveBiped.Bip01_R_Hand │ │ ├──ValveBiped.Bip01_R_Finger0 │ │ │ └──ValveBiped.Bip01_R_Finger01 │ │ │ └──ValveBiped.Bip01_R_Finger02 │ │ ├──ValveBiped.Bip01_R_Finger1 │ │ │ └──ValveBiped.Bip01_R_Finger11 │ │ │ └──ValveBiped.Bip01_R_Finger12 │ │ ├──ValveBiped.Bip01_R_Finger2 │ │ │ └──ValveBiped.Bip01_R_Finger21 │ │ │ └──ValveBiped.Bip01_R_Finger22 │ │ ├──ValveBiped.Bip01_R_Finger3 │ │ │ └──ValveBiped.Bip01_R_Finger31 │ │ │ └──ValveBiped.Bip01_R_Finger32 │ │ └──ValveBiped.Bip01_R_Finger4 │ │ └──ValveBiped.Bip01_R_Finger41 │ │ └──ValveBiped.Bip01_R_Finger42 │ └──ValveBiped.Bip01_Neck1 │ └──ValveBiped.Bip01_Head1 ├──ValveBiped.Bip01_L_Thigh │ └──ValveBiped.Bip01_L_Calf │ └──ValveBiped.Bip01_L_Foot │ └──ValveBiped.Bip01_L_Toe0 │ └──ValveBiped.Bip01_R_Thigh └──ValveBiped.Bip01_R_Calf └──ValveBiped.Bip01_R_Foot └──ValveBiped.Bip01_R_Toe0 ```⤶ ```