Skip to content

fix a very specific bug with some maps in TF2 - see the README

Notifications You must be signed in to change notification settings

sapphonie/trigger-exploit-fix-tf2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

trigger exploit fix [TF2]

This SourceMod plugin fixes a very specific bug with some maps in TF2.

The bug in question:

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.

Why it happens:

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.

How to install this plugin:

  • Clone repo
  • Merge gamedata and plugins 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.

About

fix a very specific bug with some maps in TF2 - see the README

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published