healyp
11-16-2010, 06:33 PM
Hello,
I'm trying to add some effects to the Quake III code base. Firstly, though, I need to be able to detect what the point of impact is when I fire, say, my machine gun. It looks like SV_Trace() is a key function in the code but the trouble with it is that it gets called from many different places (bots, etc.).
Does anybody have any leads or tips on how I might trap the calls due to the firing of my gun? I'd be really grateful.
TAL,
Pa H.
I'm trying to add some effects to the Quake III code base. Firstly, though, I need to be able to detect what the point of impact is when I fire, say, my machine gun. It looks like SV_Trace() is a key function in the code but the trouble with it is that it gets called from many different places (bots, etc.).
Does anybody have any leads or tips on how I might trap the calls due to the firing of my gun? I'd be really grateful.
TAL,
Pa H.