Bots and Simulations > DNA - General
shootval
Issyl.:
Okay, so if I store 100 .shootval into a bot's storage; like this:
start
64 .shootval store
This will increase the power of the bot's shots by 6, right?
Also, if I do this, will the change be permanent, (like, will he always do 6x damage?) or does it deplete with each shot? Also, does it deplete at a rate of 1 per shot, or what?
Numsgil:
.shootval just increases the next shot's power. After that, your power goes back down to normal levels.
64 .shootval will increase a shot's power by roughly six times, and cost 64 times the normal amount. Actual amounts may vary depending on the exact equation used ini the program.
Commander Keen:
I made a bot using positive shoots to make non-veggie bots delete their dna. Here's the code I used:
cond
*.refeye *.myeye !=
*.eye5 20 >
start
-6 .shoot store
991 inc ' Up the counter by one
stop
cond
-6 *.shoot =
*991 5 >= ' This part is designed to make every 5th shot a delgener
0 *.refshoot < 'Only delete genes of non-veggies
start
0 991 store ' Reset the count to 0
.delgene .shoot store
1 .shootval store
stop
There's only one problem. It doesn't work!
I made one that puts 1000 in fdbody, and that worked. Is there some things you just can't do with shoot? The bot I was targetting didn't use delgene and had several shoot commands in it's dna.
Numsgil:
Yeah, delgene in particular is limited so it can't be used with info shots because it was decided to be too powerful. There's one or two other sysvars that are also restricted, but I don't remember what they are.
Commander Keen:
Thanks!
So I'll need to use viruses to modify Delgene then. I tried venom, but it didn't do the trick either.
I'll have to come up with some other evil plan then.
Navigation
[0] Message Index
[*] Previous page
Go to full version