Applying the Right-Hand Fix
Modding a Left 4 Dead 2 Survivor
Applying the Right-Hand Fix
UPDATE 02-Jan-2018: There is no need for this fix any longer. Recent versions of Crowbar (0.49 and later) should be used for decompiling the survivors, and the "Include $definebone lines" option should be enabled/ticked.
Each decompiled survivor model needs to have the "right-hand fix" to avoid the infamous "warped right hand" problem.
Warped right hand from unaltered decompiled files
Corrected right hand after applying the fix
Step 1 - Find Weapon Bone in Nodes
NOTE: If you used the Crowbar tool's option for Apply "Right-Hand Fix", then you can skip this page of the tutorial.
In the nodes section of the reference SMD file, find this bone name: "ValveBiped.weapon_bone"
An example line, found in Bill's reference SMD file:
58 "ValveBiped.weapon_bone" 37
That 58 is the index in this example.
Step 2 - Find Weapon Bone Index in Skeleton
In the same SMD file goto next section, skeleton, find that index number as first number on the line (58, for example).
Put 3 zeroes for the 2nd through 4th numbers.
An example line:
58 2.856899 -1.536200 -0.973800 -1.501147 -0.272558 -1.578261
Step 3 - Change Values to Zeroes
For this example, change that line to:
58 0 0 0 -1.501147 -0.272558 -1.578261