Author Topic: Son of Wayachi Ai Help  (Read 1458 times)

Offline trumpetguy

  • Super Heavyweight
  • Posts: 1162
  • Rep: 0
  • Forum Ameri-asian
    • http://www.facebook.com/DC.Scinerd
    • http://www.youtube.com/user/PokeDenny
    • View Profile
    • Awards
  • Skype: dennycao202
Son of Wayachi Ai Help
« on: December 18, 2009, 09:17:41 PM »
How can I AI this?

I can drive it manually, or is it to complicated for the AI?
« Last Edit: December 19, 2009, 07:13:10 AM by Madiaba »

"Two things are infinite:the universe and human stupidity;and I\'m not sure about the universe" -Albert Einstein
*IF YOU ARE NEUTRAL IN THIS SIG BUSINESS PUT THIS IN YOUR SIG*

Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Son of Wayachi Ai Help
« Reply #1 on: December 23, 2009, 08:44:59 PM »
That will be hard.  You need to make a custom .py with new Throttle, Turning, and navigation.  Unless it is absolutely necessary to AI this bot, I would avoid it.

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 Madiaba

Re: Son of Wayachi Ai Help
« Reply #2 on: December 24, 2009, 07:51:32 AM »
I agree with CB,... tuffy/mucho workos.
But, TG, would you explain or show a pic of its internal components anyway.
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline trumpetguy

  • Super Heavyweight
  • Posts: 1162
  • Rep: 0
  • Forum Ameri-asian
    • http://www.facebook.com/DC.Scinerd
    • http://www.youtube.com/user/PokeDenny
    • View Profile
    • Awards
  • Skype: dennycao202
Re: Son of Wayachi Ai Help
« Reply #3 on: December 25, 2009, 01:17:55 PM »
It's really simple, only the pistons drive the bot, and the only thing different from a 'normal' bot. The pistons in the bot (the ones peeking out of the chassis) drives the bot forward and if the outer piston in the front pistons are fired it will turn in the other direction. I know that sounds confusing, but let me post a video in this post later. The pistons outside, when fired drives the bot backwards.

"Two things are infinite:the universe and human stupidity;and I\'m not sure about the universe" -Albert Einstein
*IF YOU ARE NEUTRAL IN THIS SIG BUSINESS PUT THIS IN YOUR SIG*

Offline Naryar

  • Posts: 23267
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Son of Wayachi Ai Help
« Reply #4 on: December 25, 2009, 01:39:15 PM »
I attempted something with this drive already... a 4SPD (4 Storm piston drive) MW rammer, ripped off Mike's designs.  Two pistons fire forward, two fire backward, and you make it turn by firing one of both sets.

But yes, i can see this being a bitch to AI.

Offline Sparkey98

  • Giga Heavyweight
  • Posts: 5738
  • Rep: -20
    • View Profile
    • Awards
Re: Son of Wayachi Ai Help
« Reply #5 on: December 28, 2009, 08:03:10 PM »
I have some experience with AI's so I can at least tell you how to get it to go forward/backward

Offline Madiaba

Re: Son of Wayachi Ai Help
« Reply #6 on: December 28, 2009, 10:23:13 PM »
FBS_1 has some handy bot tactic steering capabilities at the beginning under Tick.  But you can take this and:
-When the bot's heading is near '0' (say between -.1and .1), then make both sides' pistons fire to move ahead.
-If the bot heading is greater than '.1', then have one side piston(s) fire to turn the bot toward enemy.
-If the bot heading is less than '-.1', then have the other side piston(s) fire to turn the bot toward enemy.

The parameters are rough starting points, you'll have to test and tweek...
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...