URGENTLY!!
Quote from: Tibsy on March 07, 2015, 12:43:44 PMURGENTLY!!Why so urgent?Anyway, show a screenshot of your AI folder and also the entire text of the teams.txt and bindings.py (use the code tags around those 2 if you copy-paste the contents)
import mathdef 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) #01 - The Communist Party list.append( ("Siberian Slinger", "Omni", { 'nose' : math.pi, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (8,) }) ) list.append( ("Crushchev", "Omni", { 'nose' : math.pi, 'radius':0.5, 'topspeed' : 99.0, 'turnspeed': 5, 'weapons': (8,) }) ) list.append( ("Russian Raving Man", "Spinner", { 'radius':0.5, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (8, 9) }) ) list.append( ("Red November", "Rammer", { 'nose' : math.pi, 'invertible': True, 'radius': 0.2, 'topspeed' : 99.0, 'turnspeed': 4.5, 'weapons': (4, 5, 6, 7) }) ) list.append( ("From Russia with Love", "FRWL", { 'nose' : math.pi, 'radius':0.3, 'topspeed' : 99.0, 'turnspeed': 4, 'range':30, 'weapons': (5,) }) ) list.append( ("Pushkin", "Omni", { 'nose' : math.pi/2, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 5.5, }) ) #02 - Kawaii Desu Desu list.append( ("Flluffy Bunny", "Spinner", { 'invertible': True, 'nose' : math.pi, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (6,) }) ) list.append( ("Flufflesworth the Second", "Rammer", { 'invertible': True, 'radius': 0.2, 'topspeed' : 99.0, 'turnspeed': 4.5, 'weapons': (8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19) }) ) list.append( ("Goodbye Kitty", "Spinner", { 'invertible': True, 'nose' : math.pi, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.0, 'range':30, 'weapons': (18, 19, 20, 21, 22, 23) }) ) list.append( ("Whack the Goats", "Omni", { 'nose' : math.pi, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 4, 'weapons': (8,) }) ) list.append( ("Kitten", "Spinner", { 'invertible': True, 'nose' : math.pi, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 4.5, 'range':30, 'weapons': (11, 12, 13, 14) }) ) list.append( ("Hamster Wheel", "Spinner", { 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 2, 'range':30, 'weapons': (8, ) }) ) #03 - SETI Technologies list.append( ("Deep-Space Radar", "Whipper", { 'nose' : math.pi, 'invertible': True, 'whip': "around", 'zone': "swing", 'turnspeed':5, 'turn':80, 'topspeed':12.0, 'throttle': 110, 'weapons':(14,) }) ) list.append( ("Roswell's Revenge", "Spinner", { 'nose' : math.pi, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 4.5, 'range':30, 'weapons': (11, 12, 13, 14, 15, 16, 17, 18) }) ) list.append( ("Crop Circles", "Spinner", { 'nose' : math.pi, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 2, 'range':30, 'weapons': (8, 9) }) ) list.append( ("Conspiracy", "Omni", { 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, }) ) list.append( ("Radar Array II", "Omni", { 'nose' : math.pi, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (6, 7, 8, 9, 10, 11) }) ) list.append( ("Hubble", "Poker", { 'invertible': True, 'nose' : math.pi, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 4.5, 'weapons': (8, 9, 10, 11) }) ) #04 - The Clockwork Army list.append( ("Wind-Up", "Rammer", { 'nose' : math.pi, 'invertible': True, 'radius': 0.2, 'topspeed' : 99.0, 'turnspeed': 4.5, 'weapons': (4, 5, 6, 7) }) ) list.append( ("The Victorian", "Spinner", { 'invertible': True, 'nose' : math.pi, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (8, 9) }) ) list.append( ("Queen and Country", "Omni", { 'invertible': True, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 4, 'range':30, 'weapons': (11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26) }) ) list.append( ("AW - Seconds to Death", "Omni", { 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 5, 'weapons': (1, 2) }) ) list.append( ("BW - Overclocked", "Omni", { 'nose' : math.pi, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 5, 'weapons': (6,) }) ) list.append( ("SHW - King and Country", "Omni", { 'invertible': True, 'nose' : math.pi, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (8, 9, 10, 11, 12, 13, 14, 15, 16,17, 18, 19, 20, 21, 22, 23) }) ) #05 - Team Dull Gray list.append( ("Python", "Spinner", { 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (6, 7, 8, 9) }) ) list.append( ("Harbinger", "Spinner", { 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (1, 2, 3) }) ) list.append( ("Knockback", "Omni", { 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (8, 9, 10, 11) }) ) list.append( ("Reflector", "Omni", { 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 5, 'weapons': (1, 2) }) ) list.append( ("Rapture", "Omni", { 'radius':0.3, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (10, 11) }) ) list.append( ("Rift", "Spinner", { 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3, 'range':30, 'weapons': (4, 5, 6, 7) }) ) #06 - Team Spintastic list.append( ("Sore point", "Spinner", { 'invertible': True, 'nose' : math.pi, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (6,) }) ) list.append( ("HammerHead 4", "Spinner", { 'invertible': True, 'nose' : math.pi, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 5, 'range':30, 'weapons': (7, 8) }) ) list.append( ("Destructive Agent", "Spinner", { 'nose' : math.pi*3/2, 'radius':0.5, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (8, 9) }) ) list.append( ("Whyte", "Spinner", { 'radius':0.5, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (12,) }) ) list.append( ("Scrap Metal", "Spinner", { 'invertible': True, 'radius':0.5, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (8, 9, 10) }) ) list.append( ("Chip", "Spinner", { 'nose' : math.pi, 'radius':0.5, 'topspeed' : 99.0, 'turnspeed': 3.5, 'range':30, 'weapons': (14, 15, 16, 17) }) ) #07 - Blind Charge list.append( ("IronHide", "Omni", { 'nose' : math.pi, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 5, 'weapons': (1, 2) }) ) list.append( ("Rampage", "Omni", { 'invertible': True, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 4.5, 'weapons': (8, 9) }) ) list.append( ("Mastiff", "Omni", { 'nose' : math.pi, 'invertible': True, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 5, 'weapons': (11, 12, 13, 14, 15, 16) }) ) list.append( ("AW - Fatal Charge", "Omni", { 'nose' : math.pi, 'invertible': True, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 4.5, 'weapons': (3, 4) }) ) list.append( ("BW - Stampede", "Omni", { 'nose' : math.pi, 'invertible': True, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 4.5, 'weapons': (6, 7) }) ) list.append( ("MechaBull", "Omni", { 'invertible': True, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 4.5, 'weapons': (9, 10) }) ) #08 - Lethal Designs Inc. list.append( ("Glitch In The System", "Whipper", { 'nose' : math.pi, 'invertible': True, 'whip': "around", 'zone': "swing", 'turnspeed':5, 'topspeed':12.0, 'throttle': 110, 'weapons':(14, 15) }) ) list.append( ("Sprocket", "Rammer", { 'nose' : math.pi, 'invertible': True, 'radius': 0.2, 'topspeed' : 99.0, 'turnspeed': 5, 'weapons': (9, 10, 11) }) ) list.append( ("Nexus", "Omni", { 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (6,) }) ) list.append( ("AW - Volt", "Omni", { 'invertible': True, 'radius':0.3, 'topspeed' : 99.0, 'turnspeed': 4, 'weapons': (7, 8) }) ) list.append( ("BW - Cable", "Omni", { 'invertible': True, 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (12,) }) ) list.append( ("SHW - System Overload", "Omni", { 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (15, 16, 17) }) ) #09 - Team Moustache list.append( ("Huzzah", "Omni", { 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (15, 16) }) ) list.append( ("I Say Twice!", "Omni", { 'radius':0.3, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (11, 12) }) ) list.append( ("Hoorah!", "Omni", { 'nose' : math.pi, 'radius':0.5, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (21, 22) }) ) list.append( ("BW - Tally - Ho!", "Omni", { 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (2, 3) }) ) list.append( ("CW - Marvellous!", "Omni", { 'radius':0.2, 'topspeed' : 99.0, 'turnspeed': 5, 'weapons': (7, 8) }) ) list.append( ("SHW - Tea", "Spinner", { 'invertible': True, 'radius':0.6, 'topspeed' : 99.0, 'turnspeed': 4, 'range':30, 'weapons': (23, 24, 25) }) ) #10 - Tibsy list.append( ("Sharpfin", "Omni", { 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (2, 3) }) ) #Lame Stock Bots list.append( ("Arc Pounder", "Whipper", { 'invertible': True, 'whip': "around", 'zone': "swing", 'turnspeed':1.5, 'turn':80, 'topspeed':12.0, 'throttle': 110, 'weapons':(14,) }) ) list.append( ("Backyard Ripper", "DirectionalSpinner", { 'nose': math.pi, 'topspeed' : 12.0, 'throttle' : 115, 'turnspeed': 2.0, 'weapons': (16, 17, 18, 19) }) ) list.append( ("Berserker", "Spinner", { 'topspeed' : 10.0, 'throttle' : 110.0, 'weapons': (8, 9, 10) }) ) list.append( ("Big Dog", "Pusher", { 'radius': 1.4, 'nose' : math.pi , 'topspeed':4.0, 'turnspeed' : 3.5 }) ) list.append( ("Civil Disobedience", "Rammer", { 'turnspeed' : 1.75 }) ) list.append( ("Da Dog", "Pusher", { 'nose' : math.pi , 'turnspeed' : 2.0 }) ) list.append( ("DEADBEAT", "Chopper", { 'topspeed' : 10.0, 'weapons': (7,) }) ) list.append( ("Eye Poker", "Rammer", { 'invertible': True, 'turnspeed' : 1.5, 'topspeed' : 12.0 }) ) list.append( ("Flame Chopper", "Chopper", { 'radius':1.1, 'topspeed' : 12.0 , 'turnspeed' : 2.0 , 'throttle' : 120, 'weapons': (8,) }) ) list.append( ("Hanky Panky", "Flipper", { 'topspeed' : 12.0, 'weapons': (15,) }) ) list.append( ("Lil' Dog", "Rammer", { 'nose': math.pi, 'turnspeed': 1.5 }) ) list.append( ("LugNut", "Rammer", { 'radius':1.2, 'nose' : -math.pi / 2, 'turnspeed' : 1.0, 'topspeed' : 12.0, 'throttle' : 120 }) ) list.append( ("Raptor", "Chopper", { 'radius': 1.3, 'nose' : math.pi , 'topspeed' : 12 , 'throttle' : 110 , 'turnspeed' : 1.25, 'weapons': (14, 15) }) ) list.append( ("Razor", "Rammer", { 'nose': math.pi, 'turnspeed' : 1.25 }) ) list.append( ("REVENGE", "DirectionalSpinner", { 'turnspeed' : 1.25, 'topspeed' : 12.0, 'throttle' : 110, 'weapons': (4,) }) ) list.append( ("Ripblade", "DirectionalSpinner", { 'nose': math.pi, 'topspeed' : 12.0, 'throttle' : 110, 'turnspeed': 1.5, 'weapons': (25, 26) }) ) list.append( ("More Panda Monium", "Poker", { 'radius':1.1, 'nose' : math.pi, 'turnspeed' : 1.0, 'turn' : 20.0, 'topspeed' : 12.0, 'throttle' : 120, 'weapons': (9,) }) ) list.append( ("Tornado", "Spinner", { 'radius':1.2, 'nose' : -math.pi / 2, 'range' : 4.0, 'topspeed' : 12.0, 'throttle': 120, 'turnspeed' : 1.75, 'weapons': (16, 17, 19, 23) }) )
index 0The Communist Party"In Soviet Russia, Communism parties with YOU!"AI\CommunistParty.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 1Kawaii Desu Desu"Kore wa, hon'yaku-sha o hete, sore ga machigatte iru riyu o kikanai."AI\KawaiiDesuDesu.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 2SETI Technologies"We don't know, therefore aliens."AI\SETITechnologies.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 3The Clockwork Army"Screw Electronics."AI\TheClockworkArmy.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 4Team Dull Gray"We're just dull, and gray."AI\TDG.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 5Team Spintastic"Fantastically Spintastic."AI\Spintastic.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 6Blind Charge"Mess with the bull, and you'll get the horns."AI\BlindCharge.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 7Lethal Designs Inc."The very best - the cutting edge."AI\LethalDesigns.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 8Team Moustache"You cannot handle the 'stache."AI\MoustacheTeam.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 9Team HEX"We eat nuts and bolts for breakfast."AI\hex.bmpRobots: 0 1 2Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 10Team Z"Cooler than you."AI\z.bmpRobots: 0 1 2Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 11SteelYard Dog"Our Bite is MUCH worse than our bark!"AI\steeldog.bmpRobots: 0 1 2Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 12RIOT"Things are going to get LOUD!"AI\riot.bmpRobots: 0 1 2Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 13MEGATON"Boom."AI\megaton.bmpRobots: 0 1 2Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 14The Scappers"Havok Explosion specialists!!!"AI\tibsy.bmpRobots: 0 1 2Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000index 15Tibsy"You better BUCK up your ideas!!!"AI\tibsy.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000
I don't think the AI likes working with empty slots - I just deleted Backyard Ripper's bot file from a test version of Stock I have and the team crashes the game whenever I click it, so I would recommend changing Robots: 0 1 2 3 4 5 to Robots: 0 and also fixing that binding issue.EDIT: Yep, that tab instead of 4 spaces will crash the game on launch, just tested.
Code: [Select] #10 - Tibsy list.append( ("Sharpfin", "Omni", { 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (2, 3) }) )
#10 - Tibsy list.append( ("Sharpfin", "Omni", { 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (2, 3) }) )
list.append( ("SHW - Tea", "Spinner", { 'invertible': True, 'radius':0.6, 'topspeed' : 99.0, 'turnspeed': 4, 'range':30, 'weapons': (23, 24, 25) }) )
list.append( ("Sharpfin", "Omni", { 'radius':0.1,'range':99, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (2, 3) }) )
Also, where can I find an AI tutorial so I can have a spinning disc bot have its weapon constantly rotating as the one I've AI'd seems to be constantly turning the disc on and off again.