It is the shell
Hi,
i had this problem too when i tried to make a sound suppressor. Someone on the forum told me that the light was coming from the shell. And it is.
There is no other thing which draw a light with UT instant hit weapons like Sniper rifle. You just have to delte the shell's spawn in ProcessTraceHit function :
local UT_Shellcase s;
s = Spawn(class'UT_ShellCase',, '', Owner.Location + CalcDrawOffset() + 30 * X + (2.8 * FireOffset.Y+5.0) * Y - Z * 1);
if ( s != None )
{
s.DrawScale = 2.0;
s.Eject(((FRand()*0.3+0.4)*X + (FRand()*0.2+0.2)*Y + (FRand()*0.3+1.0) * Z)*160);
}
Just delete this and it will work
![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
If it don't works, send me your code and i'll fix it
jackoneill@wanadoo.fr