Random taunts for bots!

nosoop a7826c25f9 Update for TF2 version 7695204 (2022-12-02) 2 年 前
gamedata a7826c25f9 Update for TF2 version 7695204 (2022-12-02) 2 年 前
scripting ba698e6ae5 Use TF2 Econ Data library 5 年 前
.gitignore 878bc70087 Initial commit 5 年 前
.gitmodules 7e91825c79 Add additional missing info 5 年 前
LICENSE 878bc70087 Initial commit 5 年 前
README.md 51fd854dde Add Windows gamedata 4 年 前

README.md

Bot Taunt Randomizer

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:

  • The taunt command handler is pre-hooked and the plugin forces a non-zero taunt slot on bots (equivalent to running 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.

Dependencies

A "CSRD Internal" Plugin

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.