Author Topic: AI-ing (.py files, coding, nose-orienting R+D, and help)  (Read 160219 times)

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #700 on: July 20, 2010, 12:57:09 PM »
Would it be possible for a medic Ai? A bot with the medic Ai would follow its tag team partner and slowly heal it but doesnt heal itself.

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #701 on: July 20, 2010, 01:23:25 PM »
Probably.
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 Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #702 on: July 20, 2010, 06:41:39 PM »
Would it be possible for a medic Ai? A bot with the medic Ai would follow its tag team partner and slowly heal it but doesnt heal itself.
Yes. It would require roughly three things:
1. A way of determining which bot needs to be followed by the medic.
2. A negative value in plus.damage(BotID, Amount, (0,0,0)) to heal the Ally
3. Something to stop it from constantly healing the bot (it would end up with more than 100% Health, otherwise)

Online apanx

Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #703 on: July 20, 2010, 07:13:57 PM »
Here are the tools:
plus.getHealth(bot#, ComponentID)
plus.getHitpoints(bot#, ComponentID)

Now go create.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #704 on: July 20, 2010, 07:25:44 PM »
:D Apanx!

Offline Somebody

  • *
  • Posts: 7200
  • Rep: 13
  • CP: +2
    • SomebodyofGTM
    • View Profile
    • My site
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #705 on: July 22, 2010, 01:45:25 PM »
How can I AI something with FBS.py to spin. I'm trying to AI a shell spinner for ELBITE. I wired the weapon to the drive so whenever the drive is running, the weapon SHOULD be going with it. The bot moves under AI but the weapon doesn't spin. Halp?
I built that big robot on that TV show that time


Offline Virus Bomb

Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #706 on: July 22, 2010, 01:48:17 PM »
use FBSPlus.py

Offline Somebody

  • *
  • Posts: 7200
  • Rep: 13
  • CP: +2
    • SomebodyofGTM
    • View Profile
    • My site
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #707 on: July 22, 2010, 02:32:38 PM »
Do I have to wire anything else for that because the shell still doesn't spin.
I built that big robot on that TV show that time


Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #708 on: July 22, 2010, 02:38:01 PM »
The Sheck should have its own Spin Button.
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 Somebody

  • *
  • Posts: 7200
  • Rep: 13
  • CP: +2
    • SomebodyofGTM
    • View Profile
    • My site
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #709 on: July 22, 2010, 06:29:31 PM »
It works thanks guys!
I built that big robot on that TV show that time


Offline JoeBlo

Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #710 on: July 22, 2010, 09:47:26 PM »
why would you be using FBSPlus.py for a shell spinner ?

unless its a SnS/ Hybrid the chassis will keep spinning around on the LeftRight control ?

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #711 on: July 23, 2010, 01:40:22 AM »
Minifridge 4 uses FBSPlus so it can move.
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 Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #712 on: July 23, 2010, 02:54:12 AM »
Whats wrong with these bindings:

    list.append(("Grappler","Omni",
{'invertible':True,'nose':math.pi,'radius':0.1,'topspeed':100,'throttle
':130,'turn':60,'turnspeed':2,'weapons':(39,42)}))

When I try to start a match my game has a 'runtime error'

Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #713 on: July 23, 2010, 02:57:08 AM »
Are you sure it has at least 42 components?
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 Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #714 on: July 23, 2010, 03:00:33 AM »
I don't know, but when it had the same bindings as Big Metal Friend it worked, its only when I edited the nose direction thingy that it crashed. It used to be 'nose':math.pi*2, but the bot faced the wrong way so I changed it

Offline Virus Bomb

Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #715 on: July 23, 2010, 11:34:03 AM »
any random spaces in the bot's name?

Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #716 on: July 23, 2010, 01:25:31 PM »
Nope, like I say, it worked before I changed the nose direction, it just didn't face the right way

Offline Somebody

  • *
  • Posts: 7200
  • Rep: 13
  • CP: +2
    • SomebodyofGTM
    • View Profile
    • My site
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #717 on: July 23, 2010, 04:36:33 PM »
Consult Philetbabe's AI Chart. Don't have a link on me but it has a section on Nose.
I built that big robot on that TV show that time


Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #718 on: July 24, 2010, 12:53:25 PM »
Thats what I used

Offline martymidget

  • *
  • Posts: 3459
  • Rep: 7
  • Mr Flibble is very cross.
    • http://tts.imtranslator.n
    • View Profile
    • :)
    • Awards
Re: AI-ing (.py files, coding, nose-orienting R+D, and help)
« Reply #719 on: July 24, 2010, 03:39:45 PM »
What is so horribly wrong with these bindings?
Code: [Select]
# 35 - The Pandorica "The Pandorica will open, and silence will fall."
    list.append(("Pacey Macey","Omni",{'radius':0.1,'topspeed':99,'throttle':130,'range':99,'turn':50,'turnspeed':2,'weapons':(1,2,3)}))
    list.append(("Iron Filings","Omni",{'radius':0.1,'topspeed':99,'throttle':130,'range':99,'turn':50,'turnspeed':2,'weapons':(1,2,3)}))
    list.append(("Mouldy Cheese 2","Omni",{'radius':0.1,'topspeed':99,'throttle':130,'range':99,'turn':50,'turnspeed':2,'weapons':(1,2,3)}))
    list.append(("Scorcher VIII","Omni",{'radius':0.1,'topspeed':99,'throttle':130,'range':99,'turn':50,'turnspeed':2,'weapons':(1,2,3)}))
    list.append(("The guy with the ballast","Omni",{'radius':0.1,'topspeed':99,'throttle':130,'range':99,'turn':50,'turnspeed':2,'weapons':(1,2,3)}))
    list.append(("A VS :O","Omni",{'radius':0.1,'topspeed':99,'throttle':130,'range':99,'turn':50,'turnspeed':2,'weapons':(1,2,3)}))

Thanks XD
« Last Edit: July 24, 2010, 03:44:23 PM by Trovaner »