Adding Jigglebones

Modding a Left 4 Dead 2 Survivor

Adding Jigglebones

VDC reference: $jigglebone

In your 3d modeling tool, add a bone at the appropriate spot on the skeleton and give it a good name. The base or head of the bone should be placed where the mesh should not move and the tip or tail of the bone should be placed along the mesh that will move. In the qc file, add a $jigglebone command that uses the name you gave the bone in the 3d editing tool.

For example, if you wanted a ponytail to use a jigglebone, add a bone to the head bone and position the new bone to point down along the ponytail.

One way to start is find an addon that has jigglebone that is close to what you want. Decompile the model using Crowbar. Look at the $jigglebone in the qc file. Look at the jigglebone's position and what parent bone it is has in your 3d modeling tool.

Example $jigglebone I use for front part of a skirt

$jigglebone "valvebiped.jig_skirt_front" { is_flexible { pitch_stiffness 100 pitch_damping 5 yaw_stiffness 100 yaw_damping 5 length 10 tip_mass 1000 pitch_constraint -30 90 yaw_constraint 1 1 } }