Added key display to HUD. Added weapon flashes. Fixed up some particles.
This commit is contained in:
parent
7e38cfddd8
commit
f05754b45e
9 changed files with 142 additions and 20 deletions
|
|
@ -142,6 +142,7 @@ Class FlakChunk : Actor
|
|||
double rollvel, pitchvel, yawvel;
|
||||
double lifetime, lifespeed;
|
||||
int lifetics;
|
||||
bool hasbounced;
|
||||
Default
|
||||
{
|
||||
Obituary "%o was ripped to shreds by %k's Flak Cannon.";
|
||||
|
|
@ -203,6 +204,7 @@ Class FlakChunk : Actor
|
|||
}
|
||||
action void A_HandleBounce()
|
||||
{
|
||||
invoker.hasbounced = true;
|
||||
A_SprayDecal("WallCrack",-8);
|
||||
int numpt = Random[Flak](8,12);
|
||||
for ( int i=0; i<numpt; i++ )
|
||||
|
|
@ -466,6 +468,7 @@ Class FlakCannon : UTWeapon
|
|||
if ( !weap.DepleteAmmo(weap.bAltFire,true,1) ) return;
|
||||
A_PlaySound("flak/fire",CHAN_WEAPON);
|
||||
invoker.FireEffect();
|
||||
UTMainHandler.DoFlash(self,Color(160,255,96,0),1);
|
||||
A_AlertMonsters();
|
||||
A_QuakeEx(1,1,1,3,0,64,"",QF_RELATIVE|QF_SCALEDOWN,rollIntensity:0.05);
|
||||
Vector3 x, y, z;
|
||||
|
|
@ -503,6 +506,7 @@ Class FlakCannon : UTWeapon
|
|||
if ( !weap.DepleteAmmo(weap.bAltFire,true,1) ) return;
|
||||
A_PlaySound("flak/altfire",CHAN_WEAPON);
|
||||
invoker.FireEffect();
|
||||
UTMainHandler.DoFlash(self,Color(128,255,96,0),1);
|
||||
A_AlertMonsters();
|
||||
A_QuakeEx(2,2,2,6,0,64,"",QF_RELATIVE|QF_SCALEDOWN,rollIntensity:0.1);
|
||||
Vector3 x, y, z;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue