Added a different obituary to the Sniper Rifle depending on whether or not it's a headshot.

Reduced the screen tint of the Damage Amplifier.
More tweaks to the DOOMTEST enhancer, now it looks very pretty.
This commit is contained in:
Marisa the Magician 2018-08-25 19:31:05 +02:00
commit 17add7f007
23 changed files with 150 additions and 23 deletions

View file

@ -149,10 +149,15 @@ Class SniperRifle : UTWeapon
c.scale *= 1.25;
c.vel = x*FRandom[Junk](-2,2)+y*FRandom[Junk](3,6)+z*FRandom[Junk](3,5);
}
override String GetObituary( Actor victim, Actor inflictor, Name mod, bool playerattack )
{
if ( mod == 'Decapitated' ) return "%k put a bullet through %o's head.";
return Obituary;
}
Default
{
Tag "Sniper Rifle";
Obituary "%k put a bullet through %o's head.";
Obituary "%k put a bullet through %o.";
Inventory.PickupMessage "You got the Sniper Rifle.";
Weapon.UpSound "sniper/select";
Weapon.SlotNumber 0;