Page 1 of 1

Player hitbox

Posted: Sun Feb 15, 2015 9:21 am
by DJiSer
It's possible to change Player hitboxes?.Im try to change "m_Collision.m_vecMins","m_Collision.m_vecMaxs" properties,no result,whey changed to standart value.

Posted: Sun Feb 15, 2015 5:58 pm
by Ayuto
What are you trying to achieve? A hitbox is not the same like a collision box. So, could you please be more specific what you want to do?

Posted: Sun Feb 15, 2015 8:37 pm
by DJiSer
I want to change player's hitbox(for example headcrab model have human's standart hitboxes).

Posted: Sun Feb 15, 2015 9:30 pm
by L'In20Cible
You should rather recompile your models with their proper skeleton bones.

Posted: Sun Feb 15, 2015 9:46 pm
by Ayuto
Yeah, I agree. The hitbox is usually shipped with the model file.

I guess we can change the hitboxes (yes, plural: it's not just a single box you can resize) by using this header, but as you can see it's pretty complex. :D

Posted: Sun Feb 15, 2015 10:23 pm
by L'In20Cible
Changing data server-side may be enough for the tasks done by the server, but clients will still have old data precached. Recompiling and shipping a new model to clients is still the best option.

Posted: Sun Feb 15, 2015 11:06 pm
by DJiSer
When i open model with CS:GO SDK Model Viewer, crab has normal bones and hitboxes.
Image
Also Source Mod's "Prop Hunt" has different hitboxes for barrles,plants and etc.