Uploaded September 2019 | Updated November 2026, 23 hours ago
Part 1: 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 2: youtu.be/r6fwuVO38t8
Part 3: youtu.be/vkmh0rE3zLs
I believe this clip shows an early attempt that mostly just used the existing TFBot AlwaysAttack pop attribute and SeekAndDestroy action to make the bots hold down +mouse1 and chase down enemies, respectively. Then on top of that, I believe I wrote a little bit of custom code that altered the bots' enemy determination code to make them consider stickybombs to be enemies rather than players. (Something like that... it's been a long time, and this wasn't all documented super-well.)
The code for final(ish) version of this mod:
github.com/sigsegv-mvm/sigsegv-mvm/blob/dfe7f0d35edef3a8e040f266415751cd5d7b1355/src/mod/pop/extattr/targetstickies.cpp
Part 1: 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 2: youtu.be/r6fwuVO38t8
Part 3: youtu.be/vkmh0rE3zLs
I believe this clip shows an early attempt that mostly just used the existing TFBot AlwaysAttack pop attribute and SeekAndDestroy action to make the bots hold down +mouse1 and chase down enemies, respectively. Then on top of that, I believe I wrote a little bit of custom code that altered the bots' enemy determination code to make them consider stickybombs to be enemies rather than players. (Something like that... it's been a long time, and this wasn't all documented super-well.)
The code for final(ish) version of this mod:
github.com/sigsegv-mvm/sigsegv-mvm/blob/dfe7f0d35edef3a8e040f266415751cd5d7b1355/src/mod/pop/extattr/targetstickies.cpp



