Author Topic: Spin Until Touch (AI Problem)  (Read 787 times)

Offline Probably Rob

  • The Forgotten Obscure Orgasmic Mime
  • *
  • Posts: 1941
  • Rep: 10
  • You might want your lips around my silent chorus
    • RobotMPire
    • View Profile
    • Awards
Spin Until Touch (AI Problem)
« on: September 01, 2013, 04:35:27 PM »
Just when I thought I wouldn't get any sort of AI problem/error again, guess what? I have an AI problem/error again. This one, though, is to do with Helloface's Ping Winz.

    list.append(("Ping Winz","Omni",{'invertible':True,'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(1,5,10,30)}))


Omni and Spinner/DirectionalSpinner don't work.

The weapon won't spin until it touches the opponent. I swear I remember a thread or a post about this problem by someone else, but cannot find it, unless it never existed.

Spin is on a button, no spaces. I know switch won't work, but tried it just in case, no difference.

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Spin Until Touch (AI Problem)
« Reply #1 on: September 01, 2013, 04:41:24 PM »
you need "range":xx.  Range dictates from how far away the bot will spin up its weapon.  Default value is zero, which as you've observed, means it doesn't spin until it's touching the opponent.

Offline Probably Rob

  • The Forgotten Obscure Orgasmic Mime
  • *
  • Posts: 1941
  • Rep: 10
  • You might want your lips around my silent chorus
    • RobotMPire
    • View Profile
    • Awards
Re: Spin Until Touch (AI Problem)
« Reply #2 on: September 01, 2013, 04:47:21 PM »
I love ya, Resetti. Thank you. *throws envelope at the camera lens*