Is there a way to increase the number of items displayed in the kill feed?

So I’m getting a little tired of seeing my reflect multi-kills being quickly dequeued by other players’ kills and even revenges/dominations I attain, like this revenge kill out of 4 kills in total:

(Yes, that’s the notorious team color HUD bug. I hate it too.)

The kill feed by default only displays 4 items; although my deaths and kills stay a little longer on the feed they get pushed away pretty quickly by too many things.

Is there an add-on I can use or a CVAR I can adjust to increase how many items the kill feed displays? I have a fairly spacious display anyway, so adding a couple more won’t hurt.


As noted by Lysarion in the comments, the file to modify is hudlayout.res. Previously, this was found in the /tf/scripts folder in the team fortress 2 content GCF archive. But now that the game has been converted to a new file system via SteamPipe, it’s now in the tf2_misc VPK archive which is stored in /tf in the installation folder.

Fortunately, GCFScape can open VPK archives just as with GCF archives. Open tf2_misc_dir.vpk in GCFScape and find the file in /root/scripts.

Extract and search the file, then find the following field:

    "fieldName" "HudDeathNotice"
    // ...

    "MaxDeathNotices" "4"
    "IconScale"   "0.35"
    "LineHeight"      "16"
    "LineSpacing"     "4"
    "CornerRadius"    "3"
    "RightJustify"    "1"   // If 1, draw notices from the right

    // ...

The HudDeathNotice field defines the appearance of the kill feed. You’ll see at a glance the variable that tells the game how many items to display at most at any time:

    "MaxDeathNotices" "4"

Change that to any value you want, then save the file.

You used to be able to simply place the file in the /tf/scripts folder in the game’s installation folder. Now with the new file system, custom files are handled quite differently. This Steam KB article has all the info you need, but the simplest way is to open /tf/custom, create a folder with any name you want if you don’t have one already, create a scripts folder inside that folder, then place the file in there. Then launch the game and you should see the change you made in-game.

There’s a little caveat: hudlayout.res is subject to changes in game patches, which won’t be reflected in the custom version of the file. You may have to repeat this procedure in case of any changes to the original file outside of this modification.

Source : Link , Question Author : BoltClock , Answer Author : BoltClock

Leave a Comment