Author Topic: Daniel Pearce (F2)(Daniel Pearce)-31.03.04  (Read 1049 times)

Offline Jez

  • Bot Overlord
  • ****
  • Posts: 788
    • View Profile
Daniel Pearce (F2)(Daniel Pearce)-31.03.04
« 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
« Last Edit: May 09, 2014, 12:18:45 PM by Botsareus »
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