Raised This Month: $32 Target: $400
 8% 

bullet/grenade tracking


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xgam3r1
Junior Member
Join Date: Nov 2008
Old 07-22-2010 , 01:24   bullet/grenade tracking
Reply With Quote #1

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.
xgam3r1 is offline
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 07-22-2010 , 03:37   Re: bullet/grenade tracking
Reply With Quote #2

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
__________________
Peoples Army is offline
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 07-22-2010 , 03:42   Re: bullet/grenade tracking
Reply With Quote #3

Well, if you know where the grenade lands, you can check the radius = to the explode radius, and see who is inside of it.
RedRobster is offline
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 07-22-2010 , 03:55   Re: bullet/grenade tracking
Reply With Quote #4

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
__________________
Peoples Army is offline
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 07-22-2010 , 04:03   Re: bullet/grenade tracking
Reply With Quote #5

True, but you would still take a little damage wouldn't you?
RedRobster is offline
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 07-22-2010 , 04:15   Re: bullet/grenade tracking
Reply With Quote #6

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.
__________________
Peoples Army is offline
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 07-22-2010 , 04:29   Re: bullet/grenade tracking
Reply With Quote #7

You have to remember this is CS 1.6 xD
RedRobster is offline
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 07-22-2010 , 04:33   Re: bullet/grenade tracking
Reply With Quote #8

Those are the same in cz and in source
__________________
Peoples Army is offline
xgam3r1
Junior Member
Join Date: Nov 2008
Old 07-22-2010 , 10:06   Re: bullet/grenade tracking
Reply With Quote #9

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.
xgam3r1 is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-22-2010 , 11:29   Re: bullet/grenade tracking
Reply With Quote #10

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
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
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 20:12.


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