Author Topic: House Robot AI  (Read 2924 times)

Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
House Robot AI
« on: January 16, 2011, 12:59:11 AM »
In short, I got this far in the House Robot AI for MicroMetal 1.

The Housebot (grey) sits idle

The Housebot moves when I come close

The Housebot doesn't stop though.
I do those awful YouTube videos.

Offline JoeBlo

Re: House Robot AI
« Reply #1 on: January 16, 2011, 03:01:43 AM »
care to tell us any actual info so we dont have to play guessing games ?  :rolleyes:

did you write a .py for this or what?

Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: House Robot AI
« Reply #2 on: January 16, 2011, 03:03:36 AM »
Its just an AI bot as far as I can tell

Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
Re: House Robot AI
« Reply #3 on: January 16, 2011, 03:07:38 AM »
Did you wire its LeftRight (or did you properly name it)?
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 Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: House Robot AI
« Reply #4 on: January 16, 2011, 11:25:45 AM »
Well it's a good start.

What happens if you dont come near it though? Does it move to escape count out?

Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: House Robot AI
« Reply #5 on: January 16, 2011, 11:45:58 AM »
No, just sits there.
I do those awful YouTube videos.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: House Robot AI
« Reply #6 on: January 16, 2011, 11:47:09 AM »
You should fix that. What if the fight doesn't progress to that square, the bot gets counted out, and then they move over to the square?

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: House Robot AI
« Reply #7 on: January 16, 2011, 11:48:13 AM »
Show us the AI code plz.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: House Robot AI
« Reply #8 on: January 16, 2011, 11:57:53 AM »
Code: [Select]
list.append(("Housebot","Flipper",{'nose':math.pi*2,'range':99,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3,'weapons':(18,19)}))
I do those awful YouTube videos.

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: House Robot AI
« Reply #9 on: January 16, 2011, 12:01:33 PM »
How is that suppsoed to avoid/ignore stuff?
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: House Robot AI
« Reply #10 on: January 16, 2011, 12:02:39 PM »
On another subject.

Can you have 4 smartzones on one bot?
I do those awful YouTube videos.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: House Robot AI
« Reply #11 on: January 16, 2011, 12:36:15 PM »
You can have loads.

:O Smartzone AI'ed bots!

Offline Urjak

  • *
  • Posts: 2753
  • Rep: 6
  • Shell Spinner King
    • http://www.youtube.com/wa
    • View Profile
    • Awards
Re: House Robot AI
« Reply #12 on: January 16, 2011, 12:40:22 PM »
One issue I see is that this bot is just like any other bot. The combatants will likely attack the house robot just as often as it attacks the actual opponent. You need to find a way for the entrants to ignore the housebot.
Any comments would be appreciated. :D

Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: House Robot AI
« Reply #13 on: January 16, 2011, 11:30:05 PM »
Best way to do housebots (really the ONLY way as far as I know) is to put them in the .gmf like the rover in the Mars Base and Mad's housebots in the Pittsfield arena.


However, that method is problematic in its own way.

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 Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: House Robot AI
« Reply #14 on: January 17, 2011, 11:15:16 AM »
Best way to do housebots (really the ONLY way as far as I know) is to put them in the .gmf like the rover in the Mars Base and Mad's housebots in the Pittsfield arena.

However, that method is problematic in its own way.
Such as an inability to receive damage, lose components, or get tracked effectively by the AI.

If you want to use AI housebots, you can add a line in the Arena.py to restrict their movement to certain sections of the arena until some criteria is met. Doing it this way, you can make all the other AI bots avoid/target the housebots. You could also make it so that only AI bots with certain names become housebots and/or certain BotIDs become housebots.

I was actually in the process of making an arena that would use GMF housebots and also have the above AI housebots when the hazards were turned off...

Offline J

  • I don’t give a dimmadamn
  • *
  • Posts: 3152
  • Rep: 4
  • I sexually identify as a tall hat
    • I don’t care
    • I don’t care
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: I don’t care
  • Discord: I don’t care
Re: House Robot AI
« Reply #15 on: January 17, 2011, 11:16:55 AM »
You can have loads.

:O Smartzone AI'ed bots!
So maybe make a smartzone that causes the robot to return to its original location apon it hitting a wall?

Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: House Robot AI
« Reply #16 on: January 17, 2011, 11:18:44 AM »
That was very confusing.

I can only basically AI, I was working on a theory that is now debunked because I will be using Teams for MM1

:O Smartzone AI'ed bots!

You think I have tried that already?

I do those awful YouTube videos.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: House Robot AI
« Reply #17 on: January 17, 2011, 12:37:47 PM »
It is possible to guide an AI bot using solely SZs but you would want to have at least one on the left and one on the right (there is no need to have it in front of ore behind the bot but having them could potentially simplify the coding). Madiaba once posted this idea for guiding SOW bots but I think they concluded that it was easier just to look at the servo's angle instead... I use a variation of this for guiding my GMF housebots (the biggest difference would be how I handled being inverted).

Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: House Robot AI
« Reply #18 on: January 17, 2011, 02:18:35 PM »
How do you 'wire' 4 smartzones though, they are all called 'flip'.
I do those awful YouTube videos.

Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: House Robot AI
« Reply #19 on: January 17, 2011, 02:20:34 PM »
How do you 'wire' 4 smartzones though, they are all called 'flip'.
thats fine then

Just wire them as you would with just 1 smartzone