Difference between revisions of "Body"

From WikiManual
Jump to: navigation, search
 
(Darwinbot's Body)
Line 1: Line 1:
 
==Darwinbot's Body==
 
==Darwinbot's Body==
  
Body represents a stored version of energy. It helps to increase feeding capabilities while decreasing speed.  
+
Body represents a stored version of energy. It is similar to real organisms' fat and muscle combined into one.  It helps to increase feeding capabilities while decreasing speed.  
  
  
Line 8: Line 8:
 
'''Get Body'''
 
'''Get Body'''
  
There are 2 ways of gaining body
+
There are 2 ways of gaining energy from body
  
1: Hunting using particle shoots. DNA command -6 .shoot results in a particle being shot in the direction the bot is facing. If the particle hits another bot, that bot will shoot back a particle containing a portion of its own body. The -1 shots also return a small fraction of another bot's body.
+
1: Hunting using body shots, ie: -6 shots. DNA command: "-6 .shoot store" results in a particle being shot in the direction the bot is facing. If the particle hits another bot, that bot will shoot back a particle containing a portion of its own body converted into nrg. -1 shots also return a small fraction of another bot's body, but mostly just return nrg from the other bot's nrg reserves.
  
2: Storing energy away as body.
+
2: Storing and Retrieving energy to/from body.
  
For 2.36 and before: Bots can store energy as body points with the .strbody command. It converts 10 energy points into 1 body point. To retreive energy back from body, bots can use the .fdbody command. However there is a limit of 100 energy points per cycle that can be retrived from body points.
+
For 2.37 and before: Bots can store energy as body points with the .strbody command. The value stored into strbody is the amount of ''nrg'' to be saved into body.  The conversion rate is 10 energy points per 1 body point. To retreive energy back from body, bots can use the .fdbody command. .fdbody represents how much ''nrg'' you want to retrieve from body.
  
 +
There is a limit of 100 energy points per cycle for both storage and retrieval of body points.
 +
 +
Children recieve the same proportion of body points of the parent as nrg it recieves.  Thus 10 .repro store will create a child with both 10% of the parent's body points, and 10% of its energy.
 +
 +
Body is important in calculating the power and range of shots.  The power of a shot increases linearly with body, while the range increases logarithmically.
  
 
----
 
----
Line 21: Line 26:
 
'''Future Energy Stuff'''
 
'''Future Energy Stuff'''
  
Lots of work is being done in the area of metabolism and digestion. Relatively soon you should see some major changes in this area. These changes will be backward compatible, though, so don't worry about your current bots not working. This stuff isn't in the program yet, but is gonna be added.
+
Lots of work is being done in the area of metabolism and digestion. Relatively soon you should see some major changes in this area. These changes will be backward compatible, though, so don't worry about your current bots not working. This stuff isn't in the program yet, but is gonna be added.  Such a metabolism and digestion system will result in finer distinction between energy than just 'nrg' and 'body', allowing for specialization.

Revision as of 05:32, 4 June 2005

Darwinbot's Body

Body represents a stored version of energy. It is similar to real organisms' fat and muscle combined into one. It helps to increase feeding capabilities while decreasing speed.



Get Body

There are 2 ways of gaining energy from body

1: Hunting using body shots, ie: -6 shots. DNA command: "-6 .shoot store" results in a particle being shot in the direction the bot is facing. If the particle hits another bot, that bot will shoot back a particle containing a portion of its own body converted into nrg. -1 shots also return a small fraction of another bot's body, but mostly just return nrg from the other bot's nrg reserves.

2: Storing and Retrieving energy to/from body.

For 2.37 and before: Bots can store energy as body points with the .strbody command. The value stored into strbody is the amount of nrg to be saved into body. The conversion rate is 10 energy points per 1 body point. To retreive energy back from body, bots can use the .fdbody command. .fdbody represents how much nrg you want to retrieve from body.

There is a limit of 100 energy points per cycle for both storage and retrieval of body points.

Children recieve the same proportion of body points of the parent as nrg it recieves. Thus 10 .repro store will create a child with both 10% of the parent's body points, and 10% of its energy.

Body is important in calculating the power and range of shots. The power of a shot increases linearly with body, while the range increases logarithmically.


Future Energy Stuff

Lots of work is being done in the area of metabolism and digestion. Relatively soon you should see some major changes in this area. These changes will be backward compatible, though, so don't worry about your current bots not working. This stuff isn't in the program yet, but is gonna be added. Such a metabolism and digestion system will result in finer distinction between energy than just 'nrg' and 'body', allowing for specialization.