Author Topic: AI won't spin their weapons.  (Read 1986 times)

Offline helloface

  • Ultra Heavyweight
  • Posts: 3898
  • Rep: -11
  • 090901's cumslave
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: helloface199
  • Discord: Helloface#2112
AI won't spin their weapons.
« on: May 20, 2013, 02:15:03 PM »
I am just starting out AIing. I've made spinners in stock before, but for some reason it isn't working in DSL. I named the SWITCH "Spin" and  named it as a Spinner in the bindings. It acts like spinner, but the weapon won't work. The AI guide says I don't need a smart zone, so I'm confused.
« Last Edit: July 04, 2013, 04:36:57 PM by helloface199 »
Oh I'll be doing some banging.......

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI won't spin their weapons.
« Reply #1 on: May 20, 2013, 02:17:01 PM »
Is it an of/off swich or button?  The switch might not work.  Also, use Omni instead of Spinner

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI won't spin their weapons.
« Reply #2 on: May 20, 2013, 02:18:09 PM »
Don't use a switch, use a button.

Did you named it "Spin" WITHOUT spaces before or after the word ?

Did you made an error in the binding ?

ai is the exact same thing in stock and dsl just so you know.

Offline helloface

  • Ultra Heavyweight
  • Posts: 3898
  • Rep: -11
  • 090901's cumslave
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: helloface199
  • Discord: Helloface#2112
Re: AI won't spin their weapons.
« Reply #3 on: May 20, 2013, 02:43:08 PM »
Changed "Spin" to a button. Didn't spin with Omni or Spinner binding.
Oh I'll be doing some banging.......

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: AI won't spin their weapons.
« Reply #4 on: May 20, 2013, 02:45:20 PM »
It's DirectionalSpinner.

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI won't spin their weapons.
« Reply #5 on: May 20, 2013, 02:50:17 PM »
Also, use Omni instead of Spinner
It's DirectionalSpinner.

That has nothing to do with the problem. They're all spinner ai's and they all work equally as well.

Post the bindings so we may see if there is a problem.

Offline helloface

  • Ultra Heavyweight
  • Posts: 3898
  • Rep: -11
  • 090901's cumslave
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: helloface199
  • Discord: Helloface#2112
Re: AI won't spin their weapons.
« Reply #6 on: May 20, 2013, 02:51:41 PM »
It's DirectionalSpinner
Jesus, that was fast.

DirectionalSpinner did not work.
Oh I'll be doing some banging.......

Offline helloface

  • Ultra Heavyweight
  • Posts: 3898
  • Rep: -11
  • 090901's cumslave
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: helloface199
  • Discord: Helloface#2112
Re: AI won't spin their weapons.
« Reply #7 on: May 20, 2013, 02:52:46 PM »
Disclaimer: These are not my bots. I'm bored so I'm AIing them for fun.

# 22 - Team USA
    list.append(("AW-Clementiny","DirectionalSpinner",{'nose':math.pi,'range':100,'radius':1,'topspeed':1000,'throttle':1000,'turn':75,'turnspeed':3}))
    list.append(("AW-Flaze III","DirectionalSpinner",{'nose':math.pi*2,'range':100,'radius':1,'topspeed':1000,'throttle':1000,'turn':75,'turnspeed':3}))
    list.append(("AW-Lethal Hummingbird","DirectionalSpinner",{'nose':math.pi,'range':100,'radius':1,'topspeed':1000,'throttle':1000,'turn':75,'turnspeed':3}))
Oh I'll be doing some banging.......

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI won't spin their weapons.
« Reply #8 on: May 20, 2013, 02:54:49 PM »
You forgot the 'weapons' entry. They're not rammer.py.

Reduce throttle and topspeed to 130 and 50, because 1000 throttle is hax.

Offline helloface

  • Ultra Heavyweight
  • Posts: 3898
  • Rep: -11
  • 090901's cumslave
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: helloface199
  • Discord: Helloface#2112
Re: AI won't spin their weapons.
« Reply #9 on: May 20, 2013, 03:10:54 PM »
You forgot the 'weapons' entry. They're not rammer.py.

Reduce throttle and topspeed to 130 and 50, because 1000 throttle is hax.

My bot exporter doesn't work so I don't know what weapons numbers to put.
Oh I'll be doing some banging.......

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI won't spin their weapons.
« Reply #10 on: May 20, 2013, 03:13:46 PM »
You forgot the 'weapons' entry. They're not rammer.py.

Reduce throttle and topspeed to 130 and 50, because 1000 throttle is hax.

My bot exporter doesn't work so I don't know what weapons numbers to put.

Numbers and number of numbers are irrelevant.

Offline helloface

  • Ultra Heavyweight
  • Posts: 3898
  • Rep: -11
  • 090901's cumslave
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: helloface199
  • Discord: Helloface#2112
Re: AI won't spin their weapons.
« Reply #11 on: May 20, 2013, 03:33:39 PM »
Fixed. I but some random BS numbers as Naryar said and it worked
Oh I'll be doing some banging.......

Offline Thyrus

  • *
  • Posts: 6218
  • Rep: 19
  • Back to purple '17
    • http://www.youtube.com/Th
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI won't spin their weapons.
« Reply #12 on: May 20, 2013, 04:12:02 PM »
are you using notepad++?

Offline helloface

  • Ultra Heavyweight
  • Posts: 3898
  • Rep: -11
  • 090901's cumslave
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: helloface199
  • Discord: Helloface#2112
Re: AI won't spin their weapons.
« Reply #13 on: May 20, 2013, 04:49:22 PM »
Oh I'll be doing some banging.......

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI won't spin their weapons.
« Reply #14 on: May 20, 2013, 04:50:40 PM »
You should. It is more helpful.

Offline Thyrus

  • *
  • Posts: 6218
  • Rep: 19
  • Back to purple '17
    • http://www.youtube.com/Th
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI won't spin their weapons.
« Reply #15 on: May 20, 2013, 05:18:15 PM »
I had this problem once as well. notepad shows you when there`s something wrong. you have to fix it then and it`ll work