Author Topic: Replica Wars 2 Brackets Vids and Other Stuff  (Read 43631 times)

Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #520 on: November 14, 2010, 04:53:11 PM »
Oh, yeah, the bindings need this at first...


Quote
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)



Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #521 on: November 14, 2010, 04:54:23 PM »
Where does ^^this^^ go?
I do those awful YouTube videos.

Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #522 on: November 14, 2010, 04:55:17 PM »
Where does ^^this^^ go?
At the top. Leave a space between that and the actual bindings.



Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #523 on: November 14, 2010, 04:57:00 PM »
Yah.

Also, where do I get to the bindings folder?

I am n00by at AI aren't I?
I do those awful YouTube videos.

Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #524 on: November 14, 2010, 04:57:56 PM »
bindings is in the AI folder.



Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #525 on: November 14, 2010, 04:59:44 PM »
How do i open it though?

Is the folder Bindings.py
I do those awful YouTube videos.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17536
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #526 on: November 14, 2010, 05:00:46 PM »
Bindings.py is a text file. Open it using Notepad.

Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #527 on: November 14, 2010, 05:01:05 PM »
Yeah, and I use notepad to open it.


EDIT - Badnik beat me to it.



Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #528 on: November 14, 2010, 05:01:44 PM »
Opened it, do i copy the RW Bindings under the existing bindings in the folder and add the stuff S.T.C put?
I do those awful YouTube videos.

Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #529 on: November 14, 2010, 05:04:48 PM »
if you opened the Replica Wars bindings, then take what I put and put it at the top of the bindings, and leave a space between the bindings and what I put.



Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #530 on: November 14, 2010, 05:10:23 PM »
Wha?



Not that Cassius is Mighty Mouse
I do those awful YouTube videos.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17536
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #531 on: November 14, 2010, 05:27:40 PM »
You must be missing a team, Cassius is in the same bot slot as MM except one team ahead of it.

Offline S.T.C.

  • *
  • Posts: 2105
  • Rep: 4
  • Not to be confused with STDs.
    • www.youtube.com/user/Shad
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #532 on: November 14, 2010, 05:28:03 PM »
Then its most likely the fact that the bindings are in notepad...



Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #533 on: November 15, 2010, 01:56:05 AM »
WORKS

Just that all the bots are one team under what they should be.

Cassius = Mighty Mouse
Xplosion = cassius

ect.
I do those awful YouTube videos.

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #534 on: November 15, 2010, 05:32:35 AM »
YOU AI'D IT WRONG

Offline JoeBlo

Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #535 on: November 15, 2010, 06:37:19 AM »
But this isnt a McDonald's store Nary :O

Offline Enigm@

  • convicted sex offender
  • *
  • Posts: 6616
  • Rep: 5
  • :really_makes_you_think:
    • http://www.youtube.com/us
    • View Profile
    • Awards
  • Skype: uncle_slamm
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #536 on: November 15, 2010, 06:38:21 AM »
McDonalds AI's there burgers wrong?
(◕‿◕✿) discord: uncle_slamm steam: bigmommaprodz #unbanlra2

Offline JoeBlo

Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #537 on: November 15, 2010, 06:40:14 AM »
Its a joke thats before your time on here buddy :P

Offline Enigm@

  • convicted sex offender
  • *
  • Posts: 6616
  • Rep: 5
  • :really_makes_you_think:
    • http://www.youtube.com/us
    • View Profile
    • Awards
  • Skype: uncle_slamm
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #538 on: November 15, 2010, 06:42:44 AM »
Oh. :S
(◕‿◕✿) discord: uncle_slamm steam: bigmommaprodz #unbanlra2

Offline Scorpion

  • Giga Heavyweight
  • Posts: 5431
  • Rep: 2
    • View Profile
    • Awards
Re: Replica Wars 2 Brackets Vids and Other Stuff
« Reply #539 on: November 15, 2010, 08:00:37 AM »
Hmm, i'm guessing it's a joke about avalanche?