Bots and Simulations > The Gene depository
Chameleon gene
Elite:
NOTE: I posted this in the tips and tricks section by mistake So I'll post it here and you can delete the one in the tips and tricks section
Well, chameleon genes ...
--- Code: ---' Chameleon
def foundmemloc 51
def reqmemval 52
cond
*.eye5 0 >
*.refshoot *.myshoot !=
*.foundmemloc 0 =
start
.memloc .memloc store
*.memval .foundmemloc store
stop
cond
*.eye5 0 >
*.refshoot *.myshoot !=
*.foundmemloc 0 !=
start
*.foundmemloc .memloc store
*.memval .reqmemval store
stop
cond
*.reqmemval 0 !=
*.foundmemloc 0 !=
start
*.reqmemval *.foundmemloc store
stop
--- End code ---
Once you've seen a bot with a .memloc based conspec recognition system you will be a conspec in it's eyes until you see another bot with a number in .memloc
Give a bot this gene and it will always beat Ymir :)
Great program by the way
PurpleYouko:
Trouble is that Ymir is about the only bot that ever used a memloc based conspec recognition system.
Nice bit of code though.
Elite:
There just doesn't seem to be a way of fooling *.refeye conspec recognition yet (except for Umbra Draconis' shots, but they aren't practical until you're really close)
Any ideas?
How about you .repro and then .vshoot the required number of *.eye5s into the child, then shoot all your energy at him (you die, but your child is immune)
Or you grab an enemy with a tie and change his *.myeye using the tie. You can then shoot him freely. This is even allowed in F2 isn't it, since you're not actually feeding with the tie.
Endy:
Venom, poison, ties and viruses are all the ways I can think of. It's easier to change the refeye of another than it is to mess with a bot's own genes. A virus like:
X(attackers eyenumber) .myeye store
works pretty well. Eventually someone started storing myeye at birth somewhere else defeating the viruses. Venom would probably be best since it could change their myeye into your own. Poison works easiest but the opposing bots will still attack yours.
I think its possible to make a SG bot that grows in genome size/ability from viral shooting. I've always been curious about how the rules would work for such a bot.
In 2.4 its possible to have a bot that has only one apparent eye using the * readback. Can't get it lower without having the bot go blind though.
PurpleYouko:
--- Quote ---Or you grab an enemy with a tie and change his *.myeye using the tie. You can then shoot him freely. This is even allowed in F2 isn't it, since you're not actually feeding with the tie.
--- End quote ---
Allowed? yes.
Possible? No. (At least I don't think so)
Unfortunately, *.myeye is refreshed on every cycle rather than fixed at birth. At least I am pretty sure I wrote the code that way. I would have to check to make sure.
In retrospect, it could be better to have it just fixed the once so that this kind of weapon could work.
Give it a try. Maybe it WILL work.
Navigation
[0] Message Index
[#] Next page
Go to full version