gametechmods

Robot Arena => General Support => Topic started by: playzooki on May 10, 2013, 03:47:10 PM

Title: Robot doesn't show up.
Post by: playzooki on May 10, 2013, 03:47:10 PM
Hi.
I have downloaded DSL 2.1. (ready to go.)
I am trying to AI my robot, by putting it in Team RA2 and editing Bindings, but when I go on exhibition AI selection, the robot does not show up.
Title: Re: Robot doesn't show up.
Post by: Resetti's Replicas on May 10, 2013, 03:53:28 PM
Did you physically move the bot file to the team's folder?
Title: Re: Robot doesn't show up.
Post by: Badnik96 on May 10, 2013, 04:18:04 PM
If it's bot5.bot on that team, then you'll need to modify Teams.txt, find Team RA2 and add a "5" to the end of the list of numbers.
Title: Re: Robot doesn't show up.
Post by: Sylandro on May 10, 2013, 04:39:25 PM
If it's bot5.bot on that team, then you'll need to modify Teams.txt, find Team RA2 and add a "5" to the end of the list of numbers.
True.
Title: Re: Robot doesn't show up.
Post by: Naryar on May 11, 2013, 08:27:20 AM
Did you correctly named the botfile ? Must be bot1, bot2,bot3,bot4 or bot5, and it must be replacing the previous, same-name bot file.
Title: Re: Robot doesn't show up.
Post by: playzooki on May 11, 2013, 01:52:32 PM
If it's bot5.bot on that team, then you'll need to modify Teams.txt, find Team RA2 and add a "5" to the end of the list of numbers.
Thanks!
Title: Re: Robot doesn't show up.
Post by: Badnik96 on May 11, 2013, 02:14:17 PM
No problem man.
Title: Re: Robot doesn't show up.
Post by: playzooki on May 11, 2013, 02:49:45 PM
OBTW, why doesn't this work? It just crashes the game.
Code: [Select]
list.append(("WAM","Poker",{'range':99,'radius':0.7,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2,'invertible':True,'weapons':(10)}))
Title: Re: Robot doesn't show up.
Post by: Badnik96 on May 11, 2013, 03:26:57 PM
10 should have a comma after it IIRC
Title: Re: Robot doesn't show up.
Post by: Trovaner on May 11, 2013, 03:30:51 PM
Add a comma after the 10. Since you are only giving it one element, the comma tells python that it is suppose to be a tuple (as opposed to something being calculated in a specific order).


Edit: Badnik beat me too it...
Title: Re: Robot doesn't show up.
Post by: playzooki on May 11, 2013, 03:51:41 PM
Thanks!
Title: Re: Robot doesn't show up.
Post by: Naryar on May 11, 2013, 05:03:48 PM
Did you add the 3/4 spaces before the line as well ?
Title: Re: Robot doesn't show up.
Post by: playzooki on May 12, 2013, 02:10:23 PM
It works now anyway, but thanks.