Author Topic: sit-n-spin.py  (Read 1373 times)

Offline ACAMS

sit-n-spin.py
« 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

Offline russian roulette

  • *
  • Posts: 1770
  • Rep: 1
  • What year is it?!?!?
    • View Profile
    • Awards
sit-n-spin.py
« Reply #1 on: August 27, 2009, 08:15:07 AM »
Your best bet is Mad's FBS.py

Offline JoeBlo

sit-n-spin.py
« Reply #2 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)}))

Offline ACAMS

sit-n-spin.py
« Reply #3 on: August 27, 2009, 09:28:42 AM »
Thanks, that is just what I was looking for.

Offline LiNcK

  • Super Heavyweight
  • Posts: 1179
  • Rep: 1
    • 8linck8
    • View Profile
    • Awards
sit-n-spin.py
« Reply #4 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:

Offline JoeBlo

sit-n-spin.py
« Reply #5 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)

Offline Roboquad

  • Antweight
  • Posts: 48
  • Rep: 0
    • View Profile
    • Awards
sit-n-spin.py
« Reply #6 on: August 28, 2009, 07:28:43 AM »
Wait is FBS_1 better than FBS_2 then?
Achievements:
  • Entered doomed robots and will be owned by a GAY CRAWLER! and Inf!
  • Will get owned in 2v1 challenge because my entries are RUBBISH!
  • Entering mirco mayhem with, a (probably) generic  bot.
  • Entering RAW2
* Crawlers are gay, if you agree with me, copy this into your signature. *

Offline JoeBlo

sit-n-spin.py
« Reply #7 on: August 28, 2009, 07:50:36 AM »
I personally haven't tried FBS_2 but i use FBS_1 for all SnS robots

Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
sit-n-spin.py
« Reply #8 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.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
sit-n-spin.py
« Reply #9 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?
Clash Cubes 1 - Grey Matter (Runner-Up)
King of Karnage - Sideshow Freak (Runner-Up, Best Engineered)
Rust In Pieces - Paper Cut 3 (Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament - Ion Thruster (Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA - Dark Striker (Grand Champion)
Rust In Pieces 2 - Claymore (Runner-Up, Favourite Bot)
BBEANS 6 - Infection 4 (Runner-Up)
RA2 Team Championships - Serious Business, Skeksis (Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2 - The Other Stig (Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3 - Abaddon (Runner-Up, Luckiest Bot)
BroBots - wheebot & yaybot (Runner-Up)
Robo Zone 2 - Dipper (4th place, Survival Champion, & Best Axle Bot)
ARBBC - The Covenant (3rd place, BW Rumble Winner, Most Feared BW)

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
sit-n-spin.py
« Reply #10 on: September 05, 2009, 05:16:19 AM »
Bee.py uses a smartzone 'whipzone', and is basically done for HS/SnS hybrids.

Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
sit-n-spin.py
« Reply #11 on: September 05, 2009, 05:51:04 AM »
So the range in the bindings doesn't matter?
Clash Cubes 1 - Grey Matter (Runner-Up)
King of Karnage - Sideshow Freak (Runner-Up, Best Engineered)
Rust In Pieces - Paper Cut 3 (Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament - Ion Thruster (Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA - Dark Striker (Grand Champion)
Rust In Pieces 2 - Claymore (Runner-Up, Favourite Bot)
BBEANS 6 - Infection 4 (Runner-Up)
RA2 Team Championships - Serious Business, Skeksis (Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2 - The Other Stig (Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3 - Abaddon (Runner-Up, Luckiest Bot)
BroBots - wheebot & yaybot (Runner-Up)
Robo Zone 2 - Dipper (4th place, Survival Champion, & Best Axle Bot)
ARBBC - The Covenant (3rd place, BW Rumble Winner, Most Feared BW)

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
sit-n-spin.py
« Reply #12 on: September 05, 2009, 06:17:43 AM »
It does for the HS part.