Darwinbots Forum

Bots and Simulations => Evolution and Internet Sharing Sims => Topic started by: fulizer on November 24, 2007, 04:27:55 AM

Title: predetor prey sims
Post 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
Title: predetor prey sims
Post by: Peksa on November 24, 2007, 07:21:19 AM
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.
Title: predetor prey sims
Post by: Peter on November 24, 2007, 08:14:26 AM
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

Herbifore(assuming you bots have eyes  )
Quote
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 !=

Quote
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.
Title: predetor prey sims
Post by: Numsgil on November 24, 2007, 09:11:08 AM
That 6 should be a -6, otherwise yeah.
Title: predetor prey sims
Post by: EricL on November 24, 2007, 10:03:23 PM
FYI, some veggies have eyes...
Title: predetor prey sims
Post by: fulizer on December 05, 2007, 09:01:38 AM
they do so wed need to find a a way around that
Title: predetor prey sims
Post by: Peter on December 05, 2007, 10:25:39 AM
Quote from: fulizer
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.
Title: predetor prey sims
Post by: Blightmouth on February 12, 2008, 04:51:20 PM
Quote from: fulizer
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.
Title: predetor prey sims
Post by: fulizer on February 13, 2008, 08:40:10 AM
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
Title: predetor prey sims
Post by: Numsgil on February 13, 2008, 01:47:00 PM
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.

Quote from: fulizer
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.
Title: predetor prey sims
Post by: bacillus on May 01, 2008, 08:11:09 PM
How about using refshoot and reftie?