I’ve seen a few requests in the past for some sort of dynamite that only applied a force on nearby props, rather than damage them. I’ve also wanted to see dynamite where the explosion wouldn’t go through props (so if there is a prop shielding a second prop from the dynamite, the second prop shouldn’t be blasted away).
and so here you have:
It’s a STool like normal dynamite, but it only applies force to props within line of sight of the dynamite.
The dynamite can also be set to cause any props near the explosion to break on impact with the next thing they touch.
These screenshots show a simple example, firing an explosive barrel from a cannon.
After using the force dynamite:
This isn’t the best picture but this screenshot shows a prop outside the cannon isn’t being affected by the dynamite.
The script is packaged as a GMod10 addon, so unzip the file into your “garrysmod/addons/” directory.