• How to scale hitboxes?
    5 replies, posted
How to scale hitboxes? I've tried to scale them using bone's VMatrixes (Set/Get BoneMatrix) and manipulation (ManipulateBoneScale), and had no luck. I'm getting bone id using LookupBone( "ValveBiped.Bip01_Head1" ) - may be this is the issue, but it scales head visually, so it's unlikely.
If it is absolutely nessary, you can edit the .mdl's hithox by decompiling then make the hithox to your liking. I dont think you can change hitboxes [editline]27th September 2016[/editline] With pure lua
[QUOTE=Blinkenn;51116868]If it is absolutely nessary, you can edit the .mdl's hithox by decompiling then make the hithox to your liking. I dont think you can change hitboxes [editline]27th September 2016[/editline] With pure lua[/QUOTE] Well, I think that GMod devs can do something about it then, I'm sure we can get function that scales hitboxes.
Why...Why would do you want to scale a hitbox
[QUOTE=gonzalolog;51118487]Why...Why would do you want to scale a hitbox[/QUOTE] Sometimes player see that he shoots right in the head, see blood but hit is not registered. Increasing size of hitboxes is a workaround for this problem.
[QUOTE=gonzalolog;51118487]Why...Why would do you want to scale a hitbox[/QUOTE] Maybe to make hit collision smoother or something. He could be working with models he desires to be a different size. Perhaps he wants to create scaled hitboxes to work in a gamemode of tiny players vs one big player Or maybe a npc with a big scale like a giant headcrab Edit Im a slow typer on my phone ;p
Sorry, you need to Log In to post a reply to this thread.