Bots and Simulations > Evolution and Internet Sharing Sims

predetor prey sims

(1/3) > >>

fulizer:
heres an idea.
make a gene that causes a robot to only shoot at another robot if it is not its own species and doesn't have eyes.
that would make a herbivore bot that only attacks other "animals" in the first cyle of their life (it's a glitch I think it doesn't see anything for the first cycle)
also you could then make somethink that only targets bots with eyes making a carnivorebot

Peksa:
Limitations like that tend to mutate off first in evolving dna. If a bot can hunt what it wants it can get much more energy than hunting only other bots or only veggies. For the same reason cannibalism is an often seen behaviour in evosims.

Peter:

--- Quote from: fulizer ---heres an idea.
make a gene that causes a robot to only shoot at another robot if it is not its own species and doesn't have eyes.
that would make a herbivore bot that only attacks other "animals" in the first cyle of their life (it's a glitch I think it doesn't see anything for the first cycle)
also you could then make somethink that only targets bots with eyes making a carnivorebot
--- End quote ---

Herbifore(assuming you bots have eyes  )

--- Quote ---cond
*.refeye 0 =
start
6 .shoot store
stop
--- End quote ---

Carnifore (attacks everything that hasn't got any eyes)
To don't attack conspec you could add this condition. But often that breaks away in evosims.
*.refeye *.myeye !=


--- Quote ---cond
*.refeye 0 !=
start
6 .shoot store
stop
--- End quote ---

Yes, incredible simple, you can try it out it really works. I wonder if it will break.

Numsgil:
That 6 should be a -6, otherwise yeah.

EricL:
FYI, some veggies have eyes...

Navigation

[0] Message Index

[#] Next page

Go to full version