Description
Are you tired of getting a domination on an assist and not hearing the sweet domination quotes? Or getting a revenge on an assist and not getting to tell off the person who had been dominating you? Well, no more!

Inside tf2_misc_dir.vpk is the directory scripts/talker/ with has a number of .txt files.

These text files control the Valve response system.

To get characters to say their in-game lines, you can look up the response concept you want it to play and figure out what contexts have to be in place before it will work.

This plugin uses the SpeakResponseConcept input instead of DispatchResponse. This is because DispatchResponse does not appear to work correctly in TF2.

Here's an example of how to get a specific response working:

For this, I chose to play the Medic's Melee Dare. The first step is to open up scripts/talker/medic.txt and search for the word Dare. Ignore the first one you find, as it's the Duel version. Eventually, you'll find this:

The second argument (Concept) is the rule type. Concepts are special and we'll be sending it to SpeakResponseConcept later. The third ("TLK_PLAYER_BATTLECRY") is its value. The last argument tells us this is required (but pretty much all criteria are).

Now, unfortunately IsMedic isn't really overridable, as the game resets it too quickly for us to override it.

UPDATE: The above may not be true. However, when you define two contexts of the same type, only the first one applies. However, you can remove a context like this: