Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TF2] Restore the Shred Alert's tauntkill (behind a cvar) #1114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FlaminSarge
Copy link

@FlaminSarge FlaminSarge commented Mar 15, 2025

Description

Also, it now blows victims' minds.
Demonstration:
YouTube

  • Adds cvar tf_allow_econ_tauntkill, which, when enabled, allows equippable taunts to damage and kill enemies if they are able to do so, such as:
  • Adds a secondary TAUNTATK (TAUNTATK_ALLCLASS_GUITAR_RIFF_EXPLODE) for the Shred Alert that restores the old functionality of its original TAUNTATK (explosion at the taunt's finale, with the same functionality as Rainblower taunt).
    • The damage from this is set to decapitate victims, omits the head gib, and plays the decapitation/headshot ragdoll animation

NOTE: The following block should also be added to tf/scripts/mod_textures.txt for the Kill Icon

        "taunt_guitar_riff_kill"
        {
                "dfile"    "HUD/d_images_v3"
                "dnegfile"    "HUD/dneg_images_v3"
                "x"        "256"
                "y"        "448"
                "width"        "128"
                "height"    "32"
        }

… enabled

Also make heads explode on kill with it.
@FlaminSarge
Copy link
Author

FlaminSarge commented Mar 15, 2025

This is mostly meant for community mods to make use of, rather than to be merged into mainline TF2.

However, there are some bugs with decapitation ragdoll handling that I am looking to fix in another PR (decapitating a player with a sword will remove all of their ragdoll's cosmetics instead of just their head cosmetics, since all items are considered MISC loadout slot now). Those fixes should end up being acceptable to merge to mainline.

@PKPenguin321
Copy link

It's neat but I dislike any implementation of code that explicitly ties econ to gameplay, even if niche or disabled by default

@FlaminSarge
Copy link
Author

It's neat but I dislike any implementation of code that explicitly ties econ to gameplay, even if niche or disabled by default

https://wiki.teamfortress.com/wiki/Crypt_Creeper
(this comment is a joke)

Bitl added a commit to BitlDevelopmentStudios/source-sdk-2013-bds-base that referenced this pull request Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants