function ProjectileData::damage(%this,%obj,%col,%fade,%pos,%normal)
{
Parent::damage(%this,%obj,%col,%fade,%pos,%normal);
if(isObject(%col) && (%col.getClassName() $= "Player" || %col.getClassName() $= "AIPlayer"))
%col.emote(headFireImage,1); //Avoids 'emote spam' block
}
Replace ProjectileData with the name of the projectile (unless you want ALL weapons to headfire you) and headFireImage with the name of the emote ShapeBaseImageData. (e.g. hateImage)