gametechmods
Robot Arena => General Support => Topic started by: Hoppin on March 27, 2019, 12:40:39 PM
-
In need of help for 2 axe bots using Judge.py. Assuming it's a StartAngle issue, I just cant get it working.
Here's the ai, along with the bot files
list.append(("Spares","Judge",{'radius':1,'StartAngle':-math.pi/2,'MotorID':1,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
list.append(("Sillouhete 2 X","Judge",{'radius':1,'MotorID':72,'StartAngle':-math.pi*2,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
[ This attachment cannot be displayed inline in 'Print Page' view ]
[ This attachment cannot be displayed inline in 'Print Page' view ]
-
Still working on Silouhete, but here's Spares
list.append(("Spares","Judge",{'radius':1,'StartAngle':+math.pi/2,'MotorID':1,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
-
Still working on Silouhete, but here's Spares
list.append(("Spares","Judge",{'radius':1,'StartAngle':+math.pi/2,'MotorID':1,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
tysm dude <3
-
list.append(("Sillouhete 2 X","Judge",{'radius':1,'MotorID':72,'StartAngle':math.pi*0.5,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
for Sillouhete. For future reference, if you can't get it working just try all the startangles between -math.pi*2 and math.pi*2, in increments of 0.5.
Sillhouette is a really cool bot btw, props to whoever made it. Glad your bot building skills are better than your spelling ability :rolleyes:
-
list.append(("Sillouhete 2 X","Judge",{'radius':1,'MotorID':72,'StartAngle':math.pi*0.5,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
for Sillouhete. If you can't get it working, just try all the startangles between -math.pi*2 and math.pi*2, in increments of 0.5.
Sillhouette is a really cool bot btw props to whoever made it. Glad your bot building skills are better than your spelling ability :rolleyes:
*Facepalms* Goddammit I knew I should of checked the Spelling
-
In need of help for 2 axe bots using Judge.py. Assuming it's a StartAngle issue, I just cant get it working.
Here's the ai, along with the bot files
list.append(("Spares","Judge",{'radius':1,'StartAngle':-math.pi/2,'MotorID':1,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
list.append(("Sillouhete 2 X","Judge",{'radius':1,'MotorID':72,'StartAngle':-math.pi*2,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
[ This attachment cannot be displayed inline in 'Print Page' view ]
[ This attachment cannot be displayed inline in 'Print Page' view ]
I can't get the judge binding to work, but I remember 090901 mentioning an "electricHammer" binding that will work in its place.