This SourceMod plugin fixes a very specific bug with some maps in TF2.
Watch this video: https://www.youtube.com/watch?v=oTpsoMjlTFw
Notice how the flamethrower from the dead pyro falls directly into the hole at the end of the map (pl_barnblitz_pro6
), and triggers the end-of-round explosion.
Triggers in tf2 can have any of these flags:
If a trigger has the highlighted "Physics debris" flag, it can be triggered by weapons dropped off dead players. Dropped weapons are already set to specifically not set off triggers - and if they were supposed to set off triggers, they would have the collision flag COLLISION_GROUP_DEBRIS_TRIGGER
, so I can only assume this is a bug. Probably.
This plugin fixes that bug, and prevents players from abusing this bug and ending rounds early on payload maps where this flag isn't already set.
Thanks to some folks in the SourceMod discord for some help.
- Clone repo
- Merge
gamedata
andplugins
folders with your own in/tf/addons/sourcemod/
This plugin uses SetCollisionGroup to properly set the collision groups of certain entities without causing "entity mayhem", big thanks to ashort etc.