Raised This Month: $ Target: $400
 0% 

back stabbing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 06-21-2007 , 01:22   back stabbing
Reply With Quote #1

I've been trying to figure if the user is knifed on the back using Traceline but no luck. Anyone have any ideas?
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 06-21-2007 , 01:46   Re: back stabbing
Reply With Quote #2

Only way i can think of is to check the angle of the player that is knifed, but there's probably better ways.
Deviance is offline
_Master_
Senior Member
Join Date: Dec 2006
Old 06-21-2007 , 05:33   Re: back stabbing
Reply With Quote #3

I think it depends on what you mean by "back". Does "back" means that the victim has no visual contact with the killer ? If so then just do a viewcone check on the victim. If you use "back" as an extended area than just viewcone then I would check aim angles on both players, make vectors and see the relative position of each other (using axis slopes in this case would get a more accurate result).
Or compare the relative positions of the players.

Last edited by _Master_; 06-21-2007 at 05:37.
_Master_ is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 06-21-2007 , 11:58   Re: back stabbing
Reply With Quote #4

Well my real purpose is manipulate the damage done, and it seems you only need one hit to kill a person stabbing from the back.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 06-21-2007 , 13:23   Re: back stabbing
Reply With Quote #5

Why don't you use damage event? You can check if attacker used knife and if he made certain amount of damage. Then you can change victims health.
__________________
Impossible is Nothing
Sylwester is offline
Reply


Thread Tools
Display Modes

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 21:29.


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