Darwinbots Forum
Bots and Simulations => DNA - General => Topic started by: Martian on July 06, 2007, 09:37:37 AM
-
I modified Animal minimalis to force another bot to delete its genes with info shots, but it isn't working. Can someone please tell me why.
cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup 30 add .up store
stop
cond
*.eye5 50 >
*.refeye *.myeye !=
*.refeye 0 =
start
-1 .shoot store
*.refvelup .up store
stop
cond
*.refeye 0 !=
*.eye5 50 >
*.refeye *.myeye !=
start
*.refvelup .up store
1 .shootval store
.delgene .shoot store
stop
cond
*.eye5 0 =
*.refeye *.myeye =
start
314 rnd .aimdx store
stop
cond
*.nrg 5100 >
start
50 .repro store
stop
end
-
cond
*.eye5 0 =
*.refeye *.myeye =
start
314 rnd .aimdx store
stop
this gene is wrong it only activates when there is noone at sight and refeye = myeye (thats never)
you need to add an or like this
cond
*.eye5 0 =
*.refeye *.myeye = or
start
314 rnd .aimdx store
stop
-
ok I modified it and seems that the problem is with the memory location, for some reason you cannot write in 340 (.delgene) if you replace it with 341 you can see it works.
sorry, maybe someone else could help you.
-
ok I modified it and seems that the problem is with the memory location, for some reason you cannot write in 340 (.delgene) if you replace it with 341 you can see it works.
sorry, maybe someone else could help you.
OK. Maybe someone thought that deleting genes was overpowered.
-
I think you could do it with ties
-
I stole it from the tie tutorial and modified it, I think it works check it out
replace this gene
cond
*.refeye 0 !=
*.eye5 50 >
*.refeye *.myeye !=
start
*.refvelup .up store
1 .shootval store
.delgene .shoot store
stop
with this 3 others
cond
*.refeye *.myeye !=
*.eye5 45 >
start
13 .tie *.robage sgn mult *.refage sgn mult store
stop
cond
*.tiepres 0 >
*.tienum 0 =
start
*.tiepres .tienum store
stop
cond
*.tienum 0 >
start
*.refvelup .up store
340 .tieloc store
1 .tieval store
stop
-
Thanks! It works perfectly now!
-
Delgene was deemed too powerful and a block was put in specifically to limit venom and info shots from deleting genes. Ties were supposed to be included in that, but I think they were overlooked.
It's kind of a dirty trick
-
Delgene was deemed too powerful and a block was put in specifically to limit venom and info shots from deleting genes. Ties were supposed to be included in that, but I think they were overlooked.
It's kind of a dirty trick
OK.
-
Of course, since you can instakill a bot with info shots or ties (writing to strvenom or strpoison or the like), whacking a bot with a delgene doesn't sound quite as bad.
I tried thinking of clever things to use venom or info shots for, but in the end it came down to "Well, it would be more effective to just instakill them instead of doing X clever disrupting thing. :|"
-
Well for venom shots it was way too overpowered. You could have just fired a single shot and had the bot deleting all its genes. At least with ties the bots have some chance of reversing the attack or breaking free.
I like venom and poison to mess with the bots hunting abilities. Makes your own attacks tons easier.