Uploaded March 2016 | Updated November 2026, 23 hours ago
This is an actual functioning server mod that makes engiebots build dispensers instead of sentries and teleporters, and then makes them complain about it.
Why? Because it's funny, and also because my task prioritization skills suck.
Implemented as a full replacement of the CTFBotMvMEngineerBuildSentryGun and CTFBotMvMEngineerBuildTeleportExit AI behaviors. Because why not.
The mod needed a couple minor tweaks to keep the game from crashing: mostly due to CTFBotMvMEngineerIdle assuming that the building owning the sentry hint would be a CObjectSentryGun (it does a static_cast and then calls a virtual function on the entity based on that assumption, with crashy results when the entity is in fact *not* a CObjectSentryGun).
This is an actual functioning server mod that makes engiebots build dispensers instead of sentries and teleporters, and then makes them complain about it.
Why? Because it's funny, and also because my task prioritization skills suck.
Implemented as a full replacement of the CTFBotMvMEngineerBuildSentryGun and CTFBotMvMEngineerBuildTeleportExit AI behaviors. Because why not.
The mod needed a couple minor tweaks to keep the game from crashing: mostly due to CTFBotMvMEngineerIdle assuming that the building owning the sentry hint would be a CObjectSentryGun (it does a static_cast and then calls a virtual function on the entity based on that assumption, with crashy results when the entity is in fact *not* a CObjectSentryGun).








![[2/3] Chase-Down-Stickies TFBot AI Mod (Jan 30 2016)
Part 2: I was working on a TFBot AI mod with the goal to make bots track down enemy stickybombs and then destroy them by shooting/hitting them. (Continue reading!)
Part 1: https://youtu.be/z2M5HtX p4
Part 3: https://youtu.be/vkmh0rE3zLs
This clip is from a couple days after the first clip, and I believe that at this point I had started work on the actual fully-custom AI behavior mod itself. It may look pretty boring, but this video demonstrates that I could get bots to choose targets (enemy stickybombs) and path toward them reliably.
The code for final(ish) version of this mod:
https://github.com/sigsegv-mvm/sigsegv-mvm/blob/dfe7f0d35edef3a8e040f266415751cd5d7b1355/src/mod/pop/extattr/targetstickies.cpp [2/3] Chase-Down-Stickies TFBot AI Mod (Jan 30 2016)](https://i.ytimg.com/vi/r6fwuVO38t8/mqdefault.jpg)

