Author Topic: [CHALLENGE] Make this a NON-CANNI-BOT [CHALLENGE]  (Read 727 times)

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
    • OurIllogicalWorld Blog
[CHALLENGE] Make this a NON-CANNI-BOT [CHALLENGE]
« on: November 13, 2014, 03:21:26 PM »
Ok, banta solocus is a variation of BANTA! I made, it breaks the birth ties putting it solo, but even though the original BANTA! is a canni-bot, it stays stable whilest MB-form (which it is always, its just a survival technique, every man for themself before its MB)
I didn't originally plan for it to be a canni-bot, so I don't know what in the code makes it canni-bot, but for solocus to not eliminate eachother (equally powerful!) they need to have some good avoid-conspec
there is 1 minor condition though alongside it not attacking its own species, you must not damage its 'circle the prey' hunting method, this is to avoid preys being able to lock on, or shoot as easily....this is also to avoid aggressive-dwarf type MB's from latching around it...
The code for BANTA! Solocus is below:
Code: [Select]
'BANTA!
'But he got a bit unpopular with his friends so...
'He went SOLO!!! YEP, BANTA SOLOCUS (totally not a copy of singula rangercus's name ;3)
'This isn't the time for BANTA, This is the time for WORKA! *educating yorkshire*
'Make it so eyes 360 until *.eye5 sees,
'make it turn to put stuff into *.eye5 if any eyes see but eye5
'Then put it more long range when that is true.

' Gene 1 wide search 1
cond
*.eye1 *.eye5 >
start
mult -100
stop

' Gene 2 wide search 2
cond
*.eye9 *.eye5 >
start
mult 100
stop

' Gene 3 Simple search pattern.
cond
  *.eye3 *.eye5 >
start
mult -25
stop

' Gene 4 Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
mult 25
stop

' Gene 5 Food Chaser
cond
 *.eye5 0 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop

' Gene 6 Ties
cond
*.eye5 30 >
*.refeye 10 !=
start
1 .tie store
stop

cond
*.numties 0 >
start
-1 .tieloc store
-1000 .tieval store
1 .tienum store
stop

' Gene 7 Shoot Stuff
cond
*.eye5 50 >
start
-1 .shoot store
stop

' Gene 8 Avoid conspecifics
cond
*.refeye 9 =
start
mult 180
stop

' Gene 7 Something?
cond
*50 0 >
start
mult 628
50 dec
stop


' Gene 8 Avoiding Family
cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
stop


'Gene 9 Counter-Leech
cond
 *.tiepres 0 >
start
 .tieval .tieloc store
 1000 .tieval store
stop


' Gene 10 Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 11 rotate
cond
start
.aimdx store
stop


' Gene 12 Remove the umbilical cord
cond
 *.robage 0 =
start
 .tie inc
stop

cond
 *.robage 1 =
start
 .deltie inc
stop


end

P.S. Not sure why Im calling this variation 'banta solocus' if im removing the canni element though, because the canni element is what gave it its name.
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.