Pain emitters are done through the player::emote function, which I believe calls player::spawnExplosion, which I believe spawns a projectile at the player's hack position.
It is possible to adjust the position emitters, but could you elaborate? In other words, what are you trying to do?