Uploaded September 2015 | Updated November 2026, 23 hours ago
Basically, the Sydney Sleeper's ability to trigger explosive headshot is so poorly coded that it's broken in just about every way you can imagine. The fact that Valve re-purposed "bleed" damage for explosive headshots is a big contributor to this giant stupid mess.
Basically, the Sydney Sleeper's ability to trigger explosive headshot is so poorly coded that it's broken in just about every way you can imagine. The fact that Valve re-purposed "bleed" damage for explosive headshots is a big contributor to this giant stupid mess.



![[3/3] Chase-Down-Stickies TFBot AI Mod (Jan 31 2016)
Part 3: 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 2: https://youtu.be/r6fwuVO38t8
This clip shows what I believe to be basically the final iteration of the fully-custom AI behavior mod, now featuring custom enemy target identification, target selection, pathfinding, intentionally forcing the bots vision system to ignore any entities that are not stickybombs, and finally, actually shooting the damn things.
Unfortunately, the target selection code was a bit dumb and just chose known stickies randomly, so the bot kinda goes crazy aiming in different random directions, rather than going sticky-by-sticky in a more effective manner. (Could have been implemented, as a distance-to-sticky and difference-of-viewangles optimization heuristic.)
Also there was apparently some kind of weird issue where occasionally the bot would choose a particular sticky, and would become unable to see it for whatever reason; and then it would just stay fixated on that one stickybomb it couldnt shoot in stupid fashion. (I believe this was mitigated somewhat in the code later by adding a 5-second automatic-retarget mechanism, but thats a bit of a kludge.)
The code for final(ish) version of this mod:
https://github.com/sigsegv-mvm/sigsegv-mvm/blob/dfe7f0d35edef3a8e040f266415751cd5d7b1355/src/mod/pop/extattr/targetstickies.cpp [3/3] Chase-Down-Stickies TFBot AI Mod (Jan 31 2016)](https://i.ytimg.com/vi/vkmh0rE3zLs/mqdefault.jpg)






