Quadravol dropped casings.
This commit is contained in:
parent
2745c25818
commit
7b0198b2c1
6 changed files with 37 additions and 4 deletions
|
|
@ -121,7 +121,11 @@ Class Quadravol : SWWMWeapon
|
|||
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),-8*x+8*y-16*z);
|
||||
if ( invoker.wascharged )
|
||||
{
|
||||
Console.Printf("\cg// TODO - Drop Casing\c-");
|
||||
let c = Spawn("QuadravolCasing",origin);
|
||||
c.angle = angle;
|
||||
c.pitch = pitch-90;
|
||||
c.vel = x*FRandom[Junk](-2.5,-1.5)+y*FRandom[Junk](.5,1.)-(0,0,FRandom[Junk](2.,5.));
|
||||
c.vel += vel*.5;
|
||||
return;
|
||||
}
|
||||
if ( invoker.Ammo1.Amount >= invoker.Ammo1.MaxAmount )
|
||||
|
|
|
|||
|
|
@ -1,5 +1,18 @@
|
|||
// Quadravol projectiles and effects
|
||||
|
||||
Class QuadravolCasing : SWWMCasing
|
||||
{
|
||||
Default
|
||||
{
|
||||
BounceSound "quadshot/casing";
|
||||
}
|
||||
override void PostBeginPlay()
|
||||
{
|
||||
Super.PostBeginPlay();
|
||||
heat = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Class OnFireLight : PointLightFlickerRandomAttenuated
|
||||
{
|
||||
OnFire of;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue