Im trying to give ET some better hitboxes and cauz the body-hitbox suxx most I tried to edit it, but i only found the BuildHead and BuildLeg sections in teh code …
Is there a way to edit the bodyhitbox?
Im trying to give ET some better hitboxes and cauz the body-hitbox suxx most I tried to edit it, but i only found the BuildHead and BuildLeg sections in teh code …
Is there a way to edit the bodyhitbox?
http://quake.de/index.php?action=code3arena14&q=q3
http://quake.de/index.php?action=code3arena15&q=q3
(german)
Never tried to mod Hitboxes…
much too high - if u shoot OVER or BESIDE somebaodys head u still get a body hit … and its too wide, too
You should take extreme care when modifying the actual hitbox. Hit detection is based off of those vector values you see defined in g_client I believe, not only for shots fired, but world movement as well. Note that lowering the base value for the body box height will result in a player jumping through ceilings slightly, and modifying widths could make walls sticky. You might check out ETPub - they have developed a method to affect only shot-based hit detection.
Yes, the stock code uses the mins/maxes of the player entity. See the code for crouch and prone for examples of how this gets manipulated.
teh link to the site moonShield posted (thank you , btw) shows just this - sounds very promising! the only problem that could happen is that the hitsounds will play even when not hitting the new hitbox, but this should be fixable …
etpub code is somewhat unfinished in my eyes
in fact it is correct, but you also have to port it on client
otherwise you will trace bullets there agains big body -> you will see fake hit on locations you’ve “removed” ( sparks with default settings )