Modified hitboxes and now people die randomly.

I run a TTT server and found out recently that some of the playermodels I have had no headshot hitboxes. Considering I have no knowlege of the subject, I painstakingly figured out how to fix it, and found that all hitboxes in the QC file were group 0, so I changed the neck and head to 1 and left the rest. Now, it seems, before a round starts sometimes people using those playermodels will die, supposedly from burning. Is there something I missed when I made my fix?

The headshot hitbox didn’t exist, but all it took was changing the group? Doesn’t that mean it did exist? Do you mean players couldn’t be shot in the head properly, or do you mean that players were unable to properly wear hats?

Everything counted as a bodyshot. If you were shot anywhere, including the head, it did the same damage. The head hitbox did exist, it was jsut in the same group as the others.

You might want to consider rebuilding the hitboxes on them instead of fiddling with what exists. If there’s a neck hitbox and none of them are grouped then I’m guessing the model is just using auto-generated hitboxes.

If you can open them in modelviewer to tweak them, you can probably start with the citizen ones for now. Here’s what male05 uses:


$hboxset "default"

$hbox 1 "ValveBiped.Bip01_Head1"	    -1.25   -6.50   -3.19     8.25    3.50    3.31
$hbox 4 "ValveBiped.Bip01_L_UpperArm"	     0.00   -2.75   -2.75    12.51    1.75    2.25
$hbox 4 "ValveBiped.Bip01_L_Forearm"	     0.00   -2.19   -2.38    13.00    1.81    1.62
$hbox 4 "ValveBiped.Bip01_L_Hand"	     0.06   -2.00   -1.50     4.06    1.00    2.50
$hbox 5 "ValveBiped.Bip01_R_UpperArm"	     0.00   -3.00   -2.25    12.39    2.00    2.75
$hbox 5 "ValveBiped.Bip01_R_Forearm"	    -0.50   -2.20   -1.55    12.50    1.80    2.45
$hbox 5 "ValveBiped.Bip01_R_Hand"	     0.06   -2.00   -2.50     4.06    1.00    1.50
$hbox 6 "ValveBiped.Bip01_L_Thigh"	     0.00   -3.75   -3.25    17.85    3.75    3.25
$hbox 6 "ValveBiped.Bip01_L_Calf"	     0.00   -3.51   -3.28    15.64    3.49    2.72
$hbox 6 "ValveBiped.Bip01_L_Foot"	    -1.07   -2.00   -2.84     5.04    5.00    2.16
$hbox 6 "ValveBiped.Bip01_L_Toe0"	    -0.50   -3.00   -2.19     2.50    0.00    2.46
$hbox 7 "ValveBiped.Bip01_R_Thigh"	     0.00   -3.75   -3.25    17.85    3.75    3.25
$hbox 7 "ValveBiped.Bip01_R_Calf"	     0.00   -3.51   -2.82    15.64    3.49    3.18
$hbox 7 "ValveBiped.Bip01_R_Foot"	    -1.06   -2.01   -2.28     5.05    4.99    2.72
$hbox 7 "ValveBiped.Bip01_R_Toe0"	    -0.50   -3.00   -2.60     2.50    0.00    2.10
$hbox 3 "ValveBiped.Bip01_Pelvis"	    -7.50   -5.50   -6.00     7.50    8.50    5.00
$hbox 2 "ValveBiped.Bip01_Spine2"	    -2.50   -2.50   -7.00    14.50    7.50    7.00


Try this and see if it works. If it does, just work on tweaking it when you have the time so it fits the model better.