gametechmods

Robot Arena => General Support => Topic started by: KOS on December 23, 2013, 09:26:06 AM

Title: Instant Startup Spinners
Post by: KOS on December 23, 2013, 09:26:06 AM
Hi guys, i have just finished AI'ing 129 robots in the same format as the bbeans ai packs bindings. The reason i did this was because i wanted spinners that start up instantly when the match starts.
However this has no effect, so does anyone know how to do this, i don't want to have to start again as it took hours. Any answers would be much appreciated on how to do this. :D
Title: Re: Instant Startup Spinners
Post by: Probably Rob on December 23, 2013, 09:45:47 AM
Did you type "Spin" as the motor on the control board tab?

Is the robot listed as "DirectionalSpinner" in the bindings, and/or does it have any range listed?
Title: Re: Instant Startup Spinners
Post by: KOS on December 23, 2013, 10:10:45 AM
I used the omniram.py and its appropriate trigger, but it will only spin if it comes into contact with a robot.
Title: Re: Instant Startup Spinners
Post by: Mr. AS on December 23, 2013, 10:13:54 AM
There should be a variable in the bindings called "range". Your range is obviously too low.
Title: Re: Instant Startup Spinners
Post by: playzooki on December 23, 2013, 10:53:08 AM
There should be a variable in the bindings called "range". Your range is obviously too low.
or he didnt put it in. and i wouldn't advise using omniram.py
Title: Re: Instant Startup Spinners
Post by: Probably Rob on December 23, 2013, 10:57:24 AM
Use the DirectionalSpinner.py, and adding to what 'Sauce said: for range, make it 500 and see what happens from there.
Title: Re: Instant Startup Spinners
Post by: KOS on December 23, 2013, 11:02:17 AM
yep it works, thanks guys :D