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.