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.


Messages - bacillus

Pages: 1 ... 58 59 [60]
886
Bot Tavern / F1 Alliance
« on: March 08, 2008, 11:16:15 PM »
Is it possible to change more than one memory location at a time?
Here's a basic model for a hunter/veggie/producer symbiosis:

def isVeg = 10
def hunter = 20
def supplier = 30

'I/o channel 1 contains whether this bot is a veggie, hunter or produces resources

cond
start
 *.in1 .tie store
stop

cond
 *.out1 .hunter =
start
 -6 .shoot store
 50 .sharenrg store
stop

cond
 *.out1 .veggie =
start
 20 .sharenrg store
stop

cond
 *.out1 .supplier =
start
 50 .mkslime store
 30 .shareslime store
 10 .mkshell store
 50 .shareshell store
 10 .mkpoison store
 50 .sharepoison store
stop

end


It's a rough idea, but it may be a start.

887
Darwinbots3 / Combat System and other things
« on: March 08, 2008, 10:57:14 PM »
I might still have a .jar lying round...

888
The Gene depository / Gene Collection: Virus
« on: March 07, 2008, 12:34:02 AM »
This gene can be a mild irritance as it disturbs the normal pattern of behaviour and spreads rapidly:

'this doubles up against virus protection and conspec recognition
cond
 *.robage 0 =
start
 989 .out5 store
stop

'make the virus
cond
 *.vtimer 0 =
start
 3 .mkvirus store
stop

'the virus gene
cond
 989 *.out5 !=
start
 10000 rnd 5000 sub 900 rnd store
 *.thisgene .mkvirus store
 *.nrg 3 div .vshoot store
stop

'fire the virus
cond
 *.vtimer 1 =
start
 50 .vshoot store
stop

889
Interesting behaviour bots / Fish School 1.0
« on: March 07, 2008, 12:17:48 AM »
Looks great, especially when used as vegs and nothing else on the map

890
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

891
Darwinbots3 / Combat System and other things
« on: March 06, 2008, 11:31:32 PM »
I've been working on a similar java version of DarwinBots (which is how I came to find out about it). Here's a few Ideas I thought would be worth contributing:
  • Cell Wall - a bot had a health rating, which was represented by the integrity of its cell wall. attack shots would simply digest the cell wall.
  • Hot spots - to represent a volcanic area, a map would have some hot spots. As hot spots generate ammonium, which helps amino acids to be produced, a bot would be able to build enzymes easily in hot spots, but the cell wall would disintegrate slowly.
  • A bot that has no cell wall bursts and releases all its energy in the form of proteins eg energy shots.
  • Toxins - although toxins wear off after time, they steadily inflict damage to the bot which happens to contain it. Each poison has an ID, and it can be used to create an antidote or expel it, no matter in which bot it's in.
  • Shells can be dumped in place to build a communal shell/fortress.
  • A bot without shell can destroy a bot with a weak cell wall, then use its shell as a home.

I hope these ideas are of some use.

892
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

893
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

894
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

895
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 ... 58 59 [60]