If you are porting AI body and head models in to a older cod, for example zombie models into cod5.
Many people have reported that the head model dose not detect bullets meaning you can’t shoot them in the head.
The fix for this is very simple and easy, what you have to do is set a hit box model to a model that includes a head, otherwise the head area is not part of the hit box.
You can pick any model as long as it is full body and includes a head, the number of verts it has is not important since a box is calculated around the mesh, the mesh is not used directly.
You define the hit box model in Asset Manger under the hit box section of the model.
The one I used: american\characters\Roebuck\char_usa_marine_roebuck_fullbody.XMODEL_EXPORT
Does there need to be a hitbox model for the head xmodel if it’s separate from the body?
No the head dose not need a hitbox.
Only the main model needs a hit box to cover all areas.
For example if you have a ai and do:
ai setmodel( “torso” );
that torso model will need to have the full hit box.
then you could attach all the arms, head, legs via ai attach( “model_name” );
So basically any model that you are attaching dose not need a hit box and the base model needs a hit box that covers all areas.
Ok, thanks!
What if the sticky grenades do not stick to the zombies
Do they stick to your normal zombies ?
Thanks Tom for the answer!
I found my mistake …