Author Topic: TXAI  (Read 12983 times)

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17527
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: TXAI
« Reply #20 on: November 05, 2011, 10:22:34 AM »
I'll do North Polers.

Offline TeamXtreemer

  • Ultra Heavyweight
  • Posts: 2638
  • Rep: -6
  • hi
    • View Profile
    • Awards
Re: TXAI
« Reply #21 on: November 05, 2011, 10:23:21 AM »
I'll do North Polers.
I'll change the post, thanks for all your contribution, guys.
hi

Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7582
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: TXAI
« Reply #22 on: November 05, 2011, 10:24:31 AM »
I've made Team Dragon.
Check it out in my showcase.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline TeamXtreemer

  • Ultra Heavyweight
  • Posts: 2638
  • Rep: -6
  • hi
    • View Profile
    • Awards
Re: TXAI
« Reply #23 on: November 05, 2011, 10:26:55 AM »
I've made Team Dragon.
Check it out in my showcase.
PM me the bots, I'll be sure to get to Ai-ing and release your team in the next alpha.
hi

Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7582
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: TXAI
« Reply #24 on: November 05, 2011, 10:31:38 AM »
Need to skin them first. I will as soon as ready.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline TeamXtreemer

  • Ultra Heavyweight
  • Posts: 2638
  • Rep: -6
  • hi
    • View Profile
    • Awards
Re: TXAI
« Reply #25 on: November 05, 2011, 10:32:06 AM »
Need to skin them first. I will as soon as ready.
Thanks, bra.
hi

Offline ty4er

Re: TXAI
« Reply #26 on: November 05, 2011, 11:23:11 AM »
here you go, finally got round to sending some more.
DSL Showcase
is this bot don't lost all razors in a fight before do a damage thought

Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7582
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: TXAI
« Reply #27 on: November 05, 2011, 11:36:27 AM »
My Team:
What d'you think?
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline TeamXtreemer

  • Ultra Heavyweight
  • Posts: 2638
  • Rep: -6
  • hi
    • View Profile
    • Awards
Re: TXAI
« Reply #28 on: November 05, 2011, 11:39:59 AM »
My Team:
What d'you think?
EPIC.

Pure epic, nice builds S_M.
hi

Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7582
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: TXAI
« Reply #29 on: November 05, 2011, 12:14:56 PM »
Feedback Time
OK, the Alpha version doesn't run at all (crashes on startup)
But I took a look at some bots.
Hammerhead Shark should be a slow, weapon heavy rammer, e.g:
Blood Runner should be more of a drum I think.
I like WBC and Grizzly Bear
Billy-Bot could actually use the Billy-Bot saw and be an HS.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline TeamXtreemer

  • Ultra Heavyweight
  • Posts: 2638
  • Rep: -6
  • hi
    • View Profile
    • Awards
Re: TXAI
« Reply #30 on: November 05, 2011, 12:29:17 PM »
Well, I've fixed that problem with the failed S Up, and I'll do the bots later. (Or you could).
hi

Offline freeziez

  • Ultra Heavyweight
  • Posts: 4720
  • Rep: 2
  • He's Mr. White Christmas, he's Mr. Snow...
    • youtube.com/freeziezGTM
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: TXAI
« Reply #31 on: November 05, 2011, 12:31:25 PM »
i'll do the Dogs, if that's alright.
obligatory battlebots 5 comment

GTM Awards 2011

Best Tournament: B4ttlebots (freeziez)
Best New Tournament Host: freeziez
Most Suprising Tournament: B4ttlebots (freeziez)

Offline TeamXtreemer

  • Ultra Heavyweight
  • Posts: 2638
  • Rep: -6
  • hi
    • View Profile
    • Awards
Re: TXAI
« Reply #32 on: November 05, 2011, 12:33:45 PM »
i'll do the Dogs, if that's alright.
Yuh.
hi

Offline freeziez

  • Ultra Heavyweight
  • Posts: 4720
  • Rep: 2
  • He's Mr. White Christmas, he's Mr. Snow...
    • youtube.com/freeziezGTM
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: TXAI
« Reply #33 on: November 05, 2011, 12:59:21 PM »
obligatory battlebots 5 comment

GTM Awards 2011

Best Tournament: B4ttlebots (freeziez)
Best New Tournament Host: freeziez
Most Suprising Tournament: B4ttlebots (freeziez)

Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7582
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: TXAI
« Reply #34 on: November 05, 2011, 01:04:56 PM »
Scrappers in progress.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline TeamXtreemer

  • Ultra Heavyweight
  • Posts: 2638
  • Rep: -6
  • hi
    • View Profile
    • Awards
Re: TXAI
« Reply #35 on: November 05, 2011, 01:49:42 PM »
Nice one, bro.
Alpha link updated to a working one.
hi

Offline TeamXtreemer

  • Ultra Heavyweight
  • Posts: 2638
  • Rep: -6
  • hi
    • View Profile
    • Awards
Re: TXAI
« Reply #36 on: November 05, 2011, 02:20:31 PM »
All, righty then. I need someone to diagnose what's wrong with this.

Code: [Select]
import math

def load(list):
    print "Loading AI bindings"

    # binding format:
    # ( 'name of robot from .bot file', 'name of AI from script class',
    #       {'optional constructor parameter':value, 'another':value} )

    # constructor parameters:
    # nose - "front" of bot in radians (default 0)
    # invertible - can function upside-down (default False)
    # topspeed - speed in meters/second AI will attempt not to exceed (default 4.0)
    # throttle - maximum analog value AI will attempt not to exceed (default 100)
    # turnspeed - turning in radians/second AI will attempt not to exceed (default 2.5)
    # turn - maximum analog value AI will attempt not to exceed (default 60)
    # radius - bot radius to use for checking for hazards and walls (default 1.0)

    # 0 - Red Zone "That's where your bot will be after ten seconds with ours!"
    list.append(("AW - Scout","Flipper",{'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':100,'turn':30,'turnspeed':5,'weapons':(8,9)}))
    list.append(("BW - RED ALERT","Poker",{'nose':math.pi*1.5,'radius':0.3,'topspeed':100,'throttle':130,'turn':60,'turnspeed':5,'weapons':(13,14,16,17,18)}))
    list.append(("AW - Second Sentinel","Flipper",{'nose':math.pi*1.5,'range':99,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':5,'weapons':(18,19)}))
    list.append(("AW - T-Minus","Flipper",{'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(25,)}))
    list.append(("AW - Biohazard","Poker",{'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(4,)}))
    list.append(("AW - Dreadnought","Omni",{'invertible':True,'nose':math.pi*2,'range':99,'radius':0.1,'topspeed':100,'throttle':80,'turn':25,'turnspeed':1.5,'weapons':(20,)}))

    # 1 - PREHISTORIC "Badder and still bloodthirsty!"
    list.append(("BW - Roly Poly","Rammer",{'nose':math.pi,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5}))
    list.append(("BW - Saber Teeth","Omni",{'invertible':True,'nose':math.pi*0.5,'radius':0.2,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3.5,'weapons':(10,11,12,13,14,15,16,17,18,19)}))
    list.append(("AW - Grog, the Vengeful","Spinner",{'nose':math.pi,'range':500,'radius':1,'topspeed':3,'throttle':130,'turn':60,'turnspeed':5,'weapons':(27,28,29,30,35,36,37,38,39,40,41,42,43,44,45,46,47,48,53,54)}))
    list.append(("AW - Robot X","Rammer",{'invertible':True,'nose':math.pi,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5}))
    list.append(("BW - Matilda","DirectionalSpinner",{'nose':-math.pi,'radius':0.1,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(24,25,26)}))
    list.append(("AW - Behemoth","Flipper",{'nose':math.pi,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(6,23)}))

    # 2 - The Good Ol' Boys "Don't need nuthin' but my truck, my shotgun, my new bots, and my REVENGE!"
    list.append(("Hammerhead Shark","Rammer",
{'invertible':True,'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5}))
    list.append(("Blood Runner","Spinner",{'invertible':True,'nose':math.pi*2,'radius':.1,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3,'weapons':(3,4,5,6)}))
    list.append(("AW - Grisly Bear","Flipper",{'invertible':True,'nose':math.pi*2,'range':99,'radius':0.1,'topspeed':100,'throttle':130,'turn':30,'turnspeed':3,'weapons':(22,23,24,25)}))
    list.append(("AW- Billy-Bot","Spinner",{'invertible':True,'nose':math.pi,'radius':0.1,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(17,)}))
    list.append(("AW -Wheely Big Cheese","Flipper",{'nose':math.pi,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(6,)}))
    list.append(("AW - Thermidor II","Flipper",{'nose':math.pi*2,'radius':1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(11,),'sweapons':(28,29,)}))

    # 3 - Team Dragon "If you defeat us again, we will sneak in at night and steal your bots."
    list.append(("AW - Ninja Assassin","Rammer",{'nose':math.pi*2,'range':99,'radius':0.1,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2,'weapons':(4,5)}))
    list.append(("Aw - Samurai","Rammer",{'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3.5,'weapons':(9,10)}))
    list.append(("AW - Shogun","Spinner",{'nose':math.pi*2,'range':99,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':1,'weapons':(13,14,15,16)}))
    list.append(("AW - Bob","Rammer",{'radius':0.3,'range':2.5,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3,'weapons':(25,)}))
    list.append(("BW - FireStorm","Whipper",{'nose':math.pi,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(19,)}))
    list.append(("BW - Ronin","Spinner",{'invertible':True,'radius':0.1,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(55,)}))
hi

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17527
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: TXAI
« Reply #37 on: November 05, 2011, 03:55:27 PM »
are Hammerhead Shark and Blood Runner now AW's?

Offline TeamXtreemer

  • Ultra Heavyweight
  • Posts: 2638
  • Rep: -6
  • hi
    • View Profile
    • Awards
Re: TXAI
« Reply #38 on: November 05, 2011, 04:04:27 PM »
are Hammerhead Shark and Blood Runner now AW's?
Nope.
I think they're BWs, I just had a problem with the coding, so I removed the prefixes.

@S_M

Your bots had their names replaced with the actual bot's names. (the ones they have in DSL 2.1)
I need some help with this AI code for your FBS.
Code: [Select]
list.append(("BW-Firestorm","FBS_1",{ 'PreSpinEntrance':20, 'SpinDirection(1/-1)':-1, 'ReMobilizeRoutineTime(10-60)':10, 'range':99, 'radius':0.1, 'topspeed':100, 'throttle':130, 'turn':30, 'turnspeed':1.5, 'weapons':(11,)}))It seems to just drive backwards into the wall, then drive around aimlessly.
hi

Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7582
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: TXAI
« Reply #39 on: November 05, 2011, 04:07:33 PM »
You must have the nose wrong (it's at a weird angle like 10 degrees)
And I liked the old names D:
The Scrappers:
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything