Bots and Simulations > DNA - General
Info shots
Peksa:
Few questions on info shots, or so I remember storing positive values in .shoot called.
Are they allowed in F2?
Do they overwrite DNA's commands? For example, would the following work to any degree
cond
blahblah
start
-2 .shootval store
7 .shoot store
stop
Peksa:
Oh, and does it force a store or just a value in a location?
Numsgil:
Yes, it would work to a degree. What happens is that after DNA has been executed during a cycle, shots get updated, including collisions with info shots. The info shot would override that memory location for the cycle, changing the final behavior of the bot during the next cycle. The memory will remain changed until something else modifies it.
Jez:
Anything except feeding through ties and viruses are allowed in F2.
Some memory locations reset themselves each cycle, some have to be manually reset.
Peksa:
So at worst it would just change a value after DNA has excecuted and get changed back before it has time to affect anything in DNA? But the shot would be -2 for the round the info shot hits the target? Or is it dependant on the processing order and it might or might not work?
Navigation
[0] Message Index
[#] Next page
Go to full version