gametechmods

Robot Arena => General Support => Topic started by: Ice the frosty cat on November 05, 2008, 03:57:26 PM

Title: AIing
Post by: Ice the frosty cat on November 05, 2008, 03:57:26 PM
I'm having trouble AIing a paticular robot. This robot has both a flipper, and two grinding discs. However, even when a robot goes into the Smartzone, it won't flip. Everything is wired up correctly though, as the robot self-rights when flipped.
I know it's probably to do with having both a disc and a flipper, so is there any way to use both.
If it helps, here is the AI binding
 list.append(("MPF","Omni",{'invertible':False,'nose':math.pi,'radius':0.1,'range':30,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3,'weapons':(12,13,14,15)}))

Ignore the spaces in that. I don't have a clue why they're there, as it's not like that when I edit it.
Title: AIing
Post by: Sage on November 05, 2008, 04:05:24 PM
name the flipper control "Fire" (i dont know if you named it flip)

and make sure the smartzone is named "weapon" (no caps)

the disc mixed with the flipper shouldn't be any problem.
Title: AIing
Post by: Reier on November 06, 2008, 11:36:27 AM
I had a flipper that wouldn't flip, so I named the weapon button "Fire" and in the bindings called it a poker. After that, it worked fine. I don't know if that will help you, though.