source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

Tf2: Fix strange shields count kills from other weapons

Open 1556197 opened this issue 7 months ago • 3 comments

Strange shields count shield kills, but also every other weapon kills. On wiki, mentioned as a bug. This patch fixes this.

Fixes https://github.com/ValveSoftware/Source-1-Games/issues/5012. Detailed explanation can also be found there.

1556197 avatar May 02 '25 12:05 1556197

I've noticed this odd behaviour ages ago but never really took it as a bug per say. I understand it as the shields being "meant" to go together with melee's and that's why they count kills from other items. Not entirely sure how it meshes with counting kills from primaries however.

On a side note; if this would get "fixed" now, the strange shields become much more difficult to rack strange kills on compared to before, creating a discrepancy between kills gained before and after this fix is added. A minor issue but one to consider regardless.

Platina6978 avatar May 03 '25 09:05 Platina6978

I've noticed this odd behaviour ages ago but never really took it as a bug per say. I understand it as the shields being "meant" to go together with melee's and that's why they count kills from other items. Not entirely sure how it meshes with counting kills from primaries however.

It makes no sense to count primary kills, as well as melee kills outside of charging. This is definitely not intended, because the sole reason it exists is because shields have item status "tf_wearable", like Mantreads, Gunboats or hats. Shields don't have weapon slot (in-game) and that's what broke them.

Speaking of Mantreads, they are exactly the same item (can kill and provide passive buffs), but they only count their own kills.

1556197 avatar May 03 '25 11:05 1556197

On a side note; if this would get "fixed" now, the strange shields become much more difficult to rack strange kills on compared to before, creating a discrepancy between kills gained before and after this fix is added. A minor issue but one to consider regardless.

I have maybe 30 kills with my Targe, but the counter shows 17639 kills. It doesn't even mean anything at this point, basically "gazillion" kills with I don't even know what weapon. And I still don't know how many shield kills I have, so it's useless as a strange weapon. If this gets fixed, I will gladly reset the counter.

1556197 avatar May 03 '25 11:05 1556197