Welcome To Darwinbots > Newbie

sexrepro code

<< < (2/4) > >>

jknilinux:

--- Quote from: Moonfisher ---The parrent birth tie is 0 and the child tie is 1...
So just have
*.robage 0 =
.deltie inc
somewhere...

And the
'conspec equals
part, should be replaced with something like
*.refshoot *.myshoot =
*.refeye *.myeye = and

And you may also wan't to take a look at the conditions in the veggy... if a bot only reproduces with a certain amount of energy then there's no need to try and fertilize it if it doesn't have enough energy to repoduce anyway... and if your bot avoids it's own species then you need to chase them when you wan't to fertilize someone.
Also the veggy uses volontary movement so it will have a hard time fertilizing it's own kind... however if the inchworm ferilizes it by accident or mutation then it'll reproduce and may become an inchworm who gains energy every cycle.
--- End quote ---

Fertilization wasn't what I was trying to do. These were the planned settings:

large field, few veggies
High Brownian motion
DNA scripts that kill anything with .repro, up, dn, etc...
DNA scripts that kill anything w/o .sexrepro
0 costs, except for negative per-bot costs for MBs and ~.01 nrg per cycle.

I was thinking this should encourage complex multicellular evolution, maybe producing ameoba-like MBs. I was under the impression that if the I2s .sexrepro'ed with the veggies, the children would not be hybrid algae, because then the new algae could quickly learn how to move and kill everything. So we don't allow that, right? Otherwise, current fertilization of algae should only make super-algae. Unless...

You can't store .sexrepro shots from an algae and fire them later at another algae, right?


Anyway, thanks for all the suggestions. The current code works (they can reproduce), but I found a problem- I2 is extremely slow in 2.44. Maybe 5 minutes to move a few inches, with 15c/s. Was it always like that, or is it a recent physics change or something? Also, when they repro a few times (no mut), the offspring have one huge cell and one tiny cell, and the tiny cell cannot move at all because of the huge thing dragging behind it.
Does anyone know a better MB that only uses ties to move?

Thanks!!!

jknilinux:
So, does anyone know a better MB that moves only by using ties?

bacillus:
No, but I think it was suggested at one time to make a two-celled bot, one end fixes itself and the other swings forward, then they exchange positions.

Moonfisher:
It could be several things that go against inchworm, coul be the fluid resistance preventing it from moving (you could try it with no fluid resistance and see what happens), or it could be that ties don't adjust very fast, or maybe inchworm doesn't stiffen the ties, not sur how it worked back then...
If it's just the fluids, then you can let the unfixed bot shrink in size... feel free to steal the body regulating code from Fruitflies (It'll get you to 1 I body size rather fast, should leave very litle fluid resistance. (Remember to grow big again if you need to shoot at something)

If the bot doesn't have 40 .stifftie store in there somewhere then that might help...

And if it's the ties in general that's a problem, then you need to do as bacillus said and swing the bot instead (Again reduce it's size to reduce the fluid resistance). And it's easier to fix the angle and turn in order to swing a bot (tie angles work in a very odd way from my experience).

I'd toy around with this myself, but not sure I have the time atm, just started a new job, so many new things to take in, kind of tired in the evening and got all sorts of stuff going on latley, not enough time for DB :'(

If your veggies use .sexrepro then bots can fertilize them with a -8 shot and their offspring would be a mix of the bots genes and it's own, sometimes many of the bots genes. So if your veggies reproduce sexualy then they stand a good chance of stealing the bots genes, it's bound to happen sooner or later.
I'd recommend regular reproduction for the veggies...

Peter:

--- Quote from: jknilinux ---So, does anyone know a better MB that moves only by using ties?
--- End quote ---
Tie-bot or tierbot maybe. I know it exists. Pretty old too for a working MB.

http://www.darwinbots.com/Forum/index.php?showtopic=2942

No, I think it is duo. Well atleast look at this league. One of them is moving by ties, atleast.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version