• Recompiled weapon hand bug
    1 replies, posted
Hey! i have recompiled Coach from L4D2 and the weapon hand is corrupted/buggy. the onginal one [URL=http://img855.imageshack.us/i/coachorginal.jpg/][IMG]http://img855.imageshack.us/img855/3502/coachorginal.th.jpg[/IMG][/URL] and the Decompiled one [URL=http://img705.imageshack.us/i/coachdecompilebug.jpg/][IMG]http://img705.imageshack.us/img705/6886/coachdecompilebug.th.jpg[/IMG][/URL] the .qc [code] $modelname "survivors/survivor_coach_decompile.mdl" $model "Coach" "coach_model_merged.dmx.smd" $poseparameter body_pitch -90.00 90.00 360.00 $poseparameter body_yaw -90.00 90.00 360.00 $poseparameter head_pitch -90.00 90.00 360.00 $poseparameter head_yaw -90.00 90.00 360.00 $cdmaterials "models\survivors\coach\" $cdmaterials "models\survivors\" $cdmaterials "" $attachment "eyes" "ValveBiped.Bip01_Head1" 2.92 -2.80 0.00 rotate 0.00 -89.37 -90.00 $attachment "mouth" "ValveBiped.Bip01_Head1" 0.84 -6.09 -0.16 rotate -0.00 -80.00 -90.00 $attachment "survivor_light" "ValveBiped.Bip01_Spine2" 6.30 25.20 -0.00 rotate 0.00 -0.00 -0.00 $attachment "forward" "ValveBiped.forward" 0.00 -0.00 -0.00 rotate 0.00 -0.00 0.00 $attachment "pistol" "ValveBiped.Bip01_R_Thigh" -3.48 2.17 -5.47 rotate -3.66 -0.47 96.14 $attachment "weapon_bone" "ValveBiped.weapon_bone" 0.00 0.00 0.00 rotate 0.00 0.00 0.00 $attachment "medkit" "ValveBiped.Bip01_Spine4" -1.34 -5.84 -1.37 rotate 5.03 77.16 0.00 $attachment "primary" "ValveBiped.Bip01_Spine4" 3.21 -5.16 -2.75 rotate -13.70 170.19 174.29 $attachment "attach_R_shoulderBladeAim" "ValveBiped.Bip01_Spine4" -11.07 -1.46 -5.33 rotate -90.00 -102.85 0.00 $attachment "attach_L_shoulderBladeAim" "ValveBiped.Bip01_Spine4" -11.07 -1.46 3.69 rotate -90.00 -102.85 0.00 $attachment "melee" "ValveBiped.Bip01_Spine4" 2.87 -5.56 5.47 rotate 24.08 175.37 97.14 $attachment "molotov" "ValveBiped.Bip01_Spine" -3.78 -2.89 8.29 rotate -63.44 -74.67 -101.41 $attachment "grenade" "ValveBiped.Bip01_Spine" -0.80 1.38 9.33 rotate -90.00 -175.23 0.00 $attachment "pills" "ValveBiped.Bip01_Spine" -3.10 0.74 -8.47 rotate -41.18 -88.48 -87.05 $attachment "lfoot" "ValveBiped.Bip01_L_Foot" -0.00 5.25 0.00 rotate -0.00 -0.00 -0.00 $attachment "rfoot" "ValveBiped.Bip01_R_Foot" 0.00 5.25 -0.00 rotate 0.00 0.00 -0.00 $attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" -0.00 0.00 0.00 rotate -0.00 0.00 0.00 $attachment "survivor_neck" "ValveBiped.Bip01_Neck1" 0.00 0.00 0.00 rotate -0.00 0.00 -0.00 $attachment "forward" "ValveBiped.forward" 0.00 -0.00 -0.00 rotate 0.00 -0.00 0.00 $attachment "bleedout" "ValveBiped.Bip01_Pelvis" 9.97 10.50 5.25 rotate 0.00 0.00 0.00 $attachment "survivor_light" "ValveBiped.Bip01_Spine2" 6.30 25.20 -0.00 rotate 0.00 -0.00 -0.00 $attachment "legL_B" "ValveBiped.attachment_bandage_legL" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00 $attachment "armL_B" "ValveBiped.attachment_bandage_armL" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00 $attachment "armL_T" "ValveBiped.attachment_armL_T" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00 $attachment "armR_T" "ValveBiped.attachment_armR_T" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00 $attachment "armL" "ValveBiped.Bip01_L_Forearm" 0.00 -0.00 -0.00 rotate -0.00 -0.00 -0.00 $attachment "legL" "ValveBiped.Bip01_L_Calf" 0.00 0.00 0.00 rotate -0.00 -0.00 -0.00 $attachment "thighL" "ValveBiped.Bip01_L_Thigh" -0.00 -0.00 0.00 rotate -0.00 -0.00 -0.00 $attachment "spine" "ValveBiped.Bip01_Spine" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00 $includemodel "survivors/anim_coach.mdl" $includemodel "survivors/anim_gestures.mdl" $surfaceprop "flesh" $eyeposition 0.000 0.000 70.000 $illumposition -0.185 -0.314 37.536 $sequence coach "coach" fps 30.00 $sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00 $ikchain rhand ValveBiped.Bip01_R_Hand knee 0.707 0.707 0.000 $ikchain lhand ValveBiped.Bip01_L_Hand knee 0.707 0.707 0.000 $ikchain rfoot ValveBiped.Bip01_R_Foot knee 0.707 -0.707 0.000 $ikchain lfoot ValveBiped.Bip01_L_Foot knee 0.707 -0.707 0.000 $ikchain ikclip ValveBiped.weapon_bone_Clip knee 0.707 -0.707 0.000 $collisionjoints "phymodel.smd" { $mass 100.0 $inertia 10.00 $damping 0.05 $rotdamping 5.00 $rootbone "valvebiped.bip01_pelvis" $jointrotdamping "valvebiped.bip01_pelvis" 3.00 $jointmassbias "valvebiped.bip01_spine1" 8.00 $jointconstrain "valvebiped.bip01_spine1" x limit -10.00 10.00 0.00 $jointconstrain "valvebiped.bip01_spine1" y limit -16.00 16.00 0.00 $jointconstrain "valvebiped.bip01_spine1" z limit -20.00 30.00 0.00 $jointmassbias "valvebiped.bip01_spine2" 9.00 $jointconstrain "valvebiped.bip01_spine2" x limit -10.00 10.00 0.00 $jointconstrain "valvebiped.bip01_spine2" y limit -10.00 10.00 0.00 $jointconstrain "valvebiped.bip01_spine2" z limit -20.00 20.00 0.00 $jointmassbias "valvebiped.bip01_r_clavicle" 4.00 $jointrotdamping "valvebiped.bip01_r_clavicle" 6.00 $jointconstrain "valvebiped.bip01_r_clavicle" x limit -15.00 15.00 0.00 $jointconstrain "valvebiped.bip01_r_clavicle" y limit -10.00 10.00 0.00 $jointconstrain "valvebiped.bip01_r_clavicle" z limit 0.00 45.00 0.00 $jointmassbias "valvebiped.bip01_l_clavicle" 4.00 $jointrotdamping "valvebiped.bip01_l_clavicle" 6.00 $jointconstrain "valvebiped.bip01_l_clavicle" x limit -15.00 15.00 0.00 $jointconstrain "valvebiped.bip01_l_clavicle" y limit -10.00 10.00 0.00 $jointconstrain "valvebiped.bip01_l_clavicle" z limit 0.00 45.00 0.00 $jointmassbias "valvebiped.bip01_l_upperarm" 5.00 $jointrotdamping "valvebiped.bip01_l_upperarm" 2.00 $jointconstrain "valvebiped.bip01_l_upperarm" x limit -15.00 20.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" y limit -40.00 32.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" z limit -80.00 25.00 0.00 $jointmassbias "valvebiped.bip01_l_forearm" 4.00 $jointrotdamping "valvebiped.bip01_l_forearm" 4.00 $jointconstrain "valvebiped.bip01_l_forearm" x limit -40.00 15.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" z limit -120.00 10.00 0.00 $jointrotdamping "valvebiped.bip01_l_hand" 1.00 $jointconstrain "valvebiped.bip01_l_hand" x limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" y limit -35.00 35.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" z limit -50.00 50.00 0.00 $jointmassbias "valvebiped.bip01_r_upperarm" 5.00 $jointrotdamping "valvebiped.bip01_r_upperarm" 2.00 $jointconstrain "valvebiped.bip01_r_upperarm" x limit -15.00 20.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" y limit -40.00 32.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" z limit -80.00 25.00 0.00 $jointmassbias "valvebiped.bip01_r_forearm" 4.00 $jointrotdamping "valvebiped.bip01_r_forearm" 4.00 $jointconstrain "valvebiped.bip01_r_forearm" x limit -40.00 15.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" z limit -120.00 10.00 0.00 $jointrotdamping "valvebiped.bip01_r_hand" 1.00 $jointconstrain "valvebiped.bip01_r_hand" x limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" y limit -35.00 35.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" z limit -50.00 50.00 0.00 $jointmassbias "valvebiped.bip01_r_thigh" 7.00 $jointrotdamping "valvebiped.bip01_r_thigh" 7.00 $jointconstrain "valvebiped.bip01_r_thigh" x limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" y limit -10.00 15.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" z limit -55.00 25.00 0.00 $jointmassbias "valvebiped.bip01_r_calf" 4.00 $jointconstrain "valvebiped.bip01_r_calf" x limit -10.00 25.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" y limit -5.00 5.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" z limit -10.00 115.00 0.00 $jointrotdamping "valvebiped.bip01_r_foot" 2.00 $jointconstrain "valvebiped.bip01_r_foot" x limit -20.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" y limit -30.00 20.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" z limit -30.00 50.00 0.00 $jointmassbias "valvebiped.bip01_l_thigh" 7.00 $jointrotdamping "valvebiped.bip01_l_thigh" 7.00 $jointconstrain "valvebiped.bip01_l_thigh" x limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" y limit -10.00 15.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" z limit -55.00 25.00 0.00 $jointmassbias "valvebiped.bip01_l_calf" 4.00 $jointconstrain "valvebiped.bip01_l_calf" x limit -10.00 25.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" y limit -5.00 5.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" z limit -10.00 115.00 0.00 $jointrotdamping "valvebiped.bip01_l_foot" 2.00 $jointconstrain "valvebiped.bip01_l_foot" x limit -20.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" y limit -30.00 20.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" z limit -30.00 50.00 0.00 $jointmassbias "valvebiped.bip01_head1" 4.00 $jointrotdamping "valvebiped.bip01_head1" 3.00 $jointconstrain "valvebiped.bip01_head1" x limit -50.00 50.00 0.00 $jointconstrain "valvebiped.bip01_head1" y limit -20.00 20.00 0.00 $jointconstrain "valvebiped.bip01_head1" z limit -26.00 30.00 0.00 } [/code] Any idea to fix this ? Thank you in advance ;)
There's no other way to fix it than to unlink the fingers from the hand bone, unlink the hand bone from the forearm, and rotate the hand bone manually. Relink all the bones to their original hierarchy, and re-export. Be prepared for a lot of trial and error, though.
Sorry, you need to Log In to post a reply to this thread.