Author Topic: AIing  (Read 1038 times)

Offline Ice the frosty cat

  • Antweight
  • Posts: 56
  • Rep: 1
    • View Profile
    • Awards
AIing
« 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.

Offline Sage

  • *
  • Posts: 6179
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
AIing
« Reply #1 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.
You got my vote for RA2 Wizard. Always and forever.

Offline Reier

  • Rieir
  • *
  • Posts: 8564
  • Rep: 8
  • I GOT 3RD IN RAW1
    • https://www.youtube.com/c
  • Awards old BOTM Winner
    • View Profile
    • Awards
AIing
« Reply #2 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.
ALERT- Another WS coming up...
voted best bot builder two times and counting babayy. the best ra2 builder who has never won an actual tournament match
ReiAI pack for Ironforge
My drawings, and my webcomics
Why online PVP will save RA2
The problem with competitive IRL in RA2
I'm fine with hugging reier