Darwinbots Forum
Bots and Simulations => DNA - General => The Gene depository => Topic started by: googlyeyesultra on July 01, 2007, 02:38:11 AM
-
Yes, I know virii is incorrect. It just sounds so cool, though.
Anyways, this virus, designed for 2.4.3, will make veggies spread it but not be killed by it, and other bots will die quickly if they receive it. It uses some fancy condition-less logic. Make sure to write in some sort of condition to prevent it from killing your bots.
cond
start
*.thisgene .mkvirus store
*.myeye *.myshoot add 32000 mult 50 add 32000 ceil .vshoot store
.delgene dec
stop
-
quote "In the English language, the normal plural of virus is viruses. This form of the plural is correct, and used most frequently, both when referring to a biological virus and when referring to a computer virus. The forms viri and virii are also used as a plural, although less frequently. There is disagreement among users of the Internet over whether these forms should be considered correct. No reputable printed dictionary includes them as correct forms. " /quote
So I guess you can get away with virii! LOL
Nice gene, I had never thought of using '.delgene dec' but I guess you've tested it and it works!!
-
Ya, it'll beat any antivirus if this gets a chance to run.
Essentially, veggies will spread the virus but won't die from it. Non-veggies will use hideous amounts of energy to fire uber-ranged virii, either killing or crippling themselves in the process.
-
Unless it hits a blind tie only feeder.
Might be fun to let a mutable virus loose and see what happens.
cond
start
*.thisgene .mkvirus store
.vshoot inc
99 .mrepro store
stop
Be cool to see what this would do in a sim.
-
its cool to look at viruses because they are my wak spot (or my weakest im bad at about everything)
-
Actually, this gene wouldn't be bad in a blind tie-feeder. In fact, the ".delgene dec" makes this virus double up as an antivirus gene; if a bot uses the standard gene-wiper:
[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
*.thisgene 1 rnd 2 mult -1 add add .delgene store
then as soon as the virus tries to delete the following gene, it will destroy itself.
Nice!