Bots and Simulations > DNA - General

how to virus

<< < (2/5) > >>

PurpleYouko:
Not quite

You won't get anywhere with "-1 .vshoot store" since for vshoot, the stored number represents both the range of the virus shot and the energy cost to the originator.
Try something like "50 .vshoot store" to get a reasonable range for your virus. Yes it is expensive. It was designed to be. Making and shooting a virus should not be undertaken lightly.

MrMound:
so it would look like this?


start

6 .mkvirus store

stop

cond

.vtimer 0 =

start

50 .vshoot store

stop

PurpleYouko:
That should do it.

Only one problem is that once one of your robots gets hit by one of its own viruses, the chance are that the intended gene (gene 6 that is) probably won't be gene 6 any more so the next virus sent out could be anything.

It gets really messy really fast

MrMound:
it doesn't work heres my bot and would you see if you see anything wrong with it?

 I mean the virus

Numsgil:
You have a misspelling.  It's refaimdx, not refaimdex.

Also, and I quote myself in the now pinned virus thread:


--- Quote ---vtimer is 1 when there is a virus ready to fire. 0 if there is no virus ready to fire, > 1 if there is still time left to wait.
--- End quote ---
.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version