Uploaded April 2016 | Updated November 2026, 23 hours ago
With net_fakelag 50 on a listen server, it's possible to replicate the buggy feign death ragdoll behavior on 100% of fake deaths. There's a fairly obvious visual difference between the ragdolls from feigned deaths and real deaths...
Thanks to the viewer who emailed me about the usefulness of net_fakelag in diagnosing this!
Some console commands that are handy for testing this:
bot_mirror all
bot_mimic 1
net_fakelag 50
dtwatchclass ragdoll
ent_remove_all tf_ragdoll
With net_fakelag 50 on a listen server, it's possible to replicate the buggy feign death ragdoll behavior on 100% of fake deaths. There's a fairly obvious visual difference between the ragdolls from feigned deaths and real deaths...
Thanks to the viewer who emailed me about the usefulness of net_fakelag in diagnosing this!
Some console commands that are handy for testing this:
bot_mirror all
bot_mimic 1
net_fakelag 50
dtwatchclass ragdoll
ent_remove_all tf_ragdoll

![[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)






![[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)

