Swarming

From WikiManual
Revision as of 16:59, 3 April 2006 by Elite (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Swarming is when many bots move in large groups

Some loose 'rules' of swarming:

  • The bots must be aware of each other
  • The bots must act on their awareness of the other bots, coordinating their movement accoringly
  • The bots must be moving in the same direction
  • The bots must have the same speed

The best way to make bots swarm is to have them align with the heading of local conspecs, and move forward when searching for prey (rather than spinning)

cond
 *.eye5 0 >
 *.refeye *.myeye =
start
 *.refaim *.setaim store
stop