Robot Arena > General Support

Nothing new, just another person having issues w/ judge AI

(1/1)

Koi_YTP:
I've tried getting this bot's AI to work in so many different ways, such as following instructions at told in discord servers, looking at other judge AI bots and how ppl made the AI work in other threads, but I can't get it to work.

Bot's AI:

--- Code: ---    list.append(("Ice Pick","Judge",{'invertible':True,'nose':math.pi*1,'StartAngle':+math.pi/2,'MotorID':6,'reload':4,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3,'weapons':(13,)}))
--- End code ---

Bot file:  Ice Pick.bot
Skinned part:  ice breaker scoop.zip

If anyone could help getting it to work that'd be appreciated.

UberPyro:
Where does the ai fail? Does the battle start? Can the robot drive around fine?

If the robot can drive around but the weapon doesn't fire then its probably a StartAngle issue, i.e. try all of the different start angles from -2pi to 2pi in increments of 0.5pi (if you've been reading other threads though I'm guessing you've already tried that). I would investigate it myself but I don't know how weapon skins work. I don't see anything else wrong in the binding. Anyway, good luck.

Koi_YTP:

--- Quote from: UberPyro on November 23, 2019, 08:02:39 PM ---Where does the ai fail? Does the battle start? Can the robot drive around fine?

If the robot can drive around but the weapon doesn't fire then its probably a StartAngle issue, i.e. try all of the different start angles from -2pi to 2pi in increments of 0.5pi (if you've been reading other threads though I'm guessing you've already tried that). I would investigate it myself but I don't know how weapon skins work. I don't see anything else wrong in the binding. Anyway, good luck.

--- End quote ---
I have the drive working fine, but when the fight starts it retracts the weapon and never uses it.  I've added a motorID and tried a few startangles, maybe I should try going the full range when I find the time.

Badger:
This is 100% a startangle issue. Go from math.pi*-2 to math.pi*2 in increments of 0.5 until you find one that works.

Navigation

[0] Message Index

Go to full version