Raised This Month: $51 Target: $400
 12% 

Legs hitbox


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
m20072
Junior Member
Join Date: Feb 2011
Old 10-19-2013 , 12:02   Legs hitbox
Reply With Quote #1

Hello, I'm trying to check if I'm throwing/hitting with my flashbang the feet of the other player or not(feet and not head, neck, chest, ETC..) I've tried to check the hitbox but it shows 0 allover the body since it always gives 1 damage.. any reply is appreciated alot, thanks .

Last edited by m20072; 10-19-2013 at 12:02.
m20072 is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 10-19-2013 , 12:04   Re: Legs hitbox
Reply With Quote #2

Which game?
__________________
...
Oshizu is offline
m20072
Junior Member
Join Date: Feb 2011
Old 10-19-2013 , 12:05   Re: Legs hitbox
Reply With Quote #3

Quote:
Originally Posted by Oshizu View Post
Which game?
Sorry forgot to mention, cs:s .
m20072 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-19-2013 , 14:52   Re: Legs hitbox
Reply With Quote #4

Try hooking TraceAttack with SDKHooks.
__________________
retired
shavit is offline
m20072
Junior Member
Join Date: Feb 2011
Old 10-19-2013 , 16:11   Re: Legs hitbox
Reply With Quote #5

Quote:
Originally Posted by shavit View Post
Try hooking TraceAttack with SDKHooks.
That's what I tried to use and it gave me 0 over the entire body...
m20072 is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 10-19-2013 , 16:58   Re: Legs hitbox
Reply With Quote #6

Are you sure hitbox uses numbers instead of strings, floats, address or arrays?
Never used hitbox so i have no idea
__________________
...

Last edited by Oshizu; 10-19-2013 at 16:58.
Oshizu is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 10-19-2013 , 19:01   Re: Legs hitbox
Reply With Quote #7

hitgroup 0 is used for non raytraced damage, projectile physics damage falls into that category i'm afraid. you're going to have to guess if the legs were hit based on the client position, projectile position and projectile trajectory inside a takedamage hook.
blodia is offline
Bimbo1
Senior Member
Join Date: Jan 2010
Location: brazil
Old 10-20-2013 , 02:06   Re: Legs hitbox
Reply With Quote #8

if that's the case, then you could use some trace rays, on the takedamage hook, around the flashbang and use TR_GetHitGroup in order to find the hitbox. that's way more expensive than guessing the hitbox based on client position and info if he/she is crouched and projectile position. well, it's more expensive, but it's more accurate, although the guessing way should be accurate enough.
__________________
sie sind das essen und wir sind die jäger!
Bimbo1 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode