Headhack Help!

Hey guys. Today, I felt like having some fun… I downloaded the guys wearing suits, and the MK VS DC Scorpion and Sub-Zero models. I decided to headhack scorpion’s head onto a suit. Now, I was successful and the compiler worked perfectly fine, but when I ported all the materials over and launched the game, I went to the model and tried to spawn it, and nothing happened. The game just froze up.

I have some pictures for you guys.
In 3ds Max:

http://filesmelt.com/dl/scorpionsuit.JPG

In Model viewer:

http://filesmelt.com/dl/modelviewer.JPG

Can you guys help?

Also, here is the QC:


$modelname "Humans\scorpion\suit.mdl"
$body "body" "scorpiosuit.smd"
$cdmaterials "models\Humans\suits\"
$cdmaterials "models\Humans\scorpion\"
$texturegroup skinfamilies
{
    {"suit_sheet.vmt"
 "arms_black.vmt"
}
     {"suit_sheet2.vmt"
 "arms_black.vmt"
}
     {"suit_sheet3.vmt"
 "arms_black.vmt"
}
     {"suit_sheet4.vmt"
 "arms_black.vmt"
}
     {"suit_sheet5.vmt"
 "arms_black.vmt"
}
     {"suit_sheet6.vmt"
 "arms_black.vmt"
}
 }
$hboxset "default"
$hbox 1 "ValveBiped.Bip01_Head1" -1.250  -6.500  -3.190  8.250  3.500  3.310
$hbox 4 "ValveBiped.Bip01_L_UpperArm" 0.000  -2.750  -2.750  12.510  1.750  2.250
$hbox 4 "ValveBiped.Bip01_L_Forearm" 0.000  -2.190  -2.380  13.000  1.810  1.620
$hbox 4 "ValveBiped.Bip01_L_Hand" 0.060  -2.000  -1.500  4.060  1.000  2.500
$hbox 5 "ValveBiped.Bip01_R_UpperArm" 0.000  -3.000  -2.250  12.390  2.000  2.750
$hbox 5 "ValveBiped.Bip01_R_Forearm" -0.500  -2.200  -1.550  12.500  1.800  2.450
$hbox 5 "ValveBiped.Bip01_R_Hand" 0.060  -2.000  -2.500  4.060  1.000  1.500
$hbox 6 "ValveBiped.Bip01_L_Thigh" 0.000  -3.750  -3.250  17.850  3.750  3.250
$hbox 6 "ValveBiped.Bip01_L_Calf" 0.000  -3.510  -3.280  15.640  3.490  2.720
$hbox 6 "ValveBiped.Bip01_L_Foot" -1.070  -2.000  -2.840  5.040  5.000  2.160
$hbox 6 "ValveBiped.Bip01_L_Toe0" -0.500  -3.000  -2.190  2.500  0.000  2.460
$hbox 7 "ValveBiped.Bip01_R_Thigh" 0.000  -3.750  -3.250  17.850  3.750  3.250
$hbox 7 "ValveBiped.Bip01_R_Calf" 0.000  -3.510  -2.820  15.640  3.490  3.180
$hbox 7 "ValveBiped.Bip01_R_Foot" -1.060  -2.010  -2.280  5.050  4.990  2.720
$hbox 7 "ValveBiped.Bip01_R_Toe0" -0.500  -3.000  -2.600  2.500  0.000  2.100
$hbox 3 "ValveBiped.Bip01_Pelvis" -7.500  -5.500  -6.000  7.500  8.500  5.000
$hbox 2 "ValveBiped.Bip01_Spine2" -2.500  -2.500  -7.000  14.500  7.500  7.000
// Model uses material "suit_sheet.vmt"
// Model uses material "arms_black.vmt"
// Model uses material "eyeball_r.vmt"
// Model uses material "eyeball_l.vmt"
// Model uses material "van_facemap.vmt"
// Model uses material "mouth.vmt"
// Model uses material "suit_sheet2.vmt"
// Model uses material "suit_sheet3.vmt"
// Model uses material "suit_sheet4.vmt"
// Model uses material "suit_sheet5.vmt"
// Model uses material "suit_sheet6.vmt"
$attachment "eyes" "ValveBiped.Bip01_Head1" 3.67 -4.32 0.00 rotate 0.00 -80.10 -90.00
$attachment "mouth" "ValveBiped.Bip01_Head1" 1.00 -6.50 -0.00 rotate 0.00 -80.00 -90.00
$attachment "chest" "ValveBiped.Bip01_Spine2" 5.00 4.00 -0.00 rotate -0.00 90.00 90.00
$attachment "forward" "ValveBiped.forward" -0.00 0.00 0.00 rotate 0.00 0.00 -0.00
$attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" 0.00 -0.00 -0.00 rotate -90.00 -90.00 0.00
$attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$includemodel "humans/male_shared.mdl"
$includemodel "humans/male_ss.mdl"
$includemodel "humans/male_gestures.mdl"
$includemodel "humans/male_postures.mdl"
$surfaceprop "flesh"
$eyeposition -0.000 0.000 70.000
$illumposition -0.000 0.654 36.127
$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
$collisionjoints "phymodel.smd" {

    $mass 90.0
    $inertia 10.00
    $damping 0.01
    $rotdamping 1.50
    $rootbone "valvebiped.bip01_pelvis"
    $jointmerge "ValveBiped.Bip01_Pelvis" "ValveBiped.Bip01_Spine1"

    $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 -90.00 45.00 0.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

    $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 -90.00 45.00 0.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

    $jointconstrain "valvebiped.bip01_r_foot" x limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_r_foot" y limit -25.00 6.00 0.00
    $jointconstrain "valvebiped.bip01_r_foot" z limit -55.00 50.00 0.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

    $jointconstrain "valvebiped.bip01_l_clavicle" x limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_l_clavicle" y limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_l_clavicle" z limit -0.00 40.00 0.00

    $jointconstrain "valvebiped.bip01_l_upperarm" x limit -40.00 40.00 0.00
    $jointconstrain "valvebiped.bip01_l_upperarm" y limit -140.00 110.00 0.00
    $jointconstrain "valvebiped.bip01_l_upperarm" z limit -135.00 135.00 0.00

    $jointconstrain "valvebiped.bip01_l_forearm" x limit -30.00 30.00 0.00
    $jointconstrain "valvebiped.bip01_l_forearm" y limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_l_forearm" z limit -150.00 5.00 0.00

    $jointconstrain "valvebiped.bip01_r_clavicle" x limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_r_clavicle" y limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_r_clavicle" z limit -0.00 40.00 0.00

    $jointconstrain "valvebiped.bip01_r_upperarm" x limit -40.00 40.00 0.00
    $jointconstrain "valvebiped.bip01_r_upperarm" y limit -110.00 140.00 0.00
    $jointconstrain "valvebiped.bip01_r_upperarm" z limit -135.00 135.00 0.00

    $jointconstrain "valvebiped.bip01_r_forearm" x limit -30.00 30.00 0.00
    $jointconstrain "valvebiped.bip01_r_forearm" y limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_r_forearm" z limit -150.00 5.00 0.00

    $jointconstrain "valvebiped.bip01_r_hand" x limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_r_hand" y limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_r_hand" z limit -60.00 80.00 0.00

    $jointconstrain "valvebiped.bip01_l_hand" x limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_l_hand" y limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_l_hand" z limit -60.00 80.00 0.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

    $jointconstrain "valvebiped.bip01_l_foot" x limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_l_foot" y limit -19.00 19.00 0.00
    $jointconstrain "valvebiped.bip01_l_foot" z limit -55.00 70.00 0.00
    $animatedfriction 1.000 400.000 0.500 0.300 0.000
}



$modelname "Humans\scorpion\suit.mdl"
$body "body" "scorpiosuit.smd"
$cdmaterials "models\Humans\suits\"
$cdmaterials "models\Humans\scorpion\"
$texturegroup skinfamilies
{
    { "suit_sheet" }
    { "suit_sheet2" }
    { "suit_sheet3" }
    { "suit_sheet4" }
    { "suit_sheet5" }
    { "suit_sheet6" }
}
$hboxset "default"
$hbox 1 "ValveBiped.Bip01_Head1" -1.250  -6.500  -3.190  8.250  3.500  3.310
$hbox 4 "ValveBiped.Bip01_L_UpperArm" 0.000  -2.750  -2.750  12.510  1.750  2.250
$hbox 4 "ValveBiped.Bip01_L_Forearm" 0.000  -2.190  -2.380  13.000  1.810  1.620
$hbox 4 "ValveBiped.Bip01_L_Hand" 0.060  -2.000  -1.500  4.060  1.000  2.500
$hbox 5 "ValveBiped.Bip01_R_UpperArm" 0.000  -3.000  -2.250  12.390  2.000  2.750
$hbox 5 "ValveBiped.Bip01_R_Forearm" -0.500  -2.200  -1.550  12.500  1.800  2.450
$hbox 5 "ValveBiped.Bip01_R_Hand" 0.060  -2.000  -2.500  4.060  1.000  1.500
$hbox 6 "ValveBiped.Bip01_L_Thigh" 0.000  -3.750  -3.250  17.850  3.750  3.250
$hbox 6 "ValveBiped.Bip01_L_Calf" 0.000  -3.510  -3.280  15.640  3.490  2.720
$hbox 6 "ValveBiped.Bip01_L_Foot" -1.070  -2.000  -2.840  5.040  5.000  2.160
$hbox 6 "ValveBiped.Bip01_L_Toe0" -0.500  -3.000  -2.190  2.500  0.000  2.460
$hbox 7 "ValveBiped.Bip01_R_Thigh" 0.000  -3.750  -3.250  17.850  3.750  3.250
$hbox 7 "ValveBiped.Bip01_R_Calf" 0.000  -3.510  -2.820  15.640  3.490  3.180
$hbox 7 "ValveBiped.Bip01_R_Foot" -1.060  -2.010  -2.280  5.050  4.990  2.720
$hbox 7 "ValveBiped.Bip01_R_Toe0" -0.500  -3.000  -2.600  2.500  0.000  2.100
$hbox 3 "ValveBiped.Bip01_Pelvis" -7.500  -5.500  -6.000  7.500  8.500  5.000
$hbox 2 "ValveBiped.Bip01_Spine2" -2.500  -2.500  -7.000  14.500  7.500  7.000
$attachment "eyes" "ValveBiped.Bip01_Head1" 3.67 -4.32 0.00 rotate 0.00 -80.10 -90.00
$attachment "mouth" "ValveBiped.Bip01_Head1" 1.00 -6.50 -0.00 rotate 0.00 -80.00 -90.00
$attachment "chest" "ValveBiped.Bip01_Spine2" 5.00 4.00 -0.00 rotate -0.00 90.00 90.00
$attachment "forward" "ValveBiped.forward" -0.00 0.00 0.00 rotate 0.00 0.00 -0.00
$attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" 0.00 -0.00 -0.00 rotate -90.00 -90.00 0.00
$attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$includemodel "humans/male_shared.mdl"
$includemodel "humans/male_ss.mdl"
$includemodel "humans/male_gestures.mdl"
$includemodel "humans/male_postures.mdl"
$surfaceprop "flesh"
$eyeposition -0.000 0.000 70.000
$illumposition -0.000 0.654 36.127
$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
$collisionjoints "phymodel.smd" {

    $mass 90.0
    $inertia 10.00
    $damping 0.01
    $rotdamping 1.50
    $rootbone "valvebiped.bip01_pelvis"
    $jointmerge "ValveBiped.Bip01_Pelvis" "ValveBiped.Bip01_Spine1"

    $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 -90.00 45.00 0.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

    $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 -90.00 45.00 0.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

    $jointconstrain "valvebiped.bip01_r_foot" x limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_r_foot" y limit -25.00 6.00 0.00
    $jointconstrain "valvebiped.bip01_r_foot" z limit -55.00 50.00 0.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

    $jointconstrain "valvebiped.bip01_l_clavicle" x limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_l_clavicle" y limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_l_clavicle" z limit -0.00 40.00 0.00

    $jointconstrain "valvebiped.bip01_l_upperarm" x limit -40.00 40.00 0.00
    $jointconstrain "valvebiped.bip01_l_upperarm" y limit -140.00 110.00 0.00
    $jointconstrain "valvebiped.bip01_l_upperarm" z limit -135.00 135.00 0.00

    $jointconstrain "valvebiped.bip01_l_forearm" x limit -30.00 30.00 0.00
    $jointconstrain "valvebiped.bip01_l_forearm" y limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_l_forearm" z limit -150.00 5.00 0.00

    $jointconstrain "valvebiped.bip01_r_clavicle" x limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_r_clavicle" y limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_r_clavicle" z limit -0.00 40.00 0.00

    $jointconstrain "valvebiped.bip01_r_upperarm" x limit -40.00 40.00 0.00
    $jointconstrain "valvebiped.bip01_r_upperarm" y limit -110.00 140.00 0.00
    $jointconstrain "valvebiped.bip01_r_upperarm" z limit -135.00 135.00 0.00

    $jointconstrain "valvebiped.bip01_r_forearm" x limit -30.00 30.00 0.00
    $jointconstrain "valvebiped.bip01_r_forearm" y limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_r_forearm" z limit -150.00 5.00 0.00

    $jointconstrain "valvebiped.bip01_r_hand" x limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_r_hand" y limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_r_hand" z limit -60.00 80.00 0.00

    $jointconstrain "valvebiped.bip01_l_hand" x limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_l_hand" y limit -60.00 60.00 0.00
    $jointconstrain "valvebiped.bip01_l_hand" z limit -60.00 80.00 0.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

    $jointconstrain "valvebiped.bip01_l_foot" x limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_l_foot" y limit -19.00 19.00 0.00
    $jointconstrain "valvebiped.bip01_l_foot" z limit -55.00 70.00 0.00
    $animatedfriction 1.000 400.000 0.500 0.300 0.000
}


The model looks like the rigging is broken. I did sort the .qc though.

All I did was attach the head and left the body rig as the normal default…

I’ve done that sort of thing before, and had rigging problems before.

So are you saying there’s no fix? Should I just start from scratch?

There is a fix, but only if you are willing to rerig the whole model.

Yeah I could re-rig it I guess.

Anybody got a fix for this? I wanted to make a screenshot using these models cause I have such a great idea.

Sorry for reposting. But can someone please help me?

You could just rerig the head anew. Import it without a skeleton and apply it to the head, neck and spine 4 bones ought to be enough.