Darwinbots Forum

Bots and Simulations => Bestiary => F2 bots => Topic started by: Jez on January 07, 2007, 09:20:25 AM

Title: Daniel Pearce (F2)(Daniel Pearce)-31.03.04
Post by: Jez on January 07, 2007, 09:20:25 AM
Code: [Select]
'Topic: I need some help 
'Daniel Pearce (guest) (Dan) unnamed bot
'Unfixed version that won't turn


'my own creatures :-D
'run away from agressors.
'chase prey
'will attack whomever is infront of them

'**************************
'part 1
'chasing object

cond
*.eye1
*.eye5
>
start
15
.aimsx
store
stop

cond
*.eye3
*.eye5
>
start
15
.aimsx
store
stop

cond
*.eye7
*.eye5
>
start
15
.aimdx
store
stop

cond
*.eye9
*.eye5
>
start
15
.aimdx
store
stop

'*****************************
'part 2
' re-producing

cond
*.nrg
5000
>
start
600
.aimdx
store
50
.repro
store
stop





'*******************************
'part 3
'collisions

cond
.hitup
0
>
start
5
.up
store
stop

cond
.hitsx
0
>
start
100
.aimdx
store
stop

cond
.hitsdx
0
>
start
100
.aimsx
store
stop

cond
.hitdn
0
>
start
100
.aimsx
store
stop

'******************************
'part 4
'searching

cond
*.eye5
0
<
.hitup
0
>
start
10
.up
store
10
.aimsx
stop

cond
*.eye5
0
>
start
1
40
store
stop

cond
*.eye5
0
=
start
0
40
store
stop

cond
*40
1
=
start
-1
.shoot
store
stop
end