Skip to content

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

Open
FlaminSarge wants to merge 3 commits into
ValveSoftware:masterfrom
FlaminSarge:brutal
Open

[TF2] Restore the Shred Alert's tauntkill (behind a cvar)#1114
FlaminSarge wants to merge 3 commits into
ValveSoftware:masterfrom
FlaminSarge:brutal

Conversation

@FlaminSarge

@FlaminSarge FlaminSarge commented Mar 15, 2025

Copy link
Copy Markdown
Contributor

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"
        }

@FlaminSarge

FlaminSarge commented Mar 15, 2025

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown

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
Copy Markdown
Contributor 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)

… enabled

Also make heads explode on kill with it.
@PKPenguin321

Copy link
Copy Markdown

I guess this is fair game now lol

@FlaminSarge

Copy link
Copy Markdown
Contributor 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/Texan_Trickshot
(this comment is not a joke)

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.

2 participants