Nevermind, I guess I can read it. I just have no idea what they mean. =P
for a good tutorial :
https://gametechmods.com/?do=Guide_to_AIinga standard entry is like (at least) this :
list.append(("myBotName","theKindOfBot", {'weapons': (a number for each weapon)}))
For instance :
list.append( ("KillerBot", "Spinner", { 'weapons': (21, 22) }) )
the number 21,22 does not mean nothing but there are two weapons for this bot. Once it will loose it two weapons, the bot will react as if it has a 'Pusher' AI.
You can also add other option :
# 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)
For instance if killerBot is invertible ('invertible'), try to avoid danger ('radius'), speedy ('speed') and had a little angle of turn ('turn'), it may be :
list.append( ("KilleBot", "Spinner", { 'invertible':True, 'radius':1, 'topspeed' : 99, 'turn':30, 'weapons': (1, 2) }) )
the kind of bots you can choose from : it is the other file.py under your TEAM directory. If you don't know : just say 'Omni'
5 last points :
-if you use a piston, you need to tell the AI when to fire : this is done by the custom zone (usually called 'weapon'). Once a bot enter this zone, your bot 'fires'
-if the direction of your bot is not good, correct it with 'nose':math.pi or 'nose':math.pi/2
-indentation is very important when you add a line in bindings.py, otherwise it crashes the game
-once you have made a bot, export it with a name 'bot0'.. 'bot5', replace a bot with the same name in th AI/TeamXXX directory, add your line to the bindings.py.
-the name of the controler must be Forward and LeftRight for the driving ones, it may be 'Fire', 'Spin' or 'Flip' for the other ones, depending of the kind of AI you use.
Try first to AI Spinner, they are the easiest ones for they do not need custom zone.
Here is a standard Spinner Entry (nor the indentation) :
list.append( ("MyBotName", "Spinner", { 'radius':0.5, 'topspeed' : 99, 'turn':30, 'weapons': (1, 2,3,4) }) )
Hope it helps you.