Bots and Simulations > Interesting behaviour bots

Communitus_Friendlius

<< < (5/7) > >>

Gambit:
nothing against you.

I like to pick high targets. and yeah it is leading to better bots. friendly competition through simulatedly violent means.

here he is. CFs big nasty brother

I removed a few things and replaced with #'s. cant have you making an anti viral. and if you decide to use the delgene I already have a way around that.

'Communitus_NotSoFriendlius
'Community Bully
'Communitus_Friendlius's mean older brother
'I took some suggestions from some very helpful master bot makers
'And added a self destruct virus for use on hostile heterotrophs
'May hit plants but isnt meant to
'They look out for each other and will heal weaker ones in the group

'virus nonactivator
cond
 *.robage 0 =
start
 # ### store
stop

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

'a virus for enemies
cond
 # *### !=
*.vel 0 !=
start
*.thisgene .mkvirus store
200 .vshoot store
-2 .shoot store
1 .shootval store
stop

'If there is no food then look for some randomly.
cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
 10 .up store
stop

'peripheral vision left
cond
 *.eye1 0 >
 *.refeye *.myeye !=
start
 52 .aimsx store
stop

peripheral vision right
cond
 *.eye1 9 >
 *.refeye *.myeye !=
start
 52 .aimdx store
stop

'if you find something chase it
cond
 *.eye5 0 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop

KILL!! lol
cond
 *.eye5 50 >
 *.refeye *.myeye !=
start
 16 .shootval store
 -6 .shoot store
 *.refvelup .up store
stop

'poop
cond
*.waste 200 >
start
.backshot inc
-4 .shoot store
*.waste .shootval store
stop

'if you find something that isnt food (a relative) heal it if it needs
cond
*.eye5 50 >
*.refeye *.myeye =
*.refnrg 5000 <
*.nrg 5000 >
start
-2 .shoot store
stop

'eat some of your body fat
cond
*.nrg 5 div
*.body sub dup
start
.strbody store - .fdbody store
stop

'reproduce
cond
*.nrg 10000 >
start
40 .repro store
stop

'if you only have a bit of energy and are attacked shoot a little virus
cond
 *.eye5 0 >
 *.refeye *.myeye !=
 *.pain 1 >
 *.nrg 6000 <
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
 25 .vshoot store
stop

'if you have over 6k energt and are attacked go all out on the virus
cond
 *.eye5 0 >
 *.refeye *.myeye !=
 *.pain 1 >
 *.nrg 6000 >
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
 900 .vshoot store
stop

bacillus:
Not bad.
I suggest making the virus depend on your energy so you don't die when firing it eg.
*.nrg 2 div .vshoot store
This way big bots can also shoot further.
The problem with replicating inside your host is that they can target out the virus with *.mkvirus .delgene store. You may want to del their genes first eg.
*.thisgene 1 rnd 2 mult -- add .delgene store
This will randomly alternate between deleting the previous gene and the next gene.
If you really want the virus to kill, put 32000 into vshoot and cut out the unnecessary stuff eg. the shoot bit. You do know the 1 .shootval store only dampens the shot? (Not sure on this one, but I think the default is 100).
The 3 .mkvirus store is also a bit dodgy, because a virus is randomly inserted, and the virus may move from gene #3 to gene #4 or something like that. Make a temporary variable called vgene and in the gene before the virus put *.thisgene ++ .vgene store and then replace 3 with *.vgene.
Yet another problem is that if the virus inserts itself before the safety gene and the bot reproduces...
You should be able to figure that one out by yourself.

Gambit:
the -2 shoot is to slowly bleed them while they make more viruses. 32000 is an instant kill and it doesnt have time to charge the virus timer.

also can venom be used to store a number in delgene? nullifying it.

bacillus:
<sigh> I tried it dozens of times, It doesn't work.
I found the ultimate conspec system that also kills mutants at the same time. Interested?

Gambit:

--- Quote from: bacillus ---<sigh> I tried it dozens of times, It doesn't work.
I found the ultimate conspec system that also kills mutants at the same time. Interested?
--- End quote ---

hmmmm YES

lol

so you cant nullify delgene... maybe with poison? set it to didly. memory shot?



--- Quote from: bacillus ---<sigh> I tried it dozens of times, It doesn't work.
I found the ultimate conspec system that also kills mutants at the same time. Interested?
--- End quote ---

hmmmm YES

lol

so you cant nullify delgene... maybe with poison? set it to didly. memory shot?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version