Do you mean a Stinger-type bot? That's what I see in the picture but I thought a 'Thwack' bot was a bot that had a flail and spun horizontally. If you did mean Stinger-type bot, you can try THZ.py, Electrichammer.py or Frenzy.py. There's no way for a bot like that to be AI'ed properly, as far as I know, because all the options seem to make them 'regret' attacking and just flip the other way, so they don't really hit much during AI matches.
Haven't AIed anything in a while, but I don't see why you couldn't give it a circular or half-circle smartzone mounted vertically (essentially parallel with the wheels), and then set a button to jam both wheels into reverse whenever a bot is in the smartzone. It seems like it'd be rudimentary and there's probably better specific AIs out there, but it's simple.
Quote from: Somebody on November 23, 2014, 03:57:51 PMHaven't AIed anything in a while, but I don't see why you couldn't give it a circular or half-circle smartzone mounted vertically (essentially parallel with the wheels), and then set a button to jam both wheels into reverse whenever a bot is in the smartzone. It seems like it'd be rudimentary and there's probably better specific AIs out there, but it's simple.That is what 09 and myself did but it still does the thing where it 'regrets' attacking and just pulls back. I asked 09 myself whether there was a good way to get around this issue and he didn't know of one, that's why he said he 'sorta' got it working.
Maybe you could ai it as a low-range spinner with a button that reverses?
Quote from: playzooki on November 23, 2014, 04:17:04 PMMaybe you could ai it as a low-range spinner with a button that reverses?As in like running forward consistently until being switched to backwards? It would kind of depend on the execution essentially, especially if it's able to turn or not.