gametechmods

Robot Arena => General Support => Topic started by: Bildschirm on October 10, 2018, 01:04:16 PM

Title: Problem with Judge.py
Post by: Bildschirm on October 10, 2018, 01:04:16 PM
So, whatever i do, I can't AI that bot so its fully working.
Drives fine, retracts the axe in the start of the fight, doesn't fire the weapon, even when it is in the smartzone.

Its a Bot for my tournament btw
Code: [Select]
list.append(("lol im a fox","Judge",{'reload':6,'StartAngle':math.pi*0.5,'MotorID':5,'invertible':False,'nose':math.pi*2,'radius':1,'topspeed':100,'throttle':100,'turn':50,'turnspeed':3.5,'weapons':(86,87)}))
I wanna get better but i never could ai with judge.py, so please show me how it works! :3

Bot is under attachments when someone wants to try to make a working judge.py
Title: Re: Problem with Judge.py
Post by: kaiser on October 10, 2018, 03:44:49 PM
So, whatever i do, I can't AI that bot so its fully working.
Drives fine, retracts the axe in the start of the fight, doesn't fire the weapon, even when it is in the smartzone.

Its a Bot for my tournament btw
Code: [Select]
list.append(("lol im a fox","Judge",{'reload':6,'StartAngle':math.pi*0.5,'MotorID':5,'invertible':False,'nose':math.pi*2,'radius':1,'topspeed':100,'throttle':100,'turn':50,'turnspeed':3.5,'weapons':(86,87)}))
I wanna get better but i never could ai with judge.py, so please show me how it works! :3

Bot is under attachments when someone wants to try to make a working judge.py


challenge accepted, i'll pm you in a bit about it
Title: Re: Problem with Judge.py
Post by: kaiser on October 10, 2018, 06:21:36 PM
got it working with 'StartAngle':-math.pi/2
Title: Re: Problem with Judge.py
Post by: Bildschirm on October 10, 2018, 10:53:07 PM
Thank you, that did the trick!