Author Topic: SWARM 2.0 (F2)(Elite)-10.03.07  (Read 3812 times)

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
SWARM 2.0 (F2)(Elite)-10.03.07
« on: March 10, 2007, 01:00:18 PM »
Code: [Select]
' SWARM
' (Updated for v2.43)

' Delete birthtie and move

cond
start
.tie 1 *.robage sub 0 floor mult inc
.deltie inc
*.maxvel *.vel sub .up store
stop

' Set eye5

cond
*.robage 0 =
start
1220 .eye5width store
stop

' Swarm

cond
*.robage 5 mod 0 =
*.eye5 0 >
*.refeye *.myeye =
start
*.refaim .setaim *.robage sgn mult store
stop

' Eat food

cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refvelup 50 add .up store
*.refxpos *.refypos angle .setaim *.robage sgn mult store
stop

cond
*.eye5 50 >
*.refeye *.myeye !=
start
*.refvelup .up store
*.refxpos *.refypos angle .setaim *.robage sgn mult store
stop

cond
*.eye6 34 >
*.refeye *.myeye !=
start
-6 .shoot store
16 .shootval store
stop

' Reproduce

cond
*.body 700 >
start
30 .repro store
314 rnd .aimdx store
stop

' Feed on and store body

cond
*.nrg 2000 >
start
100 .strbody store
stop

cond
*.nrg 500 <
start
*.body 0 floor .fdbody *.body sgn mult store
stop

' Anti-virus (just in case)

cond
*.mkvirus 0 !=
start
*.mkvirus .delgene store
stop

end
« Last Edit: May 09, 2014, 11:39:12 AM by Botsareus »

Offline Jez

  • Bot Overlord
  • ****
  • Posts: 788
    • View Profile
SWARM 2.0 (F2)(Elite)-10.03.07
« Reply #1 on: March 11, 2007, 10:48:12 AM »
Postion 11, v nice. It is a bit of a spin doctor though, never a trait liked by Joe Public! If you updated it a bit further by adding something like ‘*.veldx .sx store’ to each gene that uses .up then you’ll not only get a better visual appreciation of its swarm ability but it should then get to position 7, beneath Bubbles.

Should I wait for a further update or file and run in league as it is?
If you try and take a cat apart to see how it works, the first thing you have in your hands is a non-working cat.
Douglas Adams