The cs_jetpack plugin has a fairly in-depth explosion to it that I can help explain to you if you need help. It deals damage based on a radius (the equation is probably not completely correct, but it works for me ), checks for friendly fire, kills the person in the middle every time, adds points to the person that caused the explosion, etc.