"Bullet Trail" effect implemented. Mainly for underwater bubbles, but also has the side effect of allowing hitscan weapons to activate shoot-through lines. SIGIL players rejoice.
Shock Rifle and Pulsegun beams can also do this now. Depleted armors remove themselves from inventory.
This commit is contained in:
parent
607dbe972f
commit
dd7f429335
7 changed files with 62 additions and 1 deletions
|
|
@ -335,6 +335,7 @@ Class Enforcer : UTWeapon
|
|||
Vector3 dir = (x2+y2*cos(a)*s+z2*sin(a)*s).unit();
|
||||
FLineTraceData d;
|
||||
LineTrace(atan2(dir.y,dir.x),10000,asin(-dir.z),TRF_ABSPOSITION,origin.z,origin.x,origin.y,d);
|
||||
UTBulletTrail.DoTrail(self,origin,dir,10000,int((invoker.Amount+alt)**2));
|
||||
if ( d.HitType == TRACE_HitActor )
|
||||
{
|
||||
int dmg = 17;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue