gametechmods

Robot Arena => General Support => Topic started by: Hoppin on March 27, 2019, 12:40:39 PM

Title: Judge.py issues.
Post 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 ]
Title: Re: Judge.py issues.
Post by: Gulden on March 27, 2019, 01:13:46 PM
Still working on Silouhete, but here's Spares

Code: [Select]
    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,)}))
Title: Re: Judge.py issues.
Post by: Hoppin on March 27, 2019, 01:27:32 PM
Still working on Silouhete, but here's Spares

Code: [Select]
    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
Title: Re: Judge.py issues.
Post by: Badger on March 27, 2019, 02:41:00 PM
Code: [Select]
    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:
Title: Re: Judge.py issues.
Post by: KidDelta on March 27, 2019, 04:23:22 PM
Code: [Select]
    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
Title: Re: Judge.py issues.
Post by: Redalert on April 02, 2019, 10:10:47 AM
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.