91
Bot Tavern / Rabidus v1.1 (F1)(Googlyeyesultra)-15.07.07
« on: July 15, 2007, 08:53:58 PM »
I've cobbled together a little buggy cooperation code, but it honestly makes the bot buggier. If you want to see it, just copy and paste it into rabidus, replacing the section labeled "Spread out later".
Code: [Select]
'Spread out later
cond
*.eye5 0 !=
*997 *998 =
*.robage 20 >=
*.numties 0 =
*.robage 30 sub *.out3 >
*.out4 *.out5 dist 0 = or
start
*.refxpos *.refypos angle 628 add .setaim store
*.eye5 2 div .up store
stop
'Communicate locations
cond
*.eye5 0 >
*997 *998 !=
start
*.robage .out3 store
*.refxpos .out4 store
*.refypos .out5 store
*.robage 989 store
stop
'Recieve locations
cond
*.eye5 0 >
*998 *997 =
*.in4 0 !=
*.in5 0 !=
*.in4 *.out4 !=
*.in5 *.out5 !=
start
*.in3 .out3 store
*.in4 .out4 store
*.in5 .out5 store
*.robage 989 store
stop
'Travel to location
cond
*.out4 0 !=
*.out5 0 !=
*998 *997 =
*.robage 30 sub *.out3 <
*.numties 0 =
*.out4 *.out5 add *.refxpos *.refypos add !=
start
*.out4 *.out5 angle .setaim store
*.out4 *.out5 dist 2 div *.velup sub .up store
*.veldx -1 mult .dx store
stop