Darwinbots Forum

Bots and Simulations => DNA - General => The Gene depository => Topic started by: Nightrider on June 02, 2013, 05:44:58 PM

Title: Minimalis - .sexrepro
Post by: Nightrider on June 02, 2013, 05:44:58 PM
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?
Title: Re: Minimalis - .sexrepro
Post by: Botsareus on June 02, 2013, 06:12:20 PM
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: [Select]
cond
*.robage 100 =
start
50 .sexrepro store
stop
cond
*.robage 50 >
start
-8 .shoot store
stop

The robot will start firing sperm at age 50, and attempt to reproduce sexually at age 100.
Title: Re: Minimalis - .sexrepro
Post by: Botsareus on June 02, 2013, 06:29:25 PM
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.
Title: Re: Minimalis - .sexrepro
Post by: Nightrider on June 03, 2013, 01:28:26 AM
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?
Title: Re: Minimalis - .sexrepro
Post by: Botsareus on June 03, 2013, 06:19:17 PM
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