Langeh/MGEMod — pull request #9 by thesupremecommander (2013-04-17 02:19:40+00:00)
Title: Revamp Control Point Capturing/Detect Pain Train

I revamped how the captures were added to emulate the harmonic capture system of TF2 (diminishing returns), as well as added a method for detecting the Pain Train.

Unfortunately, the ideal way would be to detect an item attribute, but that would require a new dependency on TF2Items which is not so ideal. Drawback of this method is that weapons have to be manually added each time.

This code is untested but should work.