Bots and Simulations > The Gene depository

Minimalis - .sexrepro

(1/1)

Nightrider:
Hello everybody! Let me introduce me: darwinbots addict since at least 5 years, went on-and-off now i'm on since some weeks XD thank you guys for you fantastic work, expecially numsigil ;) btw i want to ask: how can i sexually reproduce my minimalis? Because im running some evosims and i wanna know how to do a gene that allows the minimalis to sexually reproduce. Can you help me?

Botsareus:
Welcome,

First of you need to run 2.45.03Beta, that is the only modern version of the program where sexual reproduction works.

Here is the sexrepro gene from one of the robots I used to test sexrepro:


--- Code: ---cond
*.robage 100 =
start
50 .sexrepro store
stop
cond
*.robage 50 >
start
-8 .shoot store
stop

--- End code ---

The robot will start firing sperm at age 50, and attempt to reproduce sexually at age 100.

Botsareus:
You may also need to add logic that the Male robot should start looking for mates and make sure it is shooting -8 instead of killing the mates. Unfortunately, that is a little more tricky to do.

Nightrider:
thanx, i'm running atm 2.45.01 are you sure it doesn't work there? also, what changes in the beta? isn't it... less stable?

Botsareus:
I was expecting it to be less stable, that is why I added the safemode feature.

Turns out it is actually more stable then 2.45.01

Navigation

[0] Message Index

Go to full version