Author Topic: ElectricHammer problems  (Read 782 times)

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
ElectricHammer problems
« 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.

Offline Wolfsbane

  • Heavyweight
  • Posts: 583
  • Rep: -5
  • Pokemens.
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: suicideladder
Re: ElectricHammer problems
« Reply #1 on: April 15, 2012, 10:26:42 AM »
try renaming Fire to weapon
Man this needed an update. Anyways, Your local autistic idiot signing out.

Offline Conraaa

  • Certified Hood Classic
  • *
  • Posts: 3325
  • Rep: 10
  • I like my sugar with coffee and cream
    • View Profile
    • Awards
Re: ElectricHammer problems
« Reply #2 on: April 15, 2012, 10:31:30 AM »
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.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17527
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: ElectricHammer problems
« Reply #3 on: April 15, 2012, 10:57:55 AM »
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.

Offline Mr. AS

  • TheGloriousCarbideArstotzkanIronsideChaosProtocol
  • *
  • Posts: 7557
  • Rep: 19
    • robotarenagtm
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: ElectricHammer problems
« Reply #4 on: April 18, 2012, 03:57:29 PM »
Can someone post a sample binding that has worked for them?  I feel like that would be the easiest way to attack this.  Thanks.
Code: [Select]
    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
How you make Alarm Clock Pizza is:
Step 1: You buy an alarm clock from the store, and then you have to break it and put it in the sauce.
Step 2: Fold the sauce in 5 slices and put it in the dough.
Step 3: Paint the eggs with a pitcher of a clock showing what time you want to wake up and eat pizza for breakfast.
Step 4: Put the eggs in the dough.
Step 5: Make it flat into a round shape and draw the time you want on it.
Step 6: Put some old steel to prevent other peple from stealing it.
Step 7: Make it flat and cut into 60 slices 1 for each minute in 1 our.
Step 8: Put in the oven set the timer to 30048813.2884 seconds and put the temperature on 'Volcano' setting.
Step 9: If you think it is take to long, then get yor alarm clock and set it to now so that it will ring and you can take it out.
Step 10: Take it out uv the uvin wen it is redy and go to bed. In the morning eat pizza and also eat yor hands bi mistake.