gametechmods

Robot Arena => General Support => Topic started by: ACAMS on August 27, 2009, 07:57:07 AM

Title: sit-n-spin.py
Post by: ACAMS on August 27, 2009, 07:57:07 AM
My internet is so slow you probably won't get this till it is too late, but I need a link to the best sit and spin .py file. I am stuck at work and I don't have all the RA2 stuff on this comp.
 
THANKS for any help
Title: sit-n-spin.py
Post by: russian roulette on August 27, 2009, 08:15:07 AM
Your best bet is Mad's FBS.py
Title: sit-n-spin.py
Post by: JoeBlo on August 27, 2009, 08:22:15 AM
yeah I always use FBS_1 just make sure you wire "Spin" to an analog otherwise it wont stop when being counted out

Mads First Post Here >> https://gametechmods.com/forums/showthread.php?t=1103

you need to write out your line something like this... (example from one of my robots)

list.append(("Bot Name","FBS_1",{ 'PreSpinEntrance':0, 'SpinDirection(1/-1)':1, 'ReMobilizeRoutineTime(10-60)':10, 'range':99, 'radius':0.1, 'topspeed':100, 'throttle':130, 'turn':60, 'turnspeed':2.5, 'weapons':(19,20,21,22,23,24,25,26,27)}))
Title: sit-n-spin.py
Post by: ACAMS on August 27, 2009, 09:28:42 AM
Thanks, that is just what I was looking for.
Title: sit-n-spin.py
Post by: LiNcK on August 27, 2009, 04:07:40 PM
Quote from: JoeBlo;62055
list.append(("Bot Name","FBS_1",{ 'PreSpinEntrance':0, 'SpinDirection(1/-1)':1, 'ReMobilizeRoutineTime(10-60)':10, 'range':99, 'radius':0.1, 'topspeed':100, 'throttle':130, 'turn':60, 'turnspeed':2.5, 'weapons':(19,20,21,22,23,24,25,26,27)}))


THATS what keeps me from AIing bots... Its scary D:
Title: sit-n-spin.py
Post by: JoeBlo on August 27, 2009, 10:38:16 PM
actually a lot less complicated then it looks :-D open up you bindings file some time and it tells you what each means up the top of the file (except for robots like FBS_1)
Title: sit-n-spin.py
Post by: Roboquad on August 28, 2009, 07:28:43 AM
Wait is FBS_1 better than FBS_2 then?
Title: sit-n-spin.py
Post by: JoeBlo on August 28, 2009, 07:50:36 AM
I personally haven't tried FBS_2 but i use FBS_1 for all SnS robots
Title: sit-n-spin.py
Post by: Clickbeetle on August 29, 2009, 11:59:00 PM
FBS_2 is basically the same as FBS_1, but with a feature where after a set amount of time with no damage being dealt, the AI will stop sit-and-spinning and chase the opponent.  It also uses the traditional Forward and LeftRight controls.
Title: sit-n-spin.py
Post by: Pwnator on September 05, 2009, 05:04:37 AM
Sorry for the light bump, but I wanna ask a question: What's the difference between Bee.py and FBS_1.py?
Title: sit-n-spin.py
Post by: Naryar on September 05, 2009, 05:16:19 AM
Bee.py uses a smartzone 'whipzone', and is basically done for HS/SnS hybrids.
Title: sit-n-spin.py
Post by: Pwnator on September 05, 2009, 05:51:04 AM
So the range in the bindings doesn't matter?
Title: sit-n-spin.py
Post by: Naryar on September 05, 2009, 06:17:43 AM
It does for the HS part.