Reproducing

From WikiManual
Revision as of 08:42, 30 January 2006 by Ollj (talk | contribs)
Jump to: navigation, search

In darwinbots there are three primary methods of reproduction. Mitoses, Sexual and Mutational.

Sysvars:

Reproducing:

.robage 9
.mass 10
.timer 12
.repro 300
.mrepro 301
.sexrepro 302
.fertilized 303

Mitoses

The simplest and most widely used method is .repro. This will allow a bot to reproduce an exact duplicate of itself. The number stored in .repro defines the percentage of energy and body to transfer into the child. Like all reproduction methods this takes a single cycle, after which a new bot is produced directly in front of you (ie: eye5) and facing you.

While the eyes begin working immediatly for the newborn, it takes a cycle before the refs begin reading back. This can cause wasteful attacks by the child, a good idea then is to limit the childs firing until at least one cycle of age.

Sexual

This way of reproduction is more complicated, and is generally less supported in new updates, making it potentially buggy. The command .sexrepro, takes the dna of the nearest bot and mixes it with a bot's own to create a new bot's dna.

Currently this feature has been disabled in versions past 2.4, due to bugs. Plans are inplace to re-enable it when 2.4 is stable, so as to allow horizontal gene transfer.

Mutational Reproduction

Virtually identical to normal reproduction is .mrepro, the primary difference is that mutation rates are 10 times the normal values. This reproduction method will cause mutations even if all mutation settings are disabled.

Future Stuff

On the drawing boards are: