Raised This Month: $ Target: $400
 0% 

knife weird behavier


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 06-29-2009 , 08:52   Re: knife weird behavier
Reply With Quote #3

your log is that wrong because you dont know how knife attacks work take a look at my knife distance plugin to see the hlsdk code and get some information about knife attacks.
anyway the engine does a traceline, if this hits something everything is ok and iHitgroup will be 1-7, else it will do a tracehull (same v1 and v2), if it hits a ent everything is fine + hitgroup will be 0 (generic) which means you do the default dmg which is the dmg you would have done on attacking the body. if the tracehull hits worldspawn severall new tracelines are done to retriebe the correct origin for emitting the knifesound.
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
 



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 15:43.


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