Quote from: Badnik96 on November 02, 2016, 08:32:24 AMManaged to edit together a new AI code. No idea if this has been done before, but I figured it'd be useful.https://gametechmods.com/uploads/files/7620WimpOmni.rarThis AI, as you can probably tell by its name, is a small variation on the standard Omni py file. Instead of switching to the Shove tactic when its weapons runs out, it instead switches to Evade (which is within Tactics_2.py, which I've included in the rar for ease of access). So instead of suiciding onto the opponent's remaining weapons, it runs away.BumpGlad to see people are still using and adapting my Omni.py Didn't know if it was still useful for people to AI their bots or if they had moved to something majorily different. That was some 12ish years ago.Starcore
Managed to edit together a new AI code. No idea if this has been done before, but I figured it'd be useful.https://gametechmods.com/uploads/files/7620WimpOmni.rarThis AI, as you can probably tell by its name, is a small variation on the standard Omni py file. Instead of switching to the Shove tactic when its weapons runs out, it instead switches to Evade (which is within Tactics_2.py, which I've included in the rar for ease of access). So instead of suiciding onto the opponent's remaining weapons, it runs away.
Do you mean how to fill out the weapons tuple for a bot's AI line, like 'weapons':(16,17,18,19)? Easiest way is to download apanx's .bot exporter as it tells you all the components and their corresponding IDs. Or you can go into the file with Notepad++ and count in which order each component was attached with the first attached component being ID 1.
list.append(("BANNED","Popup",{'nose':math.pi,'invertible':True,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2.5,'NoChassisTime':2,'RunUpsideDown':1,'weapons':(0,)}))
https://gametechmods.com/uploads/files/4216badgers_angels.zip
list.append(("Executioner","Judge",{'beta':-64000,'MotorID':0,'StartAngle':-math.pi/2,'reload':5,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2.5,'weapons':(0,)}))