you can use a model edit to create a wall and set your back against it.
no knockback, evar.

or position yourself with your back against something jutting out of the roof. it's actually quite simple to get around kb
(example, in the last picture, i'd just turn my character to the right and back up against the dome, if i was shot while my character was positioned in this way, the wall would stop me from being knocked back)