gametechmods
Robot Arena => General Support => Topic started by: Resetti's Replicas on April 13, 2012, 10:29:44 PM
-
I'm having some problems getting ElecticHammer AI to work. For whatever reason, the hammer doesn't want to work, evne though I have a Smartzoe labelled weapon and the control labelled Fire. The hammer is kind of heavy, needs a sustained 2 seconds on the motor to go all the way over. Can someone post a sample binding that has worked for them? I feel like that would be the easiest way to attack this. Thanks.
-
try renaming Fire to weapon
-
You could politely ask Freeziez for my King Crab bot and ai, that sort of worked. I can't find my own copy at the moment though.
-
There's a "weaponid" thingy in the ElectricHammer bindings. You have to make that ID number the component number of the weapon, based on when it was put on. Open the bot file and count the number of components until you reach the weapon motor. If it's the first part, it's 0, second part, 1, so on until you reach the weapon motor.
-
Can someone post a sample binding that has worked for them? I feel like that would be the easiest way to attack this. Thanks.
list.append(("Bisector","ElectricHammer",{'invertible':True,'radius':1.5,'topspeed':99,'throttle':100,'turn':50,'turnspeed':1.5,'MotorID':20,'NoChassisTime':-1,'StartAngle':-math.pi/2,'SwingTime':5,'weapons':(25,)}))
there ya go