Darwinbots Forum
Bots and Simulations => Evolution and Internet Sharing Sims => Topic started by: fulizer on November 24, 2007, 04:27:55 AM
-
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
-
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.
-
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
Herbifore(assuming you bots have eyes )
cond
*.refeye 0 =
start
6 .shoot store
stop
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 !=
cond
*.refeye 0 !=
start
6 .shoot store
stop
Yes, incredible simple, you can try it out it really works. I wonder if it will break.
-
That 6 should be a -6, otherwise yeah.
-
FYI, some veggies have eyes...
-
they do so wed need to find a a way around that
-
they do so wed need to find a a way around that
Alga minimalis doesn't, most veggies doesn't, in most cases it will work.
-
they do so wed need to find a a way around that
I read that it's better to use body shots on veggies, so the way that I did it at first was [you]*.refkills 0 =[/you] since veggies don't normally killl stuff. Worked out pretty good. It could work in this case
edit: you wouldn't have to use it exclusively, of course.
-
as a veggie is a bot wich is getting free energy then it shoudn't be any more effective than using them on a bot
the tutorial that said that was probably assuming that you are using a bot that doesnt make shell which will reduce the effectivenes of -6 shots
-
The idea is that if something is trying to kill you, you're probably not all that concerned with getting the most nrg out of it. Kill it fast with powered -1 shots. The best way to deal with a veggy is use nrg shots to get its nrg as close to 0 as possible, then use -6 shots to feed from the rest of the body. That way you get the most nrg out of it.
you are using a bot that doesnt make shell which will reduce the effectivenes of -6 shots
Your shell doesn't reduce the effectiveness of your -6 shots.
-
How about using refshoot and reftie?