list.append(("You Wish I Was A Girl!","Flipper2",{'nose':math.pi,'UseSrimech':1,'invertible':False,'range':50,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':4,'UseSrimech':0,'EnemyMoveRadius':1,'EnemyMoveTime':3,'PrioritizeFlipper':0,'NoChassisTime':3,'SrimechInterval':1,'weapons':(0,)}))
list.append(("Big Hammer","Popup",{'nose':math.pi*2,'invertible':False,'radius':1,'topspeed':130,'throttle':120,'turn':65,'turnspeed':1.1,'NoChassisTime':2,'RunUpsideDown':0,'weapons':(0,)}))
also lol at most toxic guy around calling others out on this sh**
Id try setting your weapon numbers correctly or at least to a value other than zero.. I could be wrong but id imagine the game wouldnt like a nil value for that section.Plus the weapons line is tracked while in battle which may explain why the robots get as far the countdown before giving you trouble
BTW guys, I wrote this AI line myself, tested it in my game, ot worked, and then I sent it to him. I also had sent him one woth Popup.py and it didn't work, so I believe it doesn't have anything to do with the binding line itself as they were working 100% in my game.
Quote from: 090901 on October 29, 2016, 12:52:22 PMBTW guys, I wrote this AI line myself, tested it in my game, ot worked, and then I sent it to him. I also had sent him one woth Popup.py and it didn't work, so I believe it doesn't have anything to do with the binding line itself as they were working 100% in my game.This is true. As had Redace.I can get both bots to work using Omni. Which leads me to think that it must be something in the Flipper2/Popup files that is causing the error.Both files are up to date and in the correct folder.
This is what happens when modders edit __init__.py. Keep edits to separate files.Download updated versions from AI repo.https://github.com/apanx/RA2_AI
@JB, using 0 references the Chassis, so basically the AI will always try and use the weapon. Not as good a solution as using the actual IDs but a whole world quicker :)