mastercomfig / tf2-patches

Team Fortress 2, but with a lot of fixes, QoL improvements and performance optimizations!
Other
216 stars 26 forks source link

Allow killstreak attribute to work on the gas passer #386

Closed CoolJosh3k closed 3 years ago

CoolJosh3k commented 3 years ago

Description

If a gas passer is made to have killstreaks (via attribute 2025 "killstreak tier"), it stops working. The pyro can hold it, but there is no charge meter and it cannot be charged anyway.

Solution

Allow the gas passer to function if it has the killstreak attribute. This would allow usage of the gas passer to still give killstreak credits for kills, should the TF2 team add a basic gas passer killstreak kit to the game after being fixed.

Alternatives

Allow a killstreak primary weapon to gain credit for kills made using the gas passer. This is, for example, how the wrangler works. (I observed via testing).

Checklist

Reproduction

1a. Use the TF2Items or TF2Attributes extension/plugin for sourcemod. 1b. Force all gas passer items to be a tier 1 killstreak (basic) via the 2025 attribute. 1c. Attempt to use it.

2a. Use a "glitched" killstreak kit on a gas passer. 2b. Attempt to use it.

Screenshots

TF2_KillstreakKit_Basic_GasPasser

micwoj92 commented 3 years ago

Gaspasser doesnt exist.

CoolJosh3k commented 3 years ago

Oh, you mean it as created after the date of this source? Well then, I dun goofed.

micwoj92 commented 3 years ago

Have you ever played TC2?

Yttrium-tYcLief commented 3 years ago

Closing since GP doesn't exist in our current build.