Added key display to HUD. Added weapon flashes. Fixed up some particles.

This commit is contained in:
Marisa the Magician 2018-05-24 00:20:53 +02:00
commit f05754b45e
9 changed files with 142 additions and 20 deletions

View file

@ -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()