Author Topic: Problem with Judge.py  (Read 1213 times)

Offline Bildschirm

  • Makes RA2 Arenas from scratch and some Tournaments.
  • *
  • Posts: 450
  • Rep: 6
  • Has a Fetish for Vertical Spinners
  • Awards BOTM Winner Donated money for site hosting 2021
    • View Profile
    • Awards
Problem with Judge.py
« 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
I have a showcase! :3
Also some moments... xD

Offline kaiser

  • Antweight
  • Posts: 91
  • Rep: 0
    • View Profile
    • Awards
  • Discord: kaiser#0050
Re: Problem with Judge.py
« Reply #1 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
Battles are won in the bot lab, tournaments are won in the bindings.py

Offline kaiser

  • Antweight
  • Posts: 91
  • Rep: 0
    • View Profile
    • Awards
  • Discord: kaiser#0050
Re: Problem with Judge.py
« Reply #2 on: October 10, 2018, 06:21:36 PM »
got it working with 'StartAngle':-math.pi/2
Battles are won in the bot lab, tournaments are won in the bindings.py

Offline Bildschirm

  • Makes RA2 Arenas from scratch and some Tournaments.
  • *
  • Posts: 450
  • Rep: 6
  • Has a Fetish for Vertical Spinners
  • Awards BOTM Winner Donated money for site hosting 2021
    • View Profile
    • Awards
Re: Problem with Judge.py
« Reply #3 on: October 10, 2018, 10:53:07 PM »
Thank you, that did the trick!
I have a showcase! :3
Also some moments... xD