gametechmods

Robot Arena => General Support => Topic started by: Hard Bot on March 17, 2011, 10:54:02 PM

Title: AI Problems
Post by: Hard Bot 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?
Title: Re: AI Problems
Post by: Sage on March 18, 2011, 11:39:31 AM
the last line is not far enough indented?
Title: Re: AI Problems
Post by: Clickbeetle 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).
Title: Re: AI Problems
Post by: Naryar on March 21, 2011, 06:12:18 AM
Yeah, that would be that.
Title: Re: AI Problems
Post by: freeziez on March 21, 2011, 09:07:14 AM
Wow.