Author Topic: AI problems  (Read 902 times)

Offline Gauche Suede

  • Ultra Heavyweight
  • Posts: 1229
  • Rep: 1
    • View Profile
    • Awards
AI problems
« on: March 19, 2012, 08:23:51 AM »
i'm very close to AIing my bot, but there's a problem. When i tried to play with my bot, it loads like forever, and then, when i pressed the windows button on my keyboard, the game crashes. what should i do?
here's the bindings for my bot:
Quote
list.append(("Mr.Psyclone","Spinner",{'invertible':False,'radius':0.1,'throttle':130,'topspeed':99,'turn':50,'turnspeed':2,'weapons':(1,2,3)}))

Offline Hercules

  • Heavyweight
  • Posts: 459
  • Rep: 1
  • The Argentinian member that loves chicken
    • View Profile
    • Awards
  • Skype: HLPablo2
Re: AI problems
« Reply #1 on: March 19, 2012, 10:42:27 AM »
You must have four spaces before list.append
and also, your bots name doesnt include a blank space too?

Edit: post 222 yaey








Click us!!!!!!!!!!!

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 #2 on: March 19, 2012, 12:14:36 PM »
Your binding is correct, now check if you indeed have 4 spaces before list.append and if you didn't typo'd your bot's name.

Offline Gauche Suede

  • Ultra Heavyweight
  • Posts: 1229
  • Rep: 1
    • View Profile
    • Awards
Re: AI problems
« Reply #3 on: March 20, 2012, 05:45:10 AM »
yes, there are 4 spaces before the list.append and i didn't typoed my bot's name, but the same problem still occurs.

Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
Re: AI problems
« Reply #4 on: March 20, 2012, 04:11:00 PM »
You need a space between "Mr." and "Psyclone". I just fixed the AI line for the bot for GRW.
I built that big robot on that TV show that time


Offline Gauche Suede

  • Ultra Heavyweight
  • Posts: 1229
  • Rep: 1
    • View Profile
    • Awards
Re: AI problems
« Reply #5 on: March 21, 2012, 09:31:37 AM »
guys, the battle now will appear, but, my bot is still a sitting duck(won't move). How do i fix this?