Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - bacillus

Pages: 1 ... 4 5 [6]
76
Bot Tavern / The Sentinel
« on: March 07, 2008, 12:05:02 AM »
Hi,
I made this bot called Sentinel which turns other bots into sentinels (duh). The way it works is that it shoots a virus that fixes the infected bot in place, then eats enemy bots and lets itself get eaten by Sentinel. Does any one have any good ideas for it? :help:

cond
start
 100 *.eye5 sub 50 div .up store
 407 .out4 store
 407 .out3 store
 *.nrg 5 div *.body sub .strbody store
 *.body *.nrg 5 div sub .fdbody store
 991 991 store
 1216 .eye5width store
 *.refxpos *.refypos angle *.veldx add .setaim store
stop

cond
 *.in3 *.out3 =
 *.in4 *.out4 =
start
 *.maxvel .dn store
stop

cond
 *.eye5 40 >
 *.in3 *.out3 !=
start
 -6 .shoot store
stop

cond
 *.reffixed 0 =
 *.in3 *.out3 = or
 *.eye5 40 < or
start
 0 .fixpos store
stop

cond
 *.vtimer 0 =
start
 *.thisgene 1 add .mkvirus store
stop

cond
 *991 991 !=
start
 4 .shootval store
 407 .out4 store
 *.thisgene 1 rnd 2 mult 1 sub add .delgene store
 1 .fixpos store
 1216 .eye5width store
 *.refxpos *.refypos angle .setaim store
 *.in4 407 sub sgn abs 20 *.eye5 sub sgn 1 sub sgn abs mult -6 mult .shoot store
 *.thisgene .mkvirus store
 *.nrg 50 div .vshoot store
 *.nrg 5 div *.body sub .strbody store
 100 *.slime sub .mkslime store
stop

cond
 *.waste 50 >
start
 *.waste .shootval store
 -4 .shoot store
stop

cond
 *.nrg 5000 >
start
 50 .repro store
stop

cond
 *.vtimer 1 =
start
 *.nrg 10 div .vshoot store
stop

77
Untagged bots / Sentinel v2.0
« on: March 06, 2008, 11:13:06 PM »
cond
start
 100 *.eye5 sub 50 div .up store
 407 .out4 store
 407 .out3 store
 *.nrg 5 div *.body sub .strbody store
 *.body *.nrg 5 div sub .fdbody store
 991 991 store
 1216 .eye5width store
 *.refxpos *.refypos angle .setaim store
stop

cond
 *.in3 *.out3 =
 *.in4 *.out4 =
start
 *.maxvel .dn store
stop

cond
 *.eye5 40 >
 *.in3 *.out3 !=
start
 -6 .shoot store
stop

cond
 *.reffixed 0 !=
start
 *.pleas .shootval store
stop

cond
 *.vtimer 0 =
start
 *.thisgene 1 add .mkvirus store
stop

cond
 *991 991 !=
start
 4 .shootval store
 407 .out4 store
 *.thisgene 1 rnd 2 mult 1 sub add .delgene store
 1 .fixpos store
 1216 .eye5width store
 *.refxpos *.refypos angle .setaim store
 *.in4 407 sub sgn abs 20 *.eye5 sub sgn 1 sub sgn abs mult -6 mult .shoot store
 *.thisgene .mkvirus store
 *.nrg 50 div .vshoot store
 *.nrg 5 div *.body sub .strbody store
stop

cond
 *.waste 50 >
start
 *.waste .shootval store
 -4 .shoot store
stop

cond
 *.nrg 5000 >
start
 50 .repro store
stop

cond
 *.vtimer 1 =
start
 *.nrg 10 div .vshoot store
stop

78
Untagged bots / Virulens Locatus
« on: March 06, 2008, 01:14:05 AM »
start
 3856 989 store
stop

cond
 *.vtimer 0 =
start
 3 .mkvirus store
stop

cond
 3856 *989 !=
start
 1 rnd 2 mult 1 sub *.thisgene add .delgene store
 100 100 angle .setaim store
 10 .up store
 *.nrg 500 sub .strbody store
 *.thisgene .mkvirus store
 50 .vshoot store
 50 .repro store
 2 .tie store
stop

cond
start
 1 .up store
 100 100 angle .setaim store
 *.nrg 10 div *.body sub .strbody store
 *.body *.nrg 10 div sub .fdbody store
 50 .vshoot store
 2 .tie store
 100 .sharenrg store
 1 .sharewaste store
stop

cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
stop

cond
 *.body 100 <
 *.nrg 10000 > or
start
 10 .strbody store
stop

cond
 *.nrg 500 <
start
 10 .fdbody store
stop

cond
 *.nrg 5000 >
start
 50 .repro store
stop

79
Untagged bots / Sentinel
« on: March 06, 2008, 12:48:00 AM »
cond
start
 100 *.eye5 sub 25 div .up store
 407 .out4 store
 407 .out3 store
 *.nrg 5 div *.body sub .strbody store
 *.body *.nrg 5 div sub .fdbody store
 991 991 store
 1216 .eye5width store
 *.refxpos *.refypos angle .setaim store
stop

cond
 *.eye5 40 >
 *.in3 *.out3 !=
start
 -6 .shoot store
stop

cond
 *.vtimer 0 =
start
 *.thisgene 1 add .mkvirus store
stop

cond
 *991 991 !=
start
 407 .out4 store
 *.thisgene 1 rnd 2 mult 1 sub add .delgene store
 1 .fixpos store
 1216 .eye5width store
 *.refxpos *.refypos angle .setaim store
 *.in4 407 sub sgn abs -6 mult .shoot store
 *.thisgene .mkvirus store
 *.nrg 50 div .vshoot store
 *.nrg 5 div *.body sub .strbody store
stop

cond
 *.waste 50 >
start
 *.waste .shootval store
 -4 .shoot store
stop

cond
 *.nrg 7500 >
start
 50 .repro store
stop

cond
 *.vtimer 1 =
start
 *.nrg 10 div .vshoot store
stop

80
Untagged bots / Singula Haloculus
« on: March 05, 2008, 11:57:48 PM »
cond
start
1221 535 store
24 999 store
*.nrg *.body 10 mult sub .strbody store
*.refxpos *.refypos angle .setaim store
*.memval 24 sub sgn abs 41 add .tie store
1000 .sharenrg store
0 .sharewaste store
41 .deltie store
100 .fixlen store
*.memval .dn store
*.nrg 5000 sub sgn 1 add sgn 50 mult .repro store
999 .memloc store
1 rnd 1 add 2 mult 3 sub *.thisgene add .delgene store
stop

Pages: 1 ... 4 5 [6]