nosoop edf8a7fe45 Update for TF2 version 8216530 (2023-07-25) | преди 1 година | |
---|---|---|
gamedata | преди 1 година | |
scripting | преди 5 години | |
.gitignore | преди 5 години | |
.gitmodules | преди 5 години | |
LICENSE | преди 5 години | |
README.md | преди 4 години |
Patches the game's taunt handling so bots are able to use taunt items.
This is a cleaner patch compared to the one that was originally in Bot Weapon Randomizer.
The plugin does a few things:
taunt (1...8)
) when no partner is nearby. This will always result in
a call to CTFPlayer::PlayTauntSceneFromItem()
. Normal taunts (e.g. taunt 0
) will always
use the weapon taunt.CTFPlayer::PlayTauntSceneFromItem()
is pre-hooked for a null check; if a null pointer was
passed in then the plugin will create a taunt item and set the argument to that instead.This is a plugin mainly intended for use in Pikachu's Canadian Server of Romance and Drama.
While I'm happy if you find some useful code for your own plugins, I can't provide any support for said code, nor will I offer any guarantees that the plugin will remain usable outside of its main use.