Custom Explosive. SetVelocity


I am currently working on a SWEP that features an explosive attack.
In addition to causing damage to a select group of things caught inside the radius I would also like to apply force originating from the center of the explosion, outwards to all the entities… basically I want the explosion to push things away with great force.

I’m still generally inexperienced with LUA and GLUA, and I just have not been able to figure out how to do this.

Thank you for your time.

env_explosion - Valve Developer Community (outdated example)