This is for fans of the classic shooter Doom. Remember this face?
I thought it would be fun to have the Doom guy in WoW, so here it is.
Drag to move.
Left-click to toggle background.
Right-click to toggle scale/strata options.
I copied the face animation routine from the original Doom code. I tried to preserve the pixelated goodness of the graphics, but modern hardware filters textures and softens them. *sigh*
When you get beat down, your face will get bloody and haggard looking.
You'll grimmace when you take hits big enough to take 1% of your HP, get a look of shocked agony when you take a hit big enough to take 20% of your HP.
The original code had you grimmace if you were on a "rampage" (holding the trigger down), but mapping that to something meaningful in WOW is more trouble than I wanted to take.
The original code showed an evil grin when you picked up a new weapon.
I decided to show that grin when you gained certain buffs (face-melting buffs like Arcane Power or mischievous buffs like Stealth). The list is in the top of config.lua if you want to edit it or send me feedback about things I should have included.
You can hide the background and show only the face, which makes it possible to do fun stuff like:
I used the following bit of code in Hack to do that: