gametechmods

Robot Arena => General Support => Topic started by: Philippa on October 28, 2014, 04:12:31 PM

Title: Spinner AI Query
Post by: Philippa on October 28, 2014, 04:12:31 PM
When AI-ing a robot as Spinner.py or DirectionalSpinner.py is there a way to permanently keep the weapon spinning like it does when player controlled, instead of it turning on and off rapidly?

Edit: VertSpinner.py is permanently on, could I use part of that code?
Title: Re: Spinner AI Query
Post by: Resetti's Replicas on October 28, 2014, 05:05:27 PM
What is the "range" value set to?  If it's 99 the spinner should never stop
Title: Re: Spinner AI Query
Post by: Jaydee99 on October 28, 2014, 05:08:29 PM
I put the control for the spinner as a toggle. Never stops for me. However, Sonny may be right.
Title: Re: Spinner AI Query
Post by: Philippa on October 28, 2014, 05:19:33 PM
No I mean the motor turns on and off and on and off really quickly instead of staying on. Listen to the sound it makes.
Title: Re: Spinner AI Query
Post by: Badnik96 on October 28, 2014, 05:38:40 PM
Is the spinner wired to a switch? it needs to be wired to a button
Title: Re: Spinner AI Query
Post by: Philippa on October 29, 2014, 03:25:24 PM
it needs to be wired to a button
thank you based squeak
Title: Re: Spinner AI Query
Post by: Shield on October 29, 2014, 06:43:32 PM
I put the control for the spinner as a toggle. Never stops for me. However, Sonny may be right.

Fun fact: wiring the spinner to a button makes the motor spin faster
Title: Re: Spinner AI Query
Post by: Naryar on October 30, 2014, 04:26:30 AM
wow people are still wiring spinners using switches instead of buttons ?