Author Topic: My Evo Bots (Evo)(Shen)-11.04.05  (Read 5732 times)

Offline Shen

  • Bot Destroyer
  • ***
  • Posts: 111
    • View Profile
My Evo Bots (Evo)(Shen)-11.04.05
« on: April 11, 2005, 05:19:15 AM »
' This bot is for Evolution sims. It attacks everything except its children but
' is otherwise fairly basic. Use the attached Settings File for best results

def newmom 50

' - Birth -
cond
    *.robage 0 =
start
  .newmom inc
stop

cond
    *.newmom 0 >
start
  .newmom inc
stop

cond
    *.newmom 200 =
start
  0 .newmom store
stop

cond
    *.nrg 10000 >
start
  30 rnd 20 add .repro store
  1 .newmom store
stop


' - Avoid Babies -
cond
    *.eye5 0 >
    *.newmom 0 >
start
  400 .aimsx store
stop


' - Move -
cond
    *.vel 10 <
    *.eye5 50 <
start
  5 .up store
  40 80 rnd sub .aimsx store
stop

' - Eye -
cond
    *.eye2 *.eye8 >
    *.eye5 0 =
start
  100 .aimsx store
  10 .sx store
stop

' - Eye -
cond
    *.eye8 *.eye2 >
    *.eye5 0 =
start
  -100 .aimsx store
  -10 .sx store
stop

' - Eat -
cond
    *.newmom 0 =
    *.eye5 40 >=
start
  -1 .shoot store
stop


end
« Last Edit: December 19, 2006, 08:39:07 AM by Jez »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
My Evo Bots (Evo)(Shen)-11.04.05
« Reply #1 on: April 11, 2005, 09:13:00 AM »
Please note that this is a settings file in Shen's post. If you want to run the sim you will have to first save the robot file then rename the settings file with a .set name extension.
After that you will need to delete the alga and the robot from the set and re-enter them or the program will most likely crash.

Here is a text file for Shen's robot.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D