AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Taunt 'em (v1.0.1, 06/23/2015) (https://forums.alliedmods.net/showthread.php?t=242866)

FlaminSarge 06-26-2014 03:50

[TF2] Taunt 'em (v1.0.1, 06/23/2015)
 
7 Attachment(s)
As in the plugin description, force any of the special taunts on players.

Updated to v1.0.1 for the valid address check fix.

Requirements:
TF2Items (you may need the latest snapshot build from here)

Installation:
* tf_tauntem.smx into sourcemod/plugins
* tf2.tauntem.txt from the GitHub into sourcemod/gamedata
* If things don't work, check for gamedata updates.

Cmds:
sm_tauntem
<target> <tauntid> [particle] - (default access "n" - ADMFLAG_CHEATS) force specified target(s) to use the specified taunt. Particles don't work, but are still present for you to pretend to use.
sm_tauntem_list (access matches sm_tauntem) - list the taunt IDs to use with the above command.
sm_tauntem_ulist (access matches sm_tauntem) - list the particle IDs used for unusual taunts (unusual taunts don't work, though).

Cvars:
tf_tauntem_version - Don't touch.

To Do:
* Fix taunt props that aren't the Engy's chair. This is probably clientside, so... eh. I think this was fixed as of EOTL...

Changelog:
Code:

June 23, 2015 (v1.0.1)
* SM1.7 syntax
* Fixed valid address check
* Added non-functional particle argument, particle list command
June 26, 2014 (v1.0.0)
* First public release. Valve will probably break this plugin.

I'd suggest that you not make access to this plugin a donator feature or a pay-to-use feature, as it may prompt Valve to inhibit its functionality.

Note that any new taunts added to the game should just work with this plugin; you'll have to find the number to use from items_game.txt.

When in doubt, piggyback off asherkin's extensions.
Also siiiiiignatuuuuuuuuures aaaaaaaaaaaaaaaaa

Previous plugin views - 1435 + 806 source

GitHub

FlaminSarge 06-26-2014 03:56

Re: [TF2] Taunt 'em
 
There's nothing bread-related here.

(Reserving post for no reason).

lyric 06-26-2014 07:43

Re: [TF2] Taunt 'em
 
<tauntid>

but no mention of what tauntid's are available

Powerlord 06-26-2014 08:20

Re: [TF2] Taunt 'em
 
Quote:

Originally Posted by lyric (Post 2157554)
<tauntid>

but no mention of what tauntid's are available

The tauntids are the item definition indexes of the taunts. Except for the Shred Alert for some reason, which doesn't appear to be supported.

rswallen 06-26-2014 08:20

Re: [TF2] Taunt 'em
 
Quote:

Originally Posted by lyric (Post 2157554)
<tauntid>

but no mention of what tauntid's are available

orly?

Quote:

Originally Posted by FlaminSarge (Post 2157489)
sm_tauntem_list (access matches sm_tauntem) - list the tauntids to use with the above command.


pendrive148 06-26-2014 16:13

Re: [TF2] Taunt 'em
 
"coop" taunt not work =/
You make the action, but the another player can't complete the taunt...
but is a good plugin for single taunts, thanks :)

pendrive148 06-26-2014 16:20

Re: [TF2] Taunt 'em
 
Quote:

Except for the Shred Alert for some reason, which doesn't appear to be supported.
For me it works perfectly

Powerlord 06-26-2014 16:35

Re: [TF2] Taunt 'em
 
I'll note that I didn't actually test this plugin as I've been at work.

Quote:

Originally Posted by pendrive148 (Post 2157830)
"coop" taunt not work =/
You make the action, but the another player can't complete the taunt...
but is a good plugin for single taunts, thanks :)

Hmm, chances are the game attempts to validate the taunt during the CTFPlayer::MimicTauntFromPartner(CTFPlayer*) call. Or possibly not... no way of telling without further testing.

Edit: I see a call to CPlayerInventory::GetInventoryItemByItemID(ul ong long,int *) in CTFPlayer::HandleTauntCommand(int), which will fail for items created with this plugin... but that's not involved in the mimic code afaict.

Quote:

Originally Posted by pendrive148 (Post 2157831)
For me it works perfectly

It's probably just missing from the sm_tauntem_list then... I didn't actually check the IDs, just the part of the code with the names and numbers.

FlaminSarge 06-26-2014 17:58

Re: [TF2] Taunt 'em
 
Last I checked, partner taunts worked fine (bots Conga'd when I got near 'em; I think that's mimic); however, I did make one change to the code before posting that might have broken it. I'll revert it if I need to.

robotortoise 06-26-2014 18:12

Re: [TF2] Taunt 'em
 
Shame this can't be used on Halloween Bosses. :P

No but seriously, amazing work as always, FlaminSarge.


All times are GMT -4. The time now is 23:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.