Difference between revisions of "Reproducing"

From WikiManual
Jump to: navigation, search
(2.4 notice)
m (Sysvars: red link del)
Line 23: Line 23:
  
 
=== Sysvars ===
 
=== Sysvars ===
* [[Definitions]]
 
 
* [[.up|Movement (.up, .dn. .dx, .sx)]]
 
* [[.up|Movement (.up, .dn. .dx, .sx)]]
 
* [[.aimdx|Basic Turning (.aimdx, .aimsx)]]
 
* [[.aimdx|Basic Turning (.aimdx, .aimsx)]]

Revision as of 23:32, 25 December 2005

Reproducing

In darwinbots there are 3 ways of reproduction. Mitoses, Sexual and Mutational.

Mitoses

This way of reproduction is very simple. The bot reproduce and copies its DNA entirely. This action is performed with the command .repro. The number before tells what percent of your energy is being transfered into the child. Reproduction takes a single cycle, after which a new bot is produced directly in front of you (ie: eye5) and facing you.

(not so sure about this one, it's been a while since I looked --Numsgil 13:20, 18 Sep 2005 (MST)) refvars take another cycle to register for a newly formed baby. Thus, all bots of age 0 read 0 for refeye, refnrg, refbody, etc.

Sexual

This way of reproduction is more complicated, and is generally less supported in new updates, making it potentially buggy. It takes the DNA of a random bot around it and mixes it with its own to create a new bot. This action is performed with the command .sexrepro

2.4 notice

I have no idea what a sexrepro command will do in 2.4 since the DNA is less formally organized. (--Numsgil 13:24, 18 Sep 2005 (MST))

So I have disabled it in later versions. I'll reimplement it as a form of Horizontal gene transfer later after 2.4 is stable. --Numsgil 08:30, 25 Oct 2005 (MST)

Mutational

Identical to mitosis .repro except mutation rates are 10x what they are normally. Will cause mutations even if your regular mutations are disabled.

Sysvars