bullet/grenade tracking
I was wondering if there was any way to track a single bullet, for example to check if 1 bullet hit multiple people. The same with a grenade, to see if a grenade damaged or killed multiple people. I've been searching and i couldn't find anything about this so thanks for your help.
|
Re: bullet/grenade tracking
Well bullets are harder because there not actually entities , so the only way to determine there path is by using the trace hull functions
Grenades are a little easier because they actually have a model so you can track there weapon entity and model , but that will only tell you where the nade lands , not who it as damaged by , so you'll need to use something else |
Re: bullet/grenade tracking
Well, if you know where the grenade lands, you can check the radius = to the explode radius, and see who is inside of it.
|
Re: bullet/grenade tracking
only problem is he'd have to figure out whether or not there were any objects or walls or anything that might block the path of shrapnel to the victims
|
Re: bullet/grenade tracking
True, but you would still take a little damage wouldn't you?
|
Re: bullet/grenade tracking
Well it gets more complicated because it would all depend on what type of object was in front of the shrapnel , if it was a thin sheet of metal like what ducts are made of , then it would go through , but say something like solid concrete wall and there is no way it will go through.
|
Re: bullet/grenade tracking
You have to remember this is CS 1.6 xD
|
Re: bullet/grenade tracking
Those are the same in cz and in source
|
Re: bullet/grenade tracking
hmm i'm thinking of trying to check if someone killed multiple people with the same weapon before the delay of another possible shot or grenade being deployed by that same player. do you guys think that will work? I know people will be able to overcome it with speedhacks... but it doesn't seem like i have any other choice.
|
Re: bullet/grenade tracking
Hook primary attack pre and post
If primary attack pre is called hook temporary traceline Each call of traceline should be a hit At primary attack post remove hook for traceline |
| All times are GMT -4. The time now is 00:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.