Author Topic: AI Problems  (Read 791 times)

Offline Hard Bot

  • Were you looking for someone else?
  • Super Heavyweight
  • Posts: 908
  • Rep: 1
  • My RAM is full of .bot files
    • View Profile
    • Awards
AI Problems
« on: March 17, 2011, 10:54:02 PM »
OK, so I created a new team for my AI 'bot. (by copying and pasting the last team and renaming, etc) And in the bindings, I named it my 'bots name, and pasted it at the end, like this:

 # 20 - Team RA2
    list.append(("Apollyon","Pusher",{'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5}))
    list.append(("Ruiner","DirectionalSpinner",{'nose':math.pi,'radius':0.5,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(7,8,9)}))
    list.append(("Buster Blade","DirectionalSpinner",{'nose':math.pi*2,'radius':0.2,'range':50,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(16,17)}))
    list.append(("Vertigo","DirectionalSpinner",{'nose':math.pi*2,'radius':0.2,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3,'weapons':(20,21)}))
    list.append(("M.O.E.","DirectionalSpinner",{'invertible':True,'nose':math.pi,'range':99,'radius':.5,'turn':30,'turnspeed':2.5,'weapons':(12,13,25,26,27,28,29,30)}))
   list.append(("War Horse 3","Flipper",{'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':130,'turn':30,'turnspeed':2,'weapons':(25,)}))
And now the game crashes on me. (I tried making another team and putting the bindings in bindings, but it still has the same outcome of crashing.
So what did I do wrong?

Offline Sage

  • *
  • Posts: 6179
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Re: AI Problems
« Reply #1 on: March 18, 2011, 11:39:31 AM »
the last line is not far enough indented?
You got my vote for RA2 Wizard. Always and forever.

Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: AI Problems
« Reply #2 on: March 20, 2011, 09:05:31 PM »
the last line is not far enough indented?


Yup, it needs one more space (it has 3, needs 4).

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline Naryar

  • Posts: 23267
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI Problems
« Reply #3 on: March 21, 2011, 06:12:18 AM »
Yeah, that would be that.

Offline freeziez

  • Ultra Heavyweight
  • Posts: 4720
  • Rep: 2
  • He's Mr. White Christmas, he's Mr. Snow...
    • youtube.com/freeziezGTM
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI Problems
« Reply #4 on: March 21, 2011, 09:07:14 AM »
Wow.
obligatory battlebots 5 comment

GTM Awards 2011

Best Tournament: B4ttlebots (freeziez)
Best New Tournament Host: freeziez
Most Suprising Tournament: B4ttlebots (freeziez)