Tie Tutorial

From WikiManual
Revision as of 10:25, 18 February 2006 by Elite (talk | contribs) (More to come)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Meet Animal Minimalis

This is Animal Minimalis: (He's been slightly modified to produce offspring with more energy, but otherwise he's the same)

'Animal Minimalis
'by Nums

cond
 *.eye5 0 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop

cond
 *.eye5 50 >
 *.refeye *.myeye !=
start
-1 .shoot store
 *.refvelup .up store
stop

cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
stop

cond
 *.nrg 15000 >
start
 30 .repro store
stop
end

We're going to be using him to demonstrate each of the things I show you.

Ties

Ties are connections between bots that can be fired by putting a positive number into .tie. The number that you put into .tie will be the tie's ID.

If you want to detete a tie, change or fix it's angle, or change or fix it's length, you will need to use the tie's ID