gametechmods
Robot Arena => General Support => Topic started by: powerrave on March 10, 2010, 02:53:48 PM
-
i have been getting into AIing and found no trouble AIing flippers and rammers, but when i AI FBS magnet with the whipper.py, it will not spin around when an enemy is in the smartzone.
another bot from a friend, using the same attacking way that arc pounder has, does barely anything. it strangely wobbles towards the other bot to... just go on with being sluggish. it doesn't do anything at all further.
this is all in stock. here are the AI lines:
list.append( ("FBS Magnet 3", "Whipper", { 'nose' : math.pi, 'invertible': True, 'whip': "around", 'zone': "swing", 'turnspeed':4.5, 'turn':80, 'topspeed':17.0, 'throttle': 110, 'weapons':(14,34,13,85,4,62,58,2,) }) )
list.append( ("M.A.S.H.E.D. v2", "Whipper", { 'nose' : math.pi, 'invertible': True, 'whip': "around", 'zone': "swing", 'turnspeed':3.5, 'turn':80, 'topspeed':15.0, 'throttle': 110, 'weapons':(14,34,13,8,) }) )
please help me out with this.
-
Use FBS_2.py.
-
my stock does not have FBS_2.py
if i know where to get it, it would help.
-
As far as I know, it's somewhere in here:
https://gametechmods.com/forums/index.php/topic,1103.105.html (https://gametechmods.com/forums/index.php/topic,1103.105.html)
-
got the AI. was in a whole pack with .py files. FBS magnet worked nicely. my friends bot did know how to give a swing at a few points but further remained the same... with the FBS_2.py.
-
Whipper AI needs smartzones to work, sadly...
-
did you name it Whipzone ? or something else ?
-
It's "whipzone" with no capitalized letter :P
Anyways, FBS.py pwns all.
-
is it even case sensitive ? im sure I always use the caps anyway?
-
It's "whipzone" with no capitalized letter :P
Anyways, FBS.py pwns all.
don't have that one.
did you name it Whipzone ? or something else ?
i did call the smartzone whipzone.
-
FBS.py is in NAR AI.
-
got, it tried it. been trying different things with it, but all it does now is aimlessly spin around. it won't drive towards my bot or anything, i will just keep spinning, hitting about every wall and hazard from the arena.
maybe i'm doing something wrong with the AI line?
list.append( ("M.A.S.H.E.D. v2", "FBS", { 'nose' : math.pi, 'invertible': True, 'spinspeed':17, 'direction':1, 'turnspeed':3.5, 'turn':80, 'topspeed':15.0, 'throttle': 110, 'weapons':(14,34,13,8,) }) )
-
What are the controls wired as?
-
(http://i159.photobucket.com/albums/t146/powerrave_NL/cntrl.jpg)
hope this is what you mean...
-
Looks Alright..... I'm no more help.
-
You might need to wire A-D the other way round.
-
done that. that did give some improvement. the bot now aims to hit me, coming towards me while spinning, taking wide corners. it has become combat effective now, so i'm happy.
when i get any other troubles, i will just ask in this topic.
-
new problem. i AIed a poker bot, but the pistons aren't used. i did use a smartzone and had called it fire. here is the AI line:
list.append(("Loudness Of Lasers","Poker",{'invertible':True,'nose':math.pi,'range':99,'radius':0.5,'topspeed':80,'throttle':130,'turn':60,'turnspeed':3.6,'weapons':(10,11,12,13,14,15,16,17)}))
please help with this. i had this before but didn't think of posting it then.
-
tha smartzone has to be named "weapon".
-
tested and FFFFUUUUUU!!! it worked. tut has been misinforming me there. now to fix some other pokers.