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
|
|
@ -93,7 +93,11 @@ Class UTShieldBelt : UTArmor replaces Megasphere
|
|||
{
|
||||
override void AbsorbDamage( int damage, Name damageType, out int newdamage )
|
||||
{
|
||||
if ( (amount > 0) && !DamageTypeDefinition.IgnoreArmor(damageType) ) Owner.A_PlaySound("belt/absorb");
|
||||
if ( (amount > 0) && !DamageTypeDefinition.IgnoreArmor(damageType) )
|
||||
{
|
||||
Owner.A_PlaySound("belt/absorb");
|
||||
UTMainHandler.DoFlash(Owner,Color(80,255,224,0),5);
|
||||
}
|
||||
Super.AbsorbDamage(damage,damageType,newdamage);
|
||||
}
|
||||
override void OnDestroy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue