Weapons not going in the hands of the model.

I’m trying to make a ragdoll into an NPC Model for the rebel, and for some reason weapons don’t go into his hand.

Here is the .qc file:



$modelname "Humans\Group03\Male_03.mdl"
$model "ref" "patrizan_ref.SMD.smd"

$model "gear" "UnknownModelName.smd"

$model "gear" "patrizan_gear_3.SMD.smd"

$model "back" "UnknownModelName.smd"

$model "back" "patrizan_back_2.SMD.smd"

$model "helmet" "UnknownModelName.smd"

$model "helmet" "patrizan_hat1.SMD.smd"

$model "face" "UnknownModelName.smd"

$model "face" "Mask1.smd"

$model "head" "patrizan_head_1.SMD.smd"

$cdmaterials "models\russian\"
$texturegroup skinfamilies
{
	{"body.vmt"
 "leg.vmt"
 "hand.vmt"
 "gear.vmt"
 "gear_mask.vmt"
 "RSA_03_ETC_D.vmt"
 "sas_woodland_cap_sp_col.vmt"
 "sas_woodland_zied_col_sp.vmt"
 "AF_04_D.vmt"
 "met_black.vmt"
 "rmet_red.vmt"
 "goggle_l.vmt"
}
 	{"body_sniper.vmt"
 "leg.vmt"
 "hand.vmt"
 "gear.vmt"
 "gear_mask.vmt"
 "RSA_03_ETC_D.vmt"
 "sas_woodland_cap_sp_col.vmt"
 "sas_woodland_zied_col_sp.vmt"
 "AF_04_D.vmt"
 "met_black.vmt"
 "rmet_red.vmt"
 "goggle_l.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
$includemodel "humans/male_shared.mdl"
$includemodel "humans/male_ss.mdl"
$includemodel "humans/male_gestures.mdl"
$includemodel "humans/male_postures.mdl"
$bonemerge ValveBiped.Bip01_Head1
$bonemerge ValveBiped.Bip01_L_UpperArm
$bonemerge ValveBiped.Bip01_L_Forearm
$bonemerge ValveBiped.Bip01_R_UpperArm
$bonemerge ValveBiped.Bip01_R_Forearm
$bonemerge ValveBiped.Bip01_L_Thigh
$bonemerge ValveBiped.Bip01_L_Calf
$bonemerge ValveBiped.Bip01_L_Foot
$bonemerge ValveBiped.Bip01_L_Toe0
$bonemerge ValveBiped.Bip01_R_Thigh
$bonemerge ValveBiped.Bip01_R_Calf
$bonemerge ValveBiped.Bip01_R_Foot
$bonemerge ValveBiped.Bip01_R_Toe0
$bonemerge ValveBiped.Bip01_Pelvis
$bonemerge ValveBiped.Bip01_Spine2
$bonemerge ValveBiped
$bonemerge ValveBiped.Bip01_R_Hand
$bonemerge ValveBiped.Bip01_L_Hand
$bonemerge ValveBiped.weapon_bone
$bonemerge ValveBiped.weapon_bone_Clip
$surfaceprop "flesh"
$eyeposition -0.000 0.000 73.000
$illumposition 0.699 0.019 37.558
$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

Any help would be appreciated.

Try to give him normal attachments.

Also what’s with all the bonemerges and hitboxes?

I copied the hit boxes from the rebel .qc file, just to see if that was it, and I was just testing something with the bone merges. I’ll try what you said.

Tried adding them, It just crashed the game.